Evidence APIs for agent marketplaces
Every endpoint returns evidence for review. Trust Developer, Trust Pro, Trust Scale, and Trust Enterprise control account entitlement; KYA Levels control per-agent evidence depth.
Verify an agent
verify-agent
curl -X POST https://api.trustauthority.ai/v1/verify \
-H "Authorization: Bearer ${TA_API_KEY}" \
-H "Content-Type: application/json" \
-d '{"did":"did:web:trustauthority.ai:agent:9f2c4a7b"}' const response = await fetch('https://api.trustauthority.ai/v1/verify', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TA_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({ did: 'did:web:trustauthority.ai:agent:9f2c4a7b' }),
});
const record = await response.json();
console.log(record.trust_score);