Agents
Create an agent key
Issue a credential that authenticates as this agent. The secret is returned once. Agent keys carry fixed scopes (transfers read/write, accounts read, customers read) and cannot manage agents or keys.
post/v1/agents/{id}/keys
Path parameters
idstring required
Headers
X-API-Keystring
API key
Request body
Example request
{
"name": "procurement-runtime",
"expiresAt": "2027-01-01T00:00:00Z"
}Response
Example response
{
"id": "ak_abc123",
"agentId": "agt_abc123",
"name": "procurement-runtime",
"keyHint": "9f3a",
"secret": "sk_sandbox_agent_1a2b3c4d5e6f7g8h9f3a"
}Changes
Changed in 1 of the 19 revisions of this API.1
- ○
endpoint added
endpoint-added
- ○