Skip to main content
GET
List environments

Authorizations

Authorization
string
header
required

A Recursion API key, created in the console under API keys.

Headers

x-tenant-id
string

Optional tenant consistency check. When present, it must name the tenant bound to the API key, including when x-organization-id is default.

Minimum string length: 1
x-organization-id
string

Organization in which to act. Required for a tenant-scoped API key. Optional for an organization-scoped key, where it must name that same organization. The value may be an organization id or default.

Minimum string length: 1

Query Parameters

limit
integer
default:50

Maximum environments per page, default 50.

Required range: 1 <= x <= 100
cursor
string

Opaque nextCursor from the previous page with the same limit.

Response

OK

items
object[]
required

One page of environments in the calling organization.

nextCursor
null | string
required

Opaque cursor for the next page, or null at the end.