taxonomy
PATCH
https://lucidace.com /v1/projects/{project_id}/property-definitions/{id} Scope insight:writeParameters
project_idstringpathrequiredidstringpathrequiredRequest body
application/json
deprecatedbooleandescriptionstringhiddenbooleanowner_user_idstringAccountable user id;
null clears it, absent keeps it.tagsarrayvalue_typestringstring | numeric | boolean | datetime | duration | array | object; setting it locks the type against later inference.value_type_lockedbooleanfalse unlocks the type so ingestion infers it again; true pins the current type.verifiedboolean{
"deprecated": true,
"description": "string",
"hidden": true,
"owner_user_id": "string",
"tags": [
"string"
],
"value_type": "string",
"value_type_locked": true,
"verified": true
}Code samples
cURL
curl -X PATCH "https://lucidace.com/v1/projects/{project_id}/property-definitions/{id}" \
-H "Content-Type: application/json" \
-d '{"deprecated":true,"description":"string","hidden":true,"owner_user_id":"string","tags":["string"],"value_type":"string","value_type_locked":true,"verified":true}'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.
verifiedbooleanrequired400
403
404
GET
https://lucidace.com /v1/projects/{project_id}/property-definitions/{id}/preview Scope insight:readParameters
project_idstringpathrequiredidstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/property-definitions/{id}/preview"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 the preview image
404
PUT
https://lucidace.com /v1/projects/{project_id}/property-definitions/{id}/preview Scope insight:writeParameters
project_idstringpathrequiredidstringpathrequiredRequest body
image/png
[ 0 ]
Code samples
cURL
curl -X PUT "https://lucidace.com/v1/projects/{project_id}/property-definitions/{id}/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}/property-definitions/{id}/preview Scope insight:writeParameters
project_idstringpathrequiredidstringpathrequiredCode samples
cURL
curl -X DELETE "https://lucidace.com/v1/projects/{project_id}/property-definitions/{id}/preview"TypeScript
Python
Go
PHP
Ruby
Java
Responses
204
404
GET
https://lucidace.com /v1/projects/{project_id}/property-values Scope insight:readParameters
project_idstringpathrequiredkeystringqueryrequiredtypestringqueryevent (default) or person
qstringqueryCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/property-values?key=<key>"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Top 50 values by frequency over 30 days
Example
[
{
"count": 0,
"value": "string"
}
]Schema
countintegerrequiredvaluestringrequired400
404
503
POST
https://lucidace.com /v1/projects/{project_id}/taxonomy/events/bulk Scope insight:writeParameters
project_idstringpathrequiredRequest body
application/json
add_tagsstring[]deprecatedbooleandescriptionstringhiddenbooleanowner_user_idstringnull clears the owner, absent keeps it.remove_tagsstring[]verifiedbooleannamesstring[]required{
"add_tags": [
"string"
],
"deprecated": true,
"description": "string",
"hidden": true,
"owner_user_id": "string",
"remove_tags": [
"string"
],
"verified": true,
"names": [
"string"
]
}Code samples
cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/taxonomy/events/bulk" \
-H "Content-Type: application/json" \
-d '{"add_tags":["string"],"deprecated":true,"description":"string","hidden":true,"owner_user_id":"string","remove_tags":["string"],"verified":true,"names":["string"]}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200
Example
{
"updated": 0
}Schema
updatedintegerrequired400
403
404
GET
https://lucidace.com /v1/projects/{project_id}/taxonomy/events/export.csv Scope insight:readParameters
project_idstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/taxonomy/events/export.csv"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 name,description,tags,verified,hidden,deprecated,owner_user_id,volume_30d; tags
;-separated; stored definitions plus events seen in 30 days"string"
404
POST
https://lucidace.com /v1/projects/{project_id}/taxonomy/events/import Scope insight:writeParameters
project_idstringpathrequiredRequest body
text/csv
Header with name plus any of description, tags (;-separated), verified, hidden, deprecated, owner_user_id. Rows upsert by name; nothing is written when a row is invalid.
"string"
Code samples
cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/taxonomy/events/import" \
-H "Content-Type: text/csv" \
-d '"string"'TypeScript
Python
Go
PHP
Ruby
Java
POST
https://lucidace.com /v1/projects/{project_id}/taxonomy/properties/bulk Scope insight:writeParameters
project_idstringpathrequiredRequest body
application/json
add_tagsstring[]deprecatedbooleandescriptionstringhiddenbooleanowner_user_idstringnull clears the owner, absent keeps it.remove_tagsstring[]verifiedbooleanidsstring[]required{
"add_tags": [
"string"
],
"deprecated": true,
"description": "string",
"hidden": true,
"owner_user_id": "string",
"remove_tags": [
"string"
],
"verified": true,
"ids": [
"string"
]
}Code samples
cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/taxonomy/properties/bulk" \
-H "Content-Type: application/json" \
-d '{"add_tags":["string"],"deprecated":true,"description":"string","hidden":true,"owner_user_id":"string","remove_tags":["string"],"verified":true,"ids":["string"]}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
400
403
404 an id is not a property of this project
GET
https://lucidace.com /v1/projects/{project_id}/taxonomy/properties/export.csv Scope insight:readParameters
project_idstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/taxonomy/properties/export.csv"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 id,target,event_name,name,value_type,description,tags,verified,hidden,deprecated,owner_user_id
"string"
404
POST
https://lucidace.com /v1/projects/{project_id}/taxonomy/properties/import Scope insight:writeParameters
project_idstringpathrequiredRequest body
text/csv
Header with id (from the export) plus any of description, tags, verified, hidden, deprecated, owner_user_id. Nothing is written when a row is invalid or an id is unknown.
"string"
Code samples
cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/taxonomy/properties/import" \
-H "Content-Type: text/csv" \
-d '"string"'TypeScript
Python
Go
PHP
Ruby
Java
Updated