Skip to main content
POST
Aggregate cost_events + session_events into daily_metrics for a date range

Authorizations

Authorization
string
header
required

Runtime context-key (rctx_*) issued by the Ravi gateway. Required for every non-open scope. Bootstrap the first key with ravi daemon init-admin-key; rotate, derive, and revoke via the ravi context family. Specs: runtime/context-keys, sdk/auth.

Body

application/json
since
string

Start date YYYY-MM-DD or N days ago

through
string

End date YYYY-MM-DD (default: yesterday UTC)

Response

Success — body conforms to the @Returns schema.

dates
string[]
required
rowsWritten
number
required