Rotate agent host key
Replace the host public key using a host JWT signed with the current key. The old key stops working immediately. The response supplies the new host_id. See the AI-agents guide. Agent Auth JWTs are not API-key exchange tokens.
Request
This endpoint expects an object.
public_key
New public key as JWK
Response
Protocol response.
host_id
status
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
503
Service Unavailable Error