Transition Request
For activities, this contains the activity recorded for the action. For comments, this contains the comment details. For transition requests, this contains the transition request details.
TransitionRequest object
For activities, this contains the activity recorded for the action. For comments, this contains the comment details. For transition requests, this contains the transition request details.
- creation_timestampint64
Creation time of the object, as a Unix timestamp in milliseconds.
- user_idstringemail
The username of the user that created the object.
- activity_typestring
Type of activity. Valid values are:
-
APPLIED_TRANSITION: User applied the corresponding stage transition. -
REQUESTED_TRANSITION: User requested the corresponding stage transition. -
CANCELLED_REQUEST: User cancelled an existing transition request. -
APPROVED_REQUEST: User approved the corresponding stage transition. -
REJECTED_REQUEST: User rejected the coressponding stage transition. -
SYSTEM_TRANSITION: For events performed as a side effect, such as archiving existing model versions in a stage.
APPLIED_TRANSITIONREQUESTED_TRANSITIONCANCELLED_REQUESTAPPROVED_REQUESTREJECTED_REQUESTNEW_COMMENTSYSTEM_TRANSITION
-
- commentstring[ 1 .. 65535 ] characters
User-provided comment associated with the activity, comment, or transition request.
- last_updated_timestampint64
Time of the object at last update, as a Unix timestamp in milliseconds.
- from_stagestring
Source stage of the transition (if the activity is stage transition related). Valid values are:
-
None: The initial stage of a model version. -
Staging: Staging or pre-production stage. -
Production: Production stage. -
Archived: Archived stage.
-
- to_stagestring
Target stage of the transition (if the activity is stage transition related). Valid values are:
-
None: The initial stage of a model version. -
Staging: Staging or pre-production stage. -
Production: Production stage. -
Archived: Archived stage.
-
- system_commentstring
Comment made by system, for example explaining an activity of type
SYSTEM_TRANSITION. It usually describes a side effect, such as a version being archived as part of another version's stage transition, and may not be returned for some activity types.
- available_actionsarray of string
Array of actions on the activity allowed for the current viewer.
APPROVE_TRANSITION_REQUESTREJECT_TRANSITION_REQUESTCANCEL_TRANSITION_REQUESTEDIT_COMMENTDELETE_COMMENT
- idstringuuid
Unique identifier for the object.
List transition requests GA
GET
Gets a list of all open stage transition requests for the model version.
API scopes: mlflow
Parameters
- namestringRequiredquery
Name of the registered model.
- versionstringRequiredquery
Version of the model.
Response
- requestsarray of object
Array of open transition requests.
Show child attributesHide child attributes
- creation_timestampint64
Creation time of the object, as a Unix timestamp in milliseconds.
- user_idstringemail
The username of the user that created the object.
- activity_typestring
Type of activity. Valid values are:
-
APPLIED_TRANSITION: User applied the corresponding stage transition. -
REQUESTED_TRANSITION: User requested the corresponding stage transition. -
CANCELLED_REQUEST: User cancelled an existing transition request. -
APPROVED_REQUEST: User approved the corresponding stage transition. -
REJECTED_REQUEST: User rejected the coressponding stage transition. -
SYSTEM_TRANSITION: For events performed as a side effect, such as archiving existing model versions in a stage.
APPLIED_TRANSITIONREQUESTED_TRANSITIONCANCELLED_REQUESTAPPROVED_REQUESTREJECTED_REQUESTNEW_COMMENTSYSTEM_TRANSITION
-
- commentstring[ 1 .. 65535 ] characters
User-provided comment associated with the activity, comment, or transition request.
- last_updated_timestampint64
Time of the object at last update, as a Unix timestamp in milliseconds.
- from_stagestring
Source stage of the transition (if the activity is stage transition related). Valid values are:
-
None: The initial stage of a model version. -
Staging: Staging or pre-production stage. -
Production: Production stage. -
Archived: Archived stage.
-
- to_stagestring
Target stage of the transition (if the activity is stage transition related). Valid values are:
-
None: The initial stage of a model version. -
Staging: Staging or pre-production stage. -
Production: Production stage. -
Archived: Archived stage.
-
- system_commentstring
Comment made by system, for example explaining an activity of type
SYSTEM_TRANSITION. It usually describes a side effect, such as a version being archived as part of another version's stage transition, and may not be returned for some activity types.
- available_actionsarray of string
Array of actions on the activity allowed for the current viewer.
APPROVE_TRANSITION_REQUESTREJECT_TRANSITION_REQUESTCANCEL_TRANSITION_REQUESTEDIT_COMMENTDELETE_COMMENT
- idstringuuid
Unique identifier for the object.
Make a transition request GA
POST
Creates a model version stage transition request.
API scopes: mlflow
Request body
- namestring[ 1 .. 100 ] charactersRequired
Name of the model.
- versionstringRequired
Version of the model.
- stagestringRequired
Target stage of the transition. Valid values are:
-
None: The initial stage of a model version. -
Staging: Staging or pre-production stage. -
Production: Production stage. -
Archived: Archived stage.
-
- commentstring[ 1 .. 65535 ] characters
User-provided comment on the action.
Response
- requestobject
New activity generated for stage transition request.
Show child attributesHide child attributes
- creation_timestampint64
Creation time of the object, as a Unix timestamp in milliseconds.
- user_idstringemail
The username of the user that created the object.
- activity_typestring
Type of activity. Valid values are:
-
APPLIED_TRANSITION: User applied the corresponding stage transition. -
REQUESTED_TRANSITION: User requested the corresponding stage transition. -
CANCELLED_REQUEST: User cancelled an existing transition request. -
APPROVED_REQUEST: User approved the corresponding stage transition. -
REJECTED_REQUEST: User rejected the coressponding stage transition. -
SYSTEM_TRANSITION: For events performed as a side effect, such as archiving existing model versions in a stage.
APPLIED_TRANSITIONREQUESTED_TRANSITIONCANCELLED_REQUESTAPPROVED_REQUESTREJECTED_REQUESTNEW_COMMENTSYSTEM_TRANSITION
-
- commentstring[ 1 .. 65535 ] characters
User-provided comment associated with the activity, comment, or transition request.
- last_updated_timestampint64
Time of the object at last update, as a Unix timestamp in milliseconds.
- from_stagestring
Source stage of the transition (if the activity is stage transition related). Valid values are:
-
None: The initial stage of a model version. -
Staging: Staging or pre-production stage. -
Production: Production stage. -
Archived: Archived stage.
-
- to_stagestring
Target stage of the transition (if the activity is stage transition related). Valid values are:
-
None: The initial stage of a model version. -
Staging: Staging or pre-production stage. -
Production: Production stage. -
Archived: Archived stage.
-
- system_commentstring
Comment made by system, for example explaining an activity of type
SYSTEM_TRANSITION. It usually describes a side effect, such as a version being archived as part of another version's stage transition, and may not be returned for some activity types.
- available_actionsarray of string
Array of actions on the activity allowed for the current viewer.
APPROVE_TRANSITION_REQUESTREJECT_TRANSITION_REQUESTCANCEL_TRANSITION_REQUESTEDIT_COMMENTDELETE_COMMENT
- idstringuuid
Unique identifier for the object.
Delete a transition request GA
DELETE
Cancels a model version stage transition request.
API scopes: mlflow
Parameters
- namestringRequiredquery
Name of the model.
- versionstringRequiredquery
Version of the model.
- stagestringRequiredquery
Target stage of the transition request. Valid values are:
-
None: The initial stage of a model version. -
Staging: Staging or pre-production stage. -
Production: Production stage. -
Archived: Archived stage.
-
- creatorstringemailRequiredquery
Username of the user who created this request. Of the transition requests matching the specified details, only the one transition created by this user will be deleted.
- commentstringquery
User-provided comment on the action.
Response
- activityobject
New activity generated as a result of this operation.
Show child attributesHide child attributes
- creation_timestampint64
Creation time of the object, as a Unix timestamp in milliseconds.
- user_idstringemail
The username of the user that created the object.
- activity_typestring
Type of activity. Valid values are:
-
APPLIED_TRANSITION: User applied the corresponding stage transition. -
REQUESTED_TRANSITION: User requested the corresponding stage transition. -
CANCELLED_REQUEST: User cancelled an existing transition request. -
APPROVED_REQUEST: User approved the corresponding stage transition. -
REJECTED_REQUEST: User rejected the coressponding stage transition. -
SYSTEM_TRANSITION: For events performed as a side effect, such as archiving existing model versions in a stage.
APPLIED_TRANSITIONREQUESTED_TRANSITIONCANCELLED_REQUESTAPPROVED_REQUESTREJECTED_REQUESTNEW_COMMENTSYSTEM_TRANSITION
-
- commentstring[ 1 .. 65535 ] characters
User-provided comment associated with the activity, comment, or transition request.
- last_updated_timestampint64
Time of the object at last update, as a Unix timestamp in milliseconds.
- from_stagestring
Source stage of the transition (if the activity is stage transition related). Valid values are:
-
None: The initial stage of a model version. -
Staging: Staging or pre-production stage. -
Production: Production stage. -
Archived: Archived stage.
-
- to_stagestring
Target stage of the transition (if the activity is stage transition related). Valid values are:
-
None: The initial stage of a model version. -
Staging: Staging or pre-production stage. -
Production: Production stage. -
Archived: Archived stage.
-
- system_commentstring
Comment made by system, for example explaining an activity of type
SYSTEM_TRANSITION. It usually describes a side effect, such as a version being archived as part of another version's stage transition, and may not be returned for some activity types.
- available_actionsarray of string
Array of actions on the activity allowed for the current viewer.
APPROVE_TRANSITION_REQUESTREJECT_TRANSITION_REQUESTCANCEL_TRANSITION_REQUESTEDIT_COMMENTDELETE_COMMENT
- idstringuuid
Unique identifier for the object.
Approve transition request GA
POST
Approves a model version stage transition request.
API scopes: mlflow
Request body
- namestring[ 1 .. 100 ] charactersRequired
Name of the model.
- versionstringRequired
Version of the model.
- stagestringRequired
Target stage of the transition. Valid values are:
-
None: The initial stage of a model version. -
Staging: Staging or pre-production stage. -
Production: Production stage. -
Archived: Archived stage.
-
- archive_existing_versionsbooleanRequired
Specifies whether to archive all current model versions in the target stage.
- commentstring[ 1 .. 65535 ] characters
User-provided comment on the action.
Response
- activityobject
New activity generated as a result of this operation.
Show child attributesHide child attributes
- creation_timestampint64
Creation time of the object, as a Unix timestamp in milliseconds.
- user_idstringemail
The username of the user that created the object.
- activity_typestring
Type of activity. Valid values are:
-
APPLIED_TRANSITION: User applied the corresponding stage transition. -
REQUESTED_TRANSITION: User requested the corresponding stage transition. -
CANCELLED_REQUEST: User cancelled an existing transition request. -
APPROVED_REQUEST: User approved the corresponding stage transition. -
REJECTED_REQUEST: User rejected the coressponding stage transition. -
SYSTEM_TRANSITION: For events performed as a side effect, such as archiving existing model versions in a stage.
APPLIED_TRANSITIONREQUESTED_TRANSITIONCANCELLED_REQUESTAPPROVED_REQUESTREJECTED_REQUESTNEW_COMMENTSYSTEM_TRANSITION
-
- commentstring[ 1 .. 65535 ] characters
User-provided comment associated with the activity, comment, or transition request.
- last_updated_timestampint64
Time of the object at last update, as a Unix timestamp in milliseconds.
- from_stagestring
Source stage of the transition (if the activity is stage transition related). Valid values are:
-
None: The initial stage of a model version. -
Staging: Staging or pre-production stage. -
Production: Production stage. -
Archived: Archived stage.
-
- to_stagestring
Target stage of the transition (if the activity is stage transition related). Valid values are:
-
None: The initial stage of a model version. -
Staging: Staging or pre-production stage. -
Production: Production stage. -
Archived: Archived stage.
-
- system_commentstring
Comment made by system, for example explaining an activity of type
SYSTEM_TRANSITION. It usually describes a side effect, such as a version being archived as part of another version's stage transition, and may not be returned for some activity types.
- available_actionsarray of string
Array of actions on the activity allowed for the current viewer.
APPROVE_TRANSITION_REQUESTREJECT_TRANSITION_REQUESTCANCEL_TRANSITION_REQUESTEDIT_COMMENTDELETE_COMMENT
- idstringuuid
Unique identifier for the object.
Reject a transition request GA
POST
Rejects a model version stage transition request.
API scopes: mlflow
Request body
- namestring[ 1 .. 100 ] charactersRequired
Name of the model.
- versionstringRequired
Version of the model.
- stagestringRequired
Target stage of the transition. Valid values are:
-
None: The initial stage of a model version. -
Staging: Staging or pre-production stage. -
Production: Production stage. -
Archived: Archived stage.
-
- commentstring[ 1 .. 65535 ] characters
User-provided comment on the action.
Response
- activityobject
New activity generated as a result of this operation.
Show child attributesHide child attributes
- creation_timestampint64
Creation time of the object, as a Unix timestamp in milliseconds.
- user_idstringemail
The username of the user that created the object.
- activity_typestring
Type of activity. Valid values are:
-
APPLIED_TRANSITION: User applied the corresponding stage transition. -
REQUESTED_TRANSITION: User requested the corresponding stage transition. -
CANCELLED_REQUEST: User cancelled an existing transition request. -
APPROVED_REQUEST: User approved the corresponding stage transition. -
REJECTED_REQUEST: User rejected the coressponding stage transition. -
SYSTEM_TRANSITION: For events performed as a side effect, such as archiving existing model versions in a stage.
APPLIED_TRANSITIONREQUESTED_TRANSITIONCANCELLED_REQUESTAPPROVED_REQUESTREJECTED_REQUESTNEW_COMMENTSYSTEM_TRANSITION
-
- commentstring[ 1 .. 65535 ] characters
User-provided comment associated with the activity, comment, or transition request.
- last_updated_timestampint64
Time of the object at last update, as a Unix timestamp in milliseconds.
- from_stagestring
Source stage of the transition (if the activity is stage transition related). Valid values are:
-
None: The initial stage of a model version. -
Staging: Staging or pre-production stage. -
Production: Production stage. -
Archived: Archived stage.
-
- to_stagestring
Target stage of the transition (if the activity is stage transition related). Valid values are:
-
None: The initial stage of a model version. -
Staging: Staging or pre-production stage. -
Production: Production stage. -
Archived: Archived stage.
-
- system_commentstring
Comment made by system, for example explaining an activity of type
SYSTEM_TRANSITION. It usually describes a side effect, such as a version being archived as part of another version's stage transition, and may not be returned for some activity types.
- available_actionsarray of string
Array of actions on the activity allowed for the current viewer.
APPROVE_TRANSITION_REQUESTREJECT_TRANSITION_REQUESTCANCEL_TRANSITION_REQUESTEDIT_COMMENTDELETE_COMMENT
- idstringuuid
Unique identifier for the object.