sharing
DELETE
https://lucidace.com /v1/projects/{project_id}/web/shares/{share_id} Scope insight:writeParameters
project_idstringpathrequiredshare_idstringpathrequiredCode 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
GET
https://lucidace.com /v1/public/dashboards/{token} Parameters
tokenstringpathrequiredrefreshstringquery1 recomputes (6 a minute per link)
grantstringqueryunlock grant of a password-protected share
filtersstringqueryviewer 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
brandingobjectrequiredThe project's effective white-label brand (N-DXA-8): name, logo, accent,
white_label.computed_atstringThe oldest panel's
computed_at: viewers refresh when it is more than 30 minutes old.kindstringrequiredinsight | dashboardoptionsobjectrequiredThe share's display options (branding, legend, theme).
Show child parameters
hide_brandingbooleanLeave out the Lucida branding.
hide_legendbooleanLeave out chart legends.
lock_filtersobjectProperty group (
{"and": [...]}, may hold a cohort filter) ANDed into every query the public view runs; viewers cannot remove it.show_queriesbooleanNotebooks only: show the text of query blocks (hidden by default, queries can name people).
show_recordingsbooleanNotebooks 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_rowsbooleanNotebooks 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.
themestringlight, dark or system (the default).viewer_filtersbooleanViewers may add their own event, person or session property filters (
?filters=), applied on top of the lock.panelsPublicPanel[]requiredShow child parameters
columnsstring[]requiredcomputed_atstringWhen the data was computed (cached results keep their original time).
errorstringinsight_idstringrequiredrowsobject[][]requiredtextstringNotebook embeds: a text block (markdown, formula or diagram source) instead of a table.
titlestringrequiredtitlestringrequired400
403 password required
404
GET
https://lucidace.com /v1/public/heatmaps/{token} Parameters
tokenstringpathrequiredtypestringqueryclick|rage|dead|move|scroll
viewportstringquerydaysintegerquerygrantstringqueryunlock 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 minute400
403 password required
404
503
GET
https://lucidace.com /v1/public/insights/{token} Parameters
tokenstringpathrequiredrefreshstringquery1 recomputes (6 a minute per link)
grantstringqueryunlock grant of a password-protected share
filtersstringqueryviewer 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
400
403 password required
404
GET
https://lucidace.com /v1/public/notebooks/{token} Parameters
tokenstringpathrequiredgrantstringqueryunlock 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[]requiredBlocks in order. Insight blocks add a
panel; blocks that would expose people carry hidden: true.brandingobjectrequiredThe project's effective white-label brand (N-DXA-8).
kindstringrequiredAlways
notebook.optionsobjectrequiredThe share's display options (branding, theme).
Show child parameters
hide_brandingbooleanLeave out the Lucida branding.
hide_legendbooleanLeave out chart legends.
lock_filtersobjectProperty group (
{"and": [...]}, may hold a cohort filter) ANDed into every query the public view runs; viewers cannot remove it.show_queriesbooleanNotebooks only: show the text of query blocks (hidden by default, queries can name people).
show_recordingsbooleanNotebooks 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_rowsbooleanNotebooks 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.
themestringlight, dark or system (the default).viewer_filtersbooleanViewers may add their own event, person or session property filters (
?filters=), applied on top of the lock.titlestringrequired403 password required
404
GET
https://lucidace.com /v1/public/notebooks/{token}/replays/{session_id} Parameters
tokenstringpathrequiredsession_idstringpathrequiredgrantstringqueryCode 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
GET
https://lucidace.com /v1/public/notebooks/{token}/replays/{session_id}/chunks/{seq} Parameters
tokenstringpathrequiredsession_idstringpathrequiredseqintegerpathrequiredgrantstringqueryCode 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
GET
https://lucidace.com /v1/public/tenant/{token} Parameters
tokenstringpathrequiredembed token (lc_emb_) or tenant share token (lc_shr_)
daysintegerquery1 to 400, default 30
eventstringquerycomma-separated event names
breakdownstringqueryurl | 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
breakdownstringbreakdown_rowsarraydaysintegerrequiredfromstringrequiredseriesDayRow[]requiredShow child parameters
countintegerrequireddaystringrequiredYYYY-MM-DD (UTC).eventstringrequiredvaluenumberrequiredSum of the events'
value.tenant_idstringrequiredtostringrequired400
404
503
Updated