Activate Provider
POST
/v1/settings/providers/{provider_id}/activate
const url = 'https://example.com/v1/settings/providers/example/activate';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”provider_id
required
Provider Id
string
Responses
Section titled “Responses”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
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>
ValidationErrorobject
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": {} } ]}