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

# Get workflow runs executions with optional filters



## OpenAPI

````yaml api-reference/endpoints/workflows/api-reference/openapi.json get /api/v1/workflows/runs
openapi: 3.1.0
info:
  title: Polos Orchestrator API
  description: API for the Polos durable execution platform for AI agents
  contact:
    name: Polos Team
    url: https://github.com/polos-dev/polos
  license:
    name: ''
  version: 1.0.0
servers:
  - url: /
    description: Current server
security: []
tags:
  - name: Health
    description: Health check endpoints
  - name: Projects
    description: Project management endpoints
  - name: Agents
    description: Agent definition management
  - name: Tools
    description: Tool definition management
  - name: Workflows
    description: Workflow management
  - name: Executions
    description: Workflow execution management
  - name: Traces
    description: Observability traces
  - name: Events
    description: Event publishing and streaming
  - name: Event Triggers
    description: Event-based workflow triggers
  - name: Schedules
    description: Scheduled workflow execution
  - name: Workers
    description: Worker registration and management
  - name: Deployments
    description: Deployment management
paths:
  /api/v1/workflows/runs:
    get:
      tags:
        - Workflows
      summary: Get workflow runs (executions) with optional filters
      operationId: get_workflow_runs
      parameters:
        - name: X-Project-ID
          in: header
          description: Project ID
          required: true
          schema:
            type: string
        - name: workflow_type
          in: query
          description: Filter by workflow type (workflow, agent, tool)
          required: false
          schema:
            type:
              - string
              - 'null'
        - name: workflow_id
          in: query
          description: Filter by workflow ID
          required: false
          schema:
            type:
              - string
              - 'null'
        - name: limit
          in: query
          description: 'Maximum number of results (default: 50)'
          required: false
          schema:
            type:
              - integer
              - 'null'
            format: int64
        - name: offset
          in: query
          description: Offset for pagination
          required: false
          schema:
            type:
              - integer
              - 'null'
            format: int64
        - name: start_time
          in: query
          description: Start time filter (RFC3339)
          required: false
          schema:
            type:
              - string
              - 'null'
        - name: end_time
          in: query
          description: End time filter (RFC3339)
          required: false
          schema:
            type:
              - string
              - 'null'
      responses:
        '200':
          description: List of workflow runs
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/WorkflowRunSummary'
        '401':
          description: Not authenticated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Access forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - bearer_auth: []
        - cookie_auth: []
components:
  schemas:
    WorkflowRunSummary:
      type: object
      description: Workflow run summary
      required:
        - id
        - workflow_id
        - created_at
        - status
        - payload
      properties:
        completed_at:
          type:
            - string
            - 'null'
          description: Completion timestamp (RFC3339)
        created_at:
          type: string
          description: Creation timestamp (RFC3339)
        error:
          type:
            - string
            - 'null'
          description: Error message if failed
        id:
          type: string
          description: Execution ID
        payload:
          description: Input payload
        result:
          description: Execution result
        root_execution_id:
          type:
            - string
            - 'null'
          description: Root execution ID (for nested workflows)
        status:
          type: string
          description: Execution status
        workflow_id:
          type: string
          description: Workflow ID
    ErrorResponse:
      type: object
      description: Standard error response
      required:
        - error
        - error_type
      properties:
        error:
          type: string
          description: Human-readable error message
        error_type:
          type: string
          description: Machine-readable error type code
  securitySchemes:
    bearer_auth:
      type: http
      scheme: bearer
    cookie_auth:
      type: apiKey
      in: cookie
      name: polos_auth

````