Skip to main content
GET
/
threats
List threat events
curl --request GET \
  --url https://eris.devops.truu.ai/api/v1/external/threats \
  --header 'X-API-Key: <api-key>'
{
  "next_cursor": "<string>",
  "data": [
    {
      "kind": "<string>",
      "event_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "severity": "<string>",
      "category": [
        "<string>"
      ],
      "subcategory": [
        "<string>"
      ],
      "signal_type": "<string>",
      "source": "<string>",
      "title": "<string>",
      "summary": "<string>",
      "user_name": "<string>",
      "user_email": "<string>",
      "platform_event_ids": [
        "<string>"
      ],
      "flagged": true,
      "safe": true,
      "created_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Documentation Index

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

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

Authorizations

X-API-Key
string
header
required

Domain-scoped API key. Generate and manage keys from the API Keys page in Settings.

Accepted in two forms:

  • X-API-Key: <key> header (preferred)
  • Authorization: Bearer <key> header (also accepted)

Query Parameters

email
string
event_id
string<uuid>
severity
string

Exact match on stored severity (freeform; not restricted to a fixed set).

category
string

Filter when the stored category array contains this value.

source
string

Exact match on stored source identifier (freeform).

flagged
boolean
created_after
string<date-time>
created_before
string<date-time>
page_size
integer
default:50
Required range: x <= 200
next_cursor
string<uuid>

Threat event id from the last item of the previous page.

Response

Cursor-paginated list of threat events

next_cursor
string | null
data
object[]