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

Response

Response body of GET /managed-agents/v1/environments. An environment is the sandbox recipe a session runs inside; pick an environment_id from here when starting a session with POST /managed-agents/v1/sessions.

Response body of GET /managed-agents/v1/environments. An environment is the sandbox recipe a session runs inside; pick an environment_id from here when starting a session with POST /managed-agents/v1/sessions.

environments
object[] | null
required

Every environment in the caller's organization, newest first. Null rather than an empty array when the organization has no environments. Soft-deleted environments are omitted.