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

# List tasks

> Retrieves tasks with optional filtering by entity, assignee, completion status, and search query. Supports offset-based pagination.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/tasks
openapi: 3.0.0
info:
  description: >-
    REST API for accessing and managing your Nex data. Generate API keys from
    the Nex web UI and use them to authenticate requests.
  title: Nex Developer API
  contact: {}
  version: '1.0'
servers:
  - url: https://app.nex.ai/api/developers
security: []
paths:
  /v1/tasks:
    get:
      tags:
        - Tasks
      summary: List tasks
      description: >-
        Retrieves tasks with optional filtering by entity, assignee, completion
        status, and search query. Supports offset-based pagination.
      operationId: listTasks
      parameters:
        - description: Filter by associated record ID
          name: entity_id
          in: query
          schema:
            type: string
        - description: Filter by assignee user ID
          name: assignee_id
          in: query
          schema:
            type: string
        - description: Search task titles
          name: search
          in: query
          schema:
            type: string
        - description: Filter by completion status (true/false)
          name: is_completed
          in: query
          schema:
            type: boolean
        - description: 'Max results (1-500, default: 100)'
          name: limit
          in: query
          schema:
            type: integer
        - description: 'Pagination offset (default: 0)'
          name: offset
          in: query
          schema:
            type: integer
      responses:
        '200':
          description: List of tasks
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/developer.ListTasksResponse'
        '400':
          description: Bad request - Invalid parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpx.APIError'
        '401':
          description: Unauthorized - Invalid or missing API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpx.APIError'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpx.APIError'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    developer.ListTasksResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/developer.TaskResponse'
        has_more:
          type: boolean
        total:
          type: integer
        next_offset:
          type: integer
      example:
        data:
          - id: '800'
            title: Follow up with client
            priority: high
            is_completed: false
            created_by: developer_api
            created_at: '2024-01-15T10:00:00Z'
        has_more: true
        total: 47
        next_offset: 20
    httpx.APIError:
      type: object
      properties:
        code:
          type: integer
        message:
          type: string
    developer.TaskResponse:
      type: object
      properties:
        id:
          type: string
        title:
          type: string
        description:
          type: string
        priority:
          type: string
        due_date:
          type: string
          format: date-time
        is_completed:
          type: boolean
        completed_at:
          type: string
          format: date-time
        assignee_ids:
          type: array
          items:
            type: string
        entity_ids:
          type: array
          items:
            type: string
        created_by:
          type: string
        created_by_id:
          type: string
        created_at:
          type: string
          format: date-time
        archived_at:
          type: string
          format: date-time
      example:
        id: '800'
        title: Follow up with client
        description: Discuss contract renewal
        priority: high
        due_date: '2026-03-01T09:00:00Z'
        is_completed: false
        assignee_ids:
          - '50'
        entity_ids:
          - '1001'
          - '1002'
        created_by: developer_api
        created_by_id: '42'
        created_at: '2024-01-15T10:00:00Z'
  securitySchemes:
    ApiKeyAuth:
      description: 'API key for authentication (format: "Bearer YOUR_API_KEY")'
      type: apiKey
      name: Authorization
      in: header

````