Agent Keys

Rotate agent key

Rotate an agent key. The new secret is returned only once.

post/agent-keys/{keyId}/rotate

Path parameters

keyIdstring required

Agent key ID (agk_*).

Headers

Idempotency-Keystring required

Unique key for safely retrying a request without creating duplicates.

X-Instance-IDstring nullable

Caller-chosen identifier for the agent run, session, or conversation, required when an agent moves money.

Request body

Response

Successful Response

Changes