POST /v1/services/mlmodelServices
Create an ML Model Service
Create a new ML model service connection
POST
POST /v1/services/mlmodelServices
Documentation Index
Fetch the complete documentation index at: https://openmetadata-codex-audit-docs-codebase-alignment.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Create an ML Model Service
Create a new ML model service connection to a platform such as Mlflow, Sklearn, or SageMaker.Body Parameters
Name of the ML model service. Must be unique across all ML model services.
Type of ML model service (e.g.,
Mlflow, Sklearn, SageMaker, CustomMlModel).Connection configuration specific to the service type.
Human-readable display name for the ML model service.
Description of the ML model service in Markdown format.
Array of owner references (users or teams) to assign to the service.
Fully qualified name of the domain to assign for governance purposes.
Array of classification tags to apply to the ML model service.
POST /v1/services/mlmodelServices
Returns
Returns the created ML model service object with all specified properties and system-generated fields.Response
Unique identifier for the ML model service (UUID format).
ML model service name.
Fully qualified name of the service.
Human-readable display name.
Description of the ML model service in Markdown format.
Type of ML model service (e.g., Mlflow, Sklearn, SageMaker, CustomMlModel).
Connection configuration for the service.
List of owners assigned to the ML model service.
Fully qualified name of the assigned domain.
Classification tags applied to the ML model service.
Version number for the entity (starts at 0.1).
Create or Update (PUT)
UsePUT /v1/services/mlmodelServices instead of POST to perform an upsert. If an ML model service with the same fullyQualifiedName already exists, it will be updated; otherwise, a new service is created. The request body is the same as POST.
PUT will not return a 409 conflict error if the entity already exists — it will update the existing entity instead.Bulk Create or Update (PUT)
UsePUT /v1/services/mlmodelServices/bulk to create or update multiple ML model services in a single request. The request body is an array of create request objects.
Error Handling
| Code | Error Type | Description |
|---|---|---|
400 | BAD_REQUEST | Invalid request body or missing required fields |
401 | UNAUTHORIZED | Invalid or missing authentication token |
403 | FORBIDDEN | User lacks permission to create ML model services |
409 | ENTITY_ALREADY_EXISTS | ML model service with same name already exists (POST only) |