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

# Lista Tasks visibles para el actor

> Lista Tasks visibles para el actor. clientId domina rol: scoped sólo ve Tasks de su empresa (incluso si rol=admin/system); null global ve todo, incluidas Tasks globales.



## OpenAPI

````yaml /generated/specs/operations.json get /api/v1/tasks
openapi: 3.0.0
info:
  title: Raul API - Operaciones
  description: Suscripciones, GPS, actividades, visitas y operacion tecnica.
  version: 2.0.0
  contact: {}
servers:
  - url: https://api.raul.ugps.io
    description: Production
security: []
tags: []
paths:
  /api/v1/tasks:
    get:
      tags:
        - Tasks
      summary: Lista Tasks visibles para el actor
      description: >-
        Lista Tasks visibles para el actor. clientId domina rol: scoped sólo ve
        Tasks de su empresa (incluso si rol=admin/system); null global ve todo,
        incluidas Tasks globales.
      operationId: TaskController_findAll
      parameters:
        - name: client_id
          required: false
          in: query
          schema:
            type: string
        - name: contact_id
          required: false
          in: query
          schema:
            type: string
        - name: assigned_to
          required: false
          in: query
          schema:
            type: string
        - name: status
          required: false
          in: query
          schema:
            type: string
        - name: date_from
          required: false
          in: query
          schema:
            type: string
        - name: date_to
          required: false
          in: query
          schema:
            type: string
        - name: activity_type_id
          required: false
          in: query
          schema:
            type: number
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TaskResponseDto'
      security:
        - bearerAuth: []
components:
  schemas:
    TaskResponseDto:
      type: object
      properties:
        priority:
          type: string
          enum:
            - low
            - medium
            - high
          nullable: true
        task_id:
          type: string
        description:
          type: string
        due_date:
          type: string
          format: date-time
        status:
          type: string
        created_at:
          type: string
          format: date-time
        client_id:
          type: string
        client_name:
          type: string
        contact_id:
          type: string
        contact_name:
          type: string
        visit_id:
          type: string
        visit_description:
          type: string
        assigned_to:
          type: string
        assigned_user_name:
          type: string
        created_by:
          type: string
        created_by_name:
          type: string
        activity_type_id:
          type: number
        activity_type_name:
          type: string
        activity_result:
          type: object
        activityType:
          type: object
          description: Activity type information (id and name)
      required:
        - priority
        - task_id
        - description
        - due_date
        - status
        - created_at
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Token de sesión Better Auth para rutas de backoffice; las rutas de
        portal usan su token propio.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.