Skip to main content
GET
/
organizations
/
{organizationID}
/
projects
List all projects
curl --request GET \
  --url https://api.xata.tech/organizations/{organizationID}/projects \
  --header 'Authorization: Bearer <token>'
{
  "projects": [
    {
      "id": "<string>",
      "name": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "configuration": {
        "scaleToZero": {
          "baseBranches": {
            "enabled": true,
            "inactivityPeriodMinutes": 123
          },
          "childBranches": {
            "enabled": true,
            "inactivityPeriodMinutes": 123
          }
        }
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

organizationID
string
required

Unique identifier of the organization to list projects from

Response

A list of projects within the organization

projects
object[]
required

Array of project objects with their metadata