Endpoint URL

POST /api/v1/invoke_agent

Description

This endpoint allows you to invoke an agent using specific parameters, including expert ID, ability ID, model ID, session ID, input data, and additional configuration options.

Request Headers

Request Body

The request body should be a JSON object with the following structure:

{
    "expert_id": 37,
    "ability_id": 80,
    "model_id": 6,
    "temperature": 0,
    "session_id": "12333333",
    "input_data": "use the Assistant Consultation Tool to call an Assistant for help regarding a question",
    "user_id": "123", 
    "document_urls": [],
    "conversation_history": [],
    "tool_config": {
        "tavily_max_results": 1
    },
    "tool_activation": {
        "tavily_search": true,
        "wolfram_alpha": true,
        "document_retriever": false,
        "notion_connector": false}
}

Parameters