Skip to main content

Base URL

Authentication

All API requests must include your SDK write key in the Authorization header:
You can get your API key by logging in to app.raindrop.ai (bottom of the tab bar!).

Selecting a project

To send data to a specific project, include its slug in the X-Raindrop-Project-Id header:
When the header is omitted, empty, or set to 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
Response All authorized requests will return a 204 Success status code. For debugging failures, contact us: founders@raindrop.ai.
Event has a limit of 1 MB. Properties will be truncated for larger events. Contact us if you have custom requirements.

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 an event_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
Response All authorized requests will return a 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
Response All authorized requests will return a 204 Success status code. For debugging failures, contact us: founders@raindrop.ai.