Skip to main content
POST
Add a model API key

Authorizations

Authorization
string
header
required

A workspace API key, created in Superlog under Settings → API keys.

Body

application/json
apiKey
string
required

The provider API key.

Required string length: 1 - 4096
label
string
required

A name for the key, unique within the workspace.

Required string length: 1 - 120
provider
enum<string>
required
Available options:
openai,
anthropic,
google,
xai,
mistral,
deepseek

Response

Created

modelCredential
object
required