Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required
ai_provider_id
string
required
slug
string
Pattern: ^[a-zA-Z0-9_-]+$
key
string
description
string
workspace_id
string
configurations
OpenAI · object
create_default_provider
boolean
default:true
default_provider_slug
string
Maximum string length: 255
Pattern: ^[a-zA-Z0-9_-]+$
secret_mappings
object[]
pricing_adjustments
object | null

Response

200 - application/json
id
string<UUID>
slug
string
Last modified on September 15, 2026