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

# Generate Doe

> Generate design-parameter dictionaries from a DOE specification.

Parameters
----------
request
    DOE request containing sampling method and per-parameter configs.

Returns
-------
list[dict[str, float]]
    List of design-parameter mappings suitable for simulation conditions.



## OpenAPI

````yaml https://api.ionworks.com/openapi.json post /doe/generate
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers:
  - url: https://api.ionworks.com
    description: Production
security: []
paths:
  /doe/generate:
    post:
      tags:
        - doe
      summary: Generate Doe
      description: |-
        Generate design-parameter dictionaries from a DOE specification.

        Parameters
        ----------
        request
            DOE request containing sampling method and per-parameter configs.

        Returns
        -------
        list[dict[str, float]]
            List of design-parameter mappings suitable for simulation conditions.
      operationId: generate_doe_doe_generate_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DOERequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  additionalProperties:
                    type: number
                  type: object
                type: array
                title: Response Generate Doe Doe Generate Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    DOERequest:
      properties:
        sampling:
          type: string
          title: Sampling
          default: grid
        rows:
          items:
            anyOf:
              - $ref: '#/components/schemas/DiscreteParam'
              - $ref: '#/components/schemas/RangeParam'
              - $ref: '#/components/schemas/NormalParam'
          type: array
          title: Rows
        count:
          anyOf:
            - type: integer
            - type: 'null'
          title: Count
      type: object
      title: DOERequest
      description: |-
        Design of Experiments request with rows.

        Parameters
        ----------
        sampling
            Sampling strategy. Supported: ``grid`` (cartesian product).
        rows
            List of parameter rows; each carries its own type and config fields.
        count
            Number of samples for non-grid methods (required). Ignored for
            ``grid`` sampling.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    DiscreteParam:
      properties:
        type:
          type: string
          const: discrete
          title: Type
          default: discrete
        name:
          type: string
          title: Name
        values:
          items:
            type: number
          type: array
          title: Values
      type: object
      required:
        - name
      title: DiscreteParam
      description: |-
        Discrete parameter configuration.

        Parameters
        ----------
        name
            Parameter name.
        values
            List of allowed numeric values.
    RangeParam:
      properties:
        type:
          type: string
          const: range
          title: Type
          default: range
        name:
          type: string
          title: Name
        min:
          type: number
          title: Min
        max:
          type: number
          title: Max
        count:
          anyOf:
            - type: integer
              minimum: 1
            - type: 'null'
          title: Count
      type: object
      required:
        - name
        - min
        - max
      title: RangeParam
      description: |-
        Range parameter configuration.

        Parameters
        ----------
        name
            Parameter name.
        min
            Minimum value (inclusive).
        max
            Maximum value (inclusive).
        count
            Optional grid sample count for this parameter. Required for
            ``grid`` sampling; ignored for non-grid methods.
    NormalParam:
      properties:
        type:
          type: string
          const: normal
          title: Type
          default: normal
        name:
          type: string
          title: Name
        mean:
          type: number
          title: Mean
        std:
          type: number
          title: Std
        count:
          anyOf:
            - type: integer
              minimum: 1
            - type: 'null'
          title: Count
      type: object
      required:
        - name
        - mean
        - std
      title: NormalParam
      description: |-
        Normal parameter configuration.

        Parameters
        ----------
        name
            Parameter name.
        mean
            Mean of the distribution.
        std
            Standard deviation of the distribution.
        count
            Optional grid sample count for this parameter. Required for
            ``grid`` sampling; ignored for non-grid methods.
    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

````