guides
GET
https://lucidace.com /v1/projects/{project_id}/guides/{id}/results/accounts Scope *:readParameters
project_idstringpathrequiredidstringpathrequiredgroup_type_indexintegerquerybreakdownstringqueryfromstringquerytostringqueryCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/guides/{id}/results/accounts"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200
Example
{
"accounts": [
{
"account": "string",
"bucket": "string",
"completed_people": 0,
"completion_rate": 0,
"dismissed_people": 0,
"dropoff_rate": 0,
"shown_people": 0
}
],
"accounts_completed": 0,
"accounts_reached": 0,
"breakdown": "string",
"buckets": [
{
"accounts": 0,
"bucket": "string",
"completed_people": 0,
"completion_rate": 0,
"shown_people": 0
}
],
"group_type_index": 0,
"guide_id": "string"
}Schema
accountsAccountRow[]requiredBusiest accounts first (up to the query row limit).
Show child parameters
accountstringrequiredbucketstringrequiredValue of the breakdown property for this account ("" without one).
completed_peopleintegerrequiredcompletion_ratenumbercompleted_people / shown_people.dismissed_peopleintegerrequireddropoff_ratenumber1 - completion_rate: people shown the guide who did not finish it.shown_peopleintegerrequiredaccounts_completedintegerrequiredAccounts where at least one person completed it.
accounts_reachedintegerrequiredAccounts with at least one person shown the guide.
breakdownstringbucketsBucketRow[]requiredPer breakdown value, most shown first (empty without
breakdown).Show child parameters
accountsintegerrequiredbucketstringrequiredcompleted_peopleintegerrequiredcompletion_ratenumbershown_peopleintegerrequiredgroup_type_indexintegerrequiredguide_idstringrequired400
404
503
GET
https://lucidace.com /v1/projects/{project_id}/guides/{id}/revisions Scope *:readParameters
project_idstringpathrequiredidstringpathrequiredlimitintegerquerycursorstringqueryCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/guides/{id}/revisions"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Newest first
Example
{
"data": [
{
"appearance": {},
"created_at": "2024-01-01T00:00:00Z",
"created_by": "string",
"guide_id": "string",
"id": "string",
"kind": "string",
"name": "string",
"reason": "string",
"restored_from": "string",
"steps": [
{}
],
"targeting": {},
"version": 0
}
],
"next_cursor": "string"
}Schema
dataobject[]requiredShow child parameters
appearanceobjectrequiredcreated_atstringrequiredcreated_bystringguide_idstringrequiredidstringrequiredkindstringrequirednamestringrequiredreasonstringrequiredcreate | update | restorerestored_fromstringThe revision a
restore copied.stepsobject[]requiredtargetingobjectrequiredversionintegerrequiredThe guide
version this revision was saved as.next_cursorstring404
GET
https://lucidace.com /v1/projects/{project_id}/guides/{id}/revisions/{rid} Scope *:readParameters
project_idstringpathrequiredidstringpathrequiredridstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/guides/{id}/revisions/{rid}"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200
Example
{
"appearance": {},
"created_at": "2024-01-01T00:00:00Z",
"created_by": "string",
"guide_id": "string",
"id": "string",
"kind": "string",
"name": "string",
"reason": "string",
"restored_from": "string",
"steps": [
{}
],
"targeting": {},
"version": 0
}Schema
appearanceobjectrequiredcreated_atstringrequiredcreated_bystringguide_idstringrequiredidstringrequiredkindstringrequirednamestringrequiredreasonstringrequiredcreate | update | restorerestored_fromstringThe revision a
restore copied.stepsobject[]requiredtargetingobjectrequiredversionintegerrequiredThe guide
version this revision was saved as.404
GET
https://lucidace.com /v1/projects/{project_id}/guides/{id}/revisions/{rid}/diff Scope *:readParameters
project_idstringpathrequiredidstringpathrequiredridstringpathrequiredagainststringqueryCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/guides/{id}/revisions/{rid}/diff"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200
Example
{
"appearance_keys": [
"string"
],
"fields": [
"string"
],
"from": "string",
"steps": {
"added": [
"string"
],
"changed": [
"string"
],
"removed": [
"string"
],
"reordered": true
},
"targeting_keys": [
"string"
],
"to": "string"
}Schema
appearance_keysstring[]requiredfieldsstring[]requiredTop-level fields that differ:
name, kind, targeting, appearance.fromstringrequiredstepsobjectrequiredShow child parameters
addedstring[]requiredStep ids only in the newer document.
changedstring[]requiredStep ids in both whose content differs.
removedstring[]requiredStep ids only in the older document.
reorderedbooleanrequiredThe step order changed (ids in both, different sequence).
targeting_keysstring[]requiredTargeting / appearance keys that differ (added, removed or changed).
tostringrequiredThe other revision id, or
current for the guide as it is now.404
POST
https://lucidace.com /v1/projects/{project_id}/guides/{id}/revisions/{rid}/restore Scope *:writeParameters
project_idstringpathrequiredidstringpathrequiredridstringpathrequiredCode samples
cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/guides/{id}/revisions/{rid}/restore"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 the guide with the revision's document; a new revision is recorded
Example
{
"appearance": {},
"created_at": "2024-01-01T00:00:00Z",
"created_by": "string",
"folder": "string",
"id": "string",
"kind": "string",
"name": "string",
"published_at": "2024-01-01T00:00:00Z",
"status": "string",
"steps": [
{}
],
"tags": [
"string"
],
"targeting": {},
"updated_at": "2024-01-01T00:00:00Z",
"version": 0
}Schema
appearanceobjectrequiredcreated_atstringrequiredcreated_bystringfolderstringFolder the guide is filed in (N-DAP-4).
idstringrequiredkindstringrequiredtooltip | modal | banner | tour | checklist | resource_center | announcementnamestringrequiredpublished_atstringWhen the guide first went live.
statusstringrequireddraft | live | paused | archivedstepsobject[]requiredOrdered steps
{id, title?, body?, selector?, placement?, buttons?}.tagsstring[]requiredtargetingobjectrequiredSame keys as survey targeting (
url, flag_key, sample_pct, wait_days, ...).updated_atstringrequiredversionintegerrequired403
404
POST
https://lucidace.com /v1/projects/{project_id}/guides/{id}/start Scope *:writeParameters
project_idstringpathrequiredidstringpathrequiredCode samples
cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/guides/{id}/start"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 now live; served by the gateway
Same as 200 · POST /v1/projects/{project_id}/guides/{id}/revisions/{rid}/restore
404
409
POST
https://lucidace.com /v1/projects/{project_id}/guides/{id}/stop Scope *:writeParameters
project_idstringpathrequiredidstringpathrequiredCode samples
cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/guides/{id}/stop"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Stops serving: the guide moves to
paused (not terminal; start resumes it)Same as 200 · POST /v1/projects/{project_id}/guides/{id}/revisions/{rid}/restore
404
409
GET
https://lucidace.com /v1/projects/{project_id}/settings/guides Scope *:readParameters
project_idstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/settings/guides"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200
Example
{
"ai_answers": true,
"ai_answers_per_minute": 0,
"exclusions": {
"cohort_ids": [
"string"
],
"url_patterns": [
"string"
]
},
"guide_search_capture_query": true,
"health_miss_rate": 0,
"health_no_show_days": 0
}Schema
ai_answersbooleanResource centers may ask the AI over knowledge sources marked public (default false).
ai_answers_per_minuteintegerAI answers one person may ask per minute, 1 to 60 (default 5).
exclusionsGuideExclusionsShow child parameters
cohort_idsstring[]Up to 20 cohort ids.
url_patternsstring[]Up to 50 URL patterns:
* matches any characters; a pattern starting with / is matched against the path, any other against the full URL.guide_search_capture_queryboolean$guide_search events carry the query text (default false: only its length).health_miss_ratenumberGuide health (N-DAP-2): a step whose target is missing for at least this share of the people reaching it is flagged, 0.01 to 1 (default 0.2).
health_no_show_daysintegerA live guide shown to nobody for this many days is flagged, 1 to 90 (default 7).
404
Updated