sharing

Embed
Preview of the card
<a href="https://lucidace.com/docs/ref-sharing"><img src="https://lucidace.com/docs/_api/public/orgs/af34862a-c837-4478-8335-0505efe40459/spaces/da916cd3-c0fc-4b63-b971-b3c13623daf3/pages/764931cd-22d1-4880-9037-f05e758b00f5/social-card.svg?v=3e7ae33eec8b" alt="sharing" width="600" height="315"></a>
DELETEhttps://lucidace.com/v1/projects/{project_id}/web/shares/{share_id}Scope insight:write

Parameters

project_idstringpathrequired
share_idstringpathrequired

Code samples

cURL
curl -X DELETE "https://lucidace.com/v1/projects/{project_id}/web/shares/{share_id}"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

204
403
404
GEThttps://lucidace.com/v1/public/dashboards/{token}

Parameters

tokenstringpathrequired
refreshstringquery
1 recomputes (6 a minute per link)
grantstringquery
unlock grant of a password-protected share
filtersstringquery
viewer filters (JSON property group), ANDed with the share's locked filters

Code samples

cURL
curl -X GET "https://lucidace.com/v1/public/dashboards/{token}"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 no person columns
Example
{
  "branding": {},
  "computed_at": "2024-01-01T00:00:00Z",
  "kind": "string",
  "options": {
    "hide_branding": true,
    "hide_legend": true,
    "lock_filters": {},
    "show_queries": true,
    "show_recordings": true,
    "show_rows": true,
    "theme": "string",
    "viewer_filters": true
  },
  "panels": [
    {
      "columns": [
        "string"
      ],
      "computed_at": "2024-01-01T00:00:00Z",
      "error": "string",
      "insight_id": "string",
      "rows": [
        [
          {}
        ]
      ],
      "text": "string",
      "title": "string"
    }
  ],
  "title": "string"
}
Schema
brandingobjectrequired
The project's effective white-label brand (N-DXA-8): name, logo, accent, white_label.
computed_atstring
The oldest panel's computed_at: viewers refresh when it is more than 30 minutes old.
kindstringrequired
insight | dashboard
optionsobjectrequired
The share's display options (branding, legend, theme).
Show child parameters
hide_brandingboolean
Leave out the Lucida branding.
hide_legendboolean
Leave out chart legends.
lock_filtersobject
Property group ({"and": [...]}, may hold a cohort filter) ANDed into every query the public view runs; viewers cannot remove it.
show_queriesboolean
Notebooks only: show the text of query blocks (hidden by default, queries can name people).
show_recordingsboolean
Notebooks only, project admins only (G146): replay and playlist blocks play in the shared view (masked at capture, no person ids, no comments). Withheld by default.
show_rowsboolean
Notebooks only, project admins only (G146): people, event, group and cohort lists share their rows (the block's chosen property columns; identities and email-like columns are always dropped) instead of per-day counts. Off by default.
themestring
light, dark or system (the default).
viewer_filtersboolean
Viewers may add their own event, person or session property filters (?filters=), applied on top of the lock.
panelsPublicPanel[]required
Show child parameters
columnsstring[]required
computed_atstring
When the data was computed (cached results keep their original time).
errorstring
insight_idstringrequired
rowsobject[][]required
textstring
Notebook embeds: a text block (markdown, formula or diagram source) instead of a table.
titlestringrequired
titlestringrequired
400
403 password required
404
GEThttps://lucidace.com/v1/public/heatmaps/{token}

Parameters

tokenstringpathrequired
typestringquery
click|rage|dead|move|scroll
viewportstringquery
daysintegerquery
grantstringquery
unlock grant of a password-protected share

Code samples

cURL
curl -X GET "https://lucidace.com/v1/public/heatmaps/{token}"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 Heatmap aggregates of the shared page (the GET /heatmaps body); cached for up to a minute
400
403 password required
404
503
GEThttps://lucidace.com/v1/public/insights/{token}

Parameters

tokenstringpathrequired
refreshstringquery
1 recomputes (6 a minute per link)
grantstringquery
unlock grant of a password-protected share
filtersstringquery
viewer filters (JSON property group), ANDed with the share's locked filters

Code samples

cURL
curl -X GET "https://lucidace.com/v1/public/insights/{token}"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 no person columns; results cached for up to a minute client-side

Same as 200 · GET /v1/public/dashboards/{token}

400
403 password required
404
GEThttps://lucidace.com/v1/public/notebooks/{token}

Parameters

tokenstringpathrequired
grantstringquery
unlock grant of a password-protected share

Code samples

cURL
curl -X GET "https://lucidace.com/v1/public/notebooks/{token}"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 read-only; no person columns
Example
{
  "blocks": [
    {}
  ],
  "branding": {},
  "kind": "string",
  "options": {
    "hide_branding": true,
    "hide_legend": true,
    "lock_filters": {},
    "show_queries": true,
    "show_recordings": true,
    "show_rows": true,
    "theme": "string",
    "viewer_filters": true
  },
  "title": "string"
}
Schema
blocksobject[]required
Blocks in order. Insight blocks add a panel; blocks that would expose people carry hidden: true.
brandingobjectrequired
The project's effective white-label brand (N-DXA-8).
kindstringrequired
Always notebook.
optionsobjectrequired
The share's display options (branding, theme).
Show child parameters
hide_brandingboolean
Leave out the Lucida branding.
hide_legendboolean
Leave out chart legends.
lock_filtersobject
Property group ({"and": [...]}, may hold a cohort filter) ANDed into every query the public view runs; viewers cannot remove it.
show_queriesboolean
Notebooks only: show the text of query blocks (hidden by default, queries can name people).
show_recordingsboolean
Notebooks only, project admins only (G146): replay and playlist blocks play in the shared view (masked at capture, no person ids, no comments). Withheld by default.
show_rowsboolean
Notebooks only, project admins only (G146): people, event, group and cohort lists share their rows (the block's chosen property columns; identities and email-like columns are always dropped) instead of per-day counts. Off by default.
themestring
light, dark or system (the default).
viewer_filtersboolean
Viewers may add their own event, person or session property filters (?filters=), applied on top of the lock.
titlestringrequired
403 password required
404
GEThttps://lucidace.com/v1/public/notebooks/{token}/replays/{session_id}

Parameters

tokenstringpathrequired
session_idstringpathrequired
grantstringquery

Code samples

cURL
curl -X GET "https://lucidace.com/v1/public/notebooks/{token}/replays/{session_id}"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 replay detail without person data or comments
404
GEThttps://lucidace.com/v1/public/notebooks/{token}/replays/{session_id}/chunks/{seq}

Parameters

tokenstringpathrequired
session_idstringpathrequired
seqintegerpathrequired
grantstringquery

Code samples

cURL
curl -X GET "https://lucidace.com/v1/public/notebooks/{token}/replays/{session_id}/chunks/{seq}"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 gzip chunk bytes
404
GEThttps://lucidace.com/v1/public/tenant/{token}

Parameters

tokenstringpathrequired
embed token (lc_emb_) or tenant share token (lc_shr_)
daysintegerquery
1 to 400, default 30
eventstringquery
comma-separated event names
breakdownstringquery
url | referrer | country | ua_class | target

Code samples

cURL
curl -X GET "https://lucidace.com/v1/public/tenant/{token}"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 aggregates of the token's tenant; cached for up to a minute
Example
{
  "breakdown": "string",
  "breakdown_rows": [
    {
      "count": 0,
      "event": "string",
      "key": "string",
      "value": 0
    }
  ],
  "days": 0,
  "from": "2024-01-01T00:00:00Z",
  "series": [
    {
      "count": 0,
      "day": "string",
      "event": "string",
      "value": 0
    }
  ],
  "tenant_id": "string",
  "to": "2024-01-01T00:00:00Z"
}
Schema
breakdownstring
breakdown_rowsarray
daysintegerrequired
fromstringrequired
seriesDayRow[]required
Show child parameters
countintegerrequired
daystringrequired
YYYY-MM-DD (UTC).
eventstringrequired
valuenumberrequired
Sum of the events' value.
tenant_idstringrequired
tostringrequired
400
404
503

Updated