Skip to navigation

Rotate agent key

Replace an active agent public key using its owning host JWT. Supply the new public JWK; the SDK manages the signing keys. See the AI-agents guide. Agent Auth JWTs are not API-key exchange tokens.

Request

This endpoint expects an object.
agent_idstringRequired>=1 character
public_keymap from strings to anyRequired

Response

Protocol response.
agent_idstring
statusstring

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
503
Service Unavailable Error