---
title: "Downloads the trained model."
method: GET
path: "/di/v1/models/{model_id}/trained_model"
tags: ["Models"]
---

# Downloads the trained model.

`GET /di/v1/models/{model_id}/trained_model`

Downloads the trained model as ZIP archive.

## Path parameters

- `model_id` string, string, required

## Query parameters

- `version` string

## Response `200`

Model definition

## Other responses

- `401` — Unauthorized
- `404` — The trained model cannot be found.
- `410` — If the trained model storage time has expired and it has been deleted. It only gets deleted if it not stored on an external data store.

---

[API](https://skmtc.net/webankfintech/apis/prophecis-rest-service.md) · [All operations](https://skmtc.net/webankfintech/apis/prophecis-rest-service/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/webankfintech/prophecis-rest-service/revisions/41a1038b5854/schema)
