product-areas

Embed
Preview of the card
<a href="https://lucidace.com/docs/ref-product-areas"><img src="https://lucidace.com/docs/_api/public/orgs/af34862a-c837-4478-8335-0505efe40459/spaces/da916cd3-c0fc-4b63-b971-b3c13623daf3/pages/74781ca3-85fe-4ca1-8581-570aaa4065b1/social-card.svg?v=3e7ae33eec8b" alt="product-areas" width="600" height="315"></a>
GEThttps://lucidace.com/v1/projects/{project_id}/engagement-scoreScope insight:read

Parameters

project_idstringpathrequired
fromstringquery
tostringquery

Code 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_usersintegerrequired
adoptionnumber
core_eventsstring[]required
dropped_usersintegerrequired
growthnumber
new_usersintegerrequired
quick_rationumber
(new + recovered) / dropped; None when nobody dropped.
recovered_usersintegerrequired
scorenumber
Mean of adoption, stickiness and growth (0 to 100); None without core events.
stickinessnumber
400
404
503
GEThttps://lucidace.com/v1/projects/{project_id}/product-areasScope insight:read

Parameters

project_idstringpathrequired
limitintegerquery
cursorstringquery

Code 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[]required
Show child parameters
action_idsstring[]required
created_atstringrequired
descriptionstringrequired
eventsstring[]required
idstringrequired
namestringrequired
updated_atstringrequired
url_patternsstring[]required
$pathname exact paths or * globs.
next_cursorstring
404
POSThttps://lucidace.com/v1/projects/{project_id}/product-areasScope insight:write

Parameters

project_idstringpathrequired

Request body

application/json
action_idsstring[]
descriptionstring
eventsstring[]
namestringrequired
url_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[]required
created_atstringrequired
descriptionstringrequired
eventsstring[]required
idstringrequired
namestringrequired
updated_atstringrequired
url_patternsstring[]required
$pathname exact paths or * globs.
400
403
404
409
GEThttps://lucidace.com/v1/projects/{project_id}/product-areas/{id}Scope insight:read

Parameters

project_idstringpathrequired
idstringpathrequired

Code samples

cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/product-areas/{id}"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

404
PUThttps://lucidace.com/v1/projects/{project_id}/product-areas/{id}Scope insight:write

Parameters

project_idstringpathrequired
idstringpathrequired

Request body

application/json
action_idsstring[]
descriptionstring
eventsstring[]
namestringrequired
url_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

Responses

400
403
404
409
DELETEhttps://lucidace.com/v1/projects/{project_id}/product-areas/{id}Scope insight:write

Parameters

project_idstringpathrequired
idstringpathrequired

Code 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
GEThttps://lucidace.com/v1/projects/{project_id}/product-areas/{id}/reportScope insight:read

Parameters

project_idstringpathrequired
idstringpathrequired
fromstringquery
tostringquery
weeksintegerquery

Code 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_usersintegerrequired
adoptionnumber
area_users / active_users
area_sessionsintegerrequired
area_usersintegerrequired
frustrated_sessionsintegerrequired
frustration_signalsintegerrequired
Rage / dead click signals in sessions that used the area.
retentionnumber[]required
retention[k-1]: share of area users back in the area k weeks after their first week.
stickinessnumber
Mean daily area users / area users in the range.
400
404
503
Updated