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}/results/accountsScope *:read

Parameters

project_idstringpathrequired
idstringpathrequired
group_type_indexintegerquery
breakdownstringquery
fromstringquery
tostringquery

Code 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[]required
Busiest accounts first (up to the query row limit).
Show child parameters
accountstringrequired
bucketstringrequired
Value of the breakdown property for this account ("" without one).
completed_peopleintegerrequired
completion_ratenumber
completed_people / shown_people.
dismissed_peopleintegerrequired
dropoff_ratenumber
1 - completion_rate: people shown the guide who did not finish it.
shown_peopleintegerrequired
accounts_completedintegerrequired
Accounts where at least one person completed it.
accounts_reachedintegerrequired
Accounts with at least one person shown the guide.
breakdownstring
bucketsBucketRow[]required
Per breakdown value, most shown first (empty without breakdown).
Show child parameters
accountsintegerrequired
bucketstringrequired
completed_peopleintegerrequired
completion_ratenumber
shown_peopleintegerrequired
group_type_indexintegerrequired
guide_idstringrequired
400
404
503
GEThttps://lucidace.com/v1/projects/{project_id}/guides/{id}/revisionsScope *:read

Parameters

project_idstringpathrequired
idstringpathrequired
limitintegerquery
cursorstringquery

Code 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[]required
Show child parameters
appearanceobjectrequired
created_atstringrequired
created_bystring
guide_idstringrequired
idstringrequired
kindstringrequired
namestringrequired
reasonstringrequired
create | update | restore
restored_fromstring
The revision a restore copied.
stepsobject[]required
targetingobjectrequired
versionintegerrequired
The guide version this revision was saved as.
next_cursorstring
404
GEThttps://lucidace.com/v1/projects/{project_id}/guides/{id}/revisions/{rid}Scope *:read

Parameters

project_idstringpathrequired
idstringpathrequired
ridstringpathrequired

Code 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
appearanceobjectrequired
created_atstringrequired
created_bystring
guide_idstringrequired
idstringrequired
kindstringrequired
namestringrequired
reasonstringrequired
create | update | restore
restored_fromstring
The revision a restore copied.
stepsobject[]required
targetingobjectrequired
versionintegerrequired
The guide version this revision was saved as.
404
GEThttps://lucidace.com/v1/projects/{project_id}/guides/{id}/revisions/{rid}/diffScope *:read

Parameters

project_idstringpathrequired
idstringpathrequired
ridstringpathrequired
againststringquery

Code 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[]required
fieldsstring[]required
Top-level fields that differ: name, kind, targeting, appearance.
fromstringrequired
stepsobjectrequired
Show child parameters
addedstring[]required
Step ids only in the newer document.
changedstring[]required
Step ids in both whose content differs.
removedstring[]required
Step ids only in the older document.
reorderedbooleanrequired
The step order changed (ids in both, different sequence).
targeting_keysstring[]required
Targeting / appearance keys that differ (added, removed or changed).
tostringrequired
The other revision id, or current for the guide as it is now.
404
POSThttps://lucidace.com/v1/projects/{project_id}/guides/{id}/revisions/{rid}/restoreScope *:write

Parameters

project_idstringpathrequired
idstringpathrequired
ridstringpathrequired

Code 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
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
403
404
POSThttps://lucidace.com/v1/projects/{project_id}/guides/{id}/startScope *:write

Parameters

project_idstringpathrequired
idstringpathrequired

Code samples

cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/guides/{id}/start"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

404
409
POSThttps://lucidace.com/v1/projects/{project_id}/guides/{id}/stopScope *:write

Parameters

project_idstringpathrequired
idstringpathrequired

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

Parameters

project_idstringpathrequired

Code 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_answersboolean
Resource centers may ask the AI over knowledge sources marked public (default false).
ai_answers_per_minuteinteger
AI answers one person may ask per minute, 1 to 60 (default 5).
exclusionsGuideExclusions
Show 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_ratenumber
Guide 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_daysinteger
A live guide shown to nobody for this many days is flagged, 1 to 90 (default 7).
404

Updated