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

# List runs



## OpenAPI

````yaml /api/openapi.yaml get /runs
openapi: 3.1.0
info:
  title: Antigen API
  version: v1
  description: >-
    Use the Antigen API to manage targets, runs, vulnerabilities, evidence,
    reports, hooks, assets, and integrations.
servers:
  - url: https://api.antigen.sh/v1
    description: Production
security:
  - ApiKeyAuth: []
  - BearerAuth: []
  - SessionCookie: []
tags:
  - name: Authentication
  - name: API keys
  - name: Models
  - name: Agents
  - name: Targets
  - name: Runs
  - name: Vulnerabilities
  - name: Evidence
  - name: Reports
  - name: Hooks
  - name: Asset Map
  - name: Integrations
paths:
  /runs:
    get:
      tags:
        - Runs
      summary: List runs
      operationId: listRuns
      parameters:
        - $ref: '#/components/parameters/RunStatus'
        - $ref: '#/components/parameters/Tags'
        - $ref: '#/components/parameters/Limit'
        - $ref: '#/components/parameters/Offset'
      responses:
        '200':
          description: Runs for the organization.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RunList'
components:
  parameters:
    RunStatus:
      name: status
      in: query
      schema:
        type: string
        enum:
          - creating
          - running
          - stopped
          - completed
          - failed
    Tags:
      name: tags
      in: query
      description: Filter by the intersection of supplied tags.
      schema:
        type: array
        items:
          type: string
    Limit:
      name: limit
      in: query
      schema:
        type: integer
        default: 20
        maximum: 100
    Offset:
      name: offset
      in: query
      schema:
        type: integer
        minimum: 0
  schemas:
    RunList:
      type: object
      required:
        - runs
        - total
      properties:
        runs:
          type: array
          items:
            $ref: '#/components/schemas/RunSummary'
        total:
          type: number
    RunSummary:
      type: object
      required:
        - id
        - status
        - agent
        - model
        - targets
        - tags
        - created_at
        - stopped_at
        - completed_at
      properties:
        id:
          type: string
          format: uuid
        status:
          type: string
          enum:
            - creating
            - running
            - stopped
            - completed
            - failed
        agent:
          type: string
        model:
          type: string
        targets:
          type: array
          items:
            type: string
        tags:
          type: array
          items:
            type: string
        created_at:
          $ref: '#/components/schemas/Timestamp'
        stopped_at:
          type:
            - string
            - 'null'
          format: date-time
        completed_at:
          type:
            - string
            - 'null'
          format: date-time
    Timestamp:
      type: string
      format: date-time
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: API key from the Antigen dashboard.
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: access token
      description: Better Auth access token.
    SessionCookie:
      type: apiKey
      in: cookie
      name: better-auth.session_token
      description: Better Auth browser session cookie.

````