POST
/
v1
/
orchestrate
/
agents
Register A New Agent.
curl --request POST \
  --url http://{api_endpoint}/api/v1/v1/orchestrate/agents \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "display_name": "<string>",
  "description": "<string>",
  "instructions": "<string>",
  "tools": [
    "<string>"
  ],
  "collaborators": [
    "<string>"
  ],
  "llm": "<string>",
  "style": "default",
  "supported_apps": [
    "slack/askhr"
  ],
  "glossary": [
    "<string>"
  ],
  "guidelines": [
    {
      "display_name": "<string>",
      "condition": "<string>",
      "action": "<string>",
      "tool": "<string>"
    }
  ],
  "knowledge_base": [
    "<string>"
  ],
  "hidden": false,
  "structured_output": {},
  "custom_join_tool": "<string>",
  "additional_properties": {
    "starter_prompts": {
      "customize": [
        {
          "id": "<string>",
          "title": "<string>",
          "subtitle": "<string>",
          "prompt": "<string>",
          "state": "<string>"
        }
      ]
    },
    "welcome_content": {
      "welcome_message": "<string>",
      "description": "<string>"
    }
  },
  "tags": [
    "<string>"
  ],
  "chat_with_docs": {
    "enabled": false,
    "vector_index": {
      "embeddings_model_name": "<string>",
      "chunk_size": 400,
      "chunk_overlap": 50,
      "limit": 10
    },
    "generation": {
      "model_id": "<string>",
      "prompt_instruction": "",
      "max_docs_passed_to_llm": 5,
      "generated_response_length": "Moderate",
      "display_text_no_results_found": "I searched my knowledge base, but did not find anything related to your query",
      "display_text_connectivity_issue": "I might have information related to your query to share, but am unable to connect to my knowledge base at the moment",
      "idk_message": "I'\''m afraid I don'\''t understand. Please rephrase your question.",
      "enabled": true
    },
    "query_rewrite": {
      "enabled": true,
      "model_id": "<string>"
    },
    "confidence_thresholds": {
      "retrieval_confidence_threshold": "Lowest",
      "response_confidence_threshold": "Lowest"
    },
    "citations": {
      "citation_title": "How do we know?",
      "citations_shown": -1
    },
    "hap_filtering": {
      "output": {
        "enabled": false,
        "threshold": 0.5
      }
    }
  },
  "context_access_enabled": true,
  "context_variables": [
    "<string>"
  ],
  "voice_configuration_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
"<any>"

Authorizations

Authorization
string
header
required

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

Body

application/json

Schema for creating a new agent.

description
string
required

Description of what the agent does

style
enum<string>
required

Style of the agent

Available options:
default,
react,
planner
name
string | null

Name of the agent

display_name
string | null

Display name of the agent

instructions
string | null

Instructions for the agent

tools
string[] | null

List of tool names available to the agent

collaborators
string[] | null

List of other agent names this agent can collaborate with

llm
string | null

LLM identifier for the agent

supported_apps
enum<string>[] | null

Supported apps of the agent

glossary
string[] | null

List of glossary available to the agent

guidelines
Guideline · object[] | null

List of guidelines for the agent behavior

knowledge_base
string[] | null

List of knowledge_base available to the agent

hidden
boolean
default:false

To show or hide agent when agents are listed

structured_output
object | null

JSON schema defining the structure for agent responses

custom_join_tool
string | null

Reference to a Python tool ID that will be used for custom synthesis of task results

additional_properties
object | null

Agent Additional Settings A specification for settings within an agent

tags
string[] | null

List of tags associated to agent

chat_with_docs
object | null

Chat with Documents config for Agent

context_access_enabled
boolean
default:true

Enable access to context variables for this agent

context_variables
string[] | null

List of context variable names that this agent can access

voice_configuration_id
string<uuid> | null

Voice configuration for the agent

Response

Successful Response

The response is of type any.