Get aggregated log stats
Returns aggregated log statistics including histogram, counts by level, and counts by category.
Authentication
AuthorizationBearer
API key or Clerk session token
Query parameters
from
Start timestamp (ISO 8601)
to
End timestamp (ISO 8601)
level
Comma-separated log levels (debug,info,warn,error)
category
Comma-separated categories
flowId
Filter by flow ID
agentId
Filter by agent ID
executionId
Filter by execution ID
surfaceId
Filter by surface ID
conversationId
Filter by conversation ID
search
Full-text search in message
limit
Max results per page (default 500, max 1000)
cursor
Pagination cursor
order
Sort order: asc or desc
Response
Log stats returned
data
success
cachedAt
When the response was served from cache, the cache write time. Null for fresh responses.
Errors
401
Unauthorized Error
500
Internal Server Error