For the complete documentation index, see llms.txt. This page is also available as Markdown.

Evaluation

Operations about evaluation test runs

Retrieve test runs

get

Retrieve the evaluation test runs of a workflow.

Authorizations
X-N8N-API-KEYstringRequired
Path parameters
idstringRequired

The ID of the workflow.

Query parameters
statusstring · enumOptional

Status to filter the test runs by.

Possible values:
limitnumber · max: 250Optional

The maximum number of items to return.

Default: 100Example: 100
cursorstringOptional

Paginate by setting the cursor parameter to the nextCursor attribute returned by the previous request's response. Default value fetches the first "page" of the collection. See pagination for more detail.

Responses
200

Operation successful.

application/json
nextCursorstring · nullableOptional

Paginate through test runs by setting the cursor parameter to the nextCursor attribute returned by a previous request. Default value fetches the first "page" of the collection.

Example: MTIzZTQ1NjctZTg5Yi0xMmQzLWE0NTYtNDI2NjE0MTc0MDA
get/workflows/{id}/test-runs

Retrieve a test run

get

Retrieve a single evaluation test run of a workflow, including its aggregated metrics and final result.

Authorizations
X-N8N-API-KEYstringRequired
Path parameters
idstringRequired

The ID of the workflow.

runIdstringRequired

The ID of the test run.

Responses
200

Operation successful.

application/json
idstringOptionalExample: 9f8e7d6c5b4a3210
statusstring · enumOptionalPossible values:
runAtstring · date-time · nullableOptional
completedAtstring · date-time · nullableOptional
errorCodestring · nullableOptional
finalResultstring · enum · nullableOptional

Overall result of the run, derived from its test cases once completed.

Possible values:
testCaseCountintegerOptionalExample: 42
createdAtstring · date-timeOptional
updatedAtstring · date-timeOptional
get/workflows/{id}/test-runs/{runId}

Retrieve test run cases

get

Retrieve the per-case results of an evaluation test run.

Authorizations
X-N8N-API-KEYstringRequired
Path parameters
idstringRequired

The ID of the workflow.

runIdstringRequired

The ID of the test run.

Query parameters
limitnumber · max: 250Optional

The maximum number of items to return.

Default: 100Example: 100
cursorstringOptional

Paginate by setting the cursor parameter to the nextCursor attribute returned by the previous request's response. Default value fetches the first "page" of the collection. See pagination for more detail.

Responses
200

Operation successful.

application/json
nextCursorstring · nullableOptional

Paginate through test cases by setting the cursor parameter to the nextCursor attribute returned by a previous request. Default value fetches the first "page" of the collection.

Example: MTIzZTQ1NjctZTg5Yi0xMmQzLWE0NTYtNDI2NjE0MTc0MDA
get/workflows/{id}/test-runs/{runId}/test-cases

Last updated

Was this helpful?