---
title: "Submit Query"
method: POST
path: "/api/domains/{domain_id}/research-agent/query"
tags: ["research-agent"]
---

# Submit Query

`POST /api/domains/{domain_id}/research-agent/query`

## Request

- Base URL: `https://api-v1.unusual.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api-v1.unusual.ai/api/domains/{domain_id}/research-agent/query`
- Auth: OAuth 2
  - Password
  - Token URL: `/auth/login`

Submit a research agent query.

The agent will search through research conversations and provide
an answer using the metacognitive analysis tools.

If chat_id is provided, the query is added to an existing chat
for multi-turn conversation continuity.

## Path parameters

- `domain_id` string, required

## Headers

- `x-view-as` string, nullable

## Request body

- BackendDashboardServerRoutesResearchAgentQueryRequest
  - `question` string, required
  - `model` string
  - `reasoning_effort` string
  - `max_tool_steps` integer, nullable
  - `chat_id` string, nullable
  - `context` string, nullable

## Response `200`

Successful Response

- QueryResponse
  - `query_id` string, required
  - `job_id` string, required
  - `status` string, required
  - `chat_id` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/unusual/apis/dashboard-server.md) - [All operations](https://skmtc.dev/unusual/apis/dashboard-server/llms.txt) - [OpenAPI document](https://skmtc.dev/unusual/apis/dashboard-server/revisions/89f716930ead?raw)
