蓝心九问
知识库接口表格型

查询表结构


接口描述

此接口用于获取指定表格型知识库的字段和结构信息。

基础信息

请求地址/dataset/table/data/info
请求域名• 办公网域名:http://jiuwen-api.vmic.xyz/v1 • IDC域名:http://jiuwen-api.vivo.lan:8080/v1
请求方法GET

请求参数

无需参数

返回参数

内容较多,详见下方示例

示例

Request

curl --location --request GET '${props?.api_base_url}/dataset/table/data/info' \
--header 'Authorization: Bearer ENTER-YOUR-SECRET-KEY' \
--header 'Content-Type: application/json' \
--data-raw ''

Response

{
    "success": true,
    "data": {
        "code": 0,
        "message": "查询表结构成功",
        "table_id": "69875310-124f-47f4-aed0-c269f94b5cdf",
        "status": "completed",
        "start_process_time": "2024-09-20 17:41:46",
        "end_process_time": "2024-09-20 17:41:49",
        "table_schema": "[{\"column_id\": \"4ab75592-1d\", \"column_name\": \"name1\", \"column_description\": \"\", \"column_type\": \"string\", \"is_index\": 1}, {\"column_id\": \"25a1d1-b8a2-411\", \"column_name\": \"name2\", \"column_description\": \"\", \"column_type\": \"string\", \"is_index\": 0}]"
    }
}

On this page