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

# List Tasks

> Returns all tasks available to the authenticated user.



## OpenAPI

````yaml GET /tasks
openapi: 3.1.0
info:
  title: AlertyAI API
  description: API specification for AlertyAI task and reminder workflows.
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.alertyai.com
security:
  - bearerAuth: []
paths:
  /tasks:
    get:
      description: Returns all tasks available to the authenticated user.
      parameters:
        - name: limit
          in: query
          description: Maximum number of tasks to return.
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: Task list response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Task'
        '400':
          description: Unexpected error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Task:
      required:
        - id
        - title
      type: object
      properties:
        id:
          description: Unique task ID
          type: integer
          format: int64
        title:
          description: Task title
          type: string
        description:
          description: Task details
          type: string
        dueAt:
          description: ISO-8601 due timestamp
          type: string
        priority:
          description: Task priority
          type: string
          enum:
            - low
            - medium
            - high
        status:
          description: Current task status
          type: string
          enum:
            - pending
            - completed
    Error:
      required:
        - error
        - message
      type: object
      properties:
        error:
          type: integer
          format: int32
        message:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````