Stops a stage test whose run has not ended.
Cancels the run and keeps the test, so what was started stays readable. Returns 409 when the test has already ended.
Authorization
Bearer JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.
In: header
Path Parameters
The trigger identifier.
uuidThe stage test identifier.
uuidThe tenant identifier
Response Body
curl -X POST "https://api.fruxon.com/v1/tenants/string/triggers/497f6eca-6276-4993-bfeb-53cbbbba6f08/stageTests/497f6eca-6276-4993-bfeb-53cbbbba6f08:cancel"{
"id": "00000000-0000-0000-0000-000000000000",
"walkId": "00000000-0000-0000-0000-000000000000",
"step": 0,
"previousTestId": "00000000-0000-0000-0000-000000000000",
"stageIndex": 0,
"stageId": "string",
"stageName": "string",
"status": "QUEUED",
"seedKind": "ITEM",
"seedItemId": "00000000-0000-0000-0000-000000000000",
"replayOfExecutionRecordId": "00000000-0000-0000-0000-000000000000",
"itemKey": "string",
"fromDraft": false,
"input": null,
"userQuery": "string",
"reply": "string",
"agentId": "string",
"agentRevision": 0,
"agentRevisionDeployed": false,
"agentDraftBaseRevision": 0,
"routingDefault": "NONE",
"routingOverrides": {},
"executionRecordId": "00000000-0000-0000-0000-000000000000",
"output": "string",
"verdict": {
"kind": "ADVANCE",
"toStatus": "READY",
"cause": "string",
"detail": "string",
"failedCheck": "RUN",
"attempt": 0,
"maxAttempts": 0,
"nextStageId": "string",
"routed": false,
"produced": null,
"dataAfter": null,
"dedupeKey": "string",
"dedupeKeyIncomplete": false,
"duplicateOf": "string",
"nextStageMissing": [
"string"
],
"sink": {
"stageId": "string",
"kinds": [
"UNSPECIFIED"
],
"target": "string"
}
},
"simulatedCalls": [
{
"integrationId": "string",
"toolKey": "string",
"operation": "CREATE",
"simulatedEntityId": "00000000-0000-0000-0000-000000000000",
"createdAt": 0
}
],
"writesKept": false,
"cost": 0,
"durationMs": 0,
"warnings": [
"string"
],
"createdAt": 0,
"completedAt": 0,
"expiresAt": 0
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}Lists the steps of one walk.
In step order, each step's re-runs after it, oldest first — what a stepper reopens from.
Tests one stage of the automation on one input.
Queues a sandbox run of the stage's agent, on its deployed revision, with exactly the request a pass would send, and returns at once; poll the test until it finishes. The input is a real item (only read), a record the source returned, typed data, the step before in a walk, or a run a pass dispatched (`executionRecordId`): a replay of that run, at its stage unless `stageIndex` names another, on exactly the data it was handed. Each connection reads for real and writes to the simulator unless routed to the simulator entirely; a live connection is not offered. The run is charged to the agent's test budget. To test a revision before deploying it, name it with `agentRevision`, or per agent with `agentRevisions` for a walk; to test an edit before it is even a revision, name the caller's draft with `agentDraft`. The test then runs that revision or draft, holds it to every check the deployed one would face, and reports `agentRevisionDeployed: false`. Returns 400 when the stage cannot be tested yet — not a PROCESS stage, a batch stage, an undeployed agent, or an agent holding a tool that would reach a real person — or the run to replay is not one of this automation's; 404 when a named revision or run does not exist; and 409 when the draft has moved past the version named, or the caller already has the most tests running at once.