GET
/
research
/
tasks
/
{id}
curl -X GET 'https://api.exa.ai/research/tasks/<TASK_ID>' \
  -H 'x-api-key: YOUR-EXA-API-KEY'
{
  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "status": "completed",
  "instructions": "What species of ant are similar to honeypot ants?",
  "schema": {
    "type": "object",
    "required": [
      "answer"
    ],
    "properties": {
      "answer": {
        "type": "string"
      }
    },
    "additionalProperties": false
  },
  "data": {
    "answer": "Some related species include Myrmecocystus mimicus and Myrmecocystus mexicanus."
  },
  "citations": {
    "answer": [
      {
        "id": "https://example.com/article1",
        "url": "https://example.com/article1",
        "title": "Example Article",
        "author": "Example Author"
      }
    ]
  }
}

Get your Exa API key

Authorizations

x-api-key
string
header
required

API key can be provided either via x-api-key header or Authorization header with Bearer scheme

Path Parameters

id
string
required

The unique identifier for the research task.

Response

200 - application/json

OK

The response is of type object.