Agent Keys

Create agent key

Create a new agent key bound to an existing agent. The full secret is returned only once. Creating a replacement key does not revoke existing keys — rotation overlaps until the old key is revoked.

post/agent-keys

Headers

X-Agent-IDstring nullable

Agent ID (agt_xxx) identifying which agent is making the request.

X-Instance-IDstring nullable

Required when X-Agent-ID is present. Session or conversation ID for agent observability.

Request body

Response

Successful Response

Changes