cURL
curl --request GET \ --url https://api.example.com/api/v2/environments \ --header 'Content-Type: application/json' \ --data '{}'
{ "data": [ { "id": "bf56b063-80dc-4ad5-91f6-f7067ad1fa06", "name": "My Dataset" } ], "pagination": { "page": 123, "page_size": 123, "has_next": true } }
List Resource - List Resource
The body is of type EmptyRequest · object.
EmptyRequest · object
EnvironmentsListResponse(data: list[server.api_routes.environments_api_v2.EnvironmentInfo], pagination: server.api_routes.api_v2_common.PaginationInfo)
Show child attributes
Pagination metadata for list responses