Skip to main content

Register

POST 

/v1/customers/:customer_id/projects/:project_id/aikeys

Register encrypts and stores a provider API key under a project. After this call, inference requests routed to the matching provider for this project will use this key.

Scope: account-tier so any project member can register their OWN user-scoped key (user_scope=true). Registering a PROJECT-level key (user_scope=false) additionally requires the caller to be the project's owner -- enforced in-handler against project_members.

Request

Responses

Success