AY Developer docs
ApiIdentity

Token Status List of Agent Passports

IETF Token Status List (draft-ietf-oauth-status-list) for Agent Passport credentials: 2 bits per index, registered values `0` VALID, `1` INVALID (revoked), `2` SUSPENDED. The index is the `status.status_list.idx` claim of the passport. Served bare (no envelope) as `application/statuslist+json`, `Cache-Control: public, max-age=300`, `ETag`.

GET
/identity/status-list

IETF Token Status List (draft-ietf-oauth-status-list) for Agent Passport credentials: 2 bits per index, registered values 0 VALID, 1 INVALID (revoked), 2 SUSPENDED. The index is the status.status_list.idx claim of the passport. Served bare (no envelope) as application/statuslist+json, Cache-Control: public, max-age=300, ETag.

Response Body

application/statuslist+json

application/json

curl -X GET "https://example.com/identity/status-list"
{  "status_list": "string",  "bits": 2,  "total": 0}