Skip to main content
PATCH
/
api
/
v1
/
models
/
{id}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Body

application/json
provider
string

The provider of the model

name
string

The name of the model

type
string

The type of the model

label
string

The label of the model

description
string

The description of the model

vision
boolean
default:false

Whether the model supports vision

audio
boolean
default:false

Whether the model supports audio

inputCostPer1mTokens
number

Cost of one input million tokens

outputCostPer1mTokens
number

Cost of one output million tokens

apikeys
string[]

API keys for the model

Response

200

The model has been successfully updated.