Performance
Get transaction details
GET
Returns latency distributions, time series, span breakdowns and sample traces for one transaction.
cookiecookie
better-auth.session_token<token>Dashboard session cookie
from*stringFormat
date-timeto*stringFormat
date-timeprojectIds?array<string>name*stringLength
1 <= length <= 500environment?array<string>platform?stringDefault
"server"Value in
"server""browser""mobile""unknown"op?stringLength
1 <= length <= 200buckets?integerRange
10 <= value <= 400Default
80application/json- response
transaction*stringop*stringplatform*PlatformValue in
"server""browser""mobile""unknown"summary*metrics*breakdown*array<>slowest*array<>vitals*|nullvitalSeries*|nullpageMetrics*|nullcurl -X GET 'https://api.example.com/api/v1/performance/transaction?from=2019-08-24T14%3A15%3A22Z&to=2019-08-24T14%3A15%3A22Z&name=string'Example Response
{
"transaction": "string",
"op": "string",
"platform": "server",
"summary": {
"transaction": "string",
"op": "string",
"platform": "server",
"count": 0,
"perMinute": 0,
"failureRate": 0,
"users": 0,
"lastSeenAt": "2019-08-24T14:15:22Z",
"p50": 0,
"p75": 0,
"p95": 0,
"p99": 0
},
"metrics": {
"throughput": {
"unit": "count",
"value": 0,
"previous": 0,
"health": "normal",
"buckets": [
{
"timestamp": "2019-08-24T14:15:22Z",
"value": 0,
"previous": 0,
"health": "normal"
}
]
},
"latency": {
"unit": "count",
"value": 0,
"previous": 0,
"health": "normal",
"buckets": [
{
"timestamp": "2019-08-24T14:15:22Z",
"value": 0,
"previous": 0,
"health": "normal"
}
]
},
"failures": {
"unit": "count",
"value": 0,
"previous": 0,
"health": "normal",
"buckets": [
{
"timestamp": "2019-08-24T14:15:22Z",
"value": 0,
"previous": 0,
"health": "normal"
}
]
}
},
"breakdown": [
{
"op": "string",
"count": 0,
"timeSpent": 0,
"p95": 0
}
],
"slowest": [
{
"projectId": "string",
"projectIds": [
"string"
],
"traceId": "string",
"transaction": "string",
"rootName": "string",
"rootOp": "string",
"environment": "string",
"platform": "server",
"startTime": "2019-08-24T14:15:22Z",
"durationMs": 0,
"status": "unset",
"spanCount": 0,
"errorCount": 0
}
],
"vitals": {
"lcp": {
"p75": 0,
"count": 0,
"good": 0,
"needsImprovement": 0,
"poor": 0
},
"fcp": {
"p75": 0,
"count": 0,
"good": 0,
"needsImprovement": 0,
"poor": 0
},
"cls": {
"p75": 0,
"count": 0,
"good": 0,
"needsImprovement": 0,
"poor": 0
},
"inp": {
"p75": 0,
"count": 0,
"good": 0,
"needsImprovement": 0,
"poor": 0
},
"ttfb": {
"p75": 0,
"count": 0,
"good": 0,
"needsImprovement": 0,
"poor": 0
}
},
"vitalSeries": {
"bucketSeconds": 0,
"buckets": [
{
"timestamp": "2019-08-24T14:15:22Z",
"lcp": 0,
"fcp": 0,
"cls": 0,
"inp": 0,
"ttfb": 0
}
]
},
"pageMetrics": {
"score": {
"unit": "count",
"value": 0,
"previous": 0,
"health": "normal",
"buckets": [
{
"timestamp": "2019-08-24T14:15:22Z",
"value": 0,
"previous": 0,
"health": "normal"
}
]
},
"users": {
"unit": "count",
"value": 0,
"previous": 0,
"health": "normal",
"buckets": [
{
"timestamp": "2019-08-24T14:15:22Z",
"value": 0,
"previous": 0,
"health": "normal"
}
]
}
}
}