---
title: "Start Test Job"
method: POST
path: "/api/domains/{domain_id}/jobs/test"
tags: ["jobs"]
---

# Start Test Job

`POST /api/domains/{domain_id}/jobs/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/api/domains/{domain_id}/jobs/test`
- Auth: OAuth 2
  - Password
  - Token URL: `/auth/login`

Enqueue a synthetic test job that emits progress for easy testing.

Returns both a public task_id and the underlying job_id (message_id).
Clients should prefer job_id for Jobs API calls; task_id is provided for legacy flows.

## Path parameters

- `domain_id` string, required

## Headers

- `x-view-as` string, nullable

## Request body

- StartTestJobRequest
  - `steps` integer
  - `delay_ms` integer
  - `message` string, nullable

## Response `202`

Successful Response

- StartTestJobResponse
  - `task_id` string, required
  - `job_id` string, required

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