Async_Task

struct

Status and result of an asynchronous background task, e.g. a markdown page creation/update started with `allow_async: true`.

Property Type Description
created_time DateTime When the task was created.
error Error Error details. Only present when status is `failed`.
id String The ID of the async task.
object String Always `async_task`.
operation Async_Task_Operation The operation this task executes.
poll_after_seconds Integer Suggested seconds to wait before polling again. Only present while queued, running or retrying.
result
MapAny
JSON result of the operation. Only present when status is `succeeded`.
status String `queued`, `running`, `retrying`, `succeeded` or `failed`.
status_url String URL to poll for the task status.
part of the Apioo-Project