Analytics

List slowest tests

Returns the slowest tests for a project, sorted by P95 duration. Queries duration statistics from the Analytics Engine. The analysis period is clamped by your plan tier.

get/api/v1/user/projects/{projectId}/slowest-tests

Request

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

daysinteger

Analysis period in days. Clamped by plan tier (Free: 30, Pro: 90, Team: 180). Check the meta field in the response to see if clamping was applied.

limitinteger

Maximum results to return (1-100)

frameworkstring

Filter by test framework (e.g., playwright, vitest)

branchstring

Filter by branch name

Response

Slowest tests with duration statistics

Changes

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