Projects /
List projects
Lists projects for the authenticated user or team.
Required permission
Project > Projects > Manage > Read
Query parameters
per_page
integerThe number of results to display per request. Maximum of 100 results per page.page
integerThe page number to access.cursor
stringThe cursor returned from the previous page of results, used to request the next page.
Response body
- {object}Response object.
data
{object} requiredResult data.projects
[array] requiredAn array of projects.- {object}A project object.
id
string requiredIdentifier for the project.name
string requiredThe name of the project.description
stringA short description of the project.pagination
{object} requiredData about the endpoint pagination.hasNextPage
boolean requiredIs there another page of results available?cursor
stringThe cursor to access the next page of results.count
number requiredThe number of results returned by this request.
API
CLI
JS Client
GET /v1/projects
Example response
200 OK
A list of projects for the authenticated user
JSON
{
"data": {
"projects": [
{
"id": "default-project",
"name": "Default Project",
"description": "The project description"
}
]
},
"pagination": {
"hasNextPage": false,
"count": 1
}
}