> For the complete documentation index, see [llms.txt](https://docs.vectice.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vectice.com/25.2/log-and-manage-assets-with-vectice-api/log-assets-to-vectice/log-mlflow-runs.md).

# Log MLFLow runs

Vectice provides an easy way to retrieve already saved information from your MLflow runs and document them into Vectice.

To log model information from `MLFlow` use the following lines of code:

```python
# Use the following model wrapper to retrieve your MLFlow run artifacts
model = Model.mlflow(run_id='your_run_id', client=mlflow, url='https://your_url.com')

# Log MLFlow artifacts in Vectice
iteration.log(model)
```

<table><thead><tr><th width="184.5">Parameter</th><th width="421">Description</th><th>Default</th></tr></thead><tbody><tr><td><code>run_id</code></td><td>A unique identifier for the MLflow experiment run.</td><td><em>required</em></td></tr><tr><td><code>client</code></td><td>The MLflow client object used for interacting with MLflow. This parameter is mandatory to ensure compatibility and avoid issues with specific configurations.</td><td><em>required</em></td></tr><tr><td><code>url</code></td><td>The URL to the<code>MLFlow</code> UI to access the run information.</td><td><em>optional</em></td></tr><tr><td><code>derived_from</code></td><td>List of datasets (or version ids) to link as lineage.</td><td><em>optional</em></td></tr></tbody></table>

You can access your MLFlow run artifacts in Vectice where you will see the model version metrics, properties, and a link to the MLFlow UI of your run.

Find this information by navigating to **Models** **>** **Select model name > Select version**.

<figure><img src="/files/9pLINlHZmS8F9SZUUcI2" alt=""><figcaption><p>MLFlow Model Version Metrics and Properties in the Vectice App</p></figcaption></figure>

<figure><img src="/files/R9P9a87MIpF1IRmiwKLE" alt=""><figcaption><p>MLFlow UI URL Accessible in the Vectice App</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.vectice.com/25.2/log-and-manage-assets-with-vectice-api/log-assets-to-vectice/log-mlflow-runs.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
