BETA

Observability

Search request history, query metrics and connect your own tools. These APIs use the history service base URL below.

Base URL
https://alapi.deep.sa/v1/observability

Search & request details

Use POST search to keep search text out of URLs. Results contain data and next_cursor; request lists do not include saved inputs or outputs.

POST /v1/observability/requests/search
curl 'https://alapi.deep.sa/v1/observability/requests/search' \
  -H 'Authorization: Bearer YOUR_HISTORY_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"range":"24h","product":"llm","outcome":"failed","limit":50}'

Filters: range (24h, 7d, 30d, all), product (llm, embedding, guardrail, ocr, retrieval), application, environment, release, model, outcome, status, error_code and q. Page limit: 1–100. Search text q belongs in the POST body.

To continue a search, send next_cursor as cursor with the same filters. An empty cursor ends the result set. History is best effort: records may arrive late or be missing. Respect Retry-After on 429 responses.

Application, environment and release are optional labels supplied with X-Alapi-Application, X-Alapi-Environment and X-Alapi-Release on your API calls. Use 1–48 letters, digits, hyphens or underscores, starting with a letter or digit; do not put personal data or secrets in labels. A valid W3C traceparent can correlate gateway execution with your own traces. These labels and IDs grant no access.

EndpointAccess
GET /v1/observability/requestsList metadata using URL filters. Use POST search for text queries.
GET /v1/observability/requests/{request_id}One request; saved content requires the additional Saved content permission and available content.
GET /v1/observability/requests/{request_id}/exportDownload one request with History export; Saved content is also required to include available saved inputs and outputs.
POST /v1/observability/traces/search
GET /v1/observability/traces/{trace_id}
Search gateway traces or retrieve one by trace ID, within your account.
GET /v1/observability/alerts
POST /v1/observability/alerts
Read alert rules and events. POST additionally requires Alert rules to create or update a rule.

Ready to Get Started?

Generate an API key from your dashboard and start building

Activate account?

Activate this account?