Skip to main content
PATCH
/
v1
/
agents
/
{agent_id}
Update Agent
curl --request PATCH \
  --url https://api.example.com/v1/agents/{agent_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "definition": {
    "model_selection": [
      "<string>"
    ],
    "temperature": 0.4,
    "max_tokens": 123,
    "tools": [
      {
        "name": "Web Research",
        "description": "Search the web for information",
        "enabled": true,
        "type": "web_research"
      },
      {
        "name": "Noxus Q&A",
        "description": "Answer questions about the Noxus platform",
        "enabled": true,
        "type": "noxus_qa"
      },
      {
        "name": "Select Knowledge Base Q&A",
        "description": "Select a knowledge base to answer questions about",
        "enabled": true,
        "type": "kb_selector"
      }
    ],
    "extra_instructions": "<string>"
  },
  "visible": true
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "group_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "definition": {},
  "description": "<string>",
  "visible": true
}

Authorizations

Authorization
string
header
required

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

Path Parameters

agent_id
string
required

Body

application/json
name
string | null
description
string | null
definition
ConversationSettings · object
visible
boolean | null

Response

Successful Response

id
string<uuid>
required
group_id
string<uuid>
required
name
string
required
definition
Definition · object
required
description
string | null
visible
boolean
default:true