guides
GET
https://lucidace.com /v1/projects/{project_id}/guides/{id}/dependencies Scope *:readParameters
project_idstringpathrequiredidstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/guides/{id}/dependencies"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 guides that would lose this one on archive or delete
Example
{
"guide_id": "string",
"references": [
{
"guide_id": "string",
"kind": "string",
"name": "string",
"status": "string",
"step_id": "string",
"via": "string"
}
]
}Schema
guide_idstringrequiredreferencesDependency[]requiredShow child parameters
guide_idstringrequiredkindstringrequirednamestringrequiredstatusstringrequiredstep_idstringThe step that holds the reference (module and button references).
viastringrequiredmodule (resource center / launcher item), seen_guides, not_seen_guides or button.404
POST
https://lucidace.com /v1/projects/{project_id}/guides/{id}/duplicate Scope *:writeParameters
project_idstringpathrequiredidstringpathrequiredRequest body
application/json
namestringName of the copy (default
<name> (copy)).project_idstringTarget project (same organization; default this one).
{
"name": "string",
"project_id": "string"
}Code samples
cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/guides/{id}/duplicate" \
-H "Content-Type: application/json" \
-d '{"name":"string","project_id":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 a draft copy
Example
{
"dropped": [
"string"
],
"guide": {
"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
droppedstring[]requiredProject-bound references removed from a cross-project copy (cohorts, guides, theme, QA users).
guideobjectrequiredShow child parameters
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_atstringrequiredversionintegerrequired400
403
404
GET
https://lucidace.com /v1/projects/{project_id}/guides/{id}/explain Scope *:readParameters
project_idstringpathrequiredidstringpathrequireddistinct_idstringqueryrequiredurlstringquerytzstringqueryCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/guides/{id}/explain?distinct_id=<distinct_id>"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200
{guide_id, distinct_id, eligible, gates: [{rule, outcome: pass|fail|skip|client, detail}]}400
404
503
GET
https://lucidace.com /v1/projects/{project_id}/guides/{id}/impact Scope *:readParameters
project_idstringpathrequiredidstringpathrequiredgoal_eventstringquerywindow_daysintegerqueryfromstringquerytostringqueryCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/guides/{id}/impact"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200
Example
{
"arms": [
{
"converted": 0,
"key": "string",
"name": "string",
"people": 0,
"rate": 0,
"role": "string"
}
],
"baseline": "string",
"comparisons": [
{
"arm": "string",
"baseline": "string",
"chance_to_beat": 0,
"ci_high": 0,
"ci_low": 0,
"diff": 0,
"p_value": 0,
"relative_lift": 0
}
],
"goal_event": "string",
"guide_id": "string",
"window_days": 0
}Schema
armsImpactArm[]requiredShow child parameters
convertedintegerrequiredkeystringrequiredholdout or a guide id.namestringrequiredpeopleintegerrequiredratenumberrolestringrequiredholdout | variant.baselinestringThe arm every other arm is compared with: the holdout when it has people, else the first variant.
comparisonsImpactComparison[]requiredShow child parameters
armstringrequiredbaselinestringrequiredchance_to_beatnumberP(arm beats baseline), Beta(1,1) priors.
ci_highnumberci_lownumberdiffnumberRate difference, arm minus baseline.
p_valuenumberrelative_liftnumbergoal_eventstringrequiredguide_idstringrequiredwindow_daysintegerrequired400
404
503
GET
https://lucidace.com /v1/projects/{project_id}/guides/{id}/reach Scope *:readParameters
project_idstringpathrequiredidstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/guides/{id}/reach"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200
Example
{
"ab_share": 0,
"active_people": 0,
"audience_people": 0,
"base": "string",
"estimated_people": 0,
"holdout_pct": 0,
"page_rules": [
"string"
],
"sample_pct": 0
}Schema
ab_sharenumberrequiredShare of the A/B group this variant gets (1 without a group).
active_peopleintegerrequiredaudience_peopleintegerrequiredPeople in the targeted cohorts (or all active) and outside the excluded ones, project exclusions included.
basestringrequiredcohorts (members of the targeted cohorts) or active (people active in 30 days).estimated_peopleintegerrequiredaudience_people x sample x (1 - holdout) x ab_share, rounded.holdout_pctnumberrequiredpage_rulesstring[]requiredRules the estimate cannot see (decided on the page): url, flag, group filters, devices, seen / not seen.
sample_pctnumberrequired404
503
GET
https://lucidace.com /v1/projects/{project_id}/guides/{id}/results Scope *:readParameters
project_idstringpathrequiredidstringpathrequiredfromstringquerytostringqueryCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/guides/{id}/results"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200
Example
{
"completed_people": 0,
"completion_rate": 0,
"daily": [
{
"completed_people": 0,
"day": "string",
"dismissed_people": 0,
"shown_people": 0
}
],
"dismissed_people": 0,
"guide_id": "string",
"kind": "string",
"search": {
"answer_rate": 0,
"answered": 0,
"helpful": 0,
"not_helpful": 0,
"people": 0,
"searches": 0
},
"shown_events": 0,
"shown_people": 0,
"steps": [
{
"dismissed_people": 0,
"dropoff_rate": 0,
"id": "string",
"index": 0,
"miss_rate": 0,
"people": 0,
"reach_rate": 0,
"target_missing_people": 0,
"title": "string",
"validation_failed_people": 0
}
],
"worst_dropoff_step": 0,
"worst_miss_step": 0
}Schema
completed_peopleintegerrequiredcompletion_ratenumbercompleted_people / shown_people.dailyGuideDay[]requiredPer day (project time zone) in the range, oldest first; days without events are absent.
Show child parameters
completed_peopleintegerrequireddaystringrequiredYYYY-MM-DD.dismissed_peopleintegerrequiredshown_peopleintegerrequireddismissed_peopleintegerrequiredguide_idstringrequiredkindstringrequiredsearchobjectrequiredResource-center searches (
$guide_search, N-DAP-12).Show child parameters
answer_ratenumberanswered / searches.answeredintegerrequiredSearches the AI answered.
helpfulintegerrequirednot_helpfulintegerrequiredpeopleintegerrequiredsearchesintegerrequiredshown_eventsintegerrequiredshown_peopleintegerrequiredstepsStepResult[]requiredShow child parameters
dismissed_peopleintegerrequiredPeople who dismissed the guide while on this step.
dropoff_ratenumberShare lost since the previous step (the first step against
shown_people); never negative.idstringrequiredindexintegerrequiredmiss_ratenumbertarget_missing_people over the people who reached the step (or missed it).peopleintegerrequiredDistinct persons that reached (tour) or completed (checklist) this step.
reach_ratenumberpeople / shown_people.target_missing_peopleintegerrequiredPeople whose anchored target was not found before
wait_ms ($guide_target_missing, N-DAP-2).titlestringrequiredvalidation_failed_peopleintegerrequiredPeople who failed a format rule on this step (
$guide_validation_failed, P-L9).worst_dropoff_stepintegerIndex of the step with the largest
dropoff_rate, when any step lost people.worst_miss_stepintegerIndex of the step with the highest
miss_rate when any target went missing.400
404
503
Updated