Create Vrt
const url = 'https://example.com/api/ingest/vrt/create';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"source_dataset_ids":["2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"],"vrt_type":"mosaic","resolution_strategy":"finest","title":"example","summary":"example","visibility":"private"}'};
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/api/ingest/vrt/create \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "source_dataset_ids": [ "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" ], "vrt_type": "mosaic", "resolution_strategy": "finest", "title": "example", "summary": "example", "visibility": "private" }'Create a VRT dataset by combining existing raster datasets.
Validates sources synchronously, then defers VRT assembly to an async task.
Returns a job_id for polling. Validation + queuing logic lives in
ingest.service.create_vrt_job (K5 extraction).
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”object
Source raster dataset IDs to include in the VRT mosaic or band stack (1-500).
Type of VRT to create. ‘mosaic’ tiles sources spatially; ‘band_stack’ aligns same-extent sources as multi-band output.
How to resolve mismatched source resolutions: ‘finest’ uses the highest, ‘coarsest’ uses the lowest, ‘average’ computes the mean.
Human-readable title for the resulting VRT dataset.
Visibility level for the resulting VRT dataset.
Responses
Section titled “ Responses ”Successful Response
object
Identifier of the asynchronous VRT creation job.
Initial job status. Always ‘accepted’ on creation.
Human-readable acceptance message.
Example
{ "status": "accepted"}Bad request — invalid payload
object
Example
{ "type": "about:blank"}Unauthorized — missing or invalid credentials
object
Example
{ "type": "about:blank"}Forbidden — caller lacks write access
object
Example
{ "type": "about:blank"}Not found
object
Example
{ "type": "about:blank"}Conflict — resource state prevents the operation
object
Example
{ "type": "about:blank"}Validation error
object
Example
{ "type": "about:blank"}Internal server error
object
Example
{ "type": "about:blank"}