Get Trace By Id
Get trace by ID.
GET
/
v1
/
telemetry
/
traces
/
{trace_id}
Get Trace By Id
curl --request GET \
--url https://api.example.com/v1/telemetry/traces/{trace_id}import requests
url = "https://api.example.com/v1/telemetry/traces/{trace_id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/v1/telemetry/traces/{trace_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/v1/telemetry/traces/{trace_id}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"trace_id": "<string>",
"trace_id_base64": "<string>",
"batches": [
{}
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Last modified on April 21, 2026
Was this page helpful?
⌘I
Get Trace By Id
curl --request GET \
--url https://api.example.com/v1/telemetry/traces/{trace_id}import requests
url = "https://api.example.com/v1/telemetry/traces/{trace_id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/v1/telemetry/traces/{trace_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/v1/telemetry/traces/{trace_id}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"trace_id": "<string>",
"trace_id_base64": "<string>",
"batches": [
{}
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}