Skip to main content
PATCH
Finalize Logged Model

Path Parameters

model_id
string
required

The unique identifier for the logged model to finalize.

Body

application/json

Request body for finalizing a logged model.

model_id
string
required

The ID of the LoggedModel to finalize.

Example:

"logged_model_12345"

status
enum<string>
required

Whether or not the model is ready for use. Valid values in this message: LOGGED_MODEL_READY, LOGGED_MODEL_UPLOAD_FAILED ("LOGGED_MODEL_UPLOAD_FAILED" indicates that something went wrong when logging the model weights / agent code)

Available options:
LOGGED_MODEL_STATUS_UNSPECIFIED,
LOGGED_MODEL_PENDING,
LOGGED_MODEL_READY,
LOGGED_MODEL_UPLOAD_FAILED

Response

200 - application/json

Successful response

Response body for finalizing a logged model.

model
object

A LoggedModel message includes logged model attributes, tags, registration info, params, and linked run metrics.