RegressionTests
Beta

Run a regression test

Start a run of the regression test. The run is asynchronous: poll the test or its history to track the status. Fails when a run is already in progress.

post/regression-tests/{regressionTestId}/run

Request

  • Base URL
    https://public.escape.tech/v3
  • Auth
    API key in header X-ESCAPE-API-KEY

Path parameters

regressionTestIdstring uuid required

The regression test ID

Example:00000000-0000-0000-0000-000000000000

Response

OK

idstring uuid required

The id of the regression test

namestring required

The name of the regression test

additionalContextstring required

Free-form context given to the agent alongside the source report

inputFilenamestring required

The name of the uploaded source report file

inputFormat'MARKDOWN' | 'PDF' required

The format of the source report

status'CANCELLED' | 'CLARIFICATION_GIVEN' | 'CLARIFICATION_REQUIRED' | 'ERROR' | 'NOT_STARTED' | 'RUNNING' | 'TEST_FAILED' | 'TEST_PASSED' required

The status of the latest run of the regression test

signedUrlstring required

A signed URL to download the source report. It expires after a short period.

createdAtstring required

When the regression test was created

updatedAtstring required

When the regression test was last updated

hasMoreRunsboolean required

Whether more runs exist beyond the embedded runs. Page through all runs with GET /v3/regression-tests/{regressionTestId}/history.

Changes

No recorded changes to this operation across all 1 revision of this API.