Skip to main content
GET
/
v1
/
anomalies
List detected anomalies for the tenant
curl --request GET \
  --url https://api.trulayer.ai/v1/anomalies \
  --header 'Authorization: Bearer <token>'
{
  "anomalies": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "tenant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "type": "latency_spike",
      "severity": "low",
      "description": "<string>",
      "detected_at": "2023-11-07T05:31:56Z",
      "trace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "metadata": {},
      "created_at": "2023-11-07T05:31:56Z"
    }
  ],
  "has_more": true,
  "next_cursor": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.trulayer.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

SDK API key (tl_...) or Clerk session JWT

Query Parameters

limit
integer
default:50
Required range: 1 <= x <= 100
cursor
string

Opaque keyset-pagination token returned as next_cursor on the previous page. When supplied, offset is ignored.

offset
integer
default:0

Deprecated — use cursor. Retained for legacy callers.

Required range: x >= 0
from
string<date-time>

RFC3339 lower bound on created_at (inclusive). Optional.

to
string<date-time>

RFC3339 upper bound on created_at (inclusive). Optional. Must be >= from when both are set.

Response

Anomaly list

anomalies
object[]
required
has_more
boolean
required
next_cursor
string | null