Agents
Submit Reputation Feedback
Submit on-chain reputation feedback for an AI agent
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.Authentication
| Method | Header | Cost |
|---|---|---|
| API Token | Authorization: Bearer YOUR_API_KEY | 10 Cred Units |
| x402 Payment | X-PAYMENT: <signed_payment> | $0.10 USDC |
Path Parameters
ERC-8004 agent ID from the Identity Registry. Must be >= 1.
Request Body
Ethereum address to score for this agent (e.g.,
0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045)Which feedback types to submit. Defaults to all three if omitted.Options:
creditScore, sybilRisk, identityCountFeedback Tags
| Tag | Description | Value Range |
|---|---|---|
creditScore | Andromeda 1.0 credit score | 300–1000 |
sybilRisk | Sybil detection risk score | 0 (human) – 100 (bot) |
identityCount | Number of verified identity attestations | 0+ |
Response
Returns HTTP 202 Accepted with a tracking ID.UUID tracking this submission
The ERC-8004 agent ID
Initial status (always
pending)Estimated time to on-chain confirmation (typically ~45 seconds)
Relative URL to poll for submission status
Feedback types being submitted
Submission Lifecycle
The submission progresses through these statuses:| Status | Description |
|---|---|
pending | Submission received, queued for processing |
scoring | Computing credit score, sybil risk, and identity attestations |
uploading | Uploading feedback JSON to IPFS |
submitting | Sending giveFeedback transaction to Base |
confirmed | Transaction confirmed on-chain |
failed | An error occurred (check the error field) |
Performance
- Response Time: Immediate (HTTP 202)
- End-to-End Completion: ~45 seconds (scoring + IPFS upload + on-chain confirmation)