Skip to main content
See the TypeScript quickstart or Python quickstart for OpenAI, Anthropic, Google AI Studio, and Vertex AI. You need a Brello project ingestion key and a shell with curl. These examples use the hosted API. If you run Brello yourself, substitute your deployment’s origin and keep /v1.
1

Set your environment

Run these commands in Bash or Zsh. Use a test project key for the sample event.
2

Verify your key

A 200 response verifies the project key. This example prints only the status because the response can include a project identity secret. See configuration for the available fields.
3

Send one sample event

Replace the timestamp with the completed-attempt time and generate a fresh UUID for every new event.
4

Check the receipt

A 202 response means valid events reached the queue. Inspect data.rejected for failed items. Processing and cost calculation happen later.
See event fields to adapt the payload to your application and delivery and retries to handle partial acceptance and network failures.