Skip to main content
GET
/
api
/
v1
/
projects
/
{project_slug}
/
analytics
/
environments
Get Environments
curl --request GET \
  --url https://api.example.com/api/v1/projects/{project_slug}/analytics/environments \
  --header 'Authorization: Bearer <token>'
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.example.com/api/v1/projects/{project_slug}/analytics/environments', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
import requests

url = "https://api.example.com/api/v1/projects/{project_slug}/analytics/environments"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

project_slug
string
required

Query Parameters

app_slugs
string | null

Response

200 - application/json

OK

The response is of type Response · object.