Get project insights
Get a project’s aggregated run and test insights over a date range, bucketed by day.
Insights cover the most recent 3 months. A start_date older than that is refused with a
400 rather than clamped, while an end_date in the future is clamped to today. Omitting
both returns the last 30 days.
A day on which the project recorded nothing is still present in the response, carrying only
its date.
{your-subdomain} with your workspace’s subdomain. Learn how to find your subdomain in Workspace subdomain.
Headers
Use the X-Api-Key header to provide your workspace API key. Refer to Authentication for more information.
Specifies the expected response format. Must be set to application/json for proper API communication.
application/json Path Parameters
Id of the project. You can get project_id by listing your projects using the List projects API.
"pdqmxlz"
Query Parameters
Start of the range as an ISO date. Defaults to 29 days before the end date. Must fall within the most recent 3 months.
"2026-07-15"
End of the range as an ISO date. Defaults to today. A date in the future is clamped to today.
"2026-08-13"
Count only runs on this branch.
"main"
Count only runs by this author.
"Oliver Smith"
Count only runs carrying every listed tag. Accepts a comma-separated list.
IANA timezone used to bucket days and resolve the date defaults. Defaults to Etc/UTC.
"America/New_York"
Response
OK - Request succeeded. The response reports the effective start_date and end_date after clamping.
Effective start of the range after clamping, in the requested timezone.
"2026-07-15"
Effective end of the range after clamping, in the requested timezone.
"2026-08-13"
IANA timezone the day buckets and dates are expressed in.
"Etc/UTC"