> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Task Status

Retrieves the status of the specified task.

Required API key role permissions:

* `Endpoint Inventory - view`

> [!NOTE]
>
> External Documentation
>
> To learn more, visit the [Trend Vision One documentation](https://automation.trendmicro.com/xdr/api-v3/#tag/Endpoint-Security/paths/~1v3.0~1endpointSecurity~1tasks~1%7Bid%7D/get).

## Parameters

| Parameter | Description |
| - | - |
| Task ID | The ID of the task. For example: `53cd53d0-6798-4547-ab07-9386cc2c891e`. Can be obtained by using the `List Tasks` action. |

## Example Output

```json theme={"dark"}
{
	"id": "53cd53d0-6798-4547-ab07-9386cc2c891e",
	"status": "running",
	"action": "export",
	"createdDateTime": "2023-02-08T10:00:00Z",
	"lastActionDateTime": "2023-02-08T10:00:00Z",
	"resourceLocation": "string",
	"expiredDateTime": "2023-02-08T10:00:00Z",
	"error": {
		"code": "TaskError",
		"message": "string"
	}
}
```
