POST
/
v1
/
assistants
/
custom
Create Custom Assistant
curl --request POST \
  --url http://{api_endpoint}/api/v1/v1/assistants/custom \
  --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": []
}'
"<any>"

Authorizations

Authorization
string
header
required

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

Body

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

Enable access to context variables for this agent

context_variables
string[]

List of context variable names that this agent can access

Response

Successful Response

The response is of type any.