(Preview) Create a new experiment run
post
/20260430/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/mlops/api/2.0/mlflow/runs/create
(Preview) Creates a new run within an experiment.
Request
Path Parameters
-
aiDataPlatformId(required): string
The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the AI Data Platform (Data Lake) instance.
-
workspaceKey(required): string
The key of the Workspace
Header Parameters
-
dh-user-principal: string
The DH User Principal Header .
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. The only valid characters for request IDs are letters, numbers, underscore, and dash.
-
opc-retry-token: string
Minimum Length:
1Maximum Length:64A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of running that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and removed from the system, then a retry of the original creation request might be rejected.
Details for the new run.
Root Schema : CreateExperimentRunDetails
Type:
objectDetails of run to create.
Show Source
-
experiment_id:
string
ID of the associated experiment.
-
run_name:
string
Name of the run.
-
start_time:
integer(int64)
Unix timestamp in milliseconds when the run started.
-
tags:
array tags
Tags to log.
Nested Schema : ExperimentRunTag
Type:
objectRun tag.
Show Source
-
key:
string
Key of the run tag.
-
value:
string
Value of the run tag.
Response
Supported Media Types
- application/json
200 Response
Successful operation. Run is created within an experiment.
Headers
-
etag: string
For optimistic concurrency control. See `if-match`.
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : CreateExperimentRunResponseDetails
Type:
objectDetails of created run.
Show Source
-
run(required):
object ExperimentRun
Details of an experiment run.
Nested Schema : ExperimentRun
Type:
objectDetails of an experiment run.
Show Source
-
data:
object ExperimentRunData
Run data.
-
info:
object ExperimentRunInfo
Run metadata.
-
inputs:
object ExperimentRunInputs
Run inputs.
-
outputs:
object ExperimentRunOutputs
Run outputs.
Nested Schema : ExperimentRunData
Type:
objectRun data.
Show Source
-
metrics:
array metrics
Metrics logged for the run.
-
params:
array params
Parameters logged for the run.
-
tags:
array tags
Tags to log.
Nested Schema : ExperimentRunInfo
Type:
objectRun metadata.
Show Source
-
artifact_uri:
string
Artifact URI of the run.
-
end_time:
integer(int64)
Unix timestamp in milliseconds when the run ended.
-
experiment_id:
string
ID of the associated experiment.
-
lifecycle_stage:
string
Lifecycle stage of the experiment, e.g., 'active' or 'deleted'.
-
run_id:
string
Unique identifier for the run.
-
run_name:
string
Name of the run.
-
run_uuid:
string
UUID of the run.
-
start_time:
integer(int64)
Unix timestamp in milliseconds when the run started.
-
status:
string
Allowed Values:
[ "RUNNING", "SCHEDULED", "FINISHED", "FAILED", "KILLED", "INTERNAL_ERROR" ]Status of the run. -
user_id:
string
User ID that created the run.
Nested Schema : ExperimentRunInputs
Type:
objectRun inputs.
Show Source
-
dataset_inputs:
array dataset_inputs
Dataset inputs for the run.
-
model_inputs:
array model_inputs
Model inputs for the run.
Nested Schema : ExperimentRunOutputs
Type:
objectRun outputs.
Show Source
-
model_outputs:
array model_outputs
Model outputs for the run.
Nested Schema : metrics
Type:
arrayMetrics logged for the run.
Show Source
-
Array of:
object ExperimentRunMetric
Run metric.
Nested Schema : params
Type:
arrayParameters logged for the run.
Show Source
-
Array of:
object ExperimentRunParam
Run param.
Nested Schema : ExperimentRunMetric
Type:
objectRun metric.
Show Source
-
key:
string
Name of the metric.
-
step:
integer(int64)
Step at which to log the metric.
-
timestamp:
integer(int64)
Unix timestamp in milliseconds when this metric was recorded.
-
value:
number(double)
Value of the metric.
Nested Schema : ExperimentRunParam
Type:
objectRun param.
Show Source
-
key:
string
Key of the parameter.
-
value:
string
Value of the parameter.
Nested Schema : ExperimentRunTag
Type:
objectRun tag.
Show Source
-
key:
string
Key of the run tag.
-
value:
string
Value of the run tag.
Nested Schema : dataset_inputs
Type:
arrayDataset inputs for the run.
Show Source
-
Array of:
object DatasetInput
DatasetInput
Nested Schema : model_inputs
Type:
arrayModel inputs for the run.
Show Source
-
Array of:
object ModelInput
Model input.
Nested Schema : DatasetInput
Type:
objectDatasetInput
Show Source
-
dataset(required):
object Dataset
Dataset. Represents a reference to data used for training, testing, or evaluation during the model development process.
-
tags:
array tags
Tags for the dataset input.
Nested Schema : Dataset
Type:
objectDataset. Represents a reference to data used for training, testing, or evaluation during the model development process.
Show Source
-
digest(required):
string
Digest (hash) of the dataset.
-
name(required):
string
Name of the dataset.
-
profile:
string
Profile of the dataset.
-
schema:
string
Schema of the dataset.
-
source(required):
string
URI or path to the dataset source.
-
source_type(required):
string
Type of the dataset source.
Nested Schema : InputTag
Type:
objectRun tag.
Show Source
-
key(required):
string
Key of the tag.
-
value(required):
string
Value of the tag.
Nested Schema : ModelInput
Type:
objectModel input.
Show Source
-
model_id(required):
string
ID of the model input.
Nested Schema : model_outputs
Type:
arrayModel outputs for the run.
Show Source
-
Array of:
object ModelOutput
Model output.
Nested Schema : ModelOutput
Type:
objectModel output.
Show Source
-
model_id(required):
string
ID of the model input.
-
step:
integer(int64)
Step at which the model was produced.
400 Response
Bad Request (invalid query parameters, malformed headers, and so on).
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
401 Response
Unauthorized (missing or expired credentials, and so on).
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
404 Response
Not Found. The requested resource was not found.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
409 Response
Conflict. Request conflicts with the current state of the resource.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
429 Response
Too Many Requests. Too many requests sent to the server in a short period.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
500 Response
Internal Server Error. The server encountered an unexpected condition preventing fulfilment of the request.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
Default Response
Unknown Error. Error is not recognized by the system.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.