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

# List runs with optional search and tag filtering

> Lists runs in a project with optional search using ILIKE substring matching. Supports tag filtering with OR logic (returns runs with ANY of the specified tags).



## OpenAPI

````yaml /pluto/api-reference/openapi.json get /api/runs/list
openapi: 3.0.0
info:
  title: mlop API
  version: 1.0.0
  description: API for mlop - ML experiment tracking platform
servers:
  - url: https://pluto-api.trainy.ai
    description: API Server
security:
  - bearerAuth: []
paths:
  /api/runs/list:
    get:
      tags:
        - Runs
      summary: List runs with optional search and tag filtering
      description: >-
        Lists runs in a project with optional search using ILIKE substring
        matching. Supports tag filtering with OR logic (returns runs with ANY of
        the specified tags).
      parameters:
        - schema:
            type: string
            description: Project name
            example: my-project
          required: true
          name: projectName
          in: query
        - schema:
            type: string
            description: Search term for run names (substring match)
            example: training
          required: false
          name: search
          in: query
        - schema:
            type: string
            description: Comma-separated list of tags to filter by (OR logic)
            example: baseline,experiment
          required: false
          name: tags
          in: query
        - schema:
            type: number
            minimum: 1
            maximum: 200
            default: 50
            description: Maximum number of runs to return
            example: 50
          required: false
          name: limit
          in: query
        - schema:
            type: boolean
            nullable: true
            default: false
            description: >-
              When true, attach _flatConfig and _flatSystemMetadata to each run.
              Off by default for lean SDK responses.
            example: false
          required: false
          name: includeFieldValues
          in: query
        - schema:
            type: string
            description: >-
              JSON-encoded array of {source:'config'|'systemMetadata',
              key:string}. Restricts _flatConfig/_flatSystemMetadata to the
              listed keys. Empty array = no field values.
            example: '[{"source":"config","key":"lr"}]'
          required: false
          name: visibleColumns
          in: query
      responses:
        '200':
          description: List of runs
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListRunsResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearerAuth: []
components:
  schemas:
    ListRunsResponse:
      type: object
      properties:
        runs:
          $ref: '#/components/schemas/RunListItem'
        total:
          type: number
          description: Total count of matching runs
      required:
        - runs
        - total
    Error:
      type: object
      properties:
        error:
          type: string
      required:
        - error
    RunListItem:
      type: array
      items:
        type: object
        properties:
          id:
            type: number
            description: Numeric run ID
          name:
            type: string
            description: Run name
          number:
            type: number
            nullable: true
            description: Sequential run number within the project
          displayId:
            type: string
            nullable: true
            description: Human-readable display ID (e.g., 'MMP-1')
          status:
            type: string
            description: Run status
          tags:
            type: array
            items:
              type: string
            description: Run tags
          createdAt:
            type: string
            description: Creation timestamp
          _flatConfig:
            type: object
            additionalProperties:
              nullable: true
            description: Flattened config — only present when includeFieldValues=true
          _flatSystemMetadata:
            type: object
            additionalProperties:
              nullable: true
            description: >-
              Flattened systemMetadata — only present when
              includeFieldValues=true
        required:
          - id
          - name
          - number
          - displayId
          - status
          - tags
          - createdAt
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: API key obtained from the mlop dashboard

````