taxonomy
GET
https://lucidace.com /v1/projects/{project_id}/event-definitions/{name} Scope insight:readParameters
project_idstringpathrequirednamestringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/event-definitions/{name}"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200
Example
{
"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
}Schema
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_30dintegerrequired404
PUT
https://lucidace.com /v1/projects/{project_id}/event-definitions/{name} Scope insight:writeSame fields as PATCH, but creates the definition when no event of that name has been seen yet.
Parameters
project_idstringpathrequirednamestringpathrequiredRequest body
application/json
deprecatedbooleandescriptionstringhiddenbooleanis_corebooleanCore event: counts toward the Product Engagement Score (at most 100 per project).
owner_user_idstringAccountable user id;
null clears it, absent keeps it.tagsarrayverifiedboolean{
"deprecated": true,
"description": "string",
"hidden": true,
"is_core": true,
"owner_user_id": "string",
"tags": [
"string"
],
"verified": true
}Code samples
cURL
curl -X PUT "https://lucidace.com/v1/projects/{project_id}/event-definitions/{name}" \
-H "Content-Type: application/json" \
-d '{"deprecated":true,"description":"string","hidden":true,"is_core":true,"owner_user_id":"string","tags":["string"],"verified":true}'TypeScript
Python
Go
PHP
Ruby
Java
DELETE
https://lucidace.com /v1/projects/{project_id}/event-definitions/{name} Scope insight:writeParameters
project_idstringpathrequirednamestringpathrequiredCode samples
cURL
curl -X DELETE "https://lucidace.com/v1/projects/{project_id}/event-definitions/{name}"TypeScript
Python
Go
PHP
Ruby
Java
Responses
204 Definition and its property definitions deleted; captured events stay
403
404 No definition of that name
PATCH
https://lucidace.com /v1/projects/{project_id}/event-definitions/{name} Scope insight:writeParameters
project_idstringpathrequirednamestringpathrequiredRequest body
application/json
deprecatedbooleandescriptionstringhiddenbooleanis_corebooleanCore event: counts toward the Product Engagement Score (at most 100 per project).
owner_user_idstringAccountable user id;
null clears it, absent keeps it.tagsarrayverifiedboolean{
"deprecated": true,
"description": "string",
"hidden": true,
"is_core": true,
"owner_user_id": "string",
"tags": [
"string"
],
"verified": true
}Code samples
cURL
curl -X PATCH "https://lucidace.com/v1/projects/{project_id}/event-definitions/{name}" \
-H "Content-Type: application/json" \
-d '{"deprecated":true,"description":"string","hidden":true,"is_core":true,"owner_user_id":"string","tags":["string"],"verified":true}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
400
403
404 No such event yet: definitions appear with traffic, or create one with PUT
GET
https://lucidace.com /v1/projects/{project_id}/event-definitions/{name}/preview Scope insight:readParameters
project_idstringpathrequirednamestringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/event-definitions/{name}/preview"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 the preview image
404
PUT
https://lucidace.com /v1/projects/{project_id}/event-definitions/{name}/preview Scope insight:writeParameters
project_idstringpathrequirednamestringpathrequiredRequest body
image/png
[ 0 ]
Code samples
cURL
curl -X PUT "https://lucidace.com/v1/projects/{project_id}/event-definitions/{name}/preview" \
-H "Content-Type: image/png" \
-d '[0]'TypeScript
Python
Go
PHP
Ruby
Java
Responses
204
400 not a PNG, JPEG or WebP
404
413
DELETE
https://lucidace.com /v1/projects/{project_id}/event-definitions/{name}/preview Scope insight:writeParameters
project_idstringpathrequirednamestringpathrequiredCode samples
cURL
curl -X DELETE "https://lucidace.com/v1/projects/{project_id}/event-definitions/{name}/preview"TypeScript
Python
Go
PHP
Ruby
Java
Responses
204
404
GET
https://lucidace.com /v1/projects/{project_id}/event-inbox Scope insight:readParameters
project_idstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/event-inbox"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Page of UnplannedEvent, busiest first (at most 500)
Example
{
"data": [
{
"last_seen_at": "2024-01-01T00:00:00Z",
"name": "string",
"volume_30d": 0
}
],
"next_cursor": "string"
}Schema
dataobject[]requiredShow child parameters
last_seen_atstringnamestringrequiredvolume_30dintegerrequirednext_cursorstring404
503
GET
https://lucidace.com /v1/projects/{project_id}/property-definitions Scope insight:readParameters
project_idstringpathrequiredtargetstringqueryevent_namestringquerylimitintegerquerycursorstringqueryCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/property-definitions"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Page of PropertyDefinition
Example
{
"data": [
{
"deprecated": true,
"description": "string",
"event_name": "string",
"hidden": true,
"id": "string",
"name": "string",
"owner_user_id": "string",
"preview_type": "string",
"tags": [
"string"
],
"target": "string",
"updated_at": "2024-01-01T00:00:00Z",
"value_type": "string",
"value_type_locked": true,
"verified": true
}
],
"next_cursor": "string"
}Schema
dataPropertyDefinition[]requiredShow child parameters
deprecatedbooleanrequireddescriptionstringrequiredevent_namestringrequiredhiddenbooleanrequiredidstringrequirednamestringrequiredowner_user_idstringpreview_typestringContent type of the image preview (
GET .../preview); None = no preview.tagsstring[]requiredtargetstringrequiredevent | person | group | sessionupdated_atstringrequiredvalue_typestringrequiredstring | numeric | boolean | datetime | duration | array | objectvalue_type_lockedbooleanrequiredSet when a person chose the type; ingestion then never changes it.
verifiedbooleanrequirednext_cursorstring404
GET
https://lucidace.com /v1/projects/{project_id}/property-definitions/{id} Scope insight:readParameters
project_idstringpathrequiredidstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/property-definitions/{id}"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200
Example
{
"deprecated": true,
"description": "string",
"event_name": "string",
"hidden": true,
"id": "string",
"name": "string",
"owner_user_id": "string",
"preview_type": "string",
"tags": [
"string"
],
"target": "string",
"updated_at": "2024-01-01T00:00:00Z",
"value_type": "string",
"value_type_locked": true,
"verified": true
}Schema
deprecatedbooleanrequireddescriptionstringrequiredevent_namestringrequiredhiddenbooleanrequiredidstringrequirednamestringrequiredowner_user_idstringpreview_typestringContent type of the image preview (
GET .../preview); None = no preview.tagsstring[]requiredtargetstringrequiredevent | person | group | sessionupdated_atstringrequiredvalue_typestringrequiredstring | numeric | boolean | datetime | duration | array | objectvalue_type_lockedbooleanrequiredSet when a person chose the type; ingestion then never changes it.
verifiedbooleanrequired404
Updated