---
title: "Get loglines, based on query"
method: GET
path: "/di/v1/logs/{model_id}/loglines"
tags: ["TrainingData"]
---

# Get loglines, based on query

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

## Path parameters

- `model_id` string, string, required

## Query parameters

- `searchType` 'TERM' | 'NESTED' | 'MATCH'
- `since_time` string, string
- `pagesize` integer
- `pos` integer
- `version` string

## Response `200`

(streaming responses)

- V1LogLinesList
  - `models` V1LogLine[]
    - `meta` V1MetaInfo
      - `training_id` string
      - `user_id` string
      - `time` number — Time that the metric occured: representing the number of millisecond since midnight January 1, 1970.
      - `rindex` number
    - `line` string

## Other responses

- `401` — Unauthorized

---

[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/versions/41a1038b5854/schema)
