The agent object
POST /v1/agents
Create an agent if it doesn’t exist; no-op if it does. Idempotent — safe to call on every deploy.
Request
Response
201 Created:
Errors
GET /v1/agents
List every agent in this (account, mode).
Request
Response
200 OK:
created_at ascending. Stable across calls.
Errors
GET /v1/agents/{id}
Retrieve a single agent by its public id.
Request
Response
200 OK:
Errors
Patterns
Register required agents at boot
BecausePOST /v1/agents is idempotent, the cleanest pattern is to declare the agents your service needs at startup:
Gate spend on status
agent.status === "active" means at least one wallet has authorized this agent. Use it as a gate before submitting payments:
Not yet exposed
DELETE /v1/agents/{id}— soft-delete an agent.GET /v1/agentswith cursor pagination — for accounts with hundreds of agents.GET /v1/agents/{id}/permissions— list active grants for an agent, with policy summary.