tasks
Schedule a task for an entity.
Pre-checks run against the warehouse config and target entity properties before the task is enqueued. A failure surfaces as 400 with a specific error code (see the operator guide for the full set of pre-check codes).
When a task is already active for the same (warehouse, entity, queue) triple, the call returns 409 TaskAlreadyActive with the existing task-id in the body — chain to POST /task/control with run-now or run-at to retime it without an extra task/list round-trip.
post/management/v1/warehouse/{warehouse_id}/task-queue/expire_snapshots/schedule
Request
- Base URLhttps://localhost
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
warehouse_idstring uuid required
Request body
Example request
{
"scheduled-for": "2026-12-31T23:59:59Z"
}Response
Task scheduled
Changes
No recorded changes to this operation across all 1 revision of this API.