API referenceActivity

GET /workspaces/{workspaceId}/activity masked without profiles:read

GET
/workspaces/{workspaceId}/activity

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/activity"
{  "$schema": "https://example.com/schemas/WorkspaceEntitiesOutputBody.json",  "dropped": [    "string"  ],  "entities": [    {      "aggregates": {        "openByType": {          "property1": 0,          "property2": 0        },        "waitKey": "string",        "waitingOn": "string"      },      "evidence": "string",      "fields": {        "property1": null,        "property2": null      },      "id": "string",      "lastActivityAt": "2019-08-24T14:15:22Z",      "links": [        "string"      ],      "masked": [        "string"      ],      "observedState": "string",      "occurredAt": "2019-08-24T14:15:22Z",      "profile": {        "property1": null,        "property2": null      },      "receivedAt": "2019-08-24T14:15:22Z",      "snapshot": true,      "stale": true,      "type": "string",      "versions": {        "property1": {          "eventId": "string",          "revision": 0,          "sourceRef": "string",          "time": "2019-08-24T14:15:22Z"        },        "property2": {          "eventId": "string",          "revision": 0,          "sourceRef": "string",          "time": "2019-08-24T14:15:22Z"        }      }    }  ],  "nextCursor": "string"}