v1

latestOpenAPI 3.1.0Apache 2.02026-07-264001921002.3 KB
Logging

Get aggregate totals for a session

Returns aggregate request count, token usage, cost, and duration for a single session.

get/api/logs/sessions/{session_id}/summary

Path parameters

session_idstring required

Parent request ID identifying the session

Response

Session summary retrieved successfully

session_idstring
countinteger
total_costnumber
total_tokensinteger
started_atstring

Timestamp of the first log in the session (RFC3339 nanos)

latest_atstring

Timestamp of the most recent log in the session (RFC3339 nanos)

duration_msinteger