Skip to main content
POST
/
v1
/
agents
Add Agent
curl --request POST \
  --url https://api.example.com/v1/agents \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "definition": {
    "model_selection": [
      "chat-balanced",
      "gemini-2.0-pro",
      "claude-3.5-sonnet-v2",
      "claude-3.7-sonnet",
      "gpt-4o"
    ],
    "temperature": 0.4,
    "tools": [
      {
        "description": "Search the web for information",
        "enabled": true,
        "name": "Web Research",
        "type": "web_research"
      },
      {
        "description": "Answer questions about the Noxus platform",
        "enabled": true,
        "name": "Noxus Q&A",
        "type": "noxus_qa"
      },
      {
        "description": "Select a knowledge base to answer questions about",
        "enabled": true,
        "name": "Select Knowledge Base Q&A",
        "type": "kb_selector"
      }
    ]
  },
  "visible": true,
  "author_name": "<string>"
}
'
{
  "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.

Body

application/json
name
string
required
description
string | null
definition
ConversationSettings · object
visible
boolean
default:true
author_name
string | 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