> ## Documentation Index
> Fetch the complete documentation index at: https://vytral-dependabot-npm-and-yarn-slack-web-api-8-0-0.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# List tasks

## Query Structure

```graphql
query($filter: TaskFilterType) {
  tasks {
    all(filter: $filter) {
      edges {
        node {
          id
          status
          subtype
          start_quantity
          confirmed_quantity
          created_at
          account {
            id
            code
          }
          warehouse {
            id
            code
          }
          product {
            id
            code
          }
          task_type {
            id
            code
          }
          location_from {
            id
            code
          }
          location_to {
            id
            code
          }
        }
      }
    }
  }
}
```

## Filter Argument

All filters are passed inside the `filter` argument. Each filter field accepts an input object with operators:

```json
{
  "filter": {
    "status": {
      "eq": "AVAILABLE"
    },
    "task_type_code": {
      "eq": "PICK"
    }
  }
}
```

### Available Filters

| Filter                     | Input Type        | Operators                                        | Description                                                      |
| -------------------------- | ----------------- | ------------------------------------------------ | ---------------------------------------------------------------- |
| `status`                   | StringInputType   | `eq`, `ilike`, `like`, `in`, `between`           | Task status (e.g., AVAILABLE, ALLOCATED, COMPLETED)              |
| `subtype`                  | StringInputType   | `eq`, `ilike`, `like`, `in`, `between`           | Task subtype                                                     |
| `task_type_code`           | StringInputType   | `eq`, `ilike`, `like`, `in`, `between`           | Task type code (PICK, DISP, RCV, PWAY, TRAN, REPLEN, LOAD, CONV) |
| `account_id`               | IdInputType       | `eq`, `gt`, `gteq`, `lt`, `lteq`, `in`, `filled` | Filter by account ID                                             |
| `warehouse_id`             | IdInputType       | `eq`, `gt`, `gteq`, `lt`, `lteq`, `in`, `filled` | Filter by warehouse ID                                           |
| `product_id`               | IdInputType       | `eq`, `gt`, `gteq`, `lt`, `lteq`, `in`, `filled` | Filter by product ID                                             |
| `location_from_id`         | IdInputType       | `eq`, `gt`, `gteq`, `lt`, `lteq`, `in`, `filled` | Filter by source location ID                                     |
| `location_to_id`           | IdInputType       | `eq`, `gt`, `gteq`, `lt`, `lteq`, `in`, `filled` | Filter by destination location ID                                |
| `user_id`                  | IdInputType       | `eq`, `gt`, `gteq`, `lt`, `lteq`, `in`, `filled` | Filter by assigned user ID                                       |
| `goods_out_id`             | IdInputType       | `eq`, `gt`, `gteq`, `lt`, `lteq`, `in`, `filled` | Filter by goods out order ID                                     |
| `goods_in_receipt_line_id` | IdInputType       | `eq`, `gt`, `gteq`, `lt`, `lteq`, `in`, `filled` | Filter by goods in receipt line ID                               |
| `storage_unit_from_id`     | IdInputType       | `eq`, `gt`, `gteq`, `lt`, `lteq`, `in`, `filled` | Filter by source storage unit ID                                 |
| `load_id`                  | IdInputType       | `eq`, `gt`, `gteq`, `lt`, `lteq`, `in`, `filled` | Filter by load ID                                                |
| `assigned_at`              | DatetimeInputType | `eq`, `from`, `to`, `between`                    | Filter by assignment date                                        |
| `completed_at`             | DatetimeInputType | `eq`, `from`, `to`, `between`                    | Filter by completion date                                        |
| `created_at`               | DatetimeInputType | `eq`, `from`, `to`, `between`                    | Filter by creation date                                          |
| `priority`                 | IntegerInputType  | `eq`, `gt`, `gteq`, `lt`, `lteq`, `between`      | Filter by priority                                               |
| `drop_sequence`            | IntegerInputType  | `eq`, `gt`, `gteq`, `lt`, `lteq`, `between`      | Filter by drop sequence                                          |

### Filter Operators

