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

# Get Tasks

> Retrieve all tasks for the authenticated user.

Returns a list of task templates with their IDs and names (first 50 chars of prompt).



## OpenAPI

````yaml cloud-api-reference/openapi.json get /tasks
openapi: 3.1.0
info:
  title: Webagent API
  description: API to execute automated tasks on browser using different LLM providers.
  version: 0.1.0
servers:
  - url: https://api.webagent.cloud
    description: Webagent API
security: []
paths:
  /tasks:
    get:
      tags:
        - run
      summary: Get Tasks
      description: >-
        Retrieve all tasks for the authenticated user.


        Returns a list of task templates with their IDs and names (first 50
        chars of prompt).
      operationId: get_tasks_tasks_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/LightTask'
                type: array
                title: Response Get Tasks Tasks Get
        '404':
          description: Not found
      security:
        - APIKeyHeader: []
components:
  schemas:
    LightTask:
      properties:
        id:
          type: string
          title: Id
          description: The ID of the task
        name:
          type: string
          title: Name
          description: The name of the task
      type: object
      required:
        - id
        - name
      title: LightTask
      description: Represents a Task
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: x-api-key

````