{ "opencollection": "1.0.0", "info": { "name": "CockroachDB Cloud APIKeys Billing API", "version": "2024-09-16" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Billing", "type": "folder" }, "items": [ { "info": { "name": "List invoices", "type": "http" }, "http": { "method": "GET", "url": "https://cockroachlabs.cloud/api/v1/invoices", "params": [ { "name": "status", "value": "", "type": "query", "description": "Filter invoices by status. Accepted values are Finalized and Draft. If not specified, both types are returned." } ] }, "docs": "Returns a list of invoices for the organization. Optionally filter by invoice status to retrieve only Finalized or Draft invoices." }, { "info": { "name": "Get an invoice", "type": "http" }, "http": { "method": "GET", "url": "https://cockroachlabs.cloud/api/v1/invoices/:invoice_id", "params": [ { "name": "invoice_id", "value": "", "type": "path", "description": "Unique identifier of the invoice to retrieve." } ] }, "docs": "Retrieves a specific invoice by its unique ID including line items and totals for the billing period." } ] } ], "bundled": true }