Skip to main content
PATCH
/
api
/
llms
/
{llmId}
Update LLM
curl --request PATCH \
  --url https://api.upon-ai.com/api/llms/{llmId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "workspaceId": 123,
  "general_prompt": "<string>",
  "begin_message": "<string>",
  "responsiveness": "<string>",
  "model": "<string>"
}
'
{
  "llm_id": "<string>",
  "display_name": "<string>",
  "version": 123,
  "model": "<string>",
  "general_prompt": "<string>",
  "begin_message": "<string>",
  "responsiveness": "<string>",
  "general_tools": [
    {
      "name": "<string>",
      "type": "<string>",
      "description": "<string>"
    }
  ],
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

llmId
string
required

LLM identifier.

Query Parameters

version
integer

Specific version to retrieve or update.

Required range: x >= 1

Body

application/json
workspaceId
integer
required
general_prompt
string | null
begin_message
string | null
responsiveness
string
model
string

Response

200 - application/json

Updated LLM configuration.

llm_id
string
required
display_name
string
required
version
integer
required
model
string
general_prompt
string | null
begin_message
string | null
responsiveness
string | null
general_tools
object[]
updated_at
string<date-time> | null