Skip to content

Add ListCreditContractConsumptions RPC#344

Merged
nzerouali merged 3 commits intomainfrom
bil-117-add-credit-consumption-grpc-api
Apr 16, 2026
Merged

Add ListCreditContractConsumptions RPC#344
nzerouali merged 3 commits intomainfrom
bil-117-add-credit-consumption-grpc-api

Conversation

@nzerouali
Copy link
Copy Markdown
Contributor

Ticket: BIl-117

Follow-uo PR to add a new RPC to list consumption data for credit contracts.

  • New ListCreditContractConsumptions RPC, scoped by account_id
  • New CreditContractConsumption message with credit_contract_id, total_amount, used_amount, remaining_amount, currency
  • Consumption data is sourced from Orb credit block ledger entries

@nzerouali nzerouali requested a review from a team as a code owner April 16, 2026 14:31
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 16, 2026

PR Packages Published

Python Package:

  • Version: 0.116.0.dev344+c08dceb
  • Package: qdrant-cloud-public-api
  • Registry: https://us-python.pkg.dev/qdrant-cloud/python/
  • To update run: uv add qdrant-cloud-public-api==0.116.0.dev344+c08dceb

NPM Package:

  • Version: 0.116.0-dev344.c08dceb
  • Package: @qdrant/qdrant-cloud-public-api
  • Registry: https://us-npm.pkg.dev/qdrant-cloud/npm/
  • To update run: npm install @qdrant/qdrant-cloud-public-api@0.116.0-dev344.c08dceb

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 16, 2026

The latest Buf updates on your PR. Results from workflow Pull Request / linting (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedApr 16, 2026, 3:07 PM

@github-actions

This comment has been minimized.

Copy link
Copy Markdown
Contributor

@StefosGeo StefosGeo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good , my only comment would be if we need both used_amount and remaining_amount, but I don't have a strong opinion so I approve

Copy link
Copy Markdown
Contributor

@lomidzemikheili lomidzemikheili left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks.

Left one minor comment.

Comment thread proto/qdrant/cloud/billing/v1/billing.proto Outdated
Copy link
Copy Markdown
Contributor

@lomidzemikheili lomidzemikheili left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for addressing feedback.

@nzerouali nzerouali merged commit 34f966f into main Apr 16, 2026
14 checks passed
@nzerouali nzerouali deleted the bil-117-add-credit-consumption-grpc-api branch April 16, 2026 15:11
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.

3 participants