sharing
DELETE
https://lucidace.com /v1/projects/{project_id}/notebooks/{id}/shares/{share_id} Scope notebook:writeParameters
project_idstringpathrequiredidstringpathrequiredshare_idstringpathrequiredCode samples
cURL
curl -X DELETE "https://lucidace.com/v1/projects/{project_id}/notebooks/{id}/shares/{share_id}"TypeScript
Python
Go
PHP
Ruby
Java
Responses
204
403
404
GET
https://lucidace.com /v1/projects/{project_id}/shares/{share_id}/passwords Scope insight:readParameters
project_idstringpathrequiredshare_idstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/shares/{share_id}/passwords"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Array of SharePassword, newest first (no secrets)
Example
[
{
"created_at": "2024-01-01T00:00:00Z",
"created_by": "string",
"created_by_name": "string",
"id": "string",
"note": "string",
"revoked_at": "2024-01-01T00:00:00Z"
}
]Schema
created_atstringrequiredcreated_bystringcreated_by_namestringName (else email) of the creator.
idstringrequirednotestringrequiredrevoked_atstring404
POST
https://lucidace.com /v1/projects/{project_id}/shares/{share_id}/passwords Scope insight:readParameters
project_idstringpathrequiredshare_idstringpathrequiredRequest body
application/json
notestringWhat the password is for ("Acme finance"), up to 200 characters.
passwordstring8 to 200 characters; generated when omitted.
{
"note": "string",
"password": "string"
}Code samples
cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/shares/{share_id}/passwords" \
-H "Content-Type: application/json" \
-d '{"note":"string","password":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201
Example
{
"created_at": "2024-01-01T00:00:00Z",
"created_by": "string",
"created_by_name": "string",
"id": "string",
"note": "string",
"revoked_at": "2024-01-01T00:00:00Z",
"secret": "string"
}Schema
created_atstringrequiredcreated_bystringcreated_by_namestringName (else email) of the creator.
idstringrequirednotestringrequiredrevoked_atstringsecretstringrequiredShown once; only its hash is stored.
400
403
404
409 10 live passwords already
DELETE
https://lucidace.com /v1/projects/{project_id}/shares/{share_id}/passwords/{password_id} Scope insight:readParameters
project_idstringpathrequiredshare_idstringpathrequiredpassword_idstringpathrequiredCode samples
cURL
curl -X DELETE "https://lucidace.com/v1/projects/{project_id}/shares/{share_id}/passwords/{password_id}"TypeScript
Python
Go
PHP
Ruby
Java
Responses
204
403
404
GET
https://lucidace.com /v1/projects/{project_id}/tenants/{tenant_id}/shares Scope insight:readParameters
project_idstringpathrequiredtenant_idstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/tenants/{tenant_id}/shares"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Page of Share for the tenant, newest first
Example
{
"data": [
{
"allowed_origins": [
"string"
],
"created_at": "2024-01-01T00:00:00Z",
"expires_at": "2024-01-01T00:00:00Z",
"id": "string",
"options": {},
"password_protected": true,
"resource_id": "string",
"resource_type": "string",
"revoked_at": "2024-01-01T00:00:00Z"
}
],
"next_cursor": "string"
}Schema
dataShare[]requiredShow child parameters
allowed_originsstring[]requiredOrigins allowed to frame the embed (empty: any).
created_atstringrequiredexpires_atstringidstringrequiredoptionsobjectrequired{hide_branding?, hide_legend?, theme?: light|dark|system}.password_protectedbooleanrequiredViewers must enter a password first.
resource_idstringrequiredresource_typestringrequiredrevoked_atstringnext_cursorstring400
404
POST
https://lucidace.com /v1/projects/{project_id}/tenants/{tenant_id}/shares Scope insight:writeParameters
project_idstringpathrequiredtenant_idstringpathrequiredRequest body
application/json
allowed_originsstring[]Origins allowed to frame the embed; empty allows any.
expires_in_daysintegerLifetime in days (1 to 3650); leave out for a link that lasts until revoked. Tenant links are aggregate-only, so they need no org
permanent_shares and have no 90-day cap.hide_brandingbooleanthemestringlight, dark or system.{
"allowed_origins": [
"string"
],
"expires_in_days": 0,
"hide_branding": true,
"theme": "string"
}Code samples
cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/tenants/{tenant_id}/shares" \
-H "Content-Type: application/json" \
-d '{"allowed_origins":["string"],"expires_in_days":0,"hide_branding":true,"theme":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 the token is shown once
Example
{
"allowed_origins": [
"string"
],
"created_at": "2024-01-01T00:00:00Z",
"expires_at": "2024-01-01T00:00:00Z",
"id": "string",
"options": {},
"password_protected": true,
"resource_id": "string",
"resource_type": "string",
"revoked_at": "2024-01-01T00:00:00Z",
"api_url": "string",
"embed_url": "string",
"token": "string"
}Schema
allowed_originsstring[]requiredOrigins allowed to frame the embed (empty: any).
created_atstringrequiredexpires_atstringidstringrequiredoptionsobjectrequired{hide_branding?, hide_legend?, theme?: light|dark|system}.password_protectedbooleanrequiredViewers must enter a password first.
resource_idstringrequiredresource_typestringrequiredrevoked_atstringapi_urlstringrequiredembed_urlstringrequiredtokenstringrequiredShown once; only its hash is stored.
400
403
404
DELETE
https://lucidace.com /v1/projects/{project_id}/tenants/{tenant_id}/shares/{share_id} Scope insight:writeParameters
project_idstringpathrequiredtenant_idstringpathrequiredshare_idstringpathrequiredCode samples
cURL
curl -X DELETE "https://lucidace.com/v1/projects/{project_id}/tenants/{tenant_id}/shares/{share_id}"TypeScript
Python
Go
PHP
Ruby
Java
Responses
204
403
404
GET
https://lucidace.com /v1/projects/{project_id}/web/shares Scope insight:readParameters
project_idstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/web/shares"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Page of Share, newest first
Same as 200 · GET /v1/projects/{project_id}/tenants/{tenant_id}/shares
404
POST
https://lucidace.com /v1/projects/{project_id}/web/shares Scope insight:writeParameters
project_idstringpathrequiredRequest body
application/json
allowed_originsstring[]Embeds only: origins (
https://app.example.com) allowed to frame the view; empty allows any.expires_in_daysintegerLifetime in days (default 7, at most 90).
never_expiresbooleanNo expiry at all; needs the org setting
permanent_shares (403 otherwise).optionsobjectDisplay options of the public view and embed.
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.passwordstringViewers must enter this password (8 to 200 characters); stored only as an argon2id hash.
{
"allowed_origins": [
"string"
],
"expires_in_days": 0,
"never_expires": true,
"options": {
"hide_branding": true,
"hide_legend": true,
"lock_filters": {},
"show_queries": true,
"show_recordings": true,
"show_rows": true,
"theme": "string",
"viewer_filters": true
},
"password": "string"
}Code samples
cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/web/shares" \
-H "Content-Type: application/json" \
-d '{"allowed_origins":["string"],"expires_in_days":0,"never_expires":true,"options":{"hide_branding":true,"hide_legend":true,"lock_filters":{},"show_queries":true,"show_recordings":true,"show_rows":true,"theme":"string","viewer_filters":true},"password":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201
Example
{
"allowed_origins": [
"string"
],
"created_at": "2024-01-01T00:00:00Z",
"expires_at": "2024-01-01T00:00:00Z",
"id": "string",
"options": {},
"password_protected": true,
"resource_id": "string",
"resource_type": "string",
"revoked_at": "2024-01-01T00:00:00Z",
"token": "string",
"url": "string"
}Schema
allowed_originsstring[]requiredOrigins allowed to frame the embed (empty: any).
created_atstringrequiredexpires_atstringidstringrequiredoptionsobjectrequired{hide_branding?, hide_legend?, theme?: light|dark|system}.password_protectedbooleanrequiredViewers must enter a password first.
resource_idstringrequiredresource_typestringrequiredrevoked_atstringtokenstringrequiredShown once; only its hash is stored.
urlstringThe public page, absolute from
LC_PUBLIC_URL (/share/<kind>/<token>).400
403
404
Updated