读取环境变量配置
Admin Workflows
读取环境变量配置
GET
读取环境变量配置
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl --request GET \
--url https://wfapi.yuhe.space/api/workflows/{workflowName}/env \
--header 'Authorization: Bearer <token>'{
"errCode": 123,
"errMessage": "<string>",
"data": {
"workflowId": "<string>",
"workflowName": "<string>",
"target": "<string>",
"resolvedTarget": "<string>",
"systemVars": [
{
"key": "<string>",
"value": "<string>",
"description": "<string>",
"required": true,
"sensitive": true,
"placeholder": "<string>",
"exampleValue": "<string>",
"options": [
{
"value": "<string>",
"label": "<string>"
}
]
}
],
"customVars": [
{
"key": "<string>",
"value": "<string>",
"description": "<string>",
"required": true,
"sensitive": true,
"placeholder": "<string>",
"exampleValue": "<string>",
"options": [
{
"value": "<string>",
"label": "<string>"
}
]
}
]
}
}curl --request GET \
--url https://wfapi.yuhe.space/api/workflows/{workflowName}/env \
--header 'Authorization: Bearer <token>'{
"errCode": 123,
"errMessage": "<string>",
"data": {
"workflowId": "<string>",
"workflowName": "<string>",
"target": "<string>",
"resolvedTarget": "<string>",
"systemVars": [
{
"key": "<string>",
"value": "<string>",
"description": "<string>",
"required": true,
"sensitive": true,
"placeholder": "<string>",
"exampleValue": "<string>",
"options": [
{
"value": "<string>",
"label": "<string>"
}
]
}
],
"customVars": [
{
"key": "<string>",
"value": "<string>",
"description": "<string>",
"required": true,
"sensitive": true,
"placeholder": "<string>",
"exampleValue": "<string>",
"options": [
{
"value": "<string>",
"label": "<string>"
}
]
}
]
}
}使用 WORKFLOW_SERVER_ADMIN_KEY 或已创建的账号 API Key。