POST
/api/v1/account/key/regenerateSupabase JWTRegenerate API key
Atomically rotates the signed-in user's API key. The new plaintext is returned exactly once; the old key 401s on the next call against any data endpoint. Throttled to one regenerate per minute — within the window, returns 429 with a `Retry-After` header.
Request
Example response
{
"data": {
"user_id": "dca2c107-7a34-4767-aaa9-a81a6d46e830",
"api_key": "si_live_NEW_KEY_PLAINTEXT_xxxxxxxxxxxxx",
"key_prefix": "si_live_NEW_",
"tier": "platform",
"regenerated_at": "2026-05-20T02:50:40Z"
},
"meta": {
"request_id": "req_8aZpmK4qX0nT",
"timestamp": "2026-05-20T14:22:08Z",
"response_time_ms": 12
}
}