taxonomy

Embed
Preview of the card
<a href="https://lucidace.com/docs/ref-taxonomy"><img src="https://lucidace.com/docs/_api/public/orgs/af34862a-c837-4478-8335-0505efe40459/spaces/da916cd3-c0fc-4b63-b971-b3c13623daf3/pages/c5dc3a1d-51b3-496c-aa50-15d3d4cca3ff/social-card.svg?v=3e7ae33eec8b" alt="taxonomy" width="600" height="315"></a>
GEThttps://lucidace.com/v1/projects/{project_id}/data-viewsScope insight:read

Parameters

project_idstringpathrequired
limitintegerquery
cursorstringquery

Code samples

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

Responses

200
Example
{
  "data": [
    {
      "attribution": {},
      "created_at": "2024-01-01T00:00:00Z",
      "created_by": "string",
      "description": "string",
      "enforced": true,
      "events": [
        "string"
      ],
      "formats": {},
      "id": "string",
      "is_default": true,
      "labels": {},
      "name": "string",
      "persistence": {},
      "properties": [
        "string"
      ],
      "team_ids": [
        "string"
      ],
      "updated_at": "2024-01-01T00:00:00Z"
    }
  ],
  "next_cursor": "string"
}
Schema
dataobject[]required
Show child parameters
attributionobjectrequired
Builder defaults: {funnel_breakdown, lookback_days}.
created_atstringrequired
created_bystring
descriptionstringrequired
enforcedbooleanrequired
Restrict non-admin members of team_ids to this view.
eventsstring[]required
Included event names; empty = every event. A trailing * is a prefix pattern.
formatsobjectrequired
Value formats by property (number | percent | currency:<ISO> | duration | date | bytes).
idstringrequired
is_defaultbooleanrequired
The project-wide default for callers no team view applies to.
labelsobjectrequired
Display names by event or property name.
namestringrequired
persistenceobjectrequired
Property persistence defaults: {allocation, expiration}.
propertiesstring[]required
Included property keys; empty = every property. A trailing * is a prefix pattern.
team_idsstring[]required
Teams this view is the default for (and, when enforced, restricted to).
updated_atstringrequired
next_cursorstring
404
POSThttps://lucidace.com/v1/projects/{project_id}/data-viewsScope admin

Parameters

project_idstringpathrequired

Request body

application/json
attributionobject
descriptionstring
enforcedboolean
eventsstring[]
formatsobject
is_defaultboolean
labelsobject
namestringrequired
persistenceobject
propertiesstring[]
team_idsstring[]
{
  "attribution": {},
  "description": "string",
  "enforced": true,
  "events": [
    "string"
  ],
  "formats": {},
  "is_default": true,
  "labels": {},
  "name": "string",
  "persistence": {},
  "properties": [
    "string"
  ],
  "team_ids": [
    "string"
  ]
}

Code samples

cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/data-views" \
  -H "Content-Type: application/json" \
  -d '{"attribution":{},"description":"string","enforced":true,"events":["string"],"formats":{},"is_default":true,"labels":{},"name":"string","persistence":{},"properties":["string"],"team_ids":["string"]}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

201
Example
{
  "attribution": {},
  "created_at": "2024-01-01T00:00:00Z",
  "created_by": "string",
  "description": "string",
  "enforced": true,
  "events": [
    "string"
  ],
  "formats": {},
  "id": "string",
  "is_default": true,
  "labels": {},
  "name": "string",
  "persistence": {},
  "properties": [
    "string"
  ],
  "team_ids": [
    "string"
  ],
  "updated_at": "2024-01-01T00:00:00Z"
}
Schema
attributionobjectrequired
Builder defaults: {funnel_breakdown, lookback_days}.
created_atstringrequired
created_bystring
descriptionstringrequired
enforcedbooleanrequired
Restrict non-admin members of team_ids to this view.
eventsstring[]required
Included event names; empty = every event. A trailing * is a prefix pattern.
formatsobjectrequired
Value formats by property (number | percent | currency:<ISO> | duration | date | bytes).
idstringrequired
is_defaultbooleanrequired
The project-wide default for callers no team view applies to.
labelsobjectrequired
Display names by event or property name.
namestringrequired
persistenceobjectrequired
Property persistence defaults: {allocation, expiration}.
propertiesstring[]required
Included property keys; empty = every property. A trailing * is a prefix pattern.
team_idsstring[]required
Teams this view is the default for (and, when enforced, restricted to).
updated_atstringrequired
400
403
404
409
GEThttps://lucidace.com/v1/projects/{project_id}/data-views/activeScope insight:read

Parameters

project_idstringpathrequired

Code samples

cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/data-views/active"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200
Example
{
  "default_id": "string",
  "enforced_ids": [
    "string"
  ],
  "views": [
    {
      "attribution": {},
      "created_at": "2024-01-01T00:00:00Z",
      "created_by": "string",
      "description": "string",
      "enforced": true,
      "events": [
        "string"
      ],
      "formats": {},
      "id": "string",
      "is_default": true,
      "labels": {},
      "name": "string",
      "persistence": {},
      "properties": [
        "string"
      ],
      "team_ids": [
        "string"
      ],
      "updated_at": "2024-01-01T00:00:00Z"
    }
  ]
}
Schema
default_idstring
The view the builders start in: the caller's first team view, else the project default.
enforced_idsstring[]required
Views enforced on the caller; when non-empty the builders cannot leave them.
viewsDataView[]required
Every view of the project (the picker).
Show child parameters
attributionobjectrequired
Builder defaults: {funnel_breakdown, lookback_days}.
created_atstringrequired
created_bystring
descriptionstringrequired
enforcedbooleanrequired
Restrict non-admin members of team_ids to this view.
eventsstring[]required
Included event names; empty = every event. A trailing * is a prefix pattern.
formatsobjectrequired
Value formats by property (number | percent | currency:<ISO> | duration | date | bytes).
idstringrequired
is_defaultbooleanrequired
The project-wide default for callers no team view applies to.
labelsobjectrequired
Display names by event or property name.
namestringrequired
persistenceobjectrequired
Property persistence defaults: {allocation, expiration}.
propertiesstring[]required
Included property keys; empty = every property. A trailing * is a prefix pattern.
team_idsstring[]required
Teams this view is the default for (and, when enforced, restricted to).
updated_atstringrequired
404
GEThttps://lucidace.com/v1/projects/{project_id}/data-views/{view_id}Scope insight:read

Parameters

project_idstringpathrequired
view_idstringpathrequired

Code samples

cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/data-views/{view_id}"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

404
DELETEhttps://lucidace.com/v1/projects/{project_id}/data-views/{view_id}Scope admin

Parameters

project_idstringpathrequired
view_idstringpathrequired

Code samples

cURL
curl -X DELETE "https://lucidace.com/v1/projects/{project_id}/data-views/{view_id}"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

204
403
404
PATCHhttps://lucidace.com/v1/projects/{project_id}/data-views/{view_id}Scope admin

Parameters

project_idstringpathrequired
view_idstringpathrequired

Request body

application/json

Partial update: absent fields keep their value.

attributionobject
descriptionstring
enforcedboolean
eventsarray
formatsobject
is_defaultboolean
labelsobject
namestring
persistenceobject
propertiesarray
team_idsarray
{
  "attribution": {},
  "description": "string",
  "enforced": true,
  "events": [
    "string"
  ],
  "formats": {},
  "is_default": true,
  "labels": {},
  "name": "string",
  "persistence": {},
  "properties": [
    "string"
  ],
  "team_ids": [
    "string"
  ]
}

Code samples

cURL
curl -X PATCH "https://lucidace.com/v1/projects/{project_id}/data-views/{view_id}" \
  -H "Content-Type: application/json" \
  -d '{"attribution":{},"description":"string","enforced":true,"events":["string"],"formats":{},"is_default":true,"labels":{},"name":"string","persistence":{},"properties":["string"],"team_ids":["string"]}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

400
403
404
409
GEThttps://lucidace.com/v1/projects/{project_id}/event-definitionsScope insight:read

Parameters

project_idstringpathrequired
qstringquery
hiddenbooleanquery
verifiedbooleanquery
limitintegerquery
cursorstringquery

Code samples

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

Responses

200 Page of EventDefinition by name (filter with hidden / verified): stored definitions plus events seen in ClickHouse in the last 30 days
Example
{
  "data": [
    {
      "deprecated": true,
      "description": "string",
      "hidden": true,
      "is_core": true,
      "last_seen_at": "2024-01-01T00:00:00Z",
      "name": "string",
      "owner_user_id": "string",
      "preview_type": "string",
      "tags": [
        "string"
      ],
      "updated_at": "2024-01-01T00:00:00Z",
      "verified": true,
      "volume_30d": 0
    }
  ],
  "next_cursor": "string"
}
Schema
dataEventDefinition[]required
Show child parameters
deprecatedbooleanrequired
Superseded: still queryable, but flagged in pickers and the inbox.
descriptionstringrequired
hiddenbooleanrequired
is_corebooleanrequired
Core event: counts toward the Product Engagement Score's adoption.
last_seen_atstring
namestringrequired
owner_user_idstring
preview_typestring
Content type of the image preview (GET .../preview); None = no preview.
tagsstring[]required
updated_atstringrequired
verifiedbooleanrequired
volume_30dintegerrequired
next_cursorstring
404

Updated