---
title: "Ask Agent By Domain"
method: POST
path: "/internal/agent-desk/ask"
tags: ["internal"]
---

# Ask Agent By Domain

`POST /internal/agent-desk/ask`

## 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/internal/agent-desk/ask`
- Auth: none declared

## Query parameters

- `domain_id` string, required: The domain ID resolved by the edge worker

## Headers

- `x-internal-key` string, nullable
- `x-internal-token` string, nullable

## Request body

- AskRequest
  - `question` string, required
  - `conversation_id` string, nullable
  - `conversation_token` string, nullable
  - `request_id` string, uuid, nullable
  - `agent_identifier` string, nullable

## Response `200`

Successful Response

- AskResponse
  - `answer` string, required
  - `conversation_id` string, required
  - `conversation_token` string, nullable
  - `usage` object, required
  - `question` string, required
  - `degraded` boolean

## 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)
