product-areas
GET
https://lucidace.com /v1/projects/{project_id}/engagement-score Scope insight:readParameters
project_idstringpathrequiredfromstringquerytostringqueryCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/engagement-score"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Product Engagement Score; all null until core events are flagged
Example
{
"active_users": 0,
"adoption": 0,
"core_events": [
"string"
],
"dropped_users": 0,
"growth": 0,
"new_users": 0,
"quick_ratio": 0,
"recovered_users": 0,
"score": 0,
"stickiness": 0
}Schema
active_usersintegerrequiredadoptionnumbercore_eventsstring[]requireddropped_usersintegerrequiredgrowthnumbernew_usersintegerrequiredquick_rationumber(new + recovered) / dropped; None when nobody dropped.recovered_usersintegerrequiredscorenumberMean of adoption, stickiness and growth (0 to 100);
None without core events.stickinessnumber400
404
503
GET
https://lucidace.com /v1/projects/{project_id}/product-areas Scope insight:readParameters
project_idstringpathrequiredlimitintegerquerycursorstringqueryCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/product-areas"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200
Example
{
"data": [
{
"action_ids": [
"string"
],
"created_at": "2024-01-01T00:00:00Z",
"description": "string",
"events": [
"string"
],
"id": "string",
"name": "string",
"updated_at": "2024-01-01T00:00:00Z",
"url_patterns": [
"string"
]
}
],
"next_cursor": "string"
}Schema
dataobject[]requiredShow child parameters
action_idsstring[]requiredcreated_atstringrequireddescriptionstringrequiredeventsstring[]requiredidstringrequirednamestringrequiredupdated_atstringrequiredurl_patternsstring[]required$pathname exact paths or * globs.next_cursorstring404
POST
https://lucidace.com /v1/projects/{project_id}/product-areas Scope insight:writeParameters
project_idstringpathrequiredRequest body
application/json
action_idsstring[]descriptionstringeventsstring[]namestringrequiredurl_patternsstring[]$pathname exact paths or * globs (/billing/*).{
"action_ids": [
"string"
],
"description": "string",
"events": [
"string"
],
"name": "string",
"url_patterns": [
"string"
]
}Code samples
cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/product-areas" \
-H "Content-Type: application/json" \
-d '{"action_ids":["string"],"description":"string","events":["string"],"name":"string","url_patterns":["string"]}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201
Example
{
"action_ids": [
"string"
],
"created_at": "2024-01-01T00:00:00Z",
"description": "string",
"events": [
"string"
],
"id": "string",
"name": "string",
"updated_at": "2024-01-01T00:00:00Z",
"url_patterns": [
"string"
]
}Schema
action_idsstring[]requiredcreated_atstringrequireddescriptionstringrequiredeventsstring[]requiredidstringrequirednamestringrequiredupdated_atstringrequiredurl_patternsstring[]required$pathname exact paths or * globs.400
403
404
409
GET
https://lucidace.com /v1/projects/{project_id}/product-areas/{id} Scope insight:readParameters
project_idstringpathrequiredidstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/product-areas/{id}"TypeScript
Python
Go
PHP
Ruby
Java
PUT
https://lucidace.com /v1/projects/{project_id}/product-areas/{id} Scope insight:writeParameters
project_idstringpathrequiredidstringpathrequiredRequest body
application/json
action_idsstring[]descriptionstringeventsstring[]namestringrequiredurl_patternsstring[]$pathname exact paths or * globs (/billing/*).{
"action_ids": [
"string"
],
"description": "string",
"events": [
"string"
],
"name": "string",
"url_patterns": [
"string"
]
}Code samples
cURL
curl -X PUT "https://lucidace.com/v1/projects/{project_id}/product-areas/{id}" \
-H "Content-Type: application/json" \
-d '{"action_ids":["string"],"description":"string","events":["string"],"name":"string","url_patterns":["string"]}'TypeScript
Python
Go
PHP
Ruby
Java
DELETE
https://lucidace.com /v1/projects/{project_id}/product-areas/{id} Scope insight:writeParameters
project_idstringpathrequiredidstringpathrequiredCode samples
cURL
curl -X DELETE "https://lucidace.com/v1/projects/{project_id}/product-areas/{id}"TypeScript
Python
Go
PHP
Ruby
Java
Responses
204
403
404
GET
https://lucidace.com /v1/projects/{project_id}/product-areas/{id}/report Scope insight:readParameters
project_idstringpathrequiredidstringpathrequiredfromstringquerytostringqueryweeksintegerqueryCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/product-areas/{id}/report"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200
Example
{
"active_users": 0,
"adoption": 0,
"area_sessions": 0,
"area_users": 0,
"frustrated_sessions": 0,
"frustration_signals": 0,
"retention": [
0
],
"stickiness": 0
}Schema
active_usersintegerrequiredadoptionnumberarea_users / active_usersarea_sessionsintegerrequiredarea_usersintegerrequiredfrustrated_sessionsintegerrequiredfrustration_signalsintegerrequiredRage / dead click signals in sessions that used the area.
retentionnumber[]requiredretention[k-1]: share of area users back in the area k weeks after their first week.stickinessnumberMean daily area users / area users in the range.
400
404
503
Updated