get_cost_reconciliation
Read what each cloud credential's provider billed for a month against Ankra's estimate for the same clusters - the document GET /org/cloud-cost/reconciliation serves. month is a UTC calendar month as YYYY-MM, not in the future (the last closed month when omitted; for the running month both sides are month to date). Per credential: state (absent when no billing document was imported: unknown, not zero), the imports with each attempt's reason, and in the invoice's own currency and minor units invoice_minor (tax_minor and credit_minor set apart), matched_minor placed on clusters and unmatched_minor not, estimate_minor for those clusters converted at estimate_fx, and difference_pct, null with difference_reason saying why when it cannot be stated. difference_caveat names billed lines in priced categories placed on no cluster. null is unknown, never zero or agreement. Requires billing.read. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| month | No | UTC calendar month as YYYY-MM, not in the future. Omit for the last closed month. | |
| project_id | No | UUID of a project to reconcile, or all for the whole organisation. Leave it out to read the project the conversation or token is in. Read for one project, only credentials whose invoice places a line on one of its clusters are listed, with invoice_withheld true: the invoice-wide totals and unplaced lines are left out because an invoice spans other projects, and matched_minor and difference_pct are that project's clusters alone. |