Endpoint
Overview
This endpoint retrieves aggregate metrics (like counts or summaries) for the specified project.Use it to power dashboards, summaries, or quick overviews of project activity.
Authentication
This endpoint requires an API key. You can retrieve an API key from your dashboard. Include it in theX-API-KEY header:
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
projectId | string | Yes | The ID of the project to fetch metrics for. |
Responses
β 200 OK
Returns a JSON object with your metrics:β οΈ 400 Bad Request
IfprojectId is missing:
π 401 Unauthorized
If authentication fails (invalid or missing API key):π« 403 Forbidden
If the project does not belong to the authenticated user:π₯ 500 Internal Server Error
For unexpected server errors:Examples
CURL
Python (requests)
JavaScript (fetch)
Notes
- This endpoint enforces ownership checks, meaning you can only retrieve metrics for projects tied to your API key.
- The metrics object may be expanded over time with more fields.