Skip to content

Activate Provider

POST
/v1/settings/providers/{provider_id}/activate
curl --request POST \
--url https://example.com/v1/settings/providers/example/activate \
--header 'Authorization: Bearer <token>'

Make the provider the one new runs ask rowlab’s catalog models through. Runs already started keep theirs; the organisation’s own models always go to their own.

provider_id
required
Provider Id
string

Successful Response

Media typeapplication/json
Provider

A provider as the API shows it: without its key.

object
id
required
Id
string
name
required
Name
string
type
required
Type
string
Allowed values: openrouter openai systemone
base_url
required
Base Url
string
model_prefix
required
Model Prefix
string
active
required
Active

Whether new runs ask rowlab’s catalog models through it.

boolean
created_at
required
Created At
string format: date-time

Example

{
"type": "openrouter"
}

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object

Example generated

{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}