Tempo Get Trace Example
Tempo Get Trace Example is an example object payload from Tempo, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.
Top-level fields
Example Payload
{
"request": {
"method": "GET",
"url": "http://localhost:3200/api/traces/5B8EFFF798038103D269B633813FC60C",
"headers": {
"Accept": "application/json"
}
},
"response": {
"status": 200,
"headers": {
"Content-Type": "application/json"
},
"body": {
"batches": [
{
"resource": {
"attributes": [
{"key": "service.name", "value": {"stringValue": "order-service"}},
{"key": "service.version", "value": {"stringValue": "1.4.2"}},
{"key": "deployment.environment", "value": {"stringValue": "production"}}
]
},
"scopeSpans": [
{
"scope": {
"name": "go.opentelemetry.io/otel/sdk/trace",
"version": "v1.21.0"
},
"spans": [
{
"traceId": "5B8EFFF798038103D269B633813FC60C",
"spanId": "EEE19B7EC3C1B173",
"parentSpanId": "",
"name": "POST /orders",
"kind": 2,
"startTimeUnixNano": "1746259200000000000",
"endTimeUnixNano": "1746259200145000000",
"attributes": [
{"key": "http.method", "value": {"stringValue": "POST"}},
{"key": "http.route", "value": {"stringValue": "/orders"}},
{"key": "http.status_code", "value": {"intValue": 201}}
],
"status": {"code": 1}
}
]
}
]
}
]
}
}
}
Work with this as data
Every example here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for examples
4 MCP tools reach this
find_examplesBrowse and filter every example in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/examples/tempo-get-trace-example"
curl "https://apis.io/api/v1/examples?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.