Skip to main content
POST
Add a model
AdminOnly Bearer token, role admin

Authorizations

Authorization
string
header
required

Supabase access token of an account with role = 'admin' in public.users.

Body

application/json
model_name
string
required

Exact provider model ID.

provider_name
enum<string>
required

Provider.

Available options:
groq,
google,
cloudflare
display_name
string

Optional display name.

is_free
boolean
default:true

Free tier.

status
enum<string>

Defaults to active.

Available options:
active,
inactive,
maintenance

Response

Created model

success
boolean
Example:

true

data
object
Last modified on October 18, 2026