curl "https://kodostatus.com/api/v1/errors?status=new&environment=production&limit=20" \
-H "X-API-Key: your_api_key"
const response = await fetch(
'https://kodostatus.com/api/v1/errors?status=new&environment=production',
{ headers: { 'X-API-Key': 'your_api_key' } }
);
const { errors, total } = await response.json();
{
"errors": [
{
"id": "err_abc123",
"fingerprint": "a1b2c3d4e5f6",
"message": "Cannot read property 'map' of undefined",
"type": "TypeError",
"status": "new",
"occurrences": 47,
"sessions_affected": 23,
"first_seen": "2024-01-15T08:30:00Z",
"last_seen": "2024-01-15T10:45:00Z",
"release": "1.2.3",
"environment": "production",
"stack_trace": "TypeError: Cannot read property 'map' of undefined\n at Dashboard.render (dashboard.js:142:15)..."
}
],
"total": 1
}
Error Tracking
List Errors
Retrieve captured client-side errors with filtering and grouping
GET
/
errors
curl "https://kodostatus.com/api/v1/errors?status=new&environment=production&limit=20" \
-H "X-API-Key: your_api_key"
const response = await fetch(
'https://kodostatus.com/api/v1/errors?status=new&environment=production',
{ headers: { 'X-API-Key': 'your_api_key' } }
);
const { errors, total } = await response.json();
{
"errors": [
{
"id": "err_abc123",
"fingerprint": "a1b2c3d4e5f6",
"message": "Cannot read property 'map' of undefined",
"type": "TypeError",
"status": "new",
"occurrences": 47,
"sessions_affected": 23,
"first_seen": "2024-01-15T08:30:00Z",
"last_seen": "2024-01-15T10:45:00Z",
"release": "1.2.3",
"environment": "production",
"stack_trace": "TypeError: Cannot read property 'map' of undefined\n at Dashboard.render (dashboard.js:142:15)..."
}
],
"total": 1
}
Query Parameters
string
Filter by service ID
string
Filter by error status:
new, resolved, regressed, ignoredstring
Filter by environment:
production, staging, developmentstring
Filter by release version
string
Start date (ISO 8601)
string
End date (ISO 8601)
number
default:"50"
Maximum results (1-100)
number
default:"0"
Pagination offset
Response
array
Array of error signature objects (grouped by fingerprint)
Show Error Object
Show Error Object
string
Error signature ID
string
Unique error fingerprint
string
Error message
string
Error type (e.g., TypeError, ReferenceError)
string
new, resolved, regressed, ignored
number
Total occurrence count
number
Unique sessions affected
string
First occurrence timestamp
string
Most recent occurrence
string
Release version when first seen
string
Environment
number
Total matching errors
curl "https://kodostatus.com/api/v1/errors?status=new&environment=production&limit=20" \
-H "X-API-Key: your_api_key"
const response = await fetch(
'https://kodostatus.com/api/v1/errors?status=new&environment=production',
{ headers: { 'X-API-Key': 'your_api_key' } }
);
const { errors, total } = await response.json();
{
"errors": [
{
"id": "err_abc123",
"fingerprint": "a1b2c3d4e5f6",
"message": "Cannot read property 'map' of undefined",
"type": "TypeError",
"status": "new",
"occurrences": 47,
"sessions_affected": 23,
"first_seen": "2024-01-15T08:30:00Z",
"last_seen": "2024-01-15T10:45:00Z",
"release": "1.2.3",
"environment": "production",
"stack_trace": "TypeError: Cannot read property 'map' of undefined\n at Dashboard.render (dashboard.js:142:15)..."
}
],
"total": 1
}