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

fetch('https://api.example.com/api/v1/projects/{project_slug}/analytics/endpoints', 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/endpoints"

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
environment
string | null
since
string | null
until
string | null
methods
string | null
status_classes
string | null
status_codes
string | null
q
string | null
sort_by
string
default:total_requests
sort_dir
string
default:desc
page
integer
default:1
page_size
integer
default:25

Response

200 - application/json

OK

The response is of type Response · object.