Load Inverse Output

Loads the output values from the current inverse optimization iteration.

Endpoint

POST /models/{model_id}/projects/{project_id}/trials/{trial_id}/objectives/{objective_id}/inverse-output

Path Parameters

Parameter
Type
Required
Description

model_id

integer

Yes

ID of the model

project_id

integer

Yes

ID of the project

trial_id

integer

Yes

ID of the trial

objective_id

integer

Yes

ID of the objective

Request Parameters

Parameter
Type
Required
Description

output

array[float]

Yes

Output values from the current iteration (must match objective count)

Request Format

{
    "output": [98.5, 45.2, 22.1]
}

Response Format

Examples

Error Responses

Status Code
Description

400

Invalid request - Invalid output format

401

Unauthorized - Invalid API key

404

Model, project, trial, or objective not found

409

Conflict - No active iteration

429

Too many requests - Rate limit exceeded

500

Internal server error

Validation Rules

  • Model, project, trial, and objective IDs must be positive integers

  • Output array must contain valid floating point numbers

  • Output array length must match the number of objectives

  • Trial must be in an active state

  • Previous iteration must be completed

  • An inverse optimization must be initialized for the trial

Last updated