Before you start
- You need a The Prompting Company API key (organization or service-account key) from Settings → API Keys.
Send events
POST a JSON array (a single object also works), plain or gzipped, tohttps://logs.promptingco.com/v1/events/raw. Authenticate with either an X-API-Key header or Authorization: Bearer.
Requests can be up to 64 MB (compressed and decompressed). Batch as many events per request as fits.
Responses
Delivery is at-least-once: retry the whole batch after a
503, and occasional duplicates are expected and tolerated by the traffic metrics.
Verify it’s working
200 with "ingested": 1 confirms the pipeline, and the visit appears in your AI traffic dashboard shortly after.