---
title: "Get training logs as websocket stream."
method: GET
path: "/di/v1/models/{model_id}/logs"
tags: ["Models"]
---

# Get training logs as websocket stream.

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

Get training logs for the given model as websocket stream. Each message can contain one or more log lines.

## Path parameters

- `model_id` string, string, required

## Query parameters

- `follow` boolean
- `since_time` string, string
- `version` string

## Response `200`

Dump of the training log to-date

## Other responses

- `401` — Unauthorized
- `404` — The model cannot be found.

---

[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)
