> ## 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.

# Get Optimization Series

> One objective's validation series, windowed and budgeted.

The same rows ``/metadata`` carries whole. A plot reading them from there downloads every
sample of both solves to draw a few hundred points.



## OpenAPI

````yaml https://api.ionworks.com/openapi.json get /optimizations/{id}/series
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers:
  - url: https://api.ionworks.com
    description: Production
security: []
paths:
  /optimizations/{id}/series:
    get:
      tags:
        - optimizations
      summary: Get Optimization Series
      description: >-
        One objective's validation series, windowed and budgeted.


        The same rows ``/metadata`` carries whole. A plot reading them from
        there downloads every

        sample of both solves to draw a few hundred points.
      operationId: get_optimization_series_optimizations__id__series_get
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            title: Id
        - name: objective
          in: query
          required: true
          schema:
            type: string
            description: Objective name within the payload
            title: Objective
          description: Objective name within the payload
        - name: source
          in: query
          required: false
          schema:
            type: string
            description: 'Which solve: ''optimal'' or ''baseline'''
            default: optimal
            title: Source
          description: 'Which solve: ''optimal'' or ''baseline'''
        - name: columns
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Comma-separated channels besides the x column
            title: Columns
          description: Comma-separated channels besides the x column
        - name: x
          in: query
          required: false
          schema:
            type: string
            description: Column plotted on x, and windowed on
            default: Time [s]
            title: X
          description: Column plotted on x, and windowed on
        - name: max_points
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
                minimum: 1
              - type: 'null'
            description: Row ceiling, from the plot's measured width
            title: Max Points
          description: Row ceiling, from the plot's measured width
        - name: x_min
          in: query
          required: false
          schema:
            anyOf:
              - type: number
              - type: 'null'
            description: Window lower bound, in x's units
            title: X Min
          description: Window lower bound, in x's units
        - name: x_max
          in: query
          required: false
          schema:
            anyOf:
              - type: number
              - type: 'null'
            description: Window upper bound, in x's units
            title: X Max
          description: Window upper bound, in x's units
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    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

````