Skip to main content

kobana inbox usage

Commands of kobana inbox usage. Every global option (Global options) applies here.

CommandHTTPDescription
usage costGET /v1/usage/costCost by model
usage summaryGET /v1/usage/summaryUsage summary

usage cost​

Cost by model

kobana inbox usage cost [OPTIONS]

GET /v1/usage/cost

Cost and tokens per LLM model over the range: totals per model and a per-day series.

Query parameters

NameTypeRequiredDescription
fromstringnoFirst UTC day, YYYY-MM-DD. Defaults to 29 days before to.
tostringnoLast UTC day (inclusive), YYYY-MM-DD. Defaults to today. from–to may span at most 366 days; a wider range is 400 VALIDATION_ERROR.

Headers

NameTypeRequiredDescription
x-origin-shared-secretstringnoShared secret between CloudFront and the origin. Required in production; ignored in development unless CF_ORIGIN_SHARED_SECRET is set.

Responses

HTTPDescription
200Success.

usage summary​

Usage summary

kobana inbox usage summary [OPTIONS]

GET /v1/usage/summary

Emails processed, tokens and cost per UTC day over the range (successful agent runs only), plus the running monthly counters against the workspace limits. Cost is USD as billed by the AI Gateway.

Query parameters

NameTypeRequiredDescription
fromstringnoFirst UTC day, YYYY-MM-DD. Defaults to 29 days before to.
tostringnoLast UTC day (inclusive), YYYY-MM-DD. Defaults to today. from–to may span at most 366 days; a wider range is 400 VALIDATION_ERROR.

Headers

NameTypeRequiredDescription
x-origin-shared-secretstringnoShared secret between CloudFront and the origin. Required in production; ignored in development unless CF_ORIGIN_SHARED_SECRET is set.

Responses

HTTPDescription
200Success.