---
title: "Get A Task"
method: GET
path: "/organizations/{organization_id}/tasks/{task_id}"
tags: ["Tasks"]
---

# Get A Task

`GET /organizations/{organization_id}/tasks/{task_id}`

## Request

- Base URL: `//apis.druva.com/awsnative` (relative, and the document’s source URL is not known)
- URL: `//apis.druva.com/awsnative/organizations/{organization_id}/tasks/{task_id}`
- Auth: API key in header `Authorization`

Return tasks by task id

## Path parameters

- `organization_id` string, required
- `task_id` string, required

## Response `200`

200 response

- GetOrganizationsTasksByIdResponse
  - `id` string
  - `job_id` string
  - `region` string
  - `resource_type` string
  - `resource_id` string
  - `resource_name` string
  - `action` string
  - `is_success` boolean
  - `halt` boolean
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `job` object
    - `id` string
    - `organization_id` string
    - `account_id` string
    - `type` string
    - `action` string
    - `object_id` integer
    - `event_type` string
    - `event_at` string, date-time
    - `cron` string
    - `cron_location` string
    - `total_tasks` integer
    - `total_success` integer
    - `total_fail` integer
    - `seq` integer
    - `halt` string
    - `created_at` string, date-time
    - `updated_at` string, date-time
    - `account` object
      - `id` string
      - `organization_id` string
      - `name` string
      - `initials` string
      - `color` string
      - `avatar_image` string
      - `type` string
      - `default_timezone_location` string
      - `is_active` boolean
      - `is_legal_hold_account` boolean
      - `created_at` string, date-time
      - `updated_at` string, date-time
      - `deleted_at` string
  - `steps` object[]

## Other responses

- `201`: 201 response
- `401`: 401 response
- `403`: 403 response
- `404`: 404 response

---

[API](https://skmtc.dev/druva/apis/aws-native.md) - [All operations](https://skmtc.dev/druva/apis/aws-native/llms.txt) - [OpenAPI document](https://skmtc.dev/druva/apis/aws-native/revisions/6dd34c53e5f5?raw)
