API referenceActivity

GET /workspaces/{workspaceId}/series funnel entities by furthest stage, or source-to-view lag'

GET
/workspaces/{workspaceId}/series

Path Parameters

workspaceId*string

Query Parameters

fresh?boolean

Bypass the 15-second summary cache

environment?string
Lengthlength <= 160
metric?string

outcomes: observations by the outcome role; funnel: distinct entities by furthest stage; lag: source-to-view percentiles

Default"outcomes"

Value in

  • "outcomes"
  • "funnel"
  • "lag"
window?string

90d reads de-identified daily rollups

Default"24h"

Value in

  • "1h"
  • "24h"
  • "7d"
  • "30d"
  • "90d"
bucket?string

Defaults per window: 1h→5m, 24h→1h, 7d→1h, 30d→1d, 90d→1d. Allowed: 1h:5m, 24h:5m|1h, 7d:1h|1d, 30d:1d, 90d:1d

Value in

  • "5m"
  • "1h"
  • "1d"
entity?string

outcomes: only events that update this entity

Lengthlength <= 120
funnel?string

funnel: funnel name, default the first declared

Lengthlength <= 120
side?string

Filter by the actor_side role

Lengthlength <= 60
client?string

Filter by the client role

Lengthlength <= 80

Response Body

application/json

application/problem+json

curl -X GET "https://example.com/workspaces/string/series"
{  "$schema": "https://example.com/schemas/ActivityWorkspaceSeries.json",  "bucket": "5m",  "from": "2019-08-24T14:15:22Z",  "metric": "outcomes",  "reason": "string",  "series": [    {      "key": "string",      "label": "string",      "points": [        {          "n": 0,          "t": "2019-08-24T14:15:22Z",          "v": 0.1        }      ]    }  ],  "source": "projection",  "to": "2019-08-24T14:15:22Z",  "window": "1h"}