API reference · 5 endpoints
Async operations
Track, retry, and cancel asynchronous work started by commit and other endpoints.
- GETList async operations
- GETGet operation status
- DELETECancel a pending async operation
- POSTRetry a failed async operation
- GETList a namespace's recurring schedules
/v1/default/namespaces/{namespace_id}/operationsList async operations
Get a list of async operations for a specific agent, with optional filtering by status and operation type. Results are sorted by most recent first.
Parameters
namespace_idstringpathrequiredstatusstring | nullqueryFilter by status: pending, processing, completed, failed, or cancelled
typestring | nullqueryFilter by operation type: commit, consolidation, refresh_automation, file_convert_commit, webhook_delivery
limitintegerqueryMaximum number of operations to return
offsetintegerqueryNumber of operations to skip
exclude_parentsbooleanqueryExclude parent batch operations from results
/v1/default/namespaces/{namespace_id}/operations/{operation_id}Get operation status
Get the status of a specific async operation. Returns 'pending', 'completed', or 'failed'. Completed operations are removed from storage, so 'completed' means the operation finished successfully.
Parameters
namespace_idstringpathrequiredoperation_idstringpathrequiredinclude_payloadbooleanqueryInclude the raw task payload (submission params) in the response. May be large.
/v1/default/namespaces/{namespace_id}/operations/{operation_id}Cancel a pending async operation
Cancel a pending async operation by removing it from the queue
Parameters
namespace_idstringpathrequiredoperation_idstringpathrequired/v1/default/namespaces/{namespace_id}/operations/{operation_id}/retryRetry a failed async operation
Re-queue a failed async operation so the worker picks it up again
Parameters
namespace_idstringpathrequiredoperation_idstringpathrequired/v1/default/namespaces/{namespace_id}/schedulesList a namespace's recurring schedules
Which recurring background operations are armed for this namespace, when each last fired and when it fires next. Temporal is the only record that a schedule exists, so this is the sole surface for a scheduled run's outcome.
Parameters
namespace_idstringpathrequired