Analysis Materialize Endpoint
const url = 'https://example.com/datasets/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/analysis/materialize/';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"by_field":"example","distance_meters":1,"mask":{},"mask_dataset_id":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","operation":"buffer","title":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/datasets/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/analysis/materialize/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "by_field": "example", "distance_meters": 1, "mask": {}, "mask_dataset_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "operation": "buffer", "title": "example" }'Materialize an analysis result as a new private dataset (async job).
Requires the upload and export permissions (this endpoint
creates a dataset that carries the source’s attributes) and read
visibility on the source dataset; the new dataset is owned by the
caller and counted against their dataset quota (the atomic slot
reservation runs at registration inside the worker). Poll
GET /jobs/{job_id} for progress.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Request Body required
Section titled “Request Body required ”Parameters for materializing an analysis result as a new dataset.
Responses
Section titled “ Responses ”Successful Response
Async materialize job handle; poll GET /jobs/{job_id} for progress.
object
Example generated
{ "job_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "status": "example"}Bad request — invalid payload
Unauthorized — missing or invalid credentials
Forbidden — caller lacks write access
Not found
Conflict — resource state prevents the operation
Validation error
Too many requests — retry after the advertised interval
Headers
Section titled “Headers ”Seconds until the request may be retried
Internal server error
Service unavailable — the database could not serve the request