Skip to content

Agent HTTP API

python -m keri_system.server runs a node with an HTTP API. Administrative endpoints need Authorization: Bearer <ADMIN_TOKEN>.

Method and path Access Purpose
GET /healthz open Liveness and identifier
GET /v1/identity open Identifier, role, state, pending
POST /v1/input signed Submit a message. Returns id
GET /v1/output/{id} open Signed reply, or 404
POST /v1/rotate admin Rotate. {"use_recovery": true} uses a recovery key
POST /v1/delegations admin Approve a delegation seal
POST /v1/schemas admin Add a schema: schema, template
POST /v1/credentials admin Issue: schema, subject, attributes, parent
DELETE /v1/credentials/{said} admin Revoke
GET /v1/evidence/{said} admin Evidence record

Errors are {"error", "message"} with status 422, or 503 for unavailable and pending. Bodies are limited to 1 MiB.