Skip to main content
PUT
/
v1
/
llms
/
{id}
cURL
curl --request PUT \
  --url https://api.anam.ai/v1/llms/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "displayName": "<string>",
  "description": "<string>",
  "url": "<string>",
  "llmFormat": "openai",
  "modelName": "<string>",
  "secret": "<string>",
  "metadata": {}
}'

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

The LLM ID

Body

application/json
displayName
string
description
string
url
string
llmFormat
enum<string>
Available options:
openai,
azure_openai,
anthropic,
custom
modelName
string
secret
string
metadata
object

Response

Successfully updated LLM

I