Skip to main content
POST
Create a new project

Authorizations

Authorization
string
header
required

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

FlowImplicit
Authorization URL
https://auth.xata.io/realms/xata/protocol/openid-connect/auth
Scopes1
project:write
Create and modify projects

Path Parameters

organizationID
string
required

Unique identifier of the organization to create the project in

Pattern: [a-zA-Z0-9_-~:]+

Body

application/json
name
string
required

Human-readable name for the new project

configuration
object

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

Response

Project successfully created

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