Test History

Get test history

Returns pass/fail history for a specific test by name or file path. Useful for understanding test stability over time. Either testName or filePath must be provided.

get/api/v1/user/projects/{projectId}/test-history

Request

  • Base URL: https://app.gaffer.sh
  • URL: https://app.gaffer.sh/api/v1/user/projects/{projectId}/test-history
  • 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.

Query parameters

testNamestring

Test name to search for (provide this or filePath)

filePathstring

File path to search for (provide this or testName)

limitinteger

Maximum number of results (1-100)

Response

Test history with summary statistics

messagestring nullable

Human-readable message when no results are found

Changes

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