Skip to main content
PUT
/
v1
/
models
Bulk-replace the entire model catalogue
curl --request PUT \
  --url https://{host}/v2/workspaces/slug:llm-gateway/webhooks/v1/models \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "models": [
    {
      "model_id": "<string>",
      "type": "completion",
      "display": {},
      "capabilities": {},
      "limits": {},
      "failover": "<string>",
      "region": "<string>",
      "dimensions": "<unknown>",
      "supported_dimensions": "<unknown>",
      "metrics": "<unknown>",
      "provider_config": "<unknown>",
      "pricing": "<unknown>",
      "tags": "<unknown>",
      "org_slugs": "<unknown>",
      "enabled": "<unknown>"
    }
  ]
}
'
{
  "deleted": 123,
  "inserted": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.prisme.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

User session JWT or instance API key (iak_*). Send as Authorization: Bearer <token>.

Body

application/json
models
object[]
required

Replacement catalogue (max 500 items).

Maximum array length: 500

Response

Bulk replace summary.

deleted
integer
required

Number of documents removed before the insert.

inserted
integer
required

Number of documents inserted.