curl -X GET "https://api.credprotocol.com/api/v2/agents/18/reputation/feedback/550e8400-e29b-41d4-a716-446655440000"
const agentId = 18;
const submissionId = '550e8400-e29b-41d4-a716-446655440000';
const response = await fetch(
`https://api.credprotocol.com/api/v2/agents/${agentId}/reputation/feedback/${submissionId}`
);
const feedback = await response.json();
console.log(`Score: ${feedback.value} (${feedback.tag1})`);
console.log(`Hash: ${response.headers.get('X-Feedback-Hash')}`);
import requests
agent_id = 18
submission_id = '550e8400-e29b-41d4-a716-446655440000'
response = requests.get(
f'https://api.credprotocol.com/api/v2/agents/{agent_id}/reputation/feedback/{submission_id}'
)
feedback = response.json()
print(f"Score: {feedback['value']} ({feedback['tag1']})")
print(f"Hash: {response.headers.get('X-Feedback-Hash')}")
{
"agentRegistry": "eip155:8453:0x8004A169FB4a3325136EB29fA0ceB6D2e539a432",
"agentId": 18,
"clientAddress": "eip155:8453:0x1234567890abcdef1234567890abcdef12345678",
"createdAt": "2026-02-27T15:30:00Z",
"value": 782,
"valueDecimals": 0,
"tag1": "creditScore",
"tag2": "credprotocol",
"endpoint": "https://api.credprotocol.com/api/v2/agents/18/reputation/feedback/550e8400-e29b-41d4-a716-446655440000",
"context": {
"provider": "Cred Protocol",
"model": "andromeda_1.5",
"address_scored": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
"score_details": {"score": 782, "range": "good", "model_version": "andromeda_1.5"},
"sybil_details": {"sybil_score": 12, "risk_level": "low"},
"identity_details": {"attestation_count": 3},
"consent_basis": "agent_self",
"correction_policy": "Cred Protocol publishes a superseding entry for this agent if an input to this score is disputed and corrected."
}
}
{
"detail": "Feedback not found"
}
Agents
Feedback JSON
Retrieve the off-chain feedback JSON document for a submission
GET
/
api
/
v2
/
agents
/
{agent_id}
/
reputation
/
feedback
/
{submission_id}
curl -X GET "https://api.credprotocol.com/api/v2/agents/18/reputation/feedback/550e8400-e29b-41d4-a716-446655440000"
const agentId = 18;
const submissionId = '550e8400-e29b-41d4-a716-446655440000';
const response = await fetch(
`https://api.credprotocol.com/api/v2/agents/${agentId}/reputation/feedback/${submissionId}`
);
const feedback = await response.json();
console.log(`Score: ${feedback.value} (${feedback.tag1})`);
console.log(`Hash: ${response.headers.get('X-Feedback-Hash')}`);
import requests
agent_id = 18
submission_id = '550e8400-e29b-41d4-a716-446655440000'
response = requests.get(
f'https://api.credprotocol.com/api/v2/agents/{agent_id}/reputation/feedback/{submission_id}'
)
feedback = response.json()
print(f"Score: {feedback['value']} ({feedback['tag1']})")
print(f"Hash: {response.headers.get('X-Feedback-Hash')}")
{
"agentRegistry": "eip155:8453:0x8004A169FB4a3325136EB29fA0ceB6D2e539a432",
"agentId": 18,
"clientAddress": "eip155:8453:0x1234567890abcdef1234567890abcdef12345678",
"createdAt": "2026-02-27T15:30:00Z",
"value": 782,
"valueDecimals": 0,
"tag1": "creditScore",
"tag2": "credprotocol",
"endpoint": "https://api.credprotocol.com/api/v2/agents/18/reputation/feedback/550e8400-e29b-41d4-a716-446655440000",
"context": {
"provider": "Cred Protocol",
"model": "andromeda_1.5",
"address_scored": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
"score_details": {"score": 782, "range": "good", "model_version": "andromeda_1.5"},
"sybil_details": {"sybil_score": 12, "risk_level": "low"},
"identity_details": {"attestation_count": 3},
"consent_basis": "agent_self",
"correction_policy": "Cred Protocol publishes a superseding entry for this agent if an input to this score is disputed and corrected."
}
}
{
"detail": "Feedback not found"
}
Overview
Serves the ERC-8004 off-chain feedback JSON document for a completed reputation submission. This URL is stored on-chain as theendpoint parameter in giveFeedback, allowing anyone to verify the full feedback details.
This is a public endpoint — no authentication required. Responses are cached for 24 hours.
Path Parameters
Response
Returns the raw ERC-8004 feedback JSON document.Cred-specific scoring context, minimised because the document is permanent:
score_details (score, range, model_version), sybil_details (sybil_score, risk_level), identity_details.attestation_count (never the attestation list), consent_basis (agent_self, wallet_owner or correction; see subject consent) and correction_policy. Documents published before November 2026 may carry more detail.Response Headers
| Header | Description |
|---|---|
X-Feedback-Hash | KECCAK-256 hash of the feedback JSON (matches on-chain feedbackHash) |
X-Feedback-URI | IPFS URI of the feedback document |
Cache-Control | public, max-age=86400 (24 hour cache) |
curl -X GET "https://api.credprotocol.com/api/v2/agents/18/reputation/feedback/550e8400-e29b-41d4-a716-446655440000"
const agentId = 18;
const submissionId = '550e8400-e29b-41d4-a716-446655440000';
const response = await fetch(
`https://api.credprotocol.com/api/v2/agents/${agentId}/reputation/feedback/${submissionId}`
);
const feedback = await response.json();
console.log(`Score: ${feedback.value} (${feedback.tag1})`);
console.log(`Hash: ${response.headers.get('X-Feedback-Hash')}`);
import requests
agent_id = 18
submission_id = '550e8400-e29b-41d4-a716-446655440000'
response = requests.get(
f'https://api.credprotocol.com/api/v2/agents/{agent_id}/reputation/feedback/{submission_id}'
)
feedback = response.json()
print(f"Score: {feedback['value']} ({feedback['tag1']})")
print(f"Hash: {response.headers.get('X-Feedback-Hash')}")
{
"agentRegistry": "eip155:8453:0x8004A169FB4a3325136EB29fA0ceB6D2e539a432",
"agentId": 18,
"clientAddress": "eip155:8453:0x1234567890abcdef1234567890abcdef12345678",
"createdAt": "2026-02-27T15:30:00Z",
"value": 782,
"valueDecimals": 0,
"tag1": "creditScore",
"tag2": "credprotocol",
"endpoint": "https://api.credprotocol.com/api/v2/agents/18/reputation/feedback/550e8400-e29b-41d4-a716-446655440000",
"context": {
"provider": "Cred Protocol",
"model": "andromeda_1.5",
"address_scored": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
"score_details": {"score": 782, "range": "good", "model_version": "andromeda_1.5"},
"sybil_details": {"sybil_score": 12, "risk_level": "low"},
"identity_details": {"attestation_count": 3},
"consent_basis": "agent_self",
"correction_policy": "Cred Protocol publishes a superseding entry for this agent if an input to this score is disputed and corrected."
}
}
{
"detail": "Feedback not found"
}