Skip to main content
POST
Add a provider key (sealed AES-256-GCM).

Authorizations

Authorization
string
header
required

WorkOS session access token (human dashboard sessions) on the control plane.

Headers

X-Spillway-Org
string<uuid>
Example:

"601c5d19-0b88-42f7-acda-d1d31abd100d"

Body

application/json

base_url is not accepted yet (custom upstreams ship with the compat adapter).

provider
enum<string>
required
Available options:
openai
label
string
required
Required string length: 1 - 120
apiKey
string
required
Required string length: 1 - 512

Response

OK

Resource object.

{key}
any