Server-SideREST APIEndpoints

Check Data Collection Status

Confirm whether data collection is enabled for an API key

Use this endpoint to confirm that data collection is enabled for the API key.

Endpoint

GET /check-data-collection-status

Example Request

curl -X GET https://analytics.geeklab.app/check-data-collection-status \
  -H "geeklab-api-key: your_api_key"

Response

The response format may vary by environment. A successful response returns 200 OK.

Error Responses

  • 401 Unauthorized: API key is missing or invalid
  • 500 Server Error: Unexpected error