Skip to Content
OpenPerf

Environments

List environments

GET
/api/v1/environments

Returns the environments seen in telemetry for the selected projects and time range, along with the hidden list.

Authorization

cookie
cookiebetter-auth.session_token<token>

Dashboard session cookie

Query Parameters

from*string
Formatdate-time
to*string
Formatdate-time
projectIds?array<string>

Response Body

application/json
  1. response
environments*array<string>
hidden*array<string>
Example Request
curl -X GET 'https://api.example.com/api/v1/environments?from=2019-08-24T14%3A15%3A22Z&to=2019-08-24T14%3A15%3A22Z'
Example Response
{
  "environments": [
    "string"
  ],
  "hidden": [
    "string"
  ]
}