Usage & Monitoring
get_recent_usage
Retrieve a log of recent usage entries with optional filters
Parameters
operation_type
(str, optional): Filter by operation (e.g."query"
,"ingest"
).since
(datetime | str, optional): Only return records newer than this timestamp (ISO string ordatetime
).status
(str, optional): Filter by"success"
or"error"
.
Returns
List[Dict[str, Any]]
: Each record includestimestamp
,operation_type
,tokens_used
,duration_ms
, andstatus
.