Skip to main content
PUT
/
api
/
ai-models
/
{id}
Update AI model (superadmin only)
curl --request PUT \
  --url https://your-instance.example.com/api/ai-models/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "providerName": "<string>",
  "vercelUniqueName": "<string>",
  "websiteUrl": "<string>",
  "modelDetails": [
    {}
  ]
}
'
{}

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
providerName
string
vercelUniqueName
string
websiteUrl
string
modelDetails
object[]

Response

AI model updated

Generic response envelope. Endpoint-specific fields are intentionally open.