Traces
Get trace time series
GET
Returns bucketed trace volume and latency percentiles over time.
cookiecookie
better-auth.session_token<token>Dashboard session cookie
from*stringFormat
date-timeto*stringFormat
date-timeprojectIds?array<string>name?stringLength
length <= 500environment?array<string>platform?array<>minDurationMs?numberRange
0 <= value <= 3600000buckets?integerRange
10 <= value <= 400Default
60application/json- response
bucketSeconds*integerbuckets*array<>lastBucketPartial*booleancurl -X GET 'https://api.example.com/api/v1/traces/series?from=2019-08-24T14%3A15%3A22Z&to=2019-08-24T14%3A15%3A22Z'Example Response
{
"bucketSeconds": 0,
"buckets": [
{
"timestamp": "2019-08-24T14:15:22Z",
"ok": 0,
"failed": 0
}
],
"lastBucketPartial": true
}