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

# List Queue Workflows

> List workflows/tasks for a worker queue.

Returns list of workflows with status counts and filtering options.



## OpenAPI

````yaml https://control-plane.kubiya.ai/api/openapi.json get /api/v1/worker-queues/{queue_id}/workflows
openapi: 3.1.0
info:
  title: Agent Control Plane API
  description: Multi-tenant agent orchestration with Temporal workflows
  version: 1.0.0
servers: []
security:
  - BearerAuth: []
tags:
  - name: health
    description: 🏥 **Health & Status** - Check API health and availability
  - name: authentication
    description: 🔐 **Authentication** - Token validation and auth management
  - name: agents
    description: 🤖 **Agents** - Create and manage AI agents with custom capabilities
  - name: skills
    description: 🛠️ **Tool Sets** - Manage agent skills and tool configurations
  - name: integrations
    description: 🔌 **Integrations** - Connect to external services (Kubiya managed)
  - name: custom-integrations
    description: >-
      ⚙️ **Custom Integrations** - User-defined integration instances with env
      vars, secrets, and files
  - name: integration-templates
    description: >-
      📦 **Integration Templates** - Pre-configured templates for common
      services (PostgreSQL, Redis, MongoDB, etc.)
  - name: secrets
    description: 🔑 **Secrets** - Secure credential storage and retrieval
  - name: teams
    description: 👥 **Teams** - Team management and collaboration
  - name: workflows
    description: 📊 **Workflows** - Multi-step automation and orchestration
  - name: executions
    description: ▶️ **Executions** - Track and monitor workflow runs
  - name: jobs
    description: ⏰ **Jobs** - Scheduled and webhook-triggered tasks
  - name: policies
    description: 🛡️ **Policies** - Access control and security policies
  - name: analytics
    description: 📈 **Analytics** - Usage metrics and performance monitoring
  - name: projects
    description: 📁 **Projects** - Project organization and management
  - name: environments
    description: 🌍 **Environments** - Environment configuration (dev, staging, prod)
  - name: models
    description: 🧠 **Models** - LLM model configuration and management
  - name: runtimes
    description: ⚡ **Runtimes** - Agent execution runtime environments
  - name: workers
    description: 👷 **Workers** - Worker registration and heartbeat monitoring
  - name: storage
    description: 💾 **Storage** - File storage and cloud integration
  - name: context-graph
    description: 🕸️ **Context Graph** - Knowledge graph and context management
  - name: temporal-workflows
    description: >-
      ⚙️ **Temporal Workflows** - Background workflows for context graph
      ingestion, connector operations, and scheduled jobs
  - name: templates
    description: 📝 **Templates** - Reusable configuration templates
paths:
  /api/v1/worker-queues/{queue_id}/workflows:
    get:
      summary: List Queue Workflows
      description: |-
        List workflows/tasks for a worker queue.

        Returns list of workflows with status counts and filtering options.
      operationId: list_queue_workflows_api_v1_worker_queues__queue_id__workflows_get
      parameters:
        - name: queue_id
          in: path
          required: true
          schema:
            type: string
            title: Queue Id
        - name: status_filter
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Status Filter
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            default: 100
            title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowsListResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    WorkflowsListResponse:
      properties:
        workflows:
          items:
            $ref: '#/components/schemas/WorkflowListItem'
          type: array
          title: Workflows
          description: List of workflows
        total:
          type: integer
          title: Total
          description: Total number of workflows
        pending_count:
          type: integer
          title: Pending Count
          description: Number of pending workflows
          default: 0
        running_count:
          type: integer
          title: Running Count
          description: Number of running workflows
          default: 0
        completed_count:
          type: integer
          title: Completed Count
          description: Number of completed workflows
          default: 0
        failed_count:
          type: integer
          title: Failed Count
          description: Number of failed workflows
          default: 0
      type: object
      required:
        - workflows
        - total
      title: WorkflowsListResponse
      description: Response for list queue workflows
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    WorkflowListItem:
      properties:
        workflow_id:
          type: string
          title: Workflow Id
          description: Temporal workflow ID
        run_id:
          type: string
          title: Run Id
          description: Temporal run ID
        task_queue:
          type: string
          title: Task Queue
          description: Task queue name
        worker_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Worker Id
          description: Worker ID processing this workflow
        status:
          type: string
          title: Status
          description: Workflow status
        execution_id:
          type: string
          title: Execution Id
          description: Execution entity ID
        started_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Started At
          description: Workflow start time
        close_time:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Close Time
          description: Workflow completion time
        workflow_type:
          type: string
          title: Workflow Type
          description: Workflow type
        attempt:
          type: integer
          title: Attempt
          description: Execution attempt number
          default: 1
        history_length:
          type: integer
          title: History Length
          description: Workflow history event count
          default: 0
      type: object
      required:
        - workflow_id
        - run_id
        - task_queue
        - status
        - execution_id
        - workflow_type
      title: WorkflowListItem
      description: Workflow list item for queue workflows
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: 'Enter your Kubiya API token (format: Bearer <token>)'

````