Environments

Project environments

get

Environments from a project.

Authorizations
Path parameters
projectIDstring · uuidRequired
Query parameters
lastintegerOptional

Last environments.

beforestringOptional

Environments before the given cursor.

namestringOptional

Name matching environments.

Responses
200
OK
application/json
get
GET /v1/projects/{projectID}/environments HTTP/1.1
Host: cloud-api.calyptia.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

OK

[
  {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "name": "development",
    "createdAt": "2025-06-27T20:36:21.057Z",
    "updatedAt": "2025-06-27T20:36:21.057Z"
  }
]

Create environment

post

Create a environment to a given project.

Authorizations
Path parameters
projectIDstring · uuidRequired
Body
namestringOptional
Responses
201
Created
application/json
post
POST /v1/projects/{projectID}/environments HTTP/1.1
Host: cloud-api.calyptia.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 15

{
  "name": "text"
}
201

Created

{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "createdAt": "2025-06-27T20:36:21.057Z"
}