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}/event-definitions/{name}Scope insight:read

Parameters

project_idstringpathrequired
namestringpathrequired

Code 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
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
404
PUThttps://lucidace.com/v1/projects/{project_id}/event-definitions/{name}Scope insight:write

Same fields as PATCH, but creates the definition when no event of that name has been seen yet.

Parameters

project_idstringpathrequired
namestringpathrequired

Request body

application/json
deprecatedboolean
descriptionstring
hiddenboolean
is_coreboolean
Core event: counts toward the Product Engagement Score (at most 100 per project).
owner_user_idstring
Accountable user id; null clears it, absent keeps it.
tagsarray
verifiedboolean
{
  "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

Responses

400
403
DELETEhttps://lucidace.com/v1/projects/{project_id}/event-definitions/{name}Scope insight:write

Parameters

project_idstringpathrequired
namestringpathrequired

Code 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
PATCHhttps://lucidace.com/v1/projects/{project_id}/event-definitions/{name}Scope insight:write

Parameters

project_idstringpathrequired
namestringpathrequired

Request body

application/json
deprecatedboolean
descriptionstring
hiddenboolean
is_coreboolean
Core event: counts toward the Product Engagement Score (at most 100 per project).
owner_user_idstring
Accountable user id; null clears it, absent keeps it.
tagsarray
verifiedboolean
{
  "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
GEThttps://lucidace.com/v1/projects/{project_id}/event-definitions/{name}/previewScope insight:read

Parameters

project_idstringpathrequired
namestringpathrequired

Code 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
PUThttps://lucidace.com/v1/projects/{project_id}/event-definitions/{name}/previewScope insight:write

Parameters

project_idstringpathrequired
namestringpathrequired

Request 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
DELETEhttps://lucidace.com/v1/projects/{project_id}/event-definitions/{name}/previewScope insight:write

Parameters

project_idstringpathrequired
namestringpathrequired

Code 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
GEThttps://lucidace.com/v1/projects/{project_id}/event-inboxScope insight:read

Parameters

project_idstringpathrequired

Code 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[]required
Show child parameters
last_seen_atstring
namestringrequired
volume_30dintegerrequired
next_cursorstring
404
503
GEThttps://lucidace.com/v1/projects/{project_id}/property-definitionsScope insight:read

Parameters

project_idstringpathrequired
targetstringquery
event_namestringquery
limitintegerquery
cursorstringquery

Code 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[]required
Show child parameters
deprecatedbooleanrequired
descriptionstringrequired
event_namestringrequired
hiddenbooleanrequired
idstringrequired
namestringrequired
owner_user_idstring
preview_typestring
Content type of the image preview (GET .../preview); None = no preview.
tagsstring[]required
targetstringrequired
event | person | group | session
updated_atstringrequired
value_typestringrequired
string | numeric | boolean | datetime | duration | array | object
value_type_lockedbooleanrequired
Set when a person chose the type; ingestion then never changes it.
verifiedbooleanrequired
next_cursorstring
404
GEThttps://lucidace.com/v1/projects/{project_id}/property-definitions/{id}Scope insight:read

Parameters

project_idstringpathrequired
idstringpathrequired

Code 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
deprecatedbooleanrequired
descriptionstringrequired
event_namestringrequired
hiddenbooleanrequired
idstringrequired
namestringrequired
owner_user_idstring
preview_typestring
Content type of the image preview (GET .../preview); None = no preview.
tagsstring[]required
targetstringrequired
event | person | group | session
updated_atstringrequired
value_typestringrequired
string | numeric | boolean | datetime | duration | array | object
value_type_lockedbooleanrequired
Set when a person chose the type; ingestion then never changes it.
verifiedbooleanrequired
404

Updated