Skip to main content
POST
/
v1
/
research-agent
Research Agent
curl --request POST \
  --url https://agents.bigdata.com/v1/research-agent \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "research_effort": "standard",
  "message": "earnings analysis",
  "tools_configs": {
    "search": {
      "query_filters": {
        "entities": {
          "any_of": [
            {
              "id": "D8442A"
            },
            {
              "id": "4A6F00"
            },
            {
              "id": "E09E2B"
            }
          ]
        },
        "period": {
          "start": "2024-10-14T22:00:00.000Z",
          "end": "2025-10-14T21:59:59.999Z"
        }
      }
    }
  }
}
'
[
  {
    "chat_id": "<string>",
    "message": {
      "type": "THINKING",
      "role": "assistant",
      "content": "<string>",
      "message_id": "<string>",
      "tool_name": "<string>",
      "tool_arguments": {},
      "error": "<string>",
      "audit_traces": [
        {
          "query": {
            "text": "<string>",
            "filters": {}
          },
          "results": [
            {
              "values": [
                {
                  "documentScope": "<string>",
                  "hd": "<string>",
                  "id": "<string>",
                  "language": "<string>",
                  "srcKey": "<string>",
                  "srcName": "<string>",
                  "ts": "<string>",
                  "chunks": [
                    {
                      "id": "<string>",
                      "cnum": 123,
                      "text": "<string>",
                      "sentences": [
                        {
                          "pnum": 123,
                          "snum": 123
                        }
                      ],
                      "relevance": 123,
                      "boundingBoxes": [
                        {
                          "bottom": 123,
                          "left": 123,
                          "page": 123,
                          "right": 123,
                          "top": 123
                        }
                      ]
                    }
                  ],
                  "sourceRank": 10,
                  "contentType": "<string>",
                  "documentType": "<string>",
                  "url": "<string>",
                  "rpProviderId": "<string>"
                }
              ],
              "type": "CQS"
            }
          ],
          "auditType": "SearchAuditV1",
          "toolId": "search_tool",
          "queryId": 123
        }
      ],
      "references": [
        {
          "start": 123,
          "end": 123,
          "source": "<unknown>",
          "tag": {
            "tool_call_id": "<string>",
            "ref_id": "<string>"
          },
          "action_audits_id": "<string>"
        }
      ]
    }
  }
]

Authorizations

X-API-Key
string
header
required

Enter your API key

Body

application/json
research_effort
enum<string>
required

Research effort level: 'lite' for quick analysis, 'standard' for comprehensive research

Available options:
lite,
standard
message
string
required

The user's message/question to send to the agent

tools_configs
Tools Configs · object

Optional runtime configurations for tools. Available tools: 'search' - configure search parameters and filters.

chatId
string | null

Optional chat ID to continue an existing conversation thread. If not provided, a new conversation is started.

persistenceMode
enum<string>
default:disabled

Whether to persist the agent state in memory or in the database

Available options:
enabled,
disabled

Response

200 - application/json

Successful Response

chat_id
string
required

The ID of the chat

message
AgentAPIExecuteResponse · object
required