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

# List Optimization Runs

> List the multistart runs of an optimization in one call.

Each run carries status and convergence history (read server-side),
so the frontend renders per-run progress without touching jobs.



## OpenAPI

````yaml https://api.ionworks.com/openapi.json get /optimizations/{id}/runs
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers:
  - url: https://api.ionworks.com
    description: Production
security: []
paths:
  /optimizations/{id}/runs:
    get:
      tags:
        - optimizations
      summary: List Optimization Runs
      description: |-
        List the multistart runs of an optimization in one call.

        Each run carries status and convergence history (read server-side),
        so the frontend renders per-run progress without touching jobs.
      operationId: list_optimization_runs_optimizations__id__runs_get
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            title: Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/OptimizationRun'
                title: Response List Optimization Runs Optimizations  Id  Runs Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    OptimizationRun:
      properties:
        run_id:
          type: string
          title: Run Id
          description: Opaque identifier for this optimization run.
        index:
          type: integer
          title: Index
          description: Zero-based position of the run.
        status:
          $ref: '#/components/schemas/DomainStatus'
          description: Lifecycle status of the run.
        intermediate_results:
          anyOf:
            - items:
                additionalProperties: true
                type: object
              type: array
            - type: 'null'
          title: Intermediate Results
          description: >-
            Per-iteration convergence history for the run; its length is the
            current iteration count. Null until the run produces history.
      type: object
      required:
        - run_id
        - index
        - status
      title: OptimizationRun
      description: |-
        A single multistart run within an optimization.

        Runs execute internally as child jobs; ``run_id`` is an opaque handle
        for one run and must not be treated by clients as a job identifier or
        passed to job endpoints. A single ``GET .../runs`` call returns every
        run with the convergence history needed to render per-run progress, so
        clients never read job storage blobs themselves.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    DomainStatus:
      type: string
      enum:
        - queued
        - running
        - succeeded
        - failed
        - canceled
      title: DomainStatus
      description: Frontend-facing lifecycle status for an async resource.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````