Skip to main content
GET
/
organizations
/
{organizationID}
/
projects
/
{projectID}
Get project details
curl --request GET \
  --url https://api.xata.tech/organizations/{organizationID}/projects/{projectID} \
  --header 'Authorization: Bearer <token>'
{
  "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 containing the project

projectID
string
required

Unique identifier of the project to retrieve

Response

Project details retrieved successfully

Details of a project including its ID, name, and creation/update timestamps

id
string
required

Unique identifier for the project

name
string
required

Human-readable name of the project

createdAt
string<date-time>
required

Timestamp when the project was created

updatedAt
string<date-time>
required

Timestamp when the project was last updated

configuration
object
required

Configuration details for a project, including its scale to zero settings