GET /resources to discover endpoints. It is a Hono service.
Health
200 { "ready": true } when ready, 503 otherwise.
GET /resources
Returns a JSON array of index records. All filters are optional.Base-unit query values are validated as digit strings before being parsed as BigInt. A malformed value returns
400.Index record
BigInt fields (pricing amounts, bond) are serialized as base-unit strings.
GET /:resourceId/.well-known/agent-card.json
Serves the validated A2A agent card for a resource. Returns404 for an unknown resource and 500 if the stored card fails validation.
POST /resources
An authenticated publish endpoint (Authorization: Bearer, fail-closed). It runs moderation, bond, probe, mint, and index before listing a resource. Used by the studio’s publish stage, not by discovery clients.