Skip to main content
GET
Get project analytics

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

project_id
string
required

Project ID.

Query Parameters

view
enum<string>

Analytics view to return.

Available options:
base,
window,
model_scorecard,
agent_scorecard,
tool_aggregates,
roi
response_version
enum<string>

legacy (default) or tagged for a strict {view, payload} result.

Available options:
legacy,
tagged
start_inclusive
string

Inclusive window start (ISO-8601); use instead of start.

end_exclusive
string

Exclusive window end (ISO-8601); use instead of endExclusive or end.

max_bytes
integer

Tagged response byte budget; default 32768, maximum 65536.

Required range: 1 <= x <= 65536
start
string

Inclusive window start (ISO-8601).

end
string

Optional inclusive window end (ISO-8601).

endExclusive
string

Exclusive window end (ISO-8601). Required for base, window, agent_scorecard, tool_aggregates, and model_scorecard unless the latter supplies legacy end.

granularity
enum<string>

day, week, or month.

Available options:
day,
week,
month

Response

Project analytics view

view
string
required
Allowed value: "base"
payload
object
required