curl --request GET \
--url https://gateway.errorbar.ai/v1/logs \
--header 'Authorization: Bearer <token>'import requests
url = "https://gateway.errorbar.ai/v1/logs"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://gateway.errorbar.ai/v1/logs', 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://gateway.errorbar.ai/v1/logs",
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://gateway.errorbar.ai/v1/logs"
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://gateway.errorbar.ai/v1/logs")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://gateway.errorbar.ai/v1/logs")
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{
"object": "list",
"total": 123,
"limit": 123,
"offset": 123,
"data": [
{
"request_id": "<string>",
"created_at": 123,
"model": "<string>",
"tag": "<string>",
"segment": "<string>",
"segment_exact": "<string>",
"trace_id": "<string>",
"finish_reason": "<string>",
"streamed": true,
"cache_hit": true,
"fallback_from": "<string>",
"prompt_tokens": 123,
"completion_tokens": 123,
"messages": [
{}
],
"response": {}
}
]
}{
"error": {
"message": "Invalid API key",
"type": "invalid_request_error",
"code": "invalid_api_key"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>"
}
}List logged exchanges
Your workspace’s captured chat exchanges, newest first.
Nothing is stored until a workspace owner enables request logging — it is off by default. Only successful chat completions on the shared catalog are captured; content is secret-scrubbed at capture and deleted automatically at the end of your retention window.
curl --request GET \
--url https://gateway.errorbar.ai/v1/logs \
--header 'Authorization: Bearer <token>'import requests
url = "https://gateway.errorbar.ai/v1/logs"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://gateway.errorbar.ai/v1/logs', 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://gateway.errorbar.ai/v1/logs",
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://gateway.errorbar.ai/v1/logs"
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://gateway.errorbar.ai/v1/logs")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://gateway.errorbar.ai/v1/logs")
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{
"object": "list",
"total": 123,
"limit": 123,
"offset": 123,
"data": [
{
"request_id": "<string>",
"created_at": 123,
"model": "<string>",
"tag": "<string>",
"segment": "<string>",
"segment_exact": "<string>",
"trace_id": "<string>",
"finish_reason": "<string>",
"streamed": true,
"cache_hit": true,
"fallback_from": "<string>",
"prompt_tokens": 123,
"completion_tokens": 123,
"messages": [
{}
],
"response": {}
}
]
}{
"error": {
"message": "Invalid API key",
"type": "invalid_request_error",
"code": "invalid_api_key"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>"
}
}Authorizations
Your workspace API key, e.g. sk_sovereign_..., sent as Authorization: Bearer <key>.
Query Parameters
Only exchanges served by this model.
Only exchanges whose request carried this X-Errorbar-Tag.
Only exchanges in this auto-detected traffic segment (a segment value from a logs row — the family of system prompts sharing one template). Composes with tag: segments are detected, tags are declared.
stop, length, tool_calls true = cache replays only; false = exclude them.
Unix seconds, inclusive.
Unix seconds, exclusive.
1 <= x <= 100x >= 0