guides

Embed
Preview of the card
<a href="https://lucidace.com/docs/ref-guides"><img src="https://lucidace.com/docs/_api/public/orgs/af34862a-c837-4478-8335-0505efe40459/spaces/da916cd3-c0fc-4b63-b971-b3c13623daf3/pages/ab75c966-4170-490b-b77f-6a922f366adf/social-card.svg?v=3e7ae33eec8b" alt="guides" width="600" height="315"></a>
GEThttps://lucidace.com/v1/projects/{project_id}/guides/{id}/dependenciesScope *:read

Parameters

project_idstringpathrequired
idstringpathrequired

Code 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_idstringrequired
referencesDependency[]required
Show child parameters
guide_idstringrequired
kindstringrequired
namestringrequired
statusstringrequired
step_idstring
The step that holds the reference (module and button references).
viastringrequired
module (resource center / launcher item), seen_guides, not_seen_guides or button.
404
POSThttps://lucidace.com/v1/projects/{project_id}/guides/{id}/duplicateScope *:write

Parameters

project_idstringpathrequired
idstringpathrequired

Request body

application/json
namestring
Name of the copy (default <name> (copy)).
project_idstring
Target 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[]required
Project-bound references removed from a cross-project copy (cohorts, guides, theme, QA users).
guideobjectrequired
Show child parameters
appearanceobjectrequired
created_atstringrequired
created_bystring
folderstring
Folder the guide is filed in (N-DAP-4).
idstringrequired
kindstringrequired
tooltip | modal | banner | tour | checklist | resource_center | announcement
namestringrequired
published_atstring
When the guide first went live.
statusstringrequired
draft | live | paused | archived
stepsobject[]required
Ordered steps {id, title?, body?, selector?, placement?, buttons?}.
tagsstring[]required
targetingobjectrequired
Same keys as survey targeting (url, flag_key, sample_pct, wait_days, ...).
updated_atstringrequired
versionintegerrequired
400
403
404
GEThttps://lucidace.com/v1/projects/{project_id}/guides/{id}/explainScope *:read

Parameters

project_idstringpathrequired
idstringpathrequired
distinct_idstringqueryrequired
urlstringquery
tzstringquery

Code 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
GEThttps://lucidace.com/v1/projects/{project_id}/guides/{id}/impactScope *:read

Parameters

project_idstringpathrequired
idstringpathrequired
goal_eventstringquery
window_daysintegerquery
fromstringquery
tostringquery

Code 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[]required
Show child parameters
convertedintegerrequired
keystringrequired
holdout or a guide id.
namestringrequired
peopleintegerrequired
ratenumber
rolestringrequired
holdout | variant.
baselinestring
The arm every other arm is compared with: the holdout when it has people, else the first variant.
comparisonsImpactComparison[]required
Show child parameters
armstringrequired
baselinestringrequired
chance_to_beatnumber
P(arm beats baseline), Beta(1,1) priors.
ci_highnumber
ci_lownumber
diffnumber
Rate difference, arm minus baseline.
p_valuenumber
relative_liftnumber
goal_eventstringrequired
guide_idstringrequired
window_daysintegerrequired
400
404
503
GEThttps://lucidace.com/v1/projects/{project_id}/guides/{id}/reachScope *:read

Parameters

project_idstringpathrequired
idstringpathrequired

Code 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_sharenumberrequired
Share of the A/B group this variant gets (1 without a group).
active_peopleintegerrequired
audience_peopleintegerrequired
People in the targeted cohorts (or all active) and outside the excluded ones, project exclusions included.
basestringrequired
cohorts (members of the targeted cohorts) or active (people active in 30 days).
estimated_peopleintegerrequired
audience_people x sample x (1 - holdout) x ab_share, rounded.
holdout_pctnumberrequired
page_rulesstring[]required
Rules the estimate cannot see (decided on the page): url, flag, group filters, devices, seen / not seen.
sample_pctnumberrequired
404
503
GEThttps://lucidace.com/v1/projects/{project_id}/guides/{id}/resultsScope *:read

Parameters

project_idstringpathrequired
idstringpathrequired
fromstringquery
tostringquery

Code 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_peopleintegerrequired
completion_ratenumber
completed_people / shown_people.
dailyGuideDay[]required
Per day (project time zone) in the range, oldest first; days without events are absent.
Show child parameters
completed_peopleintegerrequired
daystringrequired
YYYY-MM-DD.
dismissed_peopleintegerrequired
shown_peopleintegerrequired
dismissed_peopleintegerrequired
guide_idstringrequired
kindstringrequired
searchobjectrequired
Resource-center searches ($guide_search, N-DAP-12).
Show child parameters
answer_ratenumber
answered / searches.
answeredintegerrequired
Searches the AI answered.
helpfulintegerrequired
not_helpfulintegerrequired
peopleintegerrequired
searchesintegerrequired
shown_eventsintegerrequired
shown_peopleintegerrequired
stepsStepResult[]required
Show child parameters
dismissed_peopleintegerrequired
People who dismissed the guide while on this step.
dropoff_ratenumber
Share lost since the previous step (the first step against shown_people); never negative.
idstringrequired
indexintegerrequired
miss_ratenumber
target_missing_people over the people who reached the step (or missed it).
peopleintegerrequired
Distinct persons that reached (tour) or completed (checklist) this step.
reach_ratenumber
people / shown_people.
target_missing_peopleintegerrequired
People whose anchored target was not found before wait_ms ($guide_target_missing, N-DAP-2).
titlestringrequired
validation_failed_peopleintegerrequired
People who failed a format rule on this step ($guide_validation_failed, P-L9).
worst_dropoff_stepinteger
Index of the step with the largest dropoff_rate, when any step lost people.
worst_miss_stepinteger
Index of the step with the highest miss_rate when any target went missing.
400
404
503

Updated