---
title: "Get report by model name and model version"
method: GET
path: "/mf/v1/result/{modelName}"
tags: ["model_result"]
---

# Get report by model name and model version

`GET /mf/v1/result/{modelName}`

## Path parameters

- `modelName` string, required

## Response `200`

OK

- Result[]
  - `id` integer — report id
  - `model` ModelInfo
    - `id` number — id for the model.
    - `model_name` string — Name for the model.
    - `model_latest_version_id` number
    - `model_version` ModelVersionInfo
      - `id` number — Id for the ModelVersion.
      - `version` string — Model’s version number.
      - `creation_timestamp` string — Timestamp recorded when this model_version was created.
      - `latest_flag` integer — Timestamp recorded when metadata for this model_version was last updated.
      - `source` string — User that created this model_version.
      - `filepath` string — Running status of this model_version.
      - `model_id` number — Description of this model_version.
      - `enable_flag` integer
      - `file_name` string
      - `training_id` string — The id of training
      - `training_flag` number — The flag that whether generated by model operator.
      - `push_timestamp` string — Timestamp pushed.
      - `push_id` number
      - `event` Event
        - `id` integer, required — report id
        - `file_type` string, string, required — file type eg:MODEL, DATA
        - `file_id` integer, required — report id or model id
        - `file_name` string, string, required
        - `fps_file_id` string, string, required — file id from FPS
        - `hash_value` string, string, required — hash from FPS
        - `params` string, string, required
        - `idc` string, string, required — IDC of RMB
        - `dcn` string, string, required — DCN of RMB
        - `status` string, string, required — hash from FPS
        - `enable_flag` integer, required — 1 normal; 0 freeze
        - `creation_timestamp` string, date-time, required — create timestamp
        - `update_timestamp` string, date-time, required — report pushed timestamp
        - `rmb_s3path` string, string
        - `rmb_resp_file_name` string, string
        - `version` string, string
      - `user` UserInfo
        - `id` number — id for the model.
        - `name` string
        - `gid` number
        - `uid` number
        - `user_type` string
        - `remarks` string
        - `enable_flag` integer
        - `guid_check` integer
    - `model_type` string — type of model, eg. tensorflow, sklearn, xgboost
    - `position` integer — Timestamp recorded when metadata for this model was last updated.
    - `creation_timestamp` string — Timestamp recorded when metadata for this model was last updated.
    - `update_timestamp` string — Update time
    - `user_id` number — User that created this model.
    - `group_id` number — Group Id of User.
    - `service_id` number — User that created this model.
    - `reamrk` string — Description of this model
    - `enable_flag` integer
  - `training_id` string
  - `result_msg` string
  - `enable_flag` integer
  - `creation_timestamp` string, date-time — create timestamp
  - `update_timestamp` string, date-time — update timestamp

## Other responses

- `401` — Unauthorized
- `404` — Result get fail

---

[API](https://skmtc.dev/webankfintech/apis/mf-server.md) · [All operations](https://skmtc.dev/webankfintech/apis/mf-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/webankfintech/mf-server/revisions/5ad7fc23d2c6/schema)
