---
title: "GetPipelineGlobalVariablesModel"
method: GET
path: "/di/v2/pipeline/global_variables/model"
tags: ["Pipeline"]
---

# GetPipelineGlobalVariablesModel

`GET /di/v2/pipeline/global_variables/model`

## Request

- Base URL: `https://di.prophecis.com`
- URL: `https://di.prophecis.com/di/v2/pipeline/global_variables/model`
- 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/global_variables/model/get.ts> (a function with typed inputs; its response is checked against the schema)

获取可视化编辑/工作流中的全局变量的模型变量数据结构

## Response `200`

OK

- Model
  - `group_id` string
  - `model_id` string
  - `model_version_id` string

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