Projects

Manage and query projects in your organization.

Projects are the top-level containers for test runs, specs, and test results. Each project has a unique project ID and can be configured with various settings.

List projects

get
/projects

Get all projects for your organization with optional pagination

Authorizations
AuthorizationstringRequired

API key authentication using Bearer token

Query parameters
limitinteger · min: 1 · max: 100Optional

Maximum number of items to return (default: 10)

Default: 10
starting_afterstringOptional

Cursor for pagination. Returns items after this cursor value.

ending_beforestringOptional

Cursor for pagination. Returns items before this cursor value.

Responses
200

Successful response

application/json
get
/projects

Get project

get
/projects/{projectId}

Get a single project by ID

Authorizations
AuthorizationstringRequired

API key authentication using Bearer token

Path parameters
projectIdstringRequired

The project ID

Example: proj_abc123
Responses
200

Successful response

application/json
get
/projects/{projectId}

List project runs

get
/projects/{projectId}/runs

Get all runs for a project with optional pagination and filtering. Supports filtering by branch, tags, status, completion state, date range, search text, and author.

Authorizations
AuthorizationstringRequired

API key authentication using Bearer token

Path parameters
projectIdstringRequired

The project ID

Example: proj_abc123
Query parameters
limitinteger · min: 1 · max: 100Optional

Maximum number of items to return (default: 10)

Default: 10
starting_afterstringOptional

Cursor for pagination. Returns items after this cursor value.

ending_beforestringOptional

Cursor for pagination. Returns items before this cursor value.

branchstringOptional

Filter runs by git branch name

Example: main
tagstring[]Optional

Filter runs by tags (can be specified multiple times). Use tag_operator to control matching behavior.

Example: ["workflow-master","nightly"]
tag_operatorstring · enumOptional

Logical operator for tag filtering. AND requires all tags to be present (default), OR requires any tag to be present.

Default: ANDExample: ANDPossible values:
searchstring · max: 200Optional

Search runs by ciBuildId or commit message. Case-insensitive.

Example: fix login bug
authorstring[]Optional

Filter runs by git commit author name (can be specified multiple times).

Example: ["John Doe"]
date_startstring · date-timeOptional

Filter runs created on or after this date (ISO 8601 format).

Example: 2024-01-01T00:00:00Z
date_endstring · date-timeOptional

Filter runs created before this date (ISO 8601 format).

Example: 2024-12-31T23:59:59Z
Responses
200

Successful response

application/json
get
/projects/{projectId}/runs

Get project insights

get
/projects/{projectId}/insights

Get aggregated run and test metrics for a project within a date range

Authorizations
AuthorizationstringRequired

API key authentication using Bearer token

Path parameters
projectIdstringRequired

The project ID

Example: proj_abc123
Query parameters
date_startstring · date-timeRequired

Start date in ISO 8601 format

Example: 2024-01-01T00:00:00.000Z
date_endstring · date-timeRequired

End date in ISO 8601 format

Example: 2024-01-31T23:59:59.999Z
resolutionstring · enumOptional

Time resolution for histogram data

Default: 1dPossible values:
tagsstring[]Optional

Filter by tags (can be specified multiple times)

branchesstring[]Optional

Filter by branches (can be specified multiple times)

groupsstring[]Optional

Filter by groups (can be specified multiple times)

authorsstring[]Optional

Filter by git authors (can be specified multiple times)

Responses
200

Successful response

application/json
get
/projects/{projectId}/insights

Last updated

Was this helpful?