API Reference
Log In
API Reference

Get Cost By Trace Type Over Time

Retrieve cost metrics by trace type over time for chart visualization

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
required

Unique identifier of the team (organization). Format: Revenium hashid (URL-safe encoded string).

string
enum

Predefined time window to aggregate results. Defaults to THIRTY_DAYS.

Allowed:
string

Optional trace type filter. Omit to include all trace types.

string
enum

Optional operation type filter. Use to filter by specific operation type (e.g., CHAT, GENERATE, AUDIO, VIDEO, IMAGE). Omit to include all operation types.

string

Optional environment filter (e.g., production, staging). Omit to include all environments.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
*/*