Management
Upsert a BYOK provider key
Stores a sealed-box ciphertext for one provider. Refuses any payload sealed against a kek_id other than the cloud's current encryption pubkey (/v1/byok/encryption-pubkey).
Requires the byok:write scope.
x-api-key<token>
Anthropic-style API key header.
In: header
Request Body
application/json
Request body. See the endpoint description for shape.
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://api.bitrouter.ai/v1/byok/keys" \ -H "Content-Type: application/json" \ -d '{}'{}{
"error": null
}{
"error": null
}{
"error": null
}How is this guide?