Skip to main content
POST
/
api
/
v2
/
projects
Create Project
curl --request POST \
  --url https://api.example.com/api/v2/projects \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "is_private": false,
  "freeplay_spend_limit_usd": 123,
  "data_retention_days": 123
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "is_private": true,
  "freeplay_spend_limit_usd": 123,
  "data_retention_days": 123
}

Body

application/json
id
string<uuid> | null
required
name
string
required
is_private
boolean
default:false
freeplay_spend_limit_usd
integer | null
data_retention_days
integer | null

Response

201 - application/json

ProjectDetail(id: uuid.UUID, name: str, is_private: bool, freeplay_spend_limit_usd: Optional[int], data_retention_days: Optional[int])

id
string<uuid>
required
name
string
required
is_private
boolean
required
freeplay_spend_limit_usd
integer | null
required
data_retention_days
integer | null
required