---
title: "GetPipelineModelPredictNodeManifest"
method: GET
path: "/di/v2/pipeline/modelpredict_node_manifest"
tags: ["Pipeline"]
---

# GetPipelineModelPredictNodeManifest

`GET /di/v2/pipeline/modelpredict_node_manifest`

## Request

- Base URL: `https://di.prophecis.com`
- URL: `https://di.prophecis.com/di/v2/pipeline/modelpredict_node_manifest`
- Auth: one of:
  - API key in header `Authorization`
  - API key in header `X-Watson-Authorization-Token`
  - API key in query parameter `watson-token`
- TypeScript: <https://skmtc.dev/webankfintech/apis/prophecis-rest-service-v2/docs/di/v2/pipeline/modelpredict_node_manifest/get.ts> (a function with typed inputs; its response is checked against the schema)

获取可视化编辑/工作流中的模型预测节点的描述数据结构

## Response `200`

OK

- ModelPredictNodeManifest
  - `meta_data` MetaData
    - `name` string
    - `namespace` string
    - `description` string
    - `exp_id` string
    - `exp_name` string
  - `input` ModelPredictNodeInput
    - `data` DataConfig
      - `source_type` 'MLSSPlatformStorage'
      - `mlss_platform_parent_dir` string: 当前输出的存储根目录需要和输入的存储根目录一致
      - `mlss_platform_sub_dir` string
      - `mapping_path` string
    - `model` ModelInput
      - `source_type` 'Direct' | 'Variable': 选择全局变量要求在全局参数里定义了模型类型的变量，这里便可以选择该变量，然后在执行工作流和发布工作流的时候可以动态修改该变量；选择自定义则是普通的设置模型相关的设置
      - `variable_key` string
      - `group_id` string
      - `model_id` string
      - `model_version_id` number
  - `output` Output
    - `result` DataConfig
      - `source_type` 'MLSSPlatformStorage'
      - `mlss_platform_parent_dir` string: 当前输出的存储根目录需要和输入的存储根目录一致
      - `mlss_platform_sub_dir` string
      - `mapping_path` string
  - `run_environment` RunEnvironment
    - `image_name` string
    - `image_version` string
    - `entry_point` string
    - `code_path` string
  - `compute_resources` object
    - `worker` ComputeResource
      - `nums` number
      - `cpus` number
      - `memory` string
      - `gpus` number

## Other responses

- `401`: Unauthorized
- `404`: Model create failed

---

[API](https://skmtc.dev/webankfintech/apis/prophecis-rest-service-v2.md) - [All operations](https://skmtc.dev/webankfintech/apis/prophecis-rest-service-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/webankfintech/apis/prophecis-rest-service-v2/revisions/ea40aedea89c?raw)
