Notion: Async tasks schemas
2 Notion schemas with complete fields and constraints.
← Async tasks operations · All schemas
Retrieve an async task — response body — object async task, status succeeded result value
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | JSON | Root | |
$ (anyOf 1) | string | Alternative | |
$ (anyOf 2) | JSON | Alternative | |
$ (anyOf 2) (anyOf 1) | number | Alternative | |
$ (anyOf 2) (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
$ (anyOf 3) | boolean | Alternative | |
$ (anyOf 4) | null | Alternative | |
$ (anyOf 5) | array | Alternative | |
$ (anyOf 5)[] | Model | Each item | Expand Retrieve an async task — response body — object async task, status succeeded result value |
$ (anyOf 6) | object | Alternative | Additional keys: see wildcard field |
$ (anyOf 6).* | Model | Additional keys | Expand Retrieve an async task — response body — object async task, status succeeded result value |
Referenced models: Retrieve an async task — response body — object async task, status succeeded result value
Retrieve an async task — response body — object async_task, status: queued, running, retrying
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: allowed |
created_time | string | Required within parent | Format: date-time |
id | string | Required within parent | Minimum length: 1 |
object | string | Required within parent | Must equal: async_task |
operation | object | Required within parent | Additional keys: allowed |
operation.name | string | Required within parent | Minimum length: 1 |
operation.surface | string | Required within parent | Known values: rest, mcp |
poll_after_seconds | JSON | Required within parent | |
poll_after_seconds (anyOf 1) | integer | Alternative | Minimum: 0 |
poll_after_seconds (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
status | string | Required within parent | Known values: queued, running, retrying |
status_url | string | Required within parent | Minimum length: 1 |