materialized_properties

Embed
Preview of the card
<a href="https://lucidace.com/docs/ref-materialized-properties"><img src="https://lucidace.com/docs/_api/public/orgs/af34862a-c837-4478-8335-0505efe40459/spaces/da916cd3-c0fc-4b63-b971-b3c13623daf3/pages/1d548f4a-867f-40e1-8c83-e5d1372455c5/social-card.svg?v=3e7ae33eec8b" alt="materialized_properties" width="600" height="315"></a>
GEThttps://lucidace.com/v1/projects/{project_id}/materialized-propertiesScope settings:read

Parameters

project_idstringpathrequired
limitintegerquery
cursorstringquery

Code 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[]required
Show child parameters
column_namestringrequired
Column on events that holds it.
created_atstringrequired
errorstring
hits_7dintegerrequired
Reads of the key by the query compiler over the last 7 days.
idstringrequired
keystringrequired
Event property key.
ready_atstring
sourcestringrequired
manual or auto.
statusstringrequired
backfilling (usable, old parts still being rewritten), ready or failed.
next_cursorstring
404
POSThttps://lucidace.com/v1/projects/{project_id}/materialized-propertiesScope settings:write

Parameters

project_idstringpathrequired

Request body

application/json
keystringrequired
Event 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_namestringrequired
Column on events that holds it.
created_atstringrequired
errorstring
hits_7dintegerrequired
Reads of the key by the query compiler over the last 7 days.
idstringrequired
keystringrequired
Event property key.
ready_atstring
sourcestringrequired
manual or auto.
statusstringrequired
backfilling (usable, old parts still being rewritten), ready or failed.
400
403
404
409
503
GEThttps://lucidace.com/v1/projects/{project_id}/materialized-properties/candidatesScope settings:read

Parameters

project_idstringpathrequired

Code 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[]required
Show child parameters
hits_7dintegerrequired
keystringrequired
next_cursorstring
404
GEThttps://lucidace.com/v1/projects/{project_id}/materialized-properties/settingsScope settings:read

Parameters

project_idstringpathrequired

Code 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_enabledbooleanrequired
max_columnsintegerrequired
Cap on this project's materialized columns.
thresholdintegerrequired
Reads over 7 days at which a key becomes a candidate.
404
PUThttps://lucidace.com/v1/projects/{project_id}/materialized-properties/settingsScope settings:write

Parameters

project_idstringpathrequired

Request body

application/json
auto_enabledbooleanrequired
max_columnsintegerrequired
Most columns for this project (0 to 100).
thresholdintegerrequired
Reads 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
DELETEhttps://lucidace.com/v1/projects/{project_id}/materialized-properties/{id}Scope settings:write

Parameters

project_idstringpathrequired
idstringpathrequired

Code 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