Test History

Get test run details

Returns parsed test results for a specific test run with pagination and filtering. Includes individual test cases with error messages and stack traces. Also includes the test run's commit, branch, and framework context.

get/api/v1/user/projects/{projectId}/test-runs/{testRunId}/details

Request

  • Base URL: https://app.gaffer.sh
  • URL: https://app.gaffer.sh/api/v1/user/projects/{projectId}/test-runs/{testRunId}/details
  • Auth: one of:
    • API key in header X-API-Key
    • API key in header X-API-Key
    • HTTP bearer

Path parameters

projectIdstring required

Project ID. Use the list projects endpoint to find project IDs.

testRunIdstring required

Test run ID

Query parameters

limitinteger

Number of test cases per page (1-500)

offsetinteger

Number of test cases to skip

status'passed' | 'failed' | 'skipped'

Filter by test status

Response

Paginated test cases with run context

testRunIdstring required
commitShastring nullable

Git commit SHA

branchstring nullable

Git branch name

frameworkstring nullable

Test framework (e.g., playwright, vitest)

createdAtstring date-time required

When the test run was created

Changes

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