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

# Test Agent By Domain

`POST /internal/agent-desk/test`

## 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/test`
- Auth: none declared

Authenticated internal smoke tests use the same unbilled lane as owners.

Call the API directly with the internal credential. The public edge /api/ask
proxy only targets /internal/agent-desk/ask, which still sanitizes identifiers.
A separate route keeps a caller's header, user agent or identifier from
opting public traffic out of billing. Every test starts a fresh thread and
shares the playground's bounded daily test allowance.

## Query parameters

- `domain_id` string, uuid, required

## Headers

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

## Request body

- DeskTestRequest
  - `question` string, required

## Response `200`

Successful Response

- unknown

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