{"files":{"SKILL.md":"---\nname: azure-machine-learning-model-management-service\ndescription: \"Azure Machine Learning Model Management Service API skill. Use when working with Azure Machine Learning Model Management Service for modelmanagement. Covers 23 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# Azure Machine Learning Model Management Service\nAPI version: 2019-09-30\n\n## Auth\nOAuth2\n\n## Base URL\nNot specified.\n\n## Setup\n1. Configure auth: OAuth2\n2. GET /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/assets -- query the list of assets in a workspace.\n3. POST /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/assets -- create first asset\n\n## Endpoints\n23 endpoints across 1 group. See references/api-spec.lap for full details.\n\n### Modelmanagement\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/assets | Query the list of Assets in a workspace. |\n| POST | /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/assets | Create an Asset. |\n| GET | /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/assets/{id} | Get an Asset. |\n| DELETE | /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/assets/{id} | Delete an Asset. |\n| PATCH | /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/assets/{id} | Update an Asset. |\n| GET | /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/models/{id} | Gets a model. |\n| DELETE | /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/models/{id} | Delete the specified Model. |\n| PATCH | /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/models/{id} | Patch a specific model. |\n| GET | /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/models | Query the list of Models in a workspace. |\n| POST | /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/models | Register a model. |\n| GET | /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/models/{id}/metrics | Retrieve the metrics for a Model. |\n| GET | /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/operations/{id} | Get the status of an async operation. |\n| GET | /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/images/{imageId}/profiles/{id} | Get a Profile. |\n| GET | /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/images/{imageId}/profiles | Get a list of Image Profiles. |\n| POST | /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/images/{imageId}/profiles | Create a Profile. |\n| GET | /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/services/{id} | Get a Service. |\n| DELETE | /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/services/{id} | Delete a Service. |\n| PATCH | /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/services/{id} | Patch a Service. |\n| GET | /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/services | Query the list of Services in a Workspace. |\n| POST | /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/services | Create a Service. |\n| POST | /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/services/{id}/listkeys | Lists Service keys. |\n| POST | /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/services/{id}/regenerateKeys | Regenerate Service Keys. |\n| POST | /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/services/{id}/token | Generate Service Access Token. |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"List all assets?\" -> GET /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/assets\n- \"Create a asset?\" -> POST /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/assets\n- \"Get asset details?\" -> GET /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/assets/{id}\n- \"Delete a asset?\" -> DELETE /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/assets/{id}\n- \"Partially update a asset?\" -> PATCH /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/assets/{id}\n- \"Get model details?\" -> GET /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/models/{id}\n- \"Delete a model?\" -> DELETE /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/models/{id}\n- \"Partially update a model?\" -> PATCH /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/models/{id}\n- \"List all models?\" -> GET /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/models\n- \"Create a model?\" -> POST /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/models\n- \"List all metrics?\" -> GET /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/models/{id}/metrics\n- \"Get operation details?\" -> GET /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/operations/{id}\n- \"Get profile details?\" -> GET /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/images/{imageId}/profiles/{id}\n- \"List all profiles?\" -> GET /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/images/{imageId}/profiles\n- \"Create a profile?\" -> POST /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/images/{imageId}/profiles\n- \"Get service details?\" -> GET /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/services/{id}\n- \"Delete a service?\" -> DELETE /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/services/{id}\n- \"Partially update a service?\" -> PATCH /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/services/{id}\n- \"List all services?\" -> GET /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/services\n- \"Create a service?\" -> POST /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/services\n- \"Create a listkey?\" -> POST /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/services/{id}/listkeys\n- \"Create a regenerateKey?\" -> POST /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/services/{id}/regenerateKeys\n- \"Create a token?\" -> POST /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/services/{id}/token\n- \"How to authenticate?\" -> See Auth section above\n\n## Response Tips\n- Check response schemas in references/api-spec.lap for field details\n- Create/update endpoints return the modified resource on success\n\n## References\n- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas\n\n> Generated from the official API spec by [LAP](https://lap.sh)\n","references/api-spec.lap":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api Azure Machine Learning Model Management Service\n@version 2019-09-30\n@auth OAuth2\n@common_fields {subscriptionId: any # The Azure Subscription ID., resourceGroup: any # The Name of the resource group in which the workspace is located., workspace: any # The name of the workspace.}\n@endpoints 23\n@hint download_for_search\n@toc modelmanagement(23)\n\n@endpoint GET /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/assets\n@desc Query the list of Assets in a workspace.\n@optional {runId: any # The run Id associated with the Assets., name: any # The object name., count: any # The number of items to retrieve in a page., $skipToken: any # The continuation token to retrieve the next page., tags: any # A set of tags with which to filter the returned models.\r             It is a comma separated string of tags key or tags key=value\r             Example: tagKey1,tagKey2,tagKey3=value3, properties: any # A set of properties with which to filter the returned models.\r             It is a comma separated string of properties key and/or properties key=value\r             Example: propKey1,propKey2,propKey3=value3, orderby: any # An option for specifying how to order the list.}\n@returns(200) Success\n\n@endpoint POST /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/assets\n@desc Create an Asset.\n@optional {asset: map # The Asset to be created.}\n@returns(200) Success\n\n@endpoint GET /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/assets/{id}\n@desc Get an Asset.\n@required {id: any # The Asset Id.}\n@returns(200) Success\n\n@endpoint DELETE /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/assets/{id}\n@desc Delete an Asset.\n@required {id: any # The Id of the Asset to delete.}\n@returns(200) The resource exists and was deleted successfully.\n@returns(204) The resource does not exist and the request was well formed.\n\n@endpoint PATCH /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/assets/{id}\n@desc Update an Asset.\n@required {id: any # The Id of the Asset to patch., patch: [map] # The payload that is used to patch an Asset.}\n@returns(200) Success\n\n@endpoint GET /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/models/{id}\n@desc Gets a model.\n@required {id: any # The model id.}\n@returns(200) Success\n\n@endpoint DELETE /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/models/{id}\n@desc Delete the specified Model.\n@required {id: any # The model id.}\n@returns(200) The resource exists and was deleted successfully.\n@returns(204) The resource does not exist and the request was well formed.\n\n@endpoint PATCH /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/models/{id}\n@desc Patch a specific model.\n@required {id: any # The model id., patch: [map] # The payload that is used to patch the model.}\n@returns(200) Success\n\n@endpoint GET /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/models\n@desc Query the list of Models in a workspace.\n@optional {name: any # The object name., framework: any # The framework., description: any # The object description., count: any # The number of items to retrieve in a page., $skipToken: any # The continuation token to retrieve the next page., tags: any # A set of tags with which to filter the returned models.\r             It is a comma separated string of tags key or tags key=value\r             Example: tagKey1,tagKey2,tagKey3=value3, properties: any # A set of properties with which to filter the returned models.\r             It is a comma separated string of properties key and/or properties key=value\r             Example: propKey1,propKey2,propKey3=value3, runId: any # The runId which created the model., orderBy: any # An option to specify how the models are ordered in the response.}\n@returns(200) Success\n\n@endpoint POST /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/models\n@desc Register a model.\n@required {model: map # The payload that is used to register the model.}\n@returns(200) The model registration was successful.\n\n@endpoint GET /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/models/{id}/metrics\n@desc Retrieve the metrics for a Model.\n@required {id: any # The Model Id.}\n@optional {startDate: any # The start date from which to retrieve metrics, ISO 8601 literal format., endDate: any # The end date from which to retrieve metrics, ISO 8601 literal format.}\n@returns(200) Success\n\n@endpoint GET /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/operations/{id}\n@desc Get the status of an async operation.\n@required {id: any # The operation id.}\n@returns(200) Success\n\n@endpoint GET /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/images/{imageId}/profiles/{id}\n@desc Get a Profile.\n@required {imageId: any # The Image Id., id: any # The Profile Id.}\n@returns(200) Success\n\n@endpoint GET /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/images/{imageId}/profiles\n@desc Get a list of Image Profiles.\n@required {imageId: any # The Image Id.}\n@optional {name: any # The Profile name., description: any # The Profile description., tags: any # A set of tags with which to filter the returned models.\r             It is a comma separated string of tags key or tags key=value\r             Example: tagKey1,tagKey2,tagKey3=value3, properties: any # A set of properties with which to filter the returned models.\r             It is a comma separated string of properties key and/or properties key=value\r             Example: propKey1,propKey2,propKey3=value3, count: any # The number of items to retrieve in a page., $skipToken: any # The continuation token to retrieve the next page., orderBy: any # The option to order the response.}\n@returns(200) Success\n\n@endpoint POST /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/images/{imageId}/profiles\n@desc Create a Profile.\n@required {imageId: any # The Image Id., inputRequest: map # The payload that is used to create the Profile.}\n@returns(202) The request was accepted. The header 'Operation-Location' contains the async operation location URL. Accessing this URL with a GET call will return the status of the background task.\n\n@endpoint GET /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/services/{id}\n@desc Get a Service.\n@required {id: any # The Service Id.}\n@optional {expand: any # Set to True to include Model details.}\n@returns(200) Success\n\n@endpoint DELETE /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/services/{id}\n@desc Delete a Service.\n@required {id: any # The Service Id.}\n@returns(200) The resource exists and was deleted successfully.\n@returns(202) Success\n@returns(204) The resource does not exist and the request was well formed.\n\n@endpoint PATCH /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/services/{id}\n@desc Patch a Service.\n@required {id: any # The Service Id., patch: [map] # The payload that is used to patch the Service.}\n@returns(200) Success\n@returns(202) The request was accepted.  The header 'Operation-Location' contains the async operation location URL.  Accessing this URL with a GET call will return the status of the background task.\n\n@endpoint GET /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/services\n@desc Query the list of Services in a Workspace.\n@optional {imageId: any # The Image Id., imageName: any # The Image name., modelId: any # The Model Id., modelName: any # The Model name., name: any # The object name., count: any # The number of items to retrieve in a page., computeType: any # The compute environment type., $skipToken: any # The continuation token to retrieve the next page., tags: any # A set of tags with which to filter the returned models.\r             It is a comma separated string of tags key or tags key=value\r             Example: tagKey1,tagKey2,tagKey3=value3, properties: any # A set of properties with which to filter the returned models.\r             It is a comma separated string of properties key and/or properties key=value\r             Example: propKey1,propKey2,propKey3=value3, expand: any # Set to True to include Model details., orderby: any # The option to order the response.}\n@returns(200) Success\n\n@endpoint POST /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/services\n@desc Create a Service.\n@required {request: map # The payload that is used to create the Service.}\n@returns(202) The request was accepted.  The header 'Operation-Location' contains the async operation location URL.  Accessing this URL with a GET call will return the status of the background task.\n\n@endpoint POST /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/services/{id}/listkeys\n@desc Lists Service keys.\n@required {id: any # The Service Id.}\n@returns(200) Success\n\n@endpoint POST /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/services/{id}/regenerateKeys\n@desc Regenerate Service Keys.\n@required {id: any # The Service Id., request: map # The payload that is used to regenerate keys.}\n@returns(200) Success\n@returns(202) The request was accepted. The header 'Operation-Location' contains the async operation location URL.  Accessing this URL with a GET call will return the status of the background task.\n\n@endpoint POST /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/services/{id}/token\n@desc Generate Service Access Token.\n@required {id: any # The Service Id.}\n@returns(201) Success\n\n@end\n"}}