Hanzo AI

Get statements

Reads whether one statement the platform signed about an agent still stands: live, expired, or revoked and when.

GET /v1/principal/statements/{id}

Addresshttps://api.hanzo.ai/v1/principal/statements/{id}
MethodGET
Operationget_principal_statements_by_id
AuthAuthorization: Bearer $HANZO_API_KEY

Reads whether one statement the platform signed about an agent still stands: live, expired, or revoked and when. Open to anyone — a verifier holding a TaxPrincipalCredential checks it here after checking its signature offline against GET /v1/principal/keys. The answer names nothing the statement itself does not.

Request

1 field.

FieldInTypeRequiredDescription
idpathstringyesID is the statement's jti, as its JWS carries it.

Response

StatusBodyMeaning
200principal.Statementok
defaultproblem-detailsrefused

200 body — 10 fields.

FieldInTypeAlwaysDescription
agentbodystring—Agent is the agent it is about.
expiresbodyinteger (int64)—Expires is when it stops standing, unix seconds; zero for a W-9, which stands until the form changes.
formbodystring—Form is the class of tax form it rests on: w9, w8ben or w8bene.
idbodystring—ID is the statement's jti.
issuedbodyinteger (int64)—Issued is when it was signed, unix seconds.
jwsbodystring—JWS is the signed statement itself — the credential an agent presents — answered only to the org it is about.
kindbodystring—Kind is what it states: tax.
orgbodystring—Org is the principal the agent answers to.
revokedbodyinteger (int64)—Revoked is when it was withdrawn, unix seconds; zero while it stands.
statusbodystring—Status is live, expired or revoked.

Failure carries the platform error shape — see Errors.

Examples

hanzo has no subcommand for this operation — the CLI serves only what cloud's live route table confirms. Use HTTP or an SDK.


Principal API · All Hanzo APIs · Interactive reference

How is this guide?

On this page