Skip to content

GET /api/v1/metering/costs/by-pipeline-run

Status: GA Access: token required API contract: 0.3.0 · capability 2026-09-03.1 View as Markdown Open in Claude Open in ChatGPT

Costs By Pipeline Run

Per-run cost rows, newest first.

Auth: Authorization: Bearer <token> required

Terminal window
curl -sS -X GET "https://entherium.duckdns.org:8443/api/v1/metering/costs/by-pipeline-run" \
-H "Authorization: Bearer <token>"

The contract carries no example for this response; schema: array of RunCostRow. Field-level shape: interactive explorer.

array of RunCostRow — Successful Response

FieldTypeDescription
ai_companyinteger | null
brave_callsintegerWeb-search API calls billed to this bucket.
cost_micro_usdinteger
generated_article_idinteger | null
pipeline_idstring
run_guidinteger
salescontracts_idinteger | null
total_tokensinteger | null
ParameterInRequiredTypeDefaultConstraintsDescription
ai_company_idquerynointeger | null——
fromquerynostring | null—date-time
toquerynostring | null—date-time
limitquerynointeger100—
offsetquerynointeger0—
CodeMeaningBody
401Missing or invalid authentication credentialsErrorResponse
422Validation ErrorHTTPValidationError

Every error body is {detail, code?, request_id, doc_url} — request_id is the value to quote, doc_url points at the Errors reference.