Skip to main content

Endpoint

Overview

This endpoint allows you to submit arbitrary metric data for a project.
Use it to track analytics, counters, or any structured data you want tied to your project.

Authentication

This endpoint requires an API key. You can retrieve an API key from your dashboard. Include it in the X-API-KEY header:
For more details, see the Authentication Guide.

Request Body

Send a JSON payload with the following structure:

Responses

βœ… 200 OK

Metric successfully ingested:

⚠️ 400 Bad Request

If projectId or payload is missing or invalid:
Or

πŸ”’ 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 submit metrics for projects tied to your API key.

Need Further Assistance?

If you have any questions or encounter issues, please don’t hesitate to reach out to our support team.