Skip to content
Management API Reference

Scrape a project's metrics

get/v1/projects/{ref}/analytics/endpoints/metrics

Prometheus scrape endpoint. Returns metrics of a customer project in the Prometheus open exposition format.

OAuth scopes

  • analytics:read

The fine-grained token must include the following permissions to access this endpoint:

  • analytics_logs_read

Path parameters

  • ref
    Required
    string

    Project ref

Response codes

  • 200
  • 401
  • 403
  • 429
  • 500

Response (200)

1
{}