---
title: "Generate Doe"
method: POST
path: "/doe/generate"
tags: ["doe"]
---

# Generate Doe

`POST /doe/generate`

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.

## Request body

- DOERequest — 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.
  - `sampling` string
  - `rows` union[]
    - union
      - DiscreteParam — Discrete parameter configuration. Parameters ---------- name Parameter name. values List of allowed numeric values.
        - `type` 'discrete'
        - `name` string, required
        - `values` number[]
      - RangeParam — 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.
        - `type` 'range'
        - `name` string, required
        - `min` number, required
        - `max` number, required
        - `count` integer, nullable
      - NormalParam — 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.
        - `type` 'normal'
        - `name` string, required
        - `mean` number, required
        - `std` number, required
        - `count` integer, nullable
  - `count` integer, nullable

## Response `200`

Successful Response

- object[]

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/ionworks/apis/fastapi.md) · [All operations](https://skmtc.dev/ionworks/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ionworks/fastapi/revisions/7337a3cbdaf2/schema)
