---
search:
  tags:
    - research
    - POST
seo:
  description: >-
    Research a question across the web and return an answer with… Reference for
    the POST /api/v1/tools/research_question endpoint in the Fieldwork gateway
    API.
sidebar:
  label: research_question
  badge: POST
title: research_question
type: openapi-operation
---
Research a question across the web and return an answer with its sources: a written report, or values matching a JSON Schema when one is given. Runs a job of many steps that can take minutes and costs more than a search. status is partial when the run stopped early (stopReason says why) but still has output. Use for questions that need several sources compared or combined. Do not use for a single lookup (use search_web or answer_question), or to read a page you have a URL for (use read_page). Defaults to exa. Set provider to choose another supported provider; Fieldwork never switches providers after an error.

`POST /api/v1/tools/research_question`

**Request body** (`application/json`, required)

- `provider` (string)
- `timeout` (integer) — Maximum wait in milliseconds. Resume a returned jobId to collect a long job.

Request body example:

```json
{
  "provider": "exa",
  "timeout": 1,
  "question": "string",
  "schema": {},
  "continueFrom": "string",
  "resume": "string",
  "maxCharacters": 1
}
```

**Responses**

- `200` — The provider that ran the call and its normalized result.
- `default` — A refusal or a failed call. Branch on error.code; never parse the message.

Response example, 200:

```json
{
  "provider": "exa",
  "requestId": "string",
  "result": {
    "continuationId": "string",
    "fields": [
      {
        "citations": [
          {
            "excerpts": [
              "string"
            ],
            "title": "string",
            "url": "string"
          }
        ],
        "confidence": null,
        "field": "string",
        "reasoning": "string"
      }
    ],
    "id": "string",
    "meta": {
      "requestId": "string",
      "usage": {
        "costUsd": 0,
        "credits": 0,
        "units": {
          "property1": 0,
          "property2": 0
        }
      },
      "warnings": [
        "string"
      ]
    },
    "output": null,
    "retrieved": [
      {
        "excerpts": [
          "string"
        ],
        "title": "string",
        "url": "string"
      }
    ],
    "sources": [
      {
        "excerpts": [
          "string"
        ],
        "title": "string",
        "url": "string"
      }
    ],
    "status": "completed",
    "stopReason": "string",
    "truncated": [
      {
        "length": 0,
        "path": "string",
        "shown": 0
      }
    ]
  }
}
```
