Skip to main content
POST
Add AI provider to organization

Authorizations

Authorization
string
header
required

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

Path Parameters

organizationId
string
required

Body

application/json
aiModel
string
required

ObjectId of the AiModel registry entry (provider) to attach to this organization.

modelDetail
string
required

modelName to use within the chosen provider; must exist in that AiModel's modelDetails.

apiKey
string
required

Provider API key; stored encrypted and never returned in GET responses.

Response

Provider added

success
enum<boolean>
required
Available options:
true
data
object
required