Skip to content

List projects in the caller's tenant

View as Markdown
GET
/v1/projects
curl --request GET \
--url 'https://example.com/v1/projects?limit=25' \
--header 'Authorization: Bearer <token>'

Cursor-paginated. Optional ?orgId= narrows to a specific org (projects may have no org; absent = all); ?nameContains= substring-matches on Project.name.

limit
integer
default: 25 >= 1 <= 100

1..100. Default 25.

cursor
string

Where the previous page ended: its nextCursor, as it came. A runtime that seals cursors takes one only for the same list, filters and caller, within a day; otherwise 400 bad-input, and the list starts again without it. Absent → first page.

orgId
string

Narrow to projects belonging to a specific org.

nameContains
string

Substring match on Project.name.

Page of projects.

Media typeapplication/json
object
data
required
Array<object>
object
id
required

ProjectId — opaque branded string.

string
tenantId
required
string
orgId
string
name
required
string
slug
required
string
isDefault
required
boolean
description
string
productionSince

When the project was put in production; absent while it isn’t. A run in a project in production is a production run, and a run anywhere else is staging.

string format: date-time
sortEndUserCorrections

true: end users’ corrections (an app’s, with a participantId, and not an expert’s) are sorted like the others when they’re saved, and a schedule counting everyone’s corrections counts them. false (the default): they’re listed and become test cases, but stay open and unsorted, and never start Improve.

boolean
repoConnectionId

The company-wide GitHub connection the project opens its block changes’ pull requests through; absent while none is set. A connection removed since reads as none.

string
createdAt
required
string
updatedAt
required
string
hasMore
required
boolean
nextCursor
string
Examplegenerated
{
"data": [
{
"id": "example",
"tenantId": "example",
"orgId": "example",
"name": "example",
"slug": "example",
"isDefault": true,
"description": "example",
"productionSince": "2026-04-15T12:00:00Z",
"sortEndUserCorrections": true,
"repoConnectionId": "example",
"createdAt": "example",
"updatedAt": "example"
}
],
"hasMore": true,
"nextCursor": "example"
}

Malformed query parameter.

Media typeapplication/json
object
error
required
object
code
required

Stable machine-readable discriminant. Values match domain error codes (see docs/API-ROUTE-CONVENTIONS.md §4.3).

string
message
required
string
details

Optional, kind-specific.

object
key
additional properties
any
requestId
required

Server-assigned request id; also echoed via X-Request-Id header.

string
Examplegenerated
{
"error": {
"code": "example",
"message": "example",
"details": {},
"requestId": "example"
}
}

Missing / malformed / expired / revoked bearer token.

Media typeapplication/json
object
error
required
object
code
required

Stable machine-readable discriminant. Values match domain error codes (see docs/API-ROUTE-CONVENTIONS.md §4.3).

string
message
required
string
details

Optional, kind-specific.

object
key
additional properties
any
requestId
required

Server-assigned request id; also echoed via X-Request-Id header.

string
Examplegenerated
{
"error": {
"code": "example",
"message": "example",
"details": {},
"requestId": "example"
}
}

The database was too busy to answer in time (database-busy); Retry-After (whole seconds) says when to try again.

Media typeapplication/json
object
error
required
object
code
required

Stable machine-readable discriminant. Values match domain error codes (see docs/API-ROUTE-CONVENTIONS.md §4.3).

string
message
required
string
details

Optional, kind-specific.

object
key
additional properties
any
requestId
required

Server-assigned request id; also echoed via X-Request-Id header.

string
Examplegenerated
{
"error": {
"code": "example",
"message": "example",
"details": {},
"requestId": "example"
}
}

See also