import { z } from "zod"; //#region src/v1/model.d.ts /** * A LoggedModelStatus enum value represents the status of a logged * model. */ declare const LoggedModelStatus: { readonly LOGGED_MODEL_STATUS_UNSPECIFIED: "LOGGED_MODEL_STATUS_UNSPECIFIED"; /** * The LoggedModel has been created, but the LoggedModel files are not * completely uploaded. */ readonly LOGGED_MODEL_PENDING: "LOGGED_MODEL_PENDING"; /** The LoggedModel is created, and the LoggedModel files are completely uploaded. */ readonly LOGGED_MODEL_READY: "LOGGED_MODEL_READY"; /** * The LoggedModel is created, but an error occurred when uploading the * LoggedModel files such as model weights / agent code. */ readonly LOGGED_MODEL_UPLOAD_FAILED: "LOGGED_MODEL_UPLOAD_FAILED"; }; type LoggedModelStatus = (typeof LoggedModelStatus)[keyof typeof LoggedModelStatus] | (string & {}); /** Status of a run. */ declare const RunStatus: { /** Run has been initiated. */readonly RUNNING: "RUNNING"; /** Run is scheduled to run at a later time. */ readonly SCHEDULED: "SCHEDULED"; /** Run has completed. */ readonly FINISHED: "FINISHED"; /** Run execution failed. */ readonly FAILED: "FAILED"; /** Run killed by user. */ readonly KILLED: "KILLED"; }; type RunStatus = (typeof RunStatus)[keyof typeof RunStatus] | (string & {}); /** Qualifier for the view type. */ declare const ViewType: { /** Default. Return only active. */readonly ACTIVE_ONLY: "ACTIVE_ONLY"; /** Return only deleted. */ readonly DELETED_ONLY: "DELETED_ONLY"; /** Get all. */ readonly ALL: "ALL"; }; type ViewType = (typeof ViewType)[keyof typeof ViewType] | (string & {}); interface CreateExperimentRequest { /** Experiment name. */ name?: string | undefined; /** * Location where all artifacts for the experiment are stored. * If not provided, the remote server will select an appropriate default. */ artifactLocation?: string | undefined; /** * A collection of tags to set on the experiment. Maximum tag size and number of tags per request * depends on the storage backend. All storage backends are guaranteed to support tag keys up * to 250 bytes in size and tag values up to 5000 bytes in size. All storage backends are also * guaranteed to support up to 20 tags per request. */ tags?: ExperimentTag[] | undefined; /** * The location where the experiment's traces are stored. When set, the * underlying storage is provisioned and the experiment's traces are routed * to it. When unset, traces are stored in the default MLflow backend. This * field cannot be updated after the experiment is created. */ traceLocation?: ExperimentTraceLocation | undefined; } interface CreateExperimentResponse { /** Unique identifier for the experiment. */ experimentId?: string | undefined; } interface CreateLoggedModelRequest { /** The ID of the experiment that owns the model. */ experimentId?: string | undefined; /** The name of the model (optional). If not specified one will be generated. */ name?: string | undefined; /** The type of the model, such as ``"Agent"``, ``"Classifier"``, ``"LLM"``. */ modelType?: string | undefined; /** The ID of the run that created the model. */ sourceRunId?: string | undefined; /** Parameters attached to the model. */ params?: LoggedModelParameter[] | undefined; /** Tags attached to the model. */ tags?: LoggedModelTag[] | undefined; } interface CreateLoggedModelResponse { /** The newly created logged model. */ model?: LoggedModel | undefined; } interface CreateRunRequest { /** ID of the associated experiment. */ experimentId?: string | undefined; /** * ID of the user executing the run. * This field is deprecated as of MLflow 1.0, and will be removed in a future * MLflow release. Use 'mlflow.user' tag instead. */ userId?: string | undefined; /** The name of the run. */ runName?: string | undefined; /** Unix timestamp in milliseconds of when the run started. */ startTime?: bigint | undefined; /** Additional metadata for run. */ tags?: RunTag[] | undefined; } interface CreateRunResponse { /** The newly created run. */ run?: Run | undefined; } /** * Dataset. Represents a reference to data used for training, testing, or evaluation during * the model development process. */ interface Dataset { /** The name of the dataset. E.g. “my.uc.table@2” “nyc-taxi-dataset”, “fantastic-elk-3” */ name?: string | undefined; /** Dataset digest, e.g. an md5 hash of the dataset that uniquely identifies it within datasets of the same name. */ digest?: string | undefined; /** The type of the dataset source, e.g. ‘databricks-uc-table’, ‘DBFS’, ‘S3’, ... */ sourceType?: string | undefined; /** * Source information for the dataset. Note that the source may not exactly reproduce the * dataset if it was transformed / modified before use with MLflow. */ source?: string | undefined; /** * The schema of the dataset. E.g., MLflow ColSpec JSON for a dataframe, MLflow TensorSpec JSON * for an ndarray, or another schema format. */ schema?: string | undefined; /** * The profile of the dataset. Summary statistics for the dataset, such as the number of rows * in a table, the mean / std / mode of each column in a table, or the number of elements * in an array. */ profile?: string | undefined; } /** DatasetInput. Represents a dataset and input tags. */ interface DatasetInput { /** A list of tags for the dataset input, e.g. a “context” tag with value “training” */ tags?: InputTag[] | undefined; /** The dataset being used as a Run input. */ dataset?: Dataset | undefined; } interface DeleteExperimentRequest { /** ID of the associated experiment. */ experimentId?: string | undefined; } interface DeleteExperimentResponse {} interface DeleteLoggedModelRequest { /** The ID of the logged model to delete. */ modelId?: string | undefined; } interface DeleteLoggedModelResponse {} interface DeleteLoggedModelTagRequest { /** The ID of the logged model to delete the tag from. */ modelId?: string | undefined; /** The tag key. */ tagKey?: string | undefined; } interface DeleteLoggedModelTagResponse {} interface DeleteRunRequest { /** ID of the run to delete. */ runId?: string | undefined; } interface DeleteRunResponse {} interface DeleteRunsRequest { /** The ID of the experiment containing the runs to delete. */ experimentId?: string | undefined; /** * The maximum creation timestamp in milliseconds since the UNIX epoch for deleting runs. Only runs created prior to * or at this timestamp are deleted. */ maxTimestampMillis?: bigint | undefined; /** * An optional positive integer indicating the maximum number of runs to delete. The maximum allowed value for * max_runs is 10000. */ maxRuns?: number | undefined; } interface DeleteRunsResponse { /** The number of runs deleted. */ runsDeleted?: number | undefined; } interface DeleteTagRequest { /** ID of the run that the tag was logged under. Must be provided. */ runId?: string | undefined; /** Name of the tag. Maximum size is 255 bytes. Must be provided. */ key?: string | undefined; } interface DeleteTagResponse {} /** An experiment and its metadata. */ interface Experiment { /** Unique identifier for the experiment. */ experimentId?: string | undefined; /** Human readable name that identifies the experiment. */ name?: string | undefined; /** Location where artifacts for the experiment are stored. */ artifactLocation?: string | undefined; /** * Current life cycle stage of the experiment: "active" or "deleted". * Deleted experiments are not returned by APIs. */ lifecycleStage?: string | undefined; /** Last update time */ lastUpdateTime?: bigint | undefined; /** Creation time */ creationTime?: bigint | undefined; /** Tags: Additional metadata key-value pairs. */ tags?: ExperimentTag[] | undefined; /** * The location where the experiment's traces are stored. Unset when traces * are stored in the default MLflow backend. This field cannot be updated * after the experiment is created. */ traceLocation?: ExperimentTraceLocation | undefined; } /** A tag for an experiment. */ interface ExperimentTag { /** The tag key. */ key?: string | undefined; /** The tag value. */ value?: string | undefined; } /** The storage location for an experiment's traces. */ interface ExperimentTraceLocation { location?: { $case: 'ucTraceLocation'; /** * A Unity Catalog schema where the experiment's traces are stored as * Delta tables. */ ucTraceLocation: UcTraceLocation; } | undefined; } /** Metadata of a single artifact file or directory. */ interface FileInfo { /** The path relative to the root artifact directory run. */ path?: string | undefined; /** Whether the path is a directory. */ isDir?: boolean | undefined; /** The size in bytes of the file. Unset for directories. */ fileSize?: bigint | undefined; } interface FinalizeLoggedModelRequest { /** The ID of the logged model to finalize. */ modelId?: string | undefined; /** * Whether or not the model is ready for use. ``"LOGGED_MODEL_UPLOAD_FAILED"`` indicates that something went wrong * when logging the model weights / agent code. */ status?: LoggedModelStatus | undefined; } interface FinalizeLoggedModelResponse { /** The updated logged model. */ model?: LoggedModel | undefined; } interface GetExperimentByNameRequest { /** Name of the associated experiment. */ experimentName?: string | undefined; } interface GetExperimentByNameResponse { /** Experiment details. */ experiment?: Experiment | undefined; } interface GetExperimentRequest { /** ID of the associated experiment. */ experimentId?: string | undefined; } interface GetExperimentResponse { /** Experiment details. */ experiment?: Experiment | undefined; /** * A collection of active runs in the experiment. Note: this may not contain * all of the experiment's active runs. * * This field is deprecated. Please use the "Search Runs" API to fetch * runs within an experiment. */ runs?: RunInfo[] | undefined; } interface GetLoggedModelRequest { /** The ID of the logged model to retrieve. */ modelId?: string | undefined; } interface GetLoggedModelResponse { /** The retrieved logged model. */ model?: LoggedModel | undefined; } interface GetMetricHistoryResponse { /** * All logged values for this metric if `max_results` is not specified in the request or if the total count of * metrics returned is less than the service level pagination threshold. Otherwise, this is one page of results. */ metrics?: Metric[] | undefined; /** * A token that can be used to issue a query for the next page of metric history values. A missing token indicates * that no additional metrics are available to fetch. */ nextPageToken?: string | undefined; } interface GetRunRequest { /** ID of the run to fetch. Must be provided. */ runId?: string | undefined; /** * [Deprecated, use `run_id` instead] ID of the run to fetch. This field will * be removed in a future MLflow version. */ runUuid?: string | undefined; } interface GetRunResponse { /** Run metadata (name, start time, etc) and data (metrics, params, and tags). */ run?: Run | undefined; } /** Tag for a dataset input. */ interface InputTag { /** The tag key. */ key?: string | undefined; /** The tag value. */ value?: string | undefined; } interface ListArtifactsRequest { /** ID of the run whose artifacts to list. Must be provided. */ runId?: string | undefined; /** * [Deprecated, use `run_id` instead] ID of the run whose artifacts to list. This field will * be removed in a future MLflow version. */ runUuid?: string | undefined; /** Filter artifacts matching this path (a relative path from the root artifact directory). */ path?: string | undefined; /** * The token indicating the page of artifact results to fetch. `page_token` is not supported when listing artifacts in UC * Volumes. A maximum of 1000 artifacts will be retrieved for UC Volumes. Please call * `/api/2.0/fs/directories{directory_path}` for listing artifacts in UC Volumes, which supports pagination. See [List * directory contents | Files API](/api/workspace/files/listdirectorycontents). */ pageToken?: string | undefined; } interface ListArtifactsResponse { /** The root artifact directory for the run. */ rootUri?: string | undefined; /** The file location and metadata for artifacts. */ files?: FileInfo[] | undefined; /** The token that can be used to retrieve the next page of artifact results. */ nextPageToken?: string | undefined; } interface ListExperimentsRequest { /** * Qualifier for type of experiments to be returned. * If unspecified, return only active experiments. */ viewType?: ViewType | undefined; /** * Maximum number of experiments desired. * If `max_results` is unspecified, return all experiments. * If `max_results` is too large, it'll be automatically capped at 1000. * Callers of this endpoint are encouraged to pass max_results explicitly and leverage * page_token to iterate through experiments. */ maxResults?: bigint | undefined; /** Token indicating the page of experiments to fetch */ pageToken?: string | undefined; } interface ListExperimentsResponse { /** Paginated Experiments beginning with the first item on the requested page. */ experiments?: Experiment[] | undefined; /** * Token that can be used to retrieve the next page of experiments. * Empty token means no more experiment is available for retrieval. */ nextPageToken?: string | undefined; } interface ListMetricHistoryRequest { /** ID of the run from which to fetch metric values. Must be provided. */ runId?: string | undefined; /** * [Deprecated, use `run_id` instead] ID of the run from which to fetch metric values. This field * will be removed in a future MLflow version. */ runUuid?: string | undefined; /** Name of the metric. */ metricKey?: string | undefined; /** Token indicating the page of metric histories to fetch. */ pageToken?: string | undefined; /** * Maximum number of Metric records to return per paginated request. Default is set to 25,000. If set higher than * 25,000, a request Exception will be raised. */ maxResults?: number | undefined; } interface LogBatchRequest { /** ID of the run to log under */ runId?: string | undefined; /** * Metrics to log. A single request can contain up to 1000 metrics, and up to 1000 * metrics, params, and tags in total. */ metrics?: Metric[] | undefined; /** * Params to log. A single request can contain up to 100 params, and up to 1000 * metrics, params, and tags in total. */ params?: Param[] | undefined; /** * Tags to log. A single request can contain up to 100 tags, and up to 1000 * metrics, params, and tags in total. */ tags?: RunTag[] | undefined; } interface LogBatchResponse {} interface LogInputsRequest { /** ID of the run to log under */ runId?: string | undefined; /** Dataset inputs */ datasets?: DatasetInput[] | undefined; /** Model inputs */ models?: ModelInput[] | undefined; } interface LogInputsResponse {} interface LogLoggedModelParamsRequest { /** The ID of the logged model to log params for. */ modelId?: string | undefined; /** Parameters to attach to the model. */ params?: LoggedModelParameter[] | undefined; } interface LogLoggedModelParamsResponse {} interface LogMetricRequest { /** ID of the run under which to log the metric. Must be provided. */ runId?: string | undefined; /** * [Deprecated, use `run_id` instead] ID of the run under which to log the metric. This field will * be removed in a future MLflow version. */ runUuid?: string | undefined; /** Name of the metric. */ key?: string | undefined; /** Double value of the metric being logged. */ value?: number | undefined; /** Unix timestamp in milliseconds at the time metric was logged. */ timestamp?: bigint | undefined; /** Step at which to log the metric */ step?: bigint | undefined; /** ID of the logged model associated with the metric, if applicable */ modelId?: string | undefined; /** * The name of the dataset associated with the metric. * E.g. “my.uc.table@2” “nyc-taxi-dataset”, “fantastic-elk-3” */ datasetName?: string | undefined; /** * Dataset digest of the dataset associated with the metric, * e.g. an md5 hash of the dataset that uniquely identifies it * within datasets of the same name. */ datasetDigest?: string | undefined; } interface LogMetricResponse {} interface LogModelRequest { /** ID of the run to log under */ runId?: string | undefined; /** MLmodel file in json format. */ modelJson?: string | undefined; } interface LogModelResponse {} interface LogOutputsRequest { /** The ID of the Run from which to log outputs. */ runId?: string | undefined; /** The model outputs from the Run. */ models?: ModelOutput[] | undefined; } interface LogOutputsResponse {} interface LogParamRequest { /** ID of the run under which to log the param. Must be provided. */ runId?: string | undefined; /** * [Deprecated, use `run_id` instead] ID of the run under which to log the param. This field will * be removed in a future MLflow version. */ runUuid?: string | undefined; /** Name of the param. Maximum size is 255 bytes. */ key?: string | undefined; /** String value of the param being logged. Maximum size is 500 bytes. */ value?: string | undefined; } interface LogParamResponse {} /** * A logged model message includes logged model attributes, * tags, registration info, params, and linked run metrics. */ interface LoggedModel { /** The logged model attributes such as model ID, status, tags, etc. */ info?: LoggedModelInfo | undefined; /** The params and metrics attached to the logged model. */ data?: LoggedModelData | undefined; } /** A LoggedModelData message includes logged model params and linked metrics. */ interface LoggedModelData { /** Immutable string key-value pairs of the model. */ params?: LoggedModelParameter[] | undefined; /** Performance metrics linked to the model. */ metrics?: Metric[] | undefined; } /** * A LoggedModelInfo includes logged model attributes, * tags, and registration info. */ interface LoggedModelInfo { /** The unique identifier for the logged model. */ modelId?: string | undefined; /** The ID of the experiment that owns the model. */ experimentId?: string | undefined; /** The name of the model. */ name?: string | undefined; /** The timestamp when the model was created in milliseconds since the UNIX epoch. */ creationTimestampMs?: bigint | undefined; /** The timestamp when the model was last updated in milliseconds since the UNIX epoch. */ lastUpdatedTimestampMs?: bigint | undefined; /** The URI of the directory where model artifacts are stored. */ artifactUri?: string | undefined; /** The status of whether or not the model is ready for use. */ status?: LoggedModelStatus | undefined; /** The ID of the user or principal that created the model. */ creatorId?: bigint | undefined; /** The type of model, such as ``"Agent"``, ``"Classifier"``, ``"LLM"``. */ modelType?: string | undefined; /** The ID of the run that created the model. */ sourceRunId?: string | undefined; /** Details on the current model status. */ statusMessage?: string | undefined; /** Mutable string key-value pairs set on the model. */ tags?: LoggedModelTag[] | undefined; } /** Parameter associated with a LoggedModel. */ interface LoggedModelParameter { /** The key identifying this param. */ key?: string | undefined; /** The value of this param. */ value?: string | undefined; } /** Tag for a LoggedModel. */ interface LoggedModelTag { /** The tag key. */ key?: string | undefined; /** The tag value. */ value?: string | undefined; } /** Metric associated with a run, represented as a key-value pair. */ interface Metric { /** The key identifying the metric. */ key?: string | undefined; /** The value of the metric. */ value?: number | undefined; /** The timestamp at which the metric was recorded. */ timestamp?: bigint | undefined; /** The step at which the metric was logged. */ step?: bigint | undefined; /** * The name of the dataset associated with the metric. * E.g. “my.uc.table@2” “nyc-taxi-dataset”, “fantastic-elk-3” */ datasetName?: string | undefined; /** * The dataset digest of the dataset associated with the metric, * e.g. an md5 hash of the dataset that uniquely identifies it * within datasets of the same name. */ datasetDigest?: string | undefined; /** * The ID of the logged model or registered model version associated with * the metric, if applicable. */ modelId?: string | undefined; /** The ID of the run containing the metric. */ runId?: string | undefined; } /** Represents a LoggedModel or Registered Model Version input to a Run. */ interface ModelInput { /** The unique identifier of the model. */ modelId?: string | undefined; } /** Represents a LoggedModel output of a Run. */ interface ModelOutput { /** The unique identifier of the model. */ modelId?: string | undefined; /** The step at which the model was produced. */ step?: bigint | undefined; } /** Param associated with a run. */ interface Param { /** Key identifying this param. */ key?: string | undefined; /** Value associated with this param. */ value?: string | undefined; } interface RestoreExperimentRequest { /** ID of the associated experiment. */ experimentId?: string | undefined; } interface RestoreExperimentResponse {} interface RestoreRunRequest { /** ID of the run to restore. */ runId?: string | undefined; } interface RestoreRunResponse {} interface RestoreRunsRequest { /** The ID of the experiment containing the runs to restore. */ experimentId?: string | undefined; /** * The minimum deletion timestamp in milliseconds since the UNIX epoch for restoring runs. Only runs deleted no * earlier than this timestamp are restored. */ minTimestampMillis?: bigint | undefined; /** * An optional positive integer indicating the maximum number of runs to restore. The maximum allowed value for * max_runs is 10000. */ maxRuns?: number | undefined; } interface RestoreRunsResponse { /** The number of runs restored. */ runsRestored?: number | undefined; } /** A single run. */ interface Run { /** Run metadata. */ info?: RunInfo | undefined; /** Run data. */ data?: RunData | undefined; /** Run inputs. */ inputs?: RunInputs | undefined; } /** Run data (metrics, params, and tags). */ interface RunData { /** Run metrics. */ metrics?: Metric[] | undefined; /** Run parameters. */ params?: Param[] | undefined; /** Additional metadata key-value pairs. */ tags?: RunTag[] | undefined; } /** Metadata of a single run. */ interface RunInfo { /** Unique identifier for the run. */ runId?: string | undefined; /** * [Deprecated, use run_id instead] Unique identifier for the run. This field will * be removed in a future MLflow version. */ runUuid?: string | undefined; /** The experiment ID. */ experimentId?: string | undefined; /** The name of the run. */ runName?: string | undefined; /** * User who initiated the run. * This field is deprecated as of MLflow 1.0, and will be removed in a future * MLflow release. Use 'mlflow.user' tag instead. */ userId?: string | undefined; /** Current status of the run. */ status?: RunStatus | undefined; /** Unix timestamp of when the run started in milliseconds. */ startTime?: bigint | undefined; /** Unix timestamp of when the run ended in milliseconds. */ endTime?: bigint | undefined; /** * URI of the directory where artifacts should be uploaded. * This can be a local path (starting with "/"), or a distributed file system (DFS) * path, like ``s3://bucket/directory`` or ``dbfs:/my/directory``. * If not set, the local ``./mlruns`` directory is chosen. */ artifactUri?: string | undefined; /** Current life cycle stage of the experiment : OneOf("active", "deleted") */ lifecycleStage?: string | undefined; } /** Run inputs. */ interface RunInputs { /** Run metrics. */ datasetInputs?: DatasetInput[] | undefined; /** Model inputs to the Run. */ modelInputs?: ModelInput[] | undefined; } /** Tag for a run. */ interface RunTag { /** The tag key. */ key?: string | undefined; /** The tag value. */ value?: string | undefined; } interface SearchExperimentsRequest { /** Maximum number of experiments desired. Max threshold is 3000. */ maxResults?: bigint | undefined; /** Token indicating the page of experiments to fetch */ pageToken?: string | undefined; /** String representing a SQL filter condition (e.g. "name ILIKE 'my-experiment%'") */ filter?: string | undefined; /** * List of columns for ordering search results, which can include experiment name and last updated * timestamp with an optional "DESC" or "ASC" annotation, where "ASC" is the default. * Tiebreaks are done by experiment id DESC. */ orderBy?: string[] | undefined; /** * Qualifier for type of experiments to be returned. * If unspecified, return only active experiments. */ viewType?: ViewType | undefined; } interface SearchExperimentsResponse { /** Experiments that match the search criteria */ experiments?: Experiment[] | undefined; /** * Token that can be used to retrieve the next page of experiments. * An empty token means that no more experiments are available for retrieval. */ nextPageToken?: string | undefined; } interface SearchLoggedModelsRequest { /** The IDs of the experiments in which to search for logged models. */ experimentIds?: string[] | undefined; /** * A filter expression over logged model info and data that allows returning a subset of * logged models. The syntax is a subset of SQL that supports AND'ing together binary operations. * * Example: ``params.alpha < 0.3 AND metrics.accuracy > 0.9``. */ filter?: string | undefined; /** * List of datasets on which to apply the metrics filter clauses. * For example, a filter with `metrics.accuracy > 0.9` and dataset info with name "test_dataset" * means we will return all logged models with accuracy > 0.9 on the test_dataset. * Metric values from ANY dataset matching the criteria are considered. * If no datasets are specified, then metrics across all datasets are considered in the filter. */ datasets?: SearchLoggedModelsRequest_Dataset[] | undefined; /** The maximum number of Logged Models to return. The maximum limit is 50. */ maxResults?: number | undefined; /** The list of columns for ordering the results, with additional fields for sorting criteria. */ orderBy?: SearchLoggedModelsRequest_OrderBy[] | undefined; /** The token indicating the page of logged models to fetch. */ pageToken?: string | undefined; } interface SearchLoggedModelsRequest_Dataset { /** The name of the dataset. */ datasetName?: string | undefined; /** The digest of the dataset. */ datasetDigest?: string | undefined; } interface SearchLoggedModelsRequest_OrderBy { /** The name of the field to order by, e.g. "metrics.accuracy". */ fieldName?: string | undefined; /** Whether the search results order is ascending or not. */ ascending?: boolean | undefined; /** * If ``field_name`` refers to a metric, this field specifies the name of the dataset * associated with the metric. Only metrics associated with the specified dataset name will be * considered for ordering. This field may only be set if ``field_name`` refers to a metric. */ datasetName?: string | undefined; /** * If ``field_name`` refers to a metric, this field specifies the digest of the dataset * associated with the metric. Only metrics associated with the specified dataset name * and digest will be considered for ordering. This field may only be set if ``dataset_name`` * is also set. */ datasetDigest?: string | undefined; } interface SearchLoggedModelsResponse { /** Logged models that match the search criteria. */ models?: LoggedModel[] | undefined; /** The token that can be used to retrieve the next page of logged models. */ nextPageToken?: string | undefined; } interface SearchRunsRequest { /** List of experiment IDs to search over. */ experimentIds?: string[] | undefined; /** * A filter expression over params, metrics, and tags, that allows returning a subset of * runs. The syntax is a subset of SQL that supports ANDing together binary operations * between a param, metric, or tag and a constant. * * Example: `metrics.rmse < 1 and params.model_class = 'LogisticRegression'` * * You can select columns with special characters (hyphen, space, period, etc.) by using double quotes: * `metrics."model class" = 'LinearRegression' and tags."user-name" = 'Tomas'` * * Supported operators are `=`, `!=`, `>`, `>=`, `<`, and `<=`. */ filter?: string | undefined; /** * Whether to display only active, only deleted, or all runs. * Defaults to only active runs. */ runViewType?: ViewType | undefined; /** Maximum number of runs desired. Max threshold is 50000 */ maxResults?: number | undefined; /** * List of columns to be ordered by, including attributes, params, metrics, and tags with an * optional `"DESC"` or `"ASC"` annotation, where `"ASC"` is the default. * Example: `["params.input DESC", "metrics.alpha ASC", "metrics.rmse"]`. * Tiebreaks are done by start_time `DESC` followed by `run_id` for runs with the same start time * (and this is the default ordering criterion if order_by is not provided). */ orderBy?: string[] | undefined; /** Token for the current page of runs. */ pageToken?: string | undefined; } interface SearchRunsResponse { /** Runs that match the search criteria. */ runs?: Run[] | undefined; /** Token for the next page of runs. */ nextPageToken?: string | undefined; } interface SetExperimentTagRequest { /** ID of the experiment under which to log the tag. Must be provided. */ experimentId?: string | undefined; /** Name of the tag. Keys up to 250 bytes in size are supported. */ key?: string | undefined; /** String value of the tag being logged. Values up to 64KB in size are supported. */ value?: string | undefined; } interface SetExperimentTagResponse {} interface SetLoggedModelTagsRequest { /** The ID of the logged model to set the tags on. */ modelId?: string | undefined; /** The tags to set on the logged model. */ tags?: LoggedModelTag[] | undefined; } interface SetLoggedModelTagsResponse {} interface SetTagRequest { /** ID of the run under which to log the tag. Must be provided. */ runId?: string | undefined; /** * [Deprecated, use `run_id` instead] ID of the run under which to log the tag. This field will * be removed in a future MLflow version. */ runUuid?: string | undefined; /** Name of the tag. Keys up to 250 bytes in size are supported. */ key?: string | undefined; /** String value of the tag being logged. Values up to 64KB in size are supported. */ value?: string | undefined; } interface SetTagResponse {} /** * A Unity Catalog trace storage location. Traces are stored as Delta tables * in the specified catalog and schema. */ interface UcTraceLocation { /** The name of the Unity Catalog catalog. */ catalog?: string | undefined; /** The name of the Unity Catalog schema within `catalog`. */ schema?: string | undefined; /** * The prefix for the trace tables, which are named * `{catalog}.{schema}.{table_prefix}_otel_*`. May only contain letters, * digits, and underscores, and may be at most 238 characters. When unset, a * server-generated prefix derived from the experiment ID is used and this * field stays empty on read; the resolved value is always available in * `effective_table_prefix`. */ tablePrefix?: string | undefined; /** * The trace-table prefix actually in effect: `table_prefix` if it was set on * creation, otherwise the server-generated default. */ effectiveTablePrefix?: string | undefined; } interface UpdateExperimentRequest { /** ID of the associated experiment. */ experimentId?: string | undefined; /** If provided, the experiment's name is changed to the new name. The new name must be unique. */ newName?: string | undefined; } interface UpdateExperimentResponse {} interface UpdateRunRequest { /** ID of the run to update. Must be provided. */ runId?: string | undefined; /** * [Deprecated, use `run_id` instead] ID of the run to update. This field will * be removed in a future MLflow version. */ runUuid?: string | undefined; /** Updated status of the run. */ status?: RunStatus | undefined; /** Unix timestamp in milliseconds of when the run ended. */ endTime?: bigint | undefined; /** Updated name of the run. */ runName?: string | undefined; } interface UpdateRunResponse { /** Updated metadata of the run. */ runInfo?: RunInfo | undefined; } declare const unmarshalCreateExperimentResponseSchema: z.ZodType; declare const unmarshalCreateLoggedModelResponseSchema: z.ZodType; declare const unmarshalCreateRunResponseSchema: z.ZodType; declare const unmarshalDatasetSchema: z.ZodType; declare const unmarshalDatasetInputSchema: z.ZodType; declare const unmarshalDeleteExperimentResponseSchema: z.ZodType; declare const unmarshalDeleteLoggedModelResponseSchema: z.ZodType; declare const unmarshalDeleteLoggedModelTagResponseSchema: z.ZodType; declare const unmarshalDeleteRunResponseSchema: z.ZodType; declare const unmarshalDeleteRunsResponseSchema: z.ZodType; declare const unmarshalDeleteTagResponseSchema: z.ZodType; declare const unmarshalExperimentSchema: z.ZodType; declare const unmarshalExperimentTagSchema: z.ZodType; declare const unmarshalExperimentTraceLocationSchema: z.ZodType; declare const unmarshalFileInfoSchema: z.ZodType; declare const unmarshalFinalizeLoggedModelResponseSchema: z.ZodType; declare const unmarshalGetExperimentByNameResponseSchema: z.ZodType; declare const unmarshalGetExperimentResponseSchema: z.ZodType; declare const unmarshalGetLoggedModelResponseSchema: z.ZodType; declare const unmarshalGetMetricHistoryResponseSchema: z.ZodType; declare const unmarshalGetRunResponseSchema: z.ZodType; declare const unmarshalInputTagSchema: z.ZodType; declare const unmarshalListArtifactsResponseSchema: z.ZodType; declare const unmarshalListExperimentsResponseSchema: z.ZodType; declare const unmarshalLogBatchResponseSchema: z.ZodType; declare const unmarshalLogInputsResponseSchema: z.ZodType; declare const unmarshalLogLoggedModelParamsResponseSchema: z.ZodType; declare const unmarshalLogMetricResponseSchema: z.ZodType; declare const unmarshalLogModelResponseSchema: z.ZodType; declare const unmarshalLogOutputsResponseSchema: z.ZodType; declare const unmarshalLogParamResponseSchema: z.ZodType; declare const unmarshalLoggedModelSchema: z.ZodType; declare const unmarshalLoggedModelDataSchema: z.ZodType; declare const unmarshalLoggedModelInfoSchema: z.ZodType; declare const unmarshalLoggedModelParameterSchema: z.ZodType; declare const unmarshalLoggedModelTagSchema: z.ZodType; declare const unmarshalMetricSchema: z.ZodType; declare const unmarshalModelInputSchema: z.ZodType; declare const unmarshalParamSchema: z.ZodType; declare const unmarshalRestoreExperimentResponseSchema: z.ZodType; declare const unmarshalRestoreRunResponseSchema: z.ZodType; declare const unmarshalRestoreRunsResponseSchema: z.ZodType; declare const unmarshalRunSchema: z.ZodType; declare const unmarshalRunDataSchema: z.ZodType; declare const unmarshalRunInfoSchema: z.ZodType; declare const unmarshalRunInputsSchema: z.ZodType; declare const unmarshalRunTagSchema: z.ZodType; declare const unmarshalSearchExperimentsResponseSchema: z.ZodType; declare const unmarshalSearchLoggedModelsResponseSchema: z.ZodType; declare const unmarshalSearchRunsResponseSchema: z.ZodType; declare const unmarshalSetExperimentTagResponseSchema: z.ZodType; declare const unmarshalSetLoggedModelTagsResponseSchema: z.ZodType; declare const unmarshalSetTagResponseSchema: z.ZodType; declare const unmarshalUcTraceLocationSchema: z.ZodType; declare const unmarshalUpdateExperimentResponseSchema: z.ZodType; declare const unmarshalUpdateRunResponseSchema: z.ZodType; declare const marshalCreateExperimentRequestSchema: z.ZodType; declare const marshalCreateLoggedModelRequestSchema: z.ZodType; declare const marshalCreateRunRequestSchema: z.ZodType; declare const marshalDatasetSchema: z.ZodType; declare const marshalDatasetInputSchema: z.ZodType; declare const marshalDeleteExperimentRequestSchema: z.ZodType; declare const marshalDeleteRunRequestSchema: z.ZodType; declare const marshalDeleteRunsRequestSchema: z.ZodType; declare const marshalDeleteTagRequestSchema: z.ZodType; declare const marshalExperimentTagSchema: z.ZodType; declare const marshalExperimentTraceLocationSchema: z.ZodType; declare const marshalFinalizeLoggedModelRequestSchema: z.ZodType; declare const marshalInputTagSchema: z.ZodType; declare const marshalLogBatchRequestSchema: z.ZodType; declare const marshalLogInputsRequestSchema: z.ZodType; declare const marshalLogLoggedModelParamsRequestSchema: z.ZodType; declare const marshalLogMetricRequestSchema: z.ZodType; declare const marshalLogModelRequestSchema: z.ZodType; declare const marshalLogOutputsRequestSchema: z.ZodType; declare const marshalLogParamRequestSchema: z.ZodType; declare const marshalLoggedModelParameterSchema: z.ZodType; declare const marshalLoggedModelTagSchema: z.ZodType; declare const marshalMetricSchema: z.ZodType; declare const marshalModelInputSchema: z.ZodType; declare const marshalModelOutputSchema: z.ZodType; declare const marshalParamSchema: z.ZodType; declare const marshalRestoreExperimentRequestSchema: z.ZodType; declare const marshalRestoreRunRequestSchema: z.ZodType; declare const marshalRestoreRunsRequestSchema: z.ZodType; declare const marshalRunTagSchema: z.ZodType; declare const marshalSearchExperimentsRequestSchema: z.ZodType; declare const marshalSearchLoggedModelsRequestSchema: z.ZodType; declare const marshalSearchLoggedModelsRequest_DatasetSchema: z.ZodType; declare const marshalSearchLoggedModelsRequest_OrderBySchema: z.ZodType; declare const marshalSearchRunsRequestSchema: z.ZodType; declare const marshalSetExperimentTagRequestSchema: z.ZodType; declare const marshalSetLoggedModelTagsRequestSchema: z.ZodType; declare const marshalSetTagRequestSchema: z.ZodType; declare const marshalUcTraceLocationSchema: z.ZodType; declare const marshalUpdateExperimentRequestSchema: z.ZodType; declare const marshalUpdateRunRequestSchema: z.ZodType; //#endregion export { CreateExperimentRequest, CreateExperimentResponse, CreateLoggedModelRequest, CreateLoggedModelResponse, CreateRunRequest, CreateRunResponse, Dataset, DatasetInput, DeleteExperimentRequest, DeleteExperimentResponse, DeleteLoggedModelRequest, DeleteLoggedModelResponse, DeleteLoggedModelTagRequest, DeleteLoggedModelTagResponse, DeleteRunRequest, DeleteRunResponse, DeleteRunsRequest, DeleteRunsResponse, DeleteTagRequest, DeleteTagResponse, Experiment, ExperimentTag, ExperimentTraceLocation, FileInfo, FinalizeLoggedModelRequest, FinalizeLoggedModelResponse, GetExperimentByNameRequest, GetExperimentByNameResponse, GetExperimentRequest, GetExperimentResponse, GetLoggedModelRequest, GetLoggedModelResponse, GetMetricHistoryResponse, GetRunRequest, GetRunResponse, InputTag, ListArtifactsRequest, ListArtifactsResponse, ListExperimentsRequest, ListExperimentsResponse, ListMetricHistoryRequest, LogBatchRequest, LogBatchResponse, LogInputsRequest, LogInputsResponse, LogLoggedModelParamsRequest, LogLoggedModelParamsResponse, LogMetricRequest, LogMetricResponse, LogModelRequest, LogModelResponse, LogOutputsRequest, LogOutputsResponse, LogParamRequest, LogParamResponse, LoggedModel, LoggedModelData, LoggedModelInfo, LoggedModelParameter, LoggedModelStatus, LoggedModelTag, Metric, ModelInput, ModelOutput, Param, RestoreExperimentRequest, RestoreExperimentResponse, RestoreRunRequest, RestoreRunResponse, RestoreRunsRequest, RestoreRunsResponse, Run, RunData, RunInfo, RunInputs, RunStatus, RunTag, SearchExperimentsRequest, SearchExperimentsResponse, SearchLoggedModelsRequest, SearchLoggedModelsRequest_Dataset, SearchLoggedModelsRequest_OrderBy, SearchLoggedModelsResponse, SearchRunsRequest, SearchRunsResponse, SetExperimentTagRequest, SetExperimentTagResponse, SetLoggedModelTagsRequest, SetLoggedModelTagsResponse, SetTagRequest, SetTagResponse, UcTraceLocation, UpdateExperimentRequest, UpdateExperimentResponse, UpdateRunRequest, UpdateRunResponse, ViewType, marshalCreateExperimentRequestSchema, marshalCreateLoggedModelRequestSchema, marshalCreateRunRequestSchema, marshalDatasetInputSchema, marshalDatasetSchema, marshalDeleteExperimentRequestSchema, marshalDeleteRunRequestSchema, marshalDeleteRunsRequestSchema, marshalDeleteTagRequestSchema, marshalExperimentTagSchema, marshalExperimentTraceLocationSchema, marshalFinalizeLoggedModelRequestSchema, marshalInputTagSchema, marshalLogBatchRequestSchema, marshalLogInputsRequestSchema, marshalLogLoggedModelParamsRequestSchema, marshalLogMetricRequestSchema, marshalLogModelRequestSchema, marshalLogOutputsRequestSchema, marshalLogParamRequestSchema, marshalLoggedModelParameterSchema, marshalLoggedModelTagSchema, marshalMetricSchema, marshalModelInputSchema, marshalModelOutputSchema, marshalParamSchema, marshalRestoreExperimentRequestSchema, marshalRestoreRunRequestSchema, marshalRestoreRunsRequestSchema, marshalRunTagSchema, marshalSearchExperimentsRequestSchema, marshalSearchLoggedModelsRequestSchema, marshalSearchLoggedModelsRequest_DatasetSchema, marshalSearchLoggedModelsRequest_OrderBySchema, marshalSearchRunsRequestSchema, marshalSetExperimentTagRequestSchema, marshalSetLoggedModelTagsRequestSchema, marshalSetTagRequestSchema, marshalUcTraceLocationSchema, marshalUpdateExperimentRequestSchema, marshalUpdateRunRequestSchema, unmarshalCreateExperimentResponseSchema, unmarshalCreateLoggedModelResponseSchema, unmarshalCreateRunResponseSchema, unmarshalDatasetInputSchema, unmarshalDatasetSchema, unmarshalDeleteExperimentResponseSchema, unmarshalDeleteLoggedModelResponseSchema, unmarshalDeleteLoggedModelTagResponseSchema, unmarshalDeleteRunResponseSchema, unmarshalDeleteRunsResponseSchema, unmarshalDeleteTagResponseSchema, unmarshalExperimentSchema, unmarshalExperimentTagSchema, unmarshalExperimentTraceLocationSchema, unmarshalFileInfoSchema, unmarshalFinalizeLoggedModelResponseSchema, unmarshalGetExperimentByNameResponseSchema, unmarshalGetExperimentResponseSchema, unmarshalGetLoggedModelResponseSchema, unmarshalGetMetricHistoryResponseSchema, unmarshalGetRunResponseSchema, unmarshalInputTagSchema, unmarshalListArtifactsResponseSchema, unmarshalListExperimentsResponseSchema, unmarshalLogBatchResponseSchema, unmarshalLogInputsResponseSchema, unmarshalLogLoggedModelParamsResponseSchema, unmarshalLogMetricResponseSchema, unmarshalLogModelResponseSchema, unmarshalLogOutputsResponseSchema, unmarshalLogParamResponseSchema, unmarshalLoggedModelDataSchema, unmarshalLoggedModelInfoSchema, unmarshalLoggedModelParameterSchema, unmarshalLoggedModelSchema, unmarshalLoggedModelTagSchema, unmarshalMetricSchema, unmarshalModelInputSchema, unmarshalParamSchema, unmarshalRestoreExperimentResponseSchema, unmarshalRestoreRunResponseSchema, unmarshalRestoreRunsResponseSchema, unmarshalRunDataSchema, unmarshalRunInfoSchema, unmarshalRunInputsSchema, unmarshalRunSchema, unmarshalRunTagSchema, unmarshalSearchExperimentsResponseSchema, unmarshalSearchLoggedModelsResponseSchema, unmarshalSearchRunsResponseSchema, unmarshalSetExperimentTagResponseSchema, unmarshalSetLoggedModelTagsResponseSchema, unmarshalSetTagResponseSchema, unmarshalUcTraceLocationSchema, unmarshalUpdateExperimentResponseSchema, unmarshalUpdateRunResponseSchema }; //# sourceMappingURL=model.d.ts.map