Create or update schedule

Create or replace the suite’s schedule (one per suite).

Authentication

AuthorizationBearer

Your gateway API key (mg_ prefix), the same key used for /v1/responses

Path parameters

suite_idstringRequiredformat: "uuid"

Request

This endpoint expects an object.
target_modelstringRequired1-100 characters
interval_hoursintegerRequired
trialsintegerOptional1-5Defaults to 1
is_enabledbooleanOptionalDefaults to true

Response

Successful Response
idstringformat: "uuid"
suite_idstringformat: "uuid"
target_modelstring
trialsinteger
interval_hoursinteger
is_enabledboolean
next_run_atdatetime
created_atdatetime
updated_atdatetime
last_run_idstring or nullOptionalformat: "uuid"
created_bystring or nullOptional

Errors

422
Unprocessable Entity Error