Files
elasticsearch-js/docs/reference/api/TasksGetRequest.md
2025-05-28 10:02:30 -05:00

10 lines
778 B
Markdown

# `TasksGetRequest` [interface-TasksGetRequest]
| Name | Type | Description |
| - | - | - |
| `body` | string | ({ [key: string]: any; } & { task_id?: never; timeout?: never; wait_for_completion?: never; }) | All values in `body` will be added to the request body. |
| `querystring` | { [key: string]: any; } & { task_id?: never; timeout?: never; wait_for_completion?: never; } | All values in `querystring` will be added to the request querystring. |
| `task_id` | [Id](./Id.md) | The task identifier. |
| `timeout` | [Duration](./Duration.md) | The period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error. |
| `wait_for_completion` | boolean | If `true`, the request blocks until the task has completed. |