Base URL
Authentication
All API requests must include your SDK write key in theAuthorization header:
Selecting a project
To send data to a specific project, include its slug in theX-Raindrop-Project-Id header:
default, the request resolves to the default Production project, which is the existing behavior. A new slug your org hasn’t created yet is accepted and starts collecting data, up to a per-org limit; an archived slug, or a new slug beyond that limit, is rejected with a 403, and a malformed slug returns a 400. See Projects for the full behavior table.
Endpoints
Track Event
Track any event, including AI interactions and normal analytics events. POST/events/track
Request Body
(Must be provided as an array of objects)
Example Request - AI Interaction
204 Success status code. For debugging failures, contact us: founders@raindrop.ai.
Track Signal
Track positive or negative user signals such as thumbs up, thumbs down, output schema failures, user edits, regenerations, and other ground-truth signals about your AI product’s performance. Each signal must be associated with anevent_id for an event that was sent to Raindrop with the /events/track endpoint.
POST /signals/track
Request Body
(Must be provided as an array of objects)
Example Request
204 Success status code. For debugging failures, contact us: founders@raindrop.ai.
Identify User
Associate traits with a user. POST/users/identify
Request Body
Example Request
204 Success status code. For debugging failures, contact us: founders@raindrop.ai.