Mission Test Configs
Save a mission-test setup once and re-run it on demand. Configs hold sector, mission, acceptance, and profile id. Launch a run from a saved config with POST /testing/mission-test-configs/{id}/runs.
6 endpoints
/testing/mission-test-configsSave a reusable mission-test config. Configs hold sector, mission, acceptance, and profile id, and can be re-launched on demand.
Body Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| name | string | required | Display name for the config |
| sector | string | required | Sector key from the catalogue |
| mission | string | required | The objective the agent should pursue on the call |
| acceptance | string | required | Acceptance criteria used to grade the run |
| profileId | string | required | Profile id supplying caller identity and phone number |
| tags | string[] | optional | Up to 10 lowercase kebab-case tags (1-32 chars, pattern ^[a-z0-9][a-z0-9-]*$) for filtering and organisation |
Request
curl -X POST -H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"Banking password reset","sector":"banking","mission":"Reset my online banking password","acceptance":"Agent verifies identity and resets password","profileId":"prof_xyz789"}' \
https://api.nopaque.co.uk/testing/mission-test-configsResponse
{
"id": "mtc_abc123",
"name": "Banking password reset",
"sector": "banking",
"mission": "Reset my online banking password",
"acceptance": "Agent verifies identity and resets password",
"profileId": "prof_xyz789",
"tags": [
"banking"
],
"createdAt": "2026-05-06T12: 00: 00Z"
}/testing/mission-test-configsList saved mission-test configs in the workspace. Filter by name, phone number, sector, profile, or tag, bound by creation time, sort, and page with an opaque cursor. Items are slim summaries that drop the long-text mission and acceptance fields.
Query Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| name | string | optional | Filter by case-insensitive substring of the config name |
| phoneNumber | string | optional | Filter by phone number in E.164 format |
| sector | string | optional | Filter by sector key |
| profileId | string | optional | Filter by profile id |
| tag | string | optional | Filter by a single lowercase tag (exact match) |
| createdAfter | string | optional | Only return configs created at or after this ISO8601 datetime |
| createdBefore | string | optional | Only return configs created at or before this ISO8601 datetime |
| sort | string | optional | Sort field: createdAt (default) or name |
| sortDir | string | optional | Sort direction: asc or desc (default desc) |
| limit | number | optional | Maximum items to return, 1-100 (default 50) |
| cursor | string | optional | Opaque pagination cursor from the previous response |
Request
curl -H "x-api-key: YOUR_API_KEY" \
"https://api.nopaque.co.uk/testing/mission-test-configs?sector=banking&tag=banking"Response
{
"items": [
{
"id": "mtc_abc123",
"workspaceId": "ws_abc123",
"name": "Banking password reset",
"sector": "banking",
"phoneNumber": "+441234567890",
"profileId": "prof_xyz789",
"tags": [
"banking"
],
"createdAt": "2026-05-06T12: 00: 00Z",
"updatedAt": "2026-05-06T12: 00: 00Z"
}
],
"nextCursor": null
}/testing/mission-test-configs/{id}Get a single saved mission-test config by id.
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| id | string | required | Mission-test config id |
Request
curl -H "x-api-key: YOUR_API_KEY" \
https://api.nopaque.co.uk/testing/mission-test-configs/mtc_abc123Response
{
"id": "mtc_abc123",
"name": "Banking password reset",
"sector": "banking",
"mission": "Reset my online banking password",
"acceptance": "Agent verifies identity and resets password",
"profileId": "prof_xyz789",
"tags": [
"banking"
],
"createdAt": "2026-05-06T12: 00: 00Z"
}/testing/mission-test-configs/{id}Partially update a saved mission-test config. Send only the fields you want to change. At least one field is required. Pass null for description or tags to clear them.
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| id | string | required | Mission-test config id |
Body Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| name | string | optional | Updated display name |
| description | string | null | optional | Updated description. Pass null to clear it |
| phoneNumber | string | optional | Updated phone number in E.164 format |
| sector | string | optional | Updated sector key |
| mission | string | optional | Updated mission objective |
| acceptance | string | optional | Updated acceptance criteria |
| profileId | string | optional | Updated profile id |
| tags | string[] | null | optional | Replace the tag list. Pass null to clear all tags. Up to 10 lowercase kebab-case tags (1-32 chars) |
Request
curl -X PATCH -H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"Banking password reset (EU)","tags":["banking","eu"]}' \
https://api.nopaque.co.uk/testing/mission-test-configs/mtc_abc123Response
{
"id": "mtc_abc123",
"name": "Banking password reset (EU)",
"sector": "banking",
"mission": "Reset my online banking password",
"acceptance": "Agent verifies identity and resets password",
"profileId": "prof_xyz789",
"tags": [
"banking",
"eu"
],
"updatedAt": "2026-05-06T12: 10: 00Z"
}/testing/mission-test-configs/{id}Delete a saved mission-test config.
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| id | string | required | Mission-test config id |
Request
curl -X DELETE -H "x-api-key: YOUR_API_KEY" \
https://api.nopaque.co.uk/testing/mission-test-configs/mtc_abc123Response
{
"message": "Mission test config deleted successfully"
}/testing/mission-test-configs/{id}/runsLaunch a new mission test run from a saved config. Returns the new MissionTestRun.
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| id | string | required | Mission-test config id |
Request
curl -X POST -H "x-api-key: YOUR_API_KEY" \
https://api.nopaque.co.uk/testing/mission-test-configs/mtc_abc123/runsResponse
{
"id": "mtr_abc123",
"kind": "freeform",
"configId": "mtc_abc123",
"sector": "banking",
"mission": "Reset my online banking password",
"acceptance": "Agent verifies identity and resets password",
"profile": {
"phoneNumber": "+441234567890"
},
"status": "queued",
"createdAt": "2026-05-06T12: 00: 00Z"
}