1 minute readFixedAgent-ready
Rotating an API key needs a confirmation
POST /api/api-keys/rotate now needs {"confirm": true} in the body, because rotating ends the key for everyone who holds it.
Rotating a key ends it for everyone who uses it, and only the caller receives the new one. POST /api/api-keys/rotate now needs {"confirm": true} in the body. Without it the answer is 400 confirmation_required and the key is unchanged.
Sandbox keys from POST /api/agents/register rotate as before. If someone else gave you the key, check with them before rotating it.