Skip to main content
Update Custom Assistant
curl --request PATCH \
  --url https://{api_endpoint}/api/v1/assistants/custom/{assistant_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "title": "<string>",
  "description": "<string>",
  "tags": [
    "<string>"
  ],
  "name": "<string>",
  "nickname": "<string>",
  "instructions": "<string>",
  "user_start_messages": [
    "<string>"
  ],
  "llm_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "context_access_enabled": true,
  "context_variables": [
    "<string>"
  ]
}'
"<any>"

Authorizations

Authorization
string
header
required

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

Path Parameters

assistant_id
string
required

Body

application/json
title
string | null
description
string | null
tags
string[] | null
name
string | null
nickname
string | null
instructions
string | null
user_start_messages
string[] | null
llm_id
string<uuid> | null
context_access_enabled
boolean | null

Enable access to context variables for this agent

context_variables
string[] | null

List of context variable names that this agent can access

Response

Successful Response

The response is of type any.