Create AI Provider
Create an AI provider with provider credentials and model defaults. Name is optional and defaults server-side; pass test=true to verify credentials before saving.
Authentication
AuthorizationBearer
Use Bearer <api-key>.
Request
This endpoint expects an object.
provider
apiKey
baseUrl
defaultModel
name
status
subaccountId
test
Response
Created
createdAt
hasApiKey
id
name
provider
status
updatedAt
baseUrl
defaultModel
models
subaccountId
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
409
Conflict Error
429
Too Many Requests Error

