latestOpenAPI 3.1.02026-08-08127304355.9 KB

69c553220183

Configuration

List Environments

Retrieve all deployment environments in your workspace. Use to discover available environments for prompt deployment.

page_size defaults to 30, maximum 100.

get/api/v2/environments

Query parameters

pageinteger
page_sizeinteger

Response

EnvironmentsListResponse(data: list[server.api_routes.environments_api_v2.EnvironmentInfo], pagination: server.api_routes.api_v2_common.PaginationInfo)