| Input Type        | Operators                                                                                                                |
| ----------------- | ------------------------------------------------------------------------------------------------------------------------ |
| StringInputType   | `eq` (exact), `ilike` (case-insensitive partial), `like` (case-sensitive partial), `in` (array match), `between` (range) |
| IntegerInputType  | `eq`, `gt`, `gteq`, `lt`, `lteq`, `between`                                                                              |
| DatetimeInputType | `eq`, `from`, `to`, `between`                                                                                            |
| BooleanInputType  | `eq` (required)                                                                                                          |
| IdInputType       | `eq`, `gt`, `gteq`, `lt`, `lteq`, `in`, `filled`                                                                         |

*More fields and filters available via GraphQL introspection.*


## OpenAPI

````yaml /openapi.json get /api/v1/tasks
openapi: 3.1.0
info:
  title: Harly API
  version: 1.0.0
servers:
  - url: https://{instance}
    variables:
      instance:
        default: app.harly.dev
        description: Hostname of your Harly installation
security: []
paths:
  /api/v1/tasks:
    get:
      tags:
        - Tasks
      summary: List tasks
      operationId: listTasks
      parameters:
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            maximum: 100
        - name: cursor
          in: query
          required: false
          schema:
            type: string
        - name: ownerId
          in: query
          required: false
          schema:
            type: string
            format: uuid
            pattern: >-
              ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
        - name: status
          in: query
          required: false
          schema:
            type: string
            enum:
              - pending
              - in_progress
              - completed
              - canceled
        - name: priority
          in: query
          required: false
          schema:
            type: string
            enum:
              - low
              - medium
              - high
              - urgent
        - name: candidateId
          in: query
          required: false
          schema:
            type: string
            format: uuid
            pattern: >-
              ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
        - name: applicationId
          in: query
          required: false
          schema:
            type: string
            format: uuid
            pattern: >-
              ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
        - name: jobId
          in: query
          required: false
          schema:
            type: string
            format: uuid
            pattern: >-
              ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
        - name: interviewId
          in: query
          required: false
          schema:
            type: string
            format: uuid
            pattern: >-
              ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          format: uuid
                          pattern: >-
                            ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                        title:
                          type: string
                        description:
                          anyOf:
                            - type: string
                            - type: 'null'
                        status:
                          type: string
                          enum:
                            - pending
                            - in_progress
                            - completed
                            - canceled
                        priority:
                          type: string
                          enum:
                            - low
                            - medium
                            - high
                            - urgent
                        dueDate:
                          anyOf:
                            - type: string
                            - type: 'null'
                        completedAt:
                          anyOf:
                            - type: string
                            - type: 'null'
                        ownerId:
                          type: string
                          format: uuid
                          pattern: >-
                            ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                        candidateId:
                          anyOf:
                            - type: string
                              format: uuid
                              pattern: >-
                                ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                            - type: 'null'
                        applicationId:
                          anyOf:
                            - type: string
                              format: uuid
                              pattern: >-
                                ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                            - type: 'null'
                        jobId:
                          anyOf:
                            - type: string
                              format: uuid
                              pattern: >-
                                ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                            - type: 'null'
                        interviewId:
                          anyOf:
                            - type: string
                              format: uuid
                              pattern: >-
                                ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                            - type: 'null'
                        createdById:
                          anyOf:
                            - type: string
                              format: uuid
                              pattern: >-
                                ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                            - type: 'null'
                        createdAt:
                          type: string
                        updatedAt:
                          type: string
                      required:
                        - id
                        - title
                        - description
                        - status
                        - priority
                        - dueDate
                        - completedAt
                        - ownerId
                        - candidateId
                        - applicationId
                        - jobId
                        - interviewId
                        - createdById
                        - createdAt
                        - updatedAt
                      additionalProperties: false
                  meta:
                    type: object
                    properties:
                      pagination:
                        type: object
                        properties:
                          nextCursor:
                            anyOf:
                              - type: string
                              - type: 'null'
                          hasMore:
                            type: boolean
                          limit:
                            type: number
                        required:
                          - nextCursor
                          - hasMore
                          - limit
                        additionalProperties: false
                    additionalProperties: false
                required:
                  - data
                additionalProperties: false
        '401':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      details: {}
                    required:
                      - code
                      - message
                    additionalProperties: false
                required:
                  - error
                additionalProperties: false
        '403':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      details: {}
                    required:
                      - code
                      - message
                    additionalProperties: false
                required:
                  - error
                additionalProperties: false
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: Harly API key

````