materialized_properties
GET
https://lucidace.com /v1/projects/{project_id}/materialized-properties Scope settings:readParameters
project_idstringpathrequiredlimitintegerquerycursorstringqueryCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/materialized-properties"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Page of MaterializedProperty by key, with build status
Example
{
"data": [
{
"column_name": "string",
"created_at": "2024-01-01T00:00:00Z",
"error": "string",
"hits_7d": 0,
"id": "string",
"key": "string",
"ready_at": "2024-01-01T00:00:00Z",
"source": "string",
"status": "string"
}
],
"next_cursor": "string"
}Schema
dataMaterializedProperty[]requiredShow child parameters
column_namestringrequiredColumn on
events that holds it.created_atstringrequirederrorstringhits_7dintegerrequiredReads of the key by the query compiler over the last 7 days.
idstringrequiredkeystringrequiredEvent property key.
ready_atstringsourcestringrequiredmanual or auto.statusstringrequiredbackfilling (usable, old parts still being rewritten), ready or failed.next_cursorstring404
POST
https://lucidace.com /v1/projects/{project_id}/materialized-properties Scope settings:writeParameters
project_idstringpathrequiredRequest body
application/json
keystringrequiredEvent property key to materialize.
{
"key": "string"
}Code samples
cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/materialized-properties" \
-H "Content-Type: application/json" \
-d '{"key":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201
Example
{
"column_name": "string",
"created_at": "2024-01-01T00:00:00Z",
"error": "string",
"hits_7d": 0,
"id": "string",
"key": "string",
"ready_at": "2024-01-01T00:00:00Z",
"source": "string",
"status": "string"
}Schema
column_namestringrequiredColumn on
events that holds it.created_atstringrequirederrorstringhits_7dintegerrequiredReads of the key by the query compiler over the last 7 days.
idstringrequiredkeystringrequiredEvent property key.
ready_atstringsourcestringrequiredmanual or auto.statusstringrequiredbackfilling (usable, old parts still being rewritten), ready or failed.400
403
404
409
503
GET
https://lucidace.com /v1/projects/{project_id}/materialized-properties/candidates Scope settings:readParameters
project_idstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/materialized-properties/candidates"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Page of HotPropertyKey: unmaterialized event keys read at least
threshold times in 7 days, hottest first (at most 50; one page)Example
{
"data": [
{
"hits_7d": 0,
"key": "string"
}
],
"next_cursor": "string"
}Schema
dataHotPropertyKey[]requiredShow child parameters
hits_7dintegerrequiredkeystringrequirednext_cursorstring404
GET
https://lucidace.com /v1/projects/{project_id}/materialized-properties/settings Scope settings:readParameters
project_idstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/materialized-properties/settings"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200
Example
{
"auto_enabled": true,
"max_columns": 0,
"threshold": 0
}Schema
auto_enabledbooleanrequiredmax_columnsintegerrequiredCap on this project's materialized columns.
thresholdintegerrequiredReads over 7 days at which a key becomes a candidate.
404
PUT
https://lucidace.com /v1/projects/{project_id}/materialized-properties/settings Scope settings:writeParameters
project_idstringpathrequiredRequest body
application/json
auto_enabledbooleanrequiredmax_columnsintegerrequiredMost columns for this project (0 to 100).
thresholdintegerrequiredReads over 7 days at which a key is materialized (at least 1).
{
"auto_enabled": true,
"max_columns": 0,
"threshold": 0
}Code samples
cURL
curl -X PUT "https://lucidace.com/v1/projects/{project_id}/materialized-properties/settings" \
-H "Content-Type: application/json" \
-d '{"auto_enabled":true,"max_columns":0,"threshold":0}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
400
403
404
DELETE
https://lucidace.com /v1/projects/{project_id}/materialized-properties/{id} Scope settings:writeParameters
project_idstringpathrequiredidstringpathrequiredCode samples
cURL
curl -X DELETE "https://lucidace.com/v1/projects/{project_id}/materialized-properties/{id}"TypeScript
Python
Go
PHP
Ruby
Java
Responses
204
403
404
503
Updated