API referenceActivity

GET /workspaces/{workspaceId}/incidents

GET
/workspaces/{workspaceId}/incidents

Path Parameters

workspaceId*string

Query Parameters

fresh?boolean

Bypass the 15-second summary cache

environment?string
Lengthlength <= 160
entity?string

Entity type

Lengthlength <= 120
entityId?string
Lengthlength <= 160
ref?string

type:id; entities that are, or link to, this entity. Timeline: observations that reference it

Lengthlength <= 300
with?string

Timeline only: type:id that a record must also reference, so ref plus with lists the records linking two entities (a graph edge's evidence)

Lengthlength <= 300
side?string

Filter by the actor_side role

Lengthlength <= 60
client?string

Filter by the client role

Lengthlength <= 80
outcome?string

Filter by the outcome role

Lengthlength <= 60
action?string

Filter by the last_action role

Lengthlength <= 100
state?string
Lengthlength <= 120
freshness?string

current: live evidence received in the last 15 minutes; stale: quieter than that, or only known from a snapshot; unknown: an open state outlived its expected duration. fresh is an alias of current

Value in

  • "current"
  • "stale"
  • "unknown"
  • "fresh"
q?string

Matches the entity id and non-personal text fields and profile traits

Lengthlength <= 160
cursor?string
Lengthlength <= 300
limit?integer
Formatint64
Range1 <= value <= 200
Default100

Response Body

application/json

application/problem+json

curl -X GET "https://example.com/workspaces/string/incidents"
{  "$schema": "https://example.com/schemas/WorkspaceIncidentsOutputBody.json",  "incidents": [    {      "affected": 0,      "affectedIds": [        "string"      ],      "checkedAt": "2019-08-24T14:15:22Z",      "entity": "string",      "id": "string",      "name": "string",      "openedAt": "2019-08-24T14:15:22Z",      "resolvedAt": "2019-08-24T14:15:22Z"    }  ]}