跳转到主要内容
POST
/
open
/
agentic_doc_processor
/
{tenant_name}
/
v1
/
app-manage
/
config
查询应用列表或应用配置
const options = {
  method: 'POST',
  headers: {'X-API-KEY': '<api-key>', 'Content-Type': 'application/json'},
  body: JSON.stringify({
    app_id: '<string>',
    config_version: '<string>',
    app_name: '<string>',
    ai_function: 123,
    app_type: 123,
    with_extra: 123,
    offset: 123,
    limit: 123
  })
};

fetch('https://adp.laiye.com/open/agentic_doc_processor/{tenant_name}/v1/app-manage/config', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "code": 200,
  "message": "success",
  "data": {
    "list": [
      {
        "id": "app_abc123",
        "app_name": "采购单抽取",
        "app_label": [
          "finance"
        ]
      }
    ],
    "total": 1
  }
}

授权

X-API-KEY
string
header
必填

用户接入 OpenAPI 的令牌,在应用 API 中查看。

路径参数

tenant_name
string
默认值:laiye
必填

租户名称,默认 laiye。

请求体

application/json
app_id
string
config_version
string
app_name
string
ai_function
integer
app_type
integer

1=自定义,0=系统预设。

with_extra
integer
offset
integer
limit
integer

响应

应用列表或应用配置。

code

业务码。成功通常为 success 或 200。

message
string

返回信息。

tips
string | null

详细信息,默认为空。

data
object