Inspect trace quality and signal coverage
curl --request GET \
--url https://api.coval.dev/v1/traces/summary \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.coval.dev/v1/traces/summary"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.coval.dev/v1/traces/summary', 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.coval.dev/v1/traces/summary",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$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.coval.dev/v1/traces/summary"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
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.coval.dev/v1/traces/summary")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.coval.dev/v1/traces/summary")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"target": {
"id": "<string>"
},
"trace_summary": {
"simulation_output_id": "<string>",
"run_id": "<string>",
"total_spans": 123,
"returned_spans": 123,
"is_truncated": true,
"unique_span_count": 123,
"duplicate_span_count": 123,
"trace_count": 123,
"root_span_count": 123,
"orphan_span_count": 123,
"child_timing_violation_count": 123,
"status_counts": {},
"span_groups": [
{}
],
"export_lag": {
"sample_count": 123,
"clock_skew_sample_count": 123,
"average_seconds": 123,
"p95_seconds": 123,
"max_seconds": 123
},
"resource_attribute_keys": [
{}
]
}
}{
"error": {
"code": "INVALID_ARGUMENT",
"message": "Invalid request parameters",
"details": [
{
"field": "X-Simulation-Id",
"description": "No simulation output found with this ID"
}
]
}
}{
"error": {
"code": "UNAUTHENTICATED",
"message": "Authentication failed",
"details": [
{
"field": "X-API-Key",
"description": "Invalid or missing API key"
}
]
}
}{
"error": {
"code": "INVALID_ARGUMENT",
"message": "Invalid request parameters",
"details": [
{
"field": "X-Simulation-Id",
"description": "No simulation output found with this ID"
}
]
}
}{
"error": {
"code": "INVALID_ARGUMENT",
"message": "Invalid request parameters",
"details": [
{
"field": "X-Simulation-Id",
"description": "No simulation output found with this ID"
}
]
}
}{
"error": {
"code": "INTERNAL",
"message": "Internal server error",
"details": [
{
"description": "An unexpected error occurred while processing the request"
}
]
}
}{
"error": {
"code": "INVALID_ARGUMENT",
"message": "Invalid request parameters",
"details": [
{
"field": "X-Simulation-Id",
"description": "No simulation output found with this ID"
}
]
}
}Traces
Inspect trace quality and signal coverage
Returns a bounded, organization-scoped summary of the trace data received for one simulation output or monitoring conversation. The response contains span names, counts, timing and status distributions, structural integrity checks, and attribute key/type coverage. It never returns attribute values, prompt text, tool arguments or results, status messages, events, or links.
Provide exactly one of simulation_id or conversation_id. A truncated response
reports is_truncated: true; do not treat its counts as complete.
GET
/
traces
/
summary
Inspect trace quality and signal coverage
curl --request GET \
--url https://api.coval.dev/v1/traces/summary \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.coval.dev/v1/traces/summary"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.coval.dev/v1/traces/summary', 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.coval.dev/v1/traces/summary",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$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.coval.dev/v1/traces/summary"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
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.coval.dev/v1/traces/summary")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.coval.dev/v1/traces/summary")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"target": {
"id": "<string>"
},
"trace_summary": {
"simulation_output_id": "<string>",
"run_id": "<string>",
"total_spans": 123,
"returned_spans": 123,
"is_truncated": true,
"unique_span_count": 123,
"duplicate_span_count": 123,
"trace_count": 123,
"root_span_count": 123,
"orphan_span_count": 123,
"child_timing_violation_count": 123,
"status_counts": {},
"span_groups": [
{}
],
"export_lag": {
"sample_count": 123,
"clock_skew_sample_count": 123,
"average_seconds": 123,
"p95_seconds": 123,
"max_seconds": 123
},
"resource_attribute_keys": [
{}
]
}
}{
"error": {
"code": "INVALID_ARGUMENT",
"message": "Invalid request parameters",
"details": [
{
"field": "X-Simulation-Id",
"description": "No simulation output found with this ID"
}
]
}
}{
"error": {
"code": "UNAUTHENTICATED",
"message": "Authentication failed",
"details": [
{
"field": "X-API-Key",
"description": "Invalid or missing API key"
}
]
}
}{
"error": {
"code": "INVALID_ARGUMENT",
"message": "Invalid request parameters",
"details": [
{
"field": "X-Simulation-Id",
"description": "No simulation output found with this ID"
}
]
}
}{
"error": {
"code": "INVALID_ARGUMENT",
"message": "Invalid request parameters",
"details": [
{
"field": "X-Simulation-Id",
"description": "No simulation output found with this ID"
}
]
}
}{
"error": {
"code": "INTERNAL",
"message": "Internal server error",
"details": [
{
"description": "An unexpected error occurred while processing the request"
}
]
}
}{
"error": {
"code": "INVALID_ARGUMENT",
"message": "Invalid request parameters",
"details": [
{
"field": "X-Simulation-Id",
"description": "No simulation output found with this ID"
}
]
}
}Authorizations
Organization API key for authentication
Query Parameters
Exact simulation output ID. Mutually exclusive with conversation_id.
Maximum string length:
200Exact monitoring conversation ID. Mutually exclusive with simulation_id.
Maximum string length:
200Was this page helpful?
⌘I