curl --request GET \
--url https://api.uselemma.ai/traces/dashboard \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.uselemma.ai/traces/dashboard"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.uselemma.ai/traces/dashboard', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.uselemma.ai/traces/dashboard",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.uselemma.ai/traces/dashboard"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.uselemma.ai/traces/dashboard")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.uselemma.ai/traces/dashboard")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "<string>",
"otel_trace_id": "<string>",
"project_id": "<string>",
"service_name": "<string>",
"agent_name": "<string>",
"thread_id": "<string>",
"thread_trace_count": 123,
"agent_input_display": "<string>",
"interaction": {
"has_input": true,
"has_output": true,
"input_kind": "none",
"has_user_message_tools": true
},
"has_error": true,
"has_occurrences": true,
"span_count": 123,
"total_duration_ms": 123,
"timestamp": "<string>",
"issue_extraction": {
"status": "running",
"reason": "issues_found",
"issue_count": 123,
"occurrence_count": 123,
"completed_at": "2023-11-07T05:31:56Z"
},
"agent_input": null,
"agent_output": null,
"release": "<string>"
}
],
"total": 123,
"next_cursor": {
"timestamp": "<string>",
"id": "<string>",
"span_count": 123,
"total_duration_ms": 123
}
}{
"detail": "<string>",
"code": "<string>"
}{
"detail": "<string>",
"code": "<string>"
}List traces
Canonical first-party dashboard list with cursor pagination and independent has_error/has_issues filters. Kept separate from GET /traces because that legacy window list uses a different backend and response shape.
curl --request GET \
--url https://api.uselemma.ai/traces/dashboard \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.uselemma.ai/traces/dashboard"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.uselemma.ai/traces/dashboard', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.uselemma.ai/traces/dashboard",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.uselemma.ai/traces/dashboard"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.uselemma.ai/traces/dashboard")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.uselemma.ai/traces/dashboard")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "<string>",
"otel_trace_id": "<string>",
"project_id": "<string>",
"service_name": "<string>",
"agent_name": "<string>",
"thread_id": "<string>",
"thread_trace_count": 123,
"agent_input_display": "<string>",
"interaction": {
"has_input": true,
"has_output": true,
"input_kind": "none",
"has_user_message_tools": true
},
"has_error": true,
"has_occurrences": true,
"span_count": 123,
"total_duration_ms": 123,
"timestamp": "<string>",
"issue_extraction": {
"status": "running",
"reason": "issues_found",
"issue_count": 123,
"occurrence_count": 123,
"completed_at": "2023-11-07T05:31:56Z"
},
"agent_input": null,
"agent_output": null,
"release": "<string>"
}
],
"total": 123,
"next_cursor": {
"timestamp": "<string>",
"id": "<string>",
"span_count": 123,
"total_duration_ms": 123
}
}{
"detail": "<string>",
"code": "<string>"
}{
"detail": "<string>",
"code": "<string>"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Project ID.
Maximum number of records to return.
x >= 1Pagination cursor.
Agent name filter.
Sort order.
Span-error axis. true = only traces with span errors, false = only traces without, omitted = unconstrained. Independent of has_issues.
Issue axis. true = only traces with issue occurrences, false = only traces without, omitted = unconstrained. has_error=false with has_issues=true selects silent failures.
Deprecated alias for the two axes, comma-separated: failures = has_error=true, flagged = has_issues=true, clean = has_error=false and has_issues=false. Cannot express error-only or issue-only; prefer has_error / has_issues, which override it per axis.
Minimum span count.
Maximum span count.
Minimum trace duration (ms).
Maximum trace duration (ms).
Minimum total (input + output) tokens.
Minimum number of traces in the session/thread.
Maximum number of traces in the session/thread.
When false, each page contains only traces that already have an extraction row. Defaults to true.