API referenceActivity

GET /workspaces/{workspaceId}/views over the active revision

GET
/workspaces/{workspaceId}/views

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/views"
{  "$schema": "https://example.com/schemas/ViewsOutputBody.json",  "views": [    {      "activation": {        "activated": 0,        "cohort": 0,        "eligible": 0,        "from": "string",        "incomplete": 0,        "rate": 0.1,        "smallCohort": true,        "to": "string",        "withinSeconds": 0      },      "entity": "string",      "graph": {        "edges": [          {            "evidence": {              "ref": "string",              "with": "string"            },            "from": "string",            "to": "string"          }        ],        "nodes": [          {            "client": "string",            "entityId": "string",            "id": "string",            "lastActivityAt": "2019-08-24T14:15:22Z",            "side": "string",            "state": "string",            "type": "string"          }        ],        "truncated": true      },      "id": "string",      "interval": {        "cohort": 0,        "completed": 0,        "from": "string",        "open": 0,        "p50Seconds": 0.1,        "p95Seconds": 0.1,        "smallSample": true,        "to": "string"      },      "key": "string",      "points": [        {          "count": 0,          "label": "string",          "value": 0.1        }      ],      "rate": {        "cancelled": 0,        "denominator": 0,        "expected": 0,        "failed": 0,        "numerator": 0,        "pending": 0,        "rate": 0.1,        "smallSample": true,        "success": 0,        "terminal": 0,        "terminalRate": 0.1,        "unknown": 0,        "values": [          {            "class": "success",            "count": 0,            "outcome": "string",            "reason": "string"          }        ]      },      "reason": "string",      "series": [        {          "key": "string",          "points": [            {              "count": 0,              "label": "string",              "value": 0.1            }          ]        }      ],      "splitKeys": [        "string"      ],      "splits": [        {          "activation": {            "activated": 0,            "cohort": 0,            "eligible": 0,            "from": "string",            "incomplete": 0,            "rate": 0.1,            "smallCohort": true,            "to": "string",            "withinSeconds": 0          },          "completion": 0.1,          "entities": 0,          "smallCohort": true,          "stages": [            {              "count": 0,              "stage": "string"            }          ],          "values": {            "property1": "string",            "property2": "string"          }        }      ],      "title": "string",      "type": "string",      "value": 0,      "windowSeconds": 0    }  ]}