Gets all projects for the given organization
get
/v1/organizations/{slug}/projectsReturns a paginated list of projects for the specified organization.
This endpoint uses offset-based pagination. Use the offset parameter to skip a number of projects and the limit parameter to control the number of projects returned per page.
OAuth scopes
- projects:read
The fine-grained token must include the following permissions to access this endpoint:
- organization_projects_read
Path parameters
- slugRequiredstring
Organization slug
Query parameters
- offsetOptionalinteger
Number of projects to skip
- limitOptionalinteger
Number of projects to return per page
- searchOptionalstring
Search projects by name
- sortOptionalenum
Sort order for projects
- statusesOptionalstring
A comma-separated list of project statuses to filter by.
The following values are supported:
ACTIVE_HEALTHY,INACTIVE.
Response codes
- 200
- 401
- 403
- 429
- 500
Response (200)
{ "projects": [ { "ref": "lorem", "name": "lorem", "cloud_provider": "lorem", "region": "lorem", "is_branch": true, "status": "INACTIVE", "inserted_at": "lorem", "databases": [ { "infra_compute_size": "pico", "region": "lorem", "status": "ACTIVE_HEALTHY", "cloud_provider": "lorem", "identifier": "lorem", "type": "PRIMARY", "disk_volume_size_gb": 42, "disk_type": "gp3", "disk_throughput_mbps": 42, "disk_last_modified_at": "lorem" } ] } ], "pagination": { "count": 42, "limit": 42, "offset": 42 }}