---
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}`

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/authentication.md) · [All operations](https://skmtc.dev/druva/apis/authentication/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/druva/authentication/revisions/2af2bf148b25/schema)
