Load Developed Outputs

Loads a set of developed outputs into a trial in globalMOO.

Endpoint

POST /trials/{trial_id}/load-developed-outputs

Path Parameters

Parameter
Type
Required
Description

trial_id

integer

Yes

ID of the trial

Request Parameters

Parameter
Type
Required
Description

count

integer

Yes

Number of output variables (must be > 0)

outputs

array[array[float]]

Yes

Array of output arrays (must match count)

Response Fields

Field
Type
Description

id

integer

Unique identifier for the output set

trial_id

integer

ID of the trial these outputs belong to

status

string

Current trial status after loading outputs

outputs

array[array[float]]

Array of output arrays, each containing count float values

created_at

string

Creation timestamp (ISO 8601)

updated_at

string

Last update timestamp (ISO 8601)

Request Format

Response Format

Examples

Error Responses

Status Code
Description

400

Invalid request - Malformed output data

401

Unauthorized - Invalid API key

404

Trial not found

429

Too many requests - Rate limit exceeded

500

Internal server error

Status Values

Possible status values:

  • active - Trial is currently active

  • completed - Trial has completed successfully

  • failed - Trial failed due to an error

Validation Rules

  • Trial ID must be a positive integer

  • Count must be a positive integer matching the trial output count

  • Each output array must contain exactly 'count' values

  • All output values must be valid floating point numbers

  • The outputs array must contain at least one case

  • Trial must exist and be active

Last updated