persons

Embed
Preview of the card
<a href="https://lucidace.com/docs/ref-persons"><img src="https://lucidace.com/docs/_api/public/orgs/af34862a-c837-4478-8335-0505efe40459/spaces/da916cd3-c0fc-4b63-b971-b3c13623daf3/pages/8acd2112-1079-438f-8d32-0eeb8a399af3/social-card.svg?v=3e7ae33eec8b" alt="persons" width="600" height="315"></a>
POSThttps://lucidace.com/v1/projects/{project_id}/persons/{id}/unmergeScope person:write

Revert the merge of `old_person_id` into this person; audited as `person.unmerge`.

Parameters

project_idstringpathrequired
idstringpathrequired

Request body

application/json
old_person_idstringrequired
The 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_idstringrequired
restored_distinct_idsintegerrequired
Distinct ids re-pointed at the restored person.
403
404
503
GEThttps://lucidace.com/v1/projects/{project_id}/persons/{id}/watchtower-issuesScope person:read

Parameters

project_idstringpathrequired
idstringpathrequired
limitintegerquery
cursorstringquery

Code 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[]required
Show child parameters
issue_idstringrequired
messagestringrequired
occurrencesintegerrequired
How often the person hit it.
seen_atstringrequired
Time of the latest sighting.
session_idstringrequired
Session of the latest sighting (open its replay).
trace_idstring
urlstring
Watchtower deep link; null when the project has no Watchtower connector.
next_cursorstring
404
503
GEThttps://lucidace.com/v1/projects/{project_id}/profiles/{distinct_id}

Parameters

project_idstringpathrequired
distinct_idstringpathrequired
eventsintegerquery
fewer 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_secsintegerrequired
Seconds the gateway edge may cache this answer.
cohortsProfileCohort[]required
Current cohort memberships (persons only; empty when switched off).
Show child parameters
idstringrequired
namestringrequired
distinct_idstring
enabledbooleanrequired
The project's API switch (members may preview while it is off).
eventsProfileEvent[]required
Newest first, at most events_limit from the last 90 days.
Show child parameters
eventstringrequired
propertiesobjectrequired
Only the allowlisted event properties.
timestampstringrequired
group_keystring
group_type_indexinteger
person_idstring
propertiesobjectrequired
Allowlisted properties only (PII-tagged values stay masked without pii:read).
traitsobjectrequired
Computed trait property -> value (enabled traits of this entity that have a value).
typestringrequired
person or group.
404
503
Updated