API referenceActivity
GET /workspaces/{workspaceId}/views over the active revision
Path Parameters
workspaceId*string
Query Parameters
fresh?boolean
Bypass the 15-second summary cache
environment?string
Length
length <= 160entity?string
Entity type
Length
length <= 120entityId?string
Length
length <= 160ref?string
type:id; entities that are, or link to, this entity. Timeline: observations that reference it
Length
length <= 300with?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)
Length
length <= 300side?string
Filter by the actor_side role
Length
length <= 60client?string
Filter by the client role
Length
length <= 80outcome?string
Filter by the outcome role
Length
length <= 60action?string
Filter by the last_action role
Length
length <= 100state?string
Length
length <= 120freshness?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
Length
length <= 160cursor?string
Length
length <= 300limit?integer
Format
int64Range
1 <= value <= 200Default
100Response 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 } ]}