persons
POST
https://lucidace.com /v1/projects/{project_id}/persons/{id}/unmerge Scope person:writeRevert the merge of `old_person_id` into this person; audited as `person.unmerge`.
Parameters
project_idstringpathrequiredidstringpathrequiredRequest body
application/json
old_person_idstringrequiredThe person that was merged into
{id} and should be split back out.{
"old_person_id": "string"
}Code samples
cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/persons/{id}/unmerge" \
-H "Content-Type: application/json" \
-d '{"old_person_id":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200
Example
{
"old_person_id": "string",
"restored_distinct_ids": 0
}Schema
old_person_idstringrequiredrestored_distinct_idsintegerrequiredDistinct ids re-pointed at the restored person.
403
404
503
GET
https://lucidace.com /v1/projects/{project_id}/persons/{id}/watchtower-issues Scope person:readParameters
project_idstringpathrequiredidstringpathrequiredlimitintegerquerycursorstringqueryCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/persons/{id}/watchtower-issues"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Page of PersonWatchtowerIssue, most recently seen first; cursor is the last issue id
Example
{
"data": [
{
"issue_id": "string",
"message": "string",
"occurrences": 0,
"seen_at": "string",
"session_id": "string",
"trace_id": "string",
"url": "string"
}
],
"next_cursor": "string"
}Schema
dataPersonWatchtowerIssue[]requiredShow child parameters
issue_idstringrequiredmessagestringrequiredoccurrencesintegerrequiredHow often the person hit it.
seen_atstringrequiredTime of the latest sighting.
session_idstringrequiredSession of the latest sighting (open its replay).
trace_idstringurlstringWatchtower deep link; null when the project has no Watchtower connector.
next_cursorstring404
503
GET
https://lucidace.com /v1/projects/{project_id}/profiles/{distinct_id} Parameters
project_idstringpathrequireddistinct_idstringpathrequiredeventsintegerqueryfewer last events than the project serves
Code samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/profiles/{distinct_id}"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Cache-Control max-age is the project's cache TTL
Example
{
"cache_ttl_secs": 0,
"cohorts": [
{
"id": "string",
"name": "string"
}
],
"distinct_id": "string",
"enabled": true,
"events": [
{
"event": "string",
"properties": {},
"timestamp": "string"
}
],
"group_key": "string",
"group_type_index": 0,
"person_id": "string",
"properties": {},
"traits": {},
"type": "string"
}Schema
cache_ttl_secsintegerrequiredSeconds the gateway edge may cache this answer.
cohortsProfileCohort[]requiredCurrent cohort memberships (persons only; empty when switched off).
Show child parameters
idstringrequirednamestringrequireddistinct_idstringenabledbooleanrequiredThe project's API switch (members may preview while it is off).
eventsProfileEvent[]requiredNewest first, at most
events_limit from the last 90 days.Show child parameters
eventstringrequiredpropertiesobjectrequiredOnly the allowlisted event properties.
timestampstringrequiredgroup_keystringgroup_type_indexintegerperson_idstringpropertiesobjectrequiredAllowlisted properties only (PII-tagged values stay masked without
pii:read).traitsobjectrequiredComputed trait property -> value (enabled traits of this entity that have a value).
typestringrequiredperson or group.404
503
Updated