Skip to main content
POST

Overview

Computes Cred Protocol credit score, sybil risk, and identity attestations for the given agent, then submits the results as on-chain feedback to the ERC-8004 Reputation Registry on Base. The submission happens asynchronously — this endpoint returns immediately with a tracking ID. Use the status endpoint to poll for completion.
This endpoint costs 10 Cred Units per submission (covers computation + on-chain gas on Base).

Authentication

Path Parameters

integer
required
ERC-8004 agent ID from the Identity Registry. Must be >= 1.

Request Body

string
required
Ethereum address to score for this agent (e.g., 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045)
array
Which feedback types to submit. Defaults to all three if omitted.Options: creditScore, sybilRisk, identityCount

Feedback Tags

Response

Returns HTTP 202 Accepted with a tracking ID.
string
UUID tracking this submission
integer
The ERC-8004 agent ID
string
Initial status (always pending)
integer
Estimated time to on-chain confirmation (typically ~45 seconds)
string
Relative URL to poll for submission status
array
Feedback types being submitted

Submission Lifecycle

The submission progresses through these statuses:

Performance

  • Response Time: Immediate (HTTP 202)
  • End-to-End Completion: ~45 seconds (scoring + IPFS upload + on-chain confirmation)