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

# Get Tasks

`GET /organizations/{organization_id}/tasks`

Return tasks by Organization id

## Path parameters

- `organization_id` string, required

## Query parameters

- `type` string, required
- `filter` string, required
- `limit` integer, required
- `offset` integer, required
- `order` 'created_at' | 'resource_id' | 'resource_type' | 'resource_name' | 'is_success' | 'action' | 'region' | 'id', required
- `direction` 'asc' | 'desc', required

## Response `200`

200 response

- GetOrganizationsTasksResponse
  - `total` integer
  - `hits` object
    - `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
      - `backup_policy` object
        - `name` string

## Other responses

- `201` — 201 response
- `401` — 401 response
- `403` — 403 response
- `404` — 404 response

---

[API](https://skmtc.net/druva/apis/authentication.md) · [All operations](https://skmtc.net/druva/apis/authentication/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/druva/authentication/revisions/2af2bf148b25/schema)
