Skip to main content
POST
/
v1
/
advanced-research
/
batch
/
completions
Execute Batch of Research Sessions
curl --request POST \
  --url https://api.example.com/v1/advanced-research/batch/completions \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <x-api-key>' \
  --data '
{
  "input_schemas": [
    {
      "config": {
        "name": "Advanced Research",
        "description": "Advanced Research",
        "worker_model_name": "gpt-4.1",
        "director_agent_name": "Director-Agent",
        "director_model_name": "gpt-4.1",
        "director_max_tokens": 8000,
        "max_loops": 1,
        "director_max_loops": 1,
        "exa_search_num_results": 2,
        "exa_search_max_characters": 100
      },
      "task": "<string>",
      "img": "<string>"
    }
  ]
}
'
[
  {
    "id": "<string>",
    "name": "<string>",
    "description": "<string>",
    "outputs": "<unknown>",
    "timestamp": "<string>",
    "sources": 123,
    "characters_per_source": 123,
    "usage": {}
  }
]

Headers

x-api-key
string
required

Body

application/json
input_schemas
AdvancedResearchInputSchema · object[] | null
required

The input schemas for the advanced research

Response

Successful Response

id
string | null
required

The id of the advanced research session

name
string | null
required

The name of the advanced research session

description
string | null
required

The description of the advanced research session

outputs
any | null
required

The outputs of the advanced research session

timestamp
string | null
required

The timestamp of the advanced research session

sources
integer | null
required

The number of sources used for the advanced research session

characters_per_source
integer | null
required

The number of characters per source used for the advanced research session

usage
Usage · object
required

The usage of the advanced research session