Logs
Get log time series
GET
Returns bucketed log volume over time by severity level.
cookiecookie
better-auth.session_token<token>Dashboard session cookie
from*stringFormat
date-timeto*stringFormat
date-timeprojectIds?array<string>message?stringLength
length <= 500environment?array<string>sessionId?stringLength
1 <= length <= 32severity?array<>traceId?stringLength
1 <= length <= 32buckets?integerRange
10 <= value <= 400Default
60application/json- response
bucketSeconds*integerbuckets*array<>lastBucketPartial*booleancurl -X GET 'https://api.example.com/api/v1/logs/series?from=2019-08-24T14%3A15%3A22Z&to=2019-08-24T14%3A15%3A22Z'Example Response
{
"bucketSeconds": 0,
"buckets": [
{
"timestamp": "2019-08-24T14:15:22Z",
"trace": 0,
"debug": 0,
"info": 0,
"warn": 0,
"error": 0,
"fatal": 0
}
],
"lastBucketPartial": true
}