# Brello - [Brello developer docs](https://docs.brello.app/index.md): Send AI usage events, query estimated costs, and receive Brello webhooks. - [Quickstart](https://docs.brello.app/quickstart.md): Verify a project key and send a sample usage event. - [Authentication](https://docs.brello.app/guides/authentication.md): Choose a project credential for SDK ingestion or public read queries. - [Events and token usage](https://docs.brello.app/guides/events.md): Represent provider attempts, cache tokens, features, and attributes. - [End users](https://docs.brello.app/guides/end-users.md): Attach project-scoped user IDs and display names to requests. - [Privacy and collection](https://docs.brello.app/guides/privacy.md): Understand collected metadata, discarded fields, and sensitive configuration. - [Errors, limits, and retries](https://docs.brello.app/guides/errors.md): Handle partial acceptance, delivery failures, and request quotas. - [Query usage and reports](https://docs.brello.app/guides/read-api.md): Use scoped project keys to read estimated spend, end-user usage, and weekly reports. - [Receive webhooks](https://docs.brello.app/guides/webhooks.md): Subscribe to report and alert events and verify incoming signatures. - [TypeScript quickstart](https://docs.brello.app/typescript/quickstart.md): Wrap your OpenAI, Anthropic, or Google Gen AI client and send your first usage event. - [OpenAI](https://docs.brello.app/typescript/openai.md): Collect OpenAI Responses, Chat Completions, and Embeddings usage in TypeScript. - [Anthropic](https://docs.brello.app/typescript/anthropic.md): Collect Anthropic Messages and streaming usage in TypeScript. - [Google AI Studio and Vertex AI](https://docs.brello.app/typescript/google.md): Collect Gemini Developer API and Vertex AI usage with the TypeScript SDK. - [Configuration and delivery](https://docs.brello.app/typescript/configuration.md): Set runtime options, add per-call context, and flush buffered events. - [Python quickstart](https://docs.brello.app/python/quickstart.md): Wrap your OpenAI, Anthropic, or Google Gen AI Python client and send your first usage event. - [OpenAI](https://docs.brello.app/python/openai.md): Track OpenAI Responses, Chat Completions, and Embeddings usage in Python. - [Anthropic](https://docs.brello.app/python/anthropic.md): Track Anthropic Messages usage in sync and async Python applications. - [Google AI Studio and Vertex AI](https://docs.brello.app/python/google.md): Collect Gemini Developer API and Vertex AI usage with the Python SDK. - [Configuration and delivery](https://docs.brello.app/python/configuration.md): Configure project keys, add usage context, and flush Python SDK events. - [API overview](https://docs.brello.app/api-reference/introduction.md): Explore SDK ingestion, scoped reads, and signed outbound webhooks. - [Send events](https://docs.brello.app/api-reference/events.md): Submit up to 50 completed provider attempts with partial validation. - [Get configuration](https://docs.brello.app/api-reference/config.md): Verify a project key and fetch effective collection and transport settings. - [Query spend](https://docs.brello.app/api-reference/spend.md): Requires spend:read. Filters are intersected. UTC dates use an exclusive end, at most 366 days apart. key groups and sdkKeyId refer to Brello ingestion keys. Retained daily totals are included with date and environment filters and have a null dimension when grouped by anything other than day. Filter… - [List end users](https://docs.brello.app/api-reference/end-users.md): Requires end_users:read. endUserId is the internal Brello UUID; externalId is the supplied application ID. Only users with matching SDK activity are returned. Ordered by internal UUID. - [List weekly reports](https://docs.brello.app/api-reference/reports.md): Requires reports:read. Immutable completed UTC week snapshots, newest first. Reports include live SDK events and explicitly expose unpriced requests; they do not represent final provider invoices. - [Get the latest weekly report](https://docs.brello.app/api-reference/latest-report.md) - [Get a weekly report](https://docs.brello.app/api-reference/report.md) - [Download a report PDF](https://docs.brello.app/api-reference/report-pdf.md): Requires reports:read. Returns a one-page text PDF generated from the immutable snapshot. Download links require the same Bearer authentication; they are not public sharing links. - [report.ready](https://docs.brello.app/api-reference/report-ready.md): Brello sends this request to subscribed HTTPS destinations. Verify HMAC-SHA256 using the destination secret over timestamp + '.' + the exact raw UTF-8 request body; the v1 signature is lowercase hex. Compare in constant time and reject timestamps more than 300 seconds from your clock. Deduplicate Br… - [alert.abuse](https://docs.brello.app/api-reference/alert-abuse.md): Brello sends this request to subscribed HTTPS destinations. Verify HMAC-SHA256 using the destination secret over timestamp + '.' + the exact raw UTF-8 request body; the v1 signature is lowercase hex. Compare in constant time and reject timestamps more than 300 seconds from your clock. Deduplicate Br… - [alert.model_change](https://docs.brello.app/api-reference/alert-model-change.md): Brello sends this request to subscribed HTTPS destinations. Verify HMAC-SHA256 using the destination secret over timestamp + '.' + the exact raw UTF-8 request body; the v1 signature is lowercase hex. Compare in constant time and reject timestamps more than 300 seconds from your clock. Deduplicate Br… ## OpenAPI Specs - [openapi](/sdk/openapi.json) ## Optional - [Service status](https://status.brello.app) This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.