--- title: "models.run" slug: "ai-models-run" updated: 2025-11-06T19:38:29Z published: 2025-11-06T19:38:29Z canonical: "docs.doc-know.com/ai-models-run" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.doc-know.com/llms.txt > Use this file to discover all available pages before exploring further. # models.run ### ai.models.run Runs a machine learning (ML) model that has been previously installed using [ai.models.install](http://docs.doc-know.com/v1/docs/ai-models-install). ### Input Parameters | Name | Type | Required | Description | | --- | --- | --- | --- | | **key** | Text | Yes | Unique model identifier used during [ai.models.install](http://docs.doc-know.com/v1/docs/ai-models-install) | | **input** | Text | Yes | Model input object | ### Returns Type: **Any** Returns a model-specific result type. ### Examples ``` // inside the Ux.Change script... // prepare input required by model var input = { "property1": 11.22, "property2": 32.64 }; // run model for prediction results var results = ai.models.run("riskModel", input); ``` ### Remarks Use this function to run a machine learning (ML) model that has been previously installed using [ai.models.install](http://docs.doc-know.com/v1/docs/ai-models-install).