API Reference
Log In
API Reference

Export the AI transaction log as CSV

Download every AI transaction matching the filters as a CSV file, oldest first, one row
per metered call. Takes the same filters as the list endpoint, so the window is an
arbitrary startDate/endDate pair at full ISO-8601 precision rather than a fixed preset.

The file carries the columns the transaction log shows — including trace, task type, agent
and subscriber — plus the provider and the individual token counts.

When the filters match more transactions than the export limit, or the file would be
larger than the export size limit, the request is rejected with 400 instead of returning
a shortened file.

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

Filter start date/time in ISO 8601 format.

string

Filter end date/time in ISO 8601 format.

int64
0 to 60000

Minimum time to first token (in milliseconds).

int64
0 to 60000

Maximum time to first token (in milliseconds).

int64
0 to 300000

Minimum request duration (in milliseconds).

int64
0 to 300000

Maximum request duration (in milliseconds).

int64
0 to 10000

Minimum mediation latency (in milliseconds).

int64
0 to 10000

Maximum mediation latency (in milliseconds).

int64
0 to 10000000

Minimum input tokens.

int64
0 to 10000000

Maximum input tokens.

int64
0 to 10000000

Minimum output tokens.

int64
0 to 10000000

Maximum output tokens.

int64
0 to 5000000

Minimum reasoning tokens.

int64
0 to 5000000

Maximum reasoning tokens.

int64
0 to 5000000

Minimum cached tokens.

int64
0 to 5000000

Maximum cached tokens.

int64
0 to 20000000

Minimum total tokens.

int64
0 to 20000000

Maximum total tokens.

number
0 to 99999.99

Minimum input cost ($).

number
0 to 99999.99

Maximum input cost ($).

number
0 to 99999.99

Minimum output cost ($).

number
0 to 99999.99

Maximum output cost ($).

number
0 to 999999.99

Minimum total cost ($).

number
0 to 999999.99

Maximum total cost ($).

string
length between 1 and 255

Exact transaction ID match.

string
length between 1 and 255

Exact trace ID match.

string
length between 1 and 255

Filter by trace type. Use 'unknown' for metrics without traceType.

string
length between 1 and 255

Filter by trace name.

string
length between 1 and 255

Filter by organization name.

string

Filter by subscriber email.

string
length between 1 and 255

Filter by subscriber ID.

string
length between 1 and 255

Filter by subscription ID.

string
length between 1 and 255

Filter by product ID.

string
length between 1 and 255

Filter by agent name.

string
length between 1 and 255

Filter by AI provider.

string
length between 1 and 255

Filter by AI model.

string
length between 1 and 255

Filter by model source.

string
length between 1 and 255

Filter by task type.

double
0 to 2

Minimum temperature value.

double
0 to 2

Maximum temperature value.

string
enum

Filter by stop reason.

string
length between 1 and 255

Filter by error reason.

number
0 to 1

Minimum response quality score.

number
0 to 1

Maximum response quality score.

string
length between 1 and 255

Filter by credential name.

string
length between 1 and 255

Filter by system fingerprint.

string
length between 1 and 255

Filter by environment (exact match).

boolean

Whether to include coding assistant metrics (e.g. Claude Code, Gemini CLI). When false (default), coding assistant records are excluded from results.

includeCodingAssistantProviders
array of strings

Server-side coding assistant provider pricing policy. Accepted values: ClaudeCode, ClaudeCowork, CursorIde, GeminiCli, CodexCli, GithubCopilot. Providers in this list are treated as API-rate real spend and included on real-cost surfaces. An empty or omitted list treats coding assistant providers as subscription or seat-based usage and excludes them from real-cost defaults.

includeCodingAssistantProviders
string
required

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

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
*/*