Skip to content

Add BILLING_EVENTS_RESPONSE feature#2490

Draft
Hazel-Datastax wants to merge 1 commit into
hazel/billingfrom
hazel/billing-response-header
Draft

Add BILLING_EVENTS_RESPONSE feature#2490
Hazel-Datastax wants to merge 1 commit into
hazel/billingfrom
hazel/billing-response-header

Conversation

@Hazel-Datastax

Copy link
Copy Markdown
Contributor

What this PR does:
Add BILLING_EVENTS_RESPONSE feature

Response sample header:


Billing-Events | [{"id":"45edc7aa-b4ad-4f60-8184-10fba15f66a4","timestamp":"2026-06-02T22:43:27.836646Z","product":"serverless","event_type":"internal_model_total_tokens","properties":{"usage":7,"region":"CASSANDRA_REGION","resource_type":"serverless_database","resource_id":"SINGLE-TENANT","provider":"nvidia","model":"nvidia/nv-embedqa-e5-v5"}},{"id":"bb1ef231-b728-4253-a4b4-d3c9d161fffa","timestamp":"2026-06-02T22:43:27.836659Z","product":"serverless","event_type":"internal_model_egress_bytes","properties":{"usage":84,"region":"CASSANDRA_REGION","resource_type":"serverless_database","resource_id":"SINGLE-TENANT","provider":"nvidia","model":"nvidia/nv-embedqa-e5-v5"}},{"id":"787289e9-a936-4f70-ac70-5d7354b57f1b","timestamp":"2026-06-02T22:43:27.836661Z","product":"serverless","event_type":"internal_model_ingress_bytes","properties":{"usage":21832,"region":"CASSANDRA_REGION","resource_type":"serverless_database","resource_id":"SINGLE-TENANT","provider":"nvidia","model":"nvidia/nv-embedqa-e5-v5"}}]
-- | --

Which issue(s) this PR fixes:
Fixes #

Checklist

  • Changes manually tested
  • Automated Tests added/updated
  • Documentation added/updated
  • CLA Signed: DataStax CLA

Base automatically changed from hazel/billing to main June 3, 2026 22:20
@Hazel-Datastax Hazel-Datastax changed the base branch from main to hazel/billing June 10, 2026 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant