{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/analytics:microsoft-fabric-ml-model/items-list-mlmodels":{"get":{"operationId":"analytics_microsoft_fabric_ml_model_items_list_mlmodels","summary":"Returns a list of machine learning models from the specified workspace.","description":"GET /workspaces/{workspaceId}/mlModels","tags":["analytics"],"parameters":[{"name":"workspaceId","in":"query","required":true,"description":"The workspace ID.","schema":{"type":"string","description":"The workspace ID."}},{"name":"recursive","in":"query","required":false,"description":"Lists items in a folder and its nested folders, or just a folder only. True - All items in the folder and its nested folders are listed,…","schema":{"type":"boolean","description":"Lists items in a folder and its nested folders, or just a folder only. True - All items in the folder and its nested folders are listed,…"}},{"name":"rootFolderId","in":"query","required":false,"description":"This parameter allows users to filter items based on a specific root folder. If not provided, the workspace is used as the root folder.","schema":{"type":"string","description":"This parameter allows users to filter items based on a specific root folder. If not provided, the workspace is used as the root folder."}},{"name":"continuationToken","in":"query","required":false,"description":"A token for retrieving the next page of results.","schema":{"type":"string","description":"A token for retrieving the next page of results."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:microsoft-fabric-ml-model/items-create-mlmodel":{"post":{"operationId":"analytics_microsoft_fabric_ml_model_items_create_mlmodel","summary":"Creates a machine learning model in the specified workspace.","description":"POST /workspaces/{workspaceId}/mlModels","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","body"],"properties":{"workspaceId":{"type":"string","description":"The workspace ID."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:microsoft-fabric-ml-model/items-get-mlmodel":{"get":{"operationId":"analytics_microsoft_fabric_ml_model_items_get_mlmodel","summary":"Returns properties of the specified machine learning model.","description":"GET /workspaces/{workspaceId}/mlModels/{mlModelId}","tags":["analytics"],"parameters":[{"name":"workspaceId","in":"query","required":true,"description":"The workspace ID.","schema":{"type":"string","description":"The workspace ID."}},{"name":"mlModelId","in":"query","required":true,"description":"The machine learning model ID.","schema":{"type":"string","description":"The machine learning model ID."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:microsoft-fabric-ml-model/items-update-mlmodel":{"post":{"operationId":"analytics_microsoft_fabric_ml_model_items_update_mlmodel","summary":"Updates the properties of the specified machine learning model.","description":"PATCH /workspaces/{workspaceId}/mlModels/{mlModelId}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","mlModelId","body"],"properties":{"workspaceId":{"type":"string","description":"The workspace ID."},"mlModelId":{"type":"string","description":"The machine learning model ID."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:microsoft-fabric-ml-model/items-delete-mlmodel":{"post":{"operationId":"analytics_microsoft_fabric_ml_model_items_delete_mlmodel","summary":"Deletes the specified machine learning model.","description":"DELETE /workspaces/{workspaceId}/mlModels/{mlModelId}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","mlModelId"],"properties":{"workspaceId":{"type":"string","description":"The workspace ID."},"mlModelId":{"type":"string","description":"The machine learning model ID."},"hardDelete":{"type":"boolean","description":"Specifies whether to perform a hard delete. When set to `true`, the item is permanently deleted and cannot be recovered. When set to…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:microsoft-fabric-ml-model/endpoint-get-mlmodel-endpoint":{"get":{"operationId":"analytics_microsoft_fabric_ml_model_endpoint_get_mlmodel_endpoint","summary":"Returns properties of the specified machine learning model's endpoint.","description":"GET /workspaces/{workspaceId}/mlmodels/{modelId}/endpoint","tags":["analytics"],"parameters":[{"name":"workspaceId","in":"query","required":true,"description":"The workspace ID.","schema":{"type":"string","description":"The workspace ID."}},{"name":"modelId","in":"query","required":true,"description":"The machine learning model ID.","schema":{"type":"string","description":"The machine learning model ID."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:microsoft-fabric-ml-model/endpoint-update-mlmodel-endpoint":{"post":{"operationId":"analytics_microsoft_fabric_ml_model_endpoint_update_mlmodel_endpoint","summary":"Updates the default version of the specified model.","description":"PATCH /workspaces/{workspaceId}/mlmodels/{modelId}/endpoint","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","modelId","body"],"properties":{"workspaceId":{"type":"string","description":"The workspace ID."},"modelId":{"type":"string","description":"The machine learning model ID."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:microsoft-fabric-ml-model/endpoint-deactivate-all-mlmodel-endpoint-versions":{"post":{"operationId":"analytics_microsoft_fabric_ml_model_endpoint_deactivate_all_mlmodel_endpoint_versions","summary":"Deactivates the specified machine learning model and its version's endpoints.","description":"POST /workspaces/{workspaceId}/mlmodels/{modelId}/endpoint/versions/deactivateAll","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","modelId"],"properties":{"workspaceId":{"type":"string","description":"The workspace ID."},"modelId":{"type":"string","description":"The machine learning model ID."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:microsoft-fabric-ml-model/endpoint-list-mlmodel-endpoint-versions":{"get":{"operationId":"analytics_microsoft_fabric_ml_model_endpoint_list_mlmodel_endpoint_versions","summary":"Returns a list of all machine learning model endpoint versions.","description":"GET /workspaces/{workspaceId}/mlmodels/{modelId}/endpoint/versions","tags":["analytics"],"parameters":[{"name":"workspaceId","in":"query","required":true,"description":"The workspace ID.","schema":{"type":"string","description":"The workspace ID."}},{"name":"modelId","in":"query","required":true,"description":"The machine learning model ID.","schema":{"type":"string","description":"The machine learning model ID."}},{"name":"continuationToken","in":"query","required":false,"description":"A token for retrieving the next page of results.","schema":{"type":"string","description":"A token for retrieving the next page of results."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:microsoft-fabric-ml-model/endpoint-get-mlmodel-endpoint-version":{"get":{"operationId":"analytics_microsoft_fabric_ml_model_endpoint_get_mlmodel_endpoint_version","summary":"Returns information about the specified MLModel endpoint version.","description":"GET /workspaces/{workspaceId}/mlmodels/{modelId}/endpoint/versions/{name}","tags":["analytics"],"parameters":[{"name":"workspaceId","in":"query","required":true,"description":"The workspace ID.","schema":{"type":"string","description":"The workspace ID."}},{"name":"modelId","in":"query","required":true,"description":"The machine learning model ID.","schema":{"type":"string","description":"The machine learning model ID."}},{"name":"name","in":"query","required":true,"description":"The MLModel version name.","schema":{"type":"string","description":"The MLModel version name."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:microsoft-fabric-ml-model/endpoint-update-mlmodel-endpoint-version":{"post":{"operationId":"analytics_microsoft_fabric_ml_model_endpoint_update_mlmodel_endpoint_version","summary":"Update machine learning model endpoint version configuration.","description":"PATCH /workspaces/{workspaceId}/mlmodels/{modelId}/endpoint/versions/{name}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","modelId","name","body"],"properties":{"workspaceId":{"type":"string","description":"The workspace ID."},"modelId":{"type":"string","description":"The machine learning model ID."},"name":{"type":"string","description":"The MLModel version name."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:microsoft-fabric-ml-model/endpoint-activate-mlmodel-endpoint-version":{"post":{"operationId":"analytics_microsoft_fabric_ml_model_endpoint_activate_mlmodel_endpoint_version","summary":"Activates the specified model version endpoint.","description":"POST /workspaces/{workspaceId}/mlmodels/{modelId}/endpoint/versions/{name}/activate","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","modelId","name"],"properties":{"workspaceId":{"type":"string","description":"The workspace ID."},"modelId":{"type":"string","description":"The machine learning model ID."},"name":{"type":"string","description":"The MLModel version name."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:microsoft-fabric-ml-model/endpoint-deactivate-mlmodel-endpoint-version":{"post":{"operationId":"analytics_microsoft_fabric_ml_model_endpoint_deactivate_mlmodel_endpoint_version","summary":"Deactivates the specified model version version.","description":"POST /workspaces/{workspaceId}/mlmodels/{modelId}/endpoint/versions/{name}/deactivate","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","modelId","name"],"properties":{"workspaceId":{"type":"string","description":"The workspace ID."},"modelId":{"type":"string","description":"The machine learning model ID."},"name":{"type":"string","description":"The MLModel version name."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:microsoft-fabric-ml-model/endpoint-score-mlmodel-endpoint":{"post":{"operationId":"analytics_microsoft_fabric_ml_model_endpoint_score_mlmodel_endpoint","summary":"Scores input data using the default version of the endpoint and returns results.","description":"POST /workspaces/{workspaceId}/mlModels/{modelId}/endpoint/score","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","modelId","body"],"properties":{"workspaceId":{"type":"string","description":"The workspace ID."},"modelId":{"type":"string","description":"The machine learning model ID."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:microsoft-fabric-ml-model/endpoint-score-mlmodel-endpoint-version":{"post":{"operationId":"analytics_microsoft_fabric_ml_model_endpoint_score_mlmodel_endpoint_version","summary":"Scores input data for the specific version of the endpoint and returns results.","description":"POST /workspaces/{workspaceId}/mlmodels/{modelId}/endpoint/versions/{name}/score","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workspaceId","modelId","name","body"],"properties":{"workspaceId":{"type":"string","description":"The workspace ID."},"modelId":{"type":"string","description":"The machine learning model ID."},"name":{"type":"string","description":"The MLModel version name."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}