taxonomy
GET
https://lucidace.com /v1/projects/{project_id}/data-views Scope insight:readParameters
project_idstringpathrequiredlimitintegerquerycursorstringqueryCode 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[]requiredShow child parameters
attributionobjectrequiredBuilder defaults:
{funnel_breakdown, lookback_days}.created_atstringrequiredcreated_bystringdescriptionstringrequiredenforcedbooleanrequiredRestrict non-admin members of
team_ids to this view.eventsstring[]requiredIncluded event names; empty = every event. A trailing
* is a prefix pattern.formatsobjectrequiredValue formats by property (
number | percent | currency:<ISO> | duration | date | bytes).idstringrequiredis_defaultbooleanrequiredThe project-wide default for callers no team view applies to.
labelsobjectrequiredDisplay names by event or property name.
namestringrequiredpersistenceobjectrequiredProperty persistence defaults:
{allocation, expiration}.propertiesstring[]requiredIncluded property keys; empty = every property. A trailing
* is a prefix pattern.team_idsstring[]requiredTeams this view is the default for (and, when
enforced, restricted to).updated_atstringrequirednext_cursorstring404
POST
https://lucidace.com /v1/projects/{project_id}/data-views Scope adminParameters
project_idstringpathrequiredRequest body
application/json
attributionobjectdescriptionstringenforcedbooleaneventsstring[]formatsobjectis_defaultbooleanlabelsobjectnamestringrequiredpersistenceobjectpropertiesstring[]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
attributionobjectrequiredBuilder defaults:
{funnel_breakdown, lookback_days}.created_atstringrequiredcreated_bystringdescriptionstringrequiredenforcedbooleanrequiredRestrict non-admin members of
team_ids to this view.eventsstring[]requiredIncluded event names; empty = every event. A trailing
* is a prefix pattern.formatsobjectrequiredValue formats by property (
number | percent | currency:<ISO> | duration | date | bytes).idstringrequiredis_defaultbooleanrequiredThe project-wide default for callers no team view applies to.
labelsobjectrequiredDisplay names by event or property name.
namestringrequiredpersistenceobjectrequiredProperty persistence defaults:
{allocation, expiration}.propertiesstring[]requiredIncluded property keys; empty = every property. A trailing
* is a prefix pattern.team_idsstring[]requiredTeams this view is the default for (and, when
enforced, restricted to).updated_atstringrequired400
403
404
409
GET
https://lucidace.com /v1/projects/{project_id}/data-views/active Scope insight:readParameters
project_idstringpathrequiredCode 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_idstringThe view the builders start in: the caller's first team view, else the project default.
enforced_idsstring[]requiredViews enforced on the caller; when non-empty the builders cannot leave them.
viewsDataView[]requiredEvery view of the project (the picker).
Show child parameters
attributionobjectrequiredBuilder defaults:
{funnel_breakdown, lookback_days}.created_atstringrequiredcreated_bystringdescriptionstringrequiredenforcedbooleanrequiredRestrict non-admin members of
team_ids to this view.eventsstring[]requiredIncluded event names; empty = every event. A trailing
* is a prefix pattern.formatsobjectrequiredValue formats by property (
number | percent | currency:<ISO> | duration | date | bytes).idstringrequiredis_defaultbooleanrequiredThe project-wide default for callers no team view applies to.
labelsobjectrequiredDisplay names by event or property name.
namestringrequiredpersistenceobjectrequiredProperty persistence defaults:
{allocation, expiration}.propertiesstring[]requiredIncluded property keys; empty = every property. A trailing
* is a prefix pattern.team_idsstring[]requiredTeams this view is the default for (and, when
enforced, restricted to).updated_atstringrequired404
GET
https://lucidace.com /v1/projects/{project_id}/data-views/{view_id} Scope insight:readParameters
project_idstringpathrequiredview_idstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/data-views/{view_id}"TypeScript
Python
Go
PHP
Ruby
Java
DELETE
https://lucidace.com /v1/projects/{project_id}/data-views/{view_id} Scope adminParameters
project_idstringpathrequiredview_idstringpathrequiredCode 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
PATCH
https://lucidace.com /v1/projects/{project_id}/data-views/{view_id} Scope adminParameters
project_idstringpathrequiredview_idstringpathrequiredRequest body
application/json
Partial update: absent fields keep their value.
attributionobjectdescriptionstringenforcedbooleaneventsarrayformatsobjectis_defaultbooleanlabelsobjectnamestringpersistenceobjectpropertiesarrayteam_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
GET
https://lucidace.com /v1/projects/{project_id}/event-definitions Scope insight:readParameters
project_idstringpathrequiredqstringqueryhiddenbooleanqueryverifiedbooleanquerylimitintegerquerycursorstringqueryCode 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[]requiredShow child parameters
deprecatedbooleanrequiredSuperseded: still queryable, but flagged in pickers and the inbox.
descriptionstringrequiredhiddenbooleanrequiredis_corebooleanrequiredCore event: counts toward the Product Engagement Score's adoption.
last_seen_atstringnamestringrequiredowner_user_idstringpreview_typestringContent type of the image preview (
GET .../preview); None = no preview.tagsstring[]requiredupdated_atstringrequiredverifiedbooleanrequiredvolume_30dintegerrequirednext_cursorstring404
Updated