EntityList - 查看实体列表(查询实体详情、实体值列表)
更新时间:2025-01-13
API访问域名
请求方式 | GET |
---|---|
base url | https://keyue.cloud.baidu.com |
后缀接口 | /open/v1/api/v3/entity/list |
Authentication | token为API Key |
说明
用于查询当前agent下的实体列表,接口返回每个实体的详情以及实体值。
请求参数
Header参数
名称 | 类型 | 必选 | 中文名 | 说明 |
---|---|---|---|---|
Content-Type | string | 是 | 内容类型 | 固定值:application/json |
token | string | 是 | API KEY | 集成-API-API Key处获取。 详细获取方式参考:准备工作 |
uid | string | 是 | 用户ID | 鼠标移动至页面右上角账户头像即可获取。 详细获取方式参考:准备工作 |
username | string | 是 | 用户名 | 鼠标移动至页面右上角账户头像即可获取。 详细获取方式参考:准备工作 |
Body参数
无
响应参数
名称 | 类型 | 必填 | 中文名 | 说明 |
---|---|---|---|---|
time | integer | 是 | 时间 | 1717036810964 |
data | object | 是 | 数据 | 数据对象,详见data子数据 |
code | integer | 是 | 状态码 | 200 |
msg | string | 是 | 状态信息 | OK |
data 子数据
名称 | 类型 | 必填 | 中文名 | 说明 |
---|---|---|---|---|
list | array[object] | 是 | 实体列表 | 列表,详见 list 子数据 |
list 子数据
名称 | 类型 | 必填 | 中文名 | 说明 |
---|---|---|---|---|
id | string | 是 | 唯一标识 | |
name | string | 是 | 实体英文名 | 默认自动生成 |
nameZh | string | 是 | 实体名称 | |
description | string | 是 | 实体描述 | |
version | string | 是 | 实体版本号 | |
type | integer | 是 | 类型 | 0:自定义实体,1:系统实体。可能增加新的枚举类型,请提前做好兼容适配 |
refer | string | 是 | 引用实体 | 引用系统实体时,系统实体的ID |
updated | string | 是 | 更新时间 | |
entries | array[object] | 是 | 实体值列表 | 实体ID |
entries 子数据
名称 | 类型 | 必选 | 中文名 | 说明 |
---|---|---|---|---|
id | string | 是 | 实体值唯一标识 | UUID |
agentId | string | 是 | agent唯一标识 | UUID |
entityId | string | 是 | 实体唯一标识 | UUID |
value | string | 是 | 实体值 | |
synonyms | string | 是 | 同义词 | |
created | Data | 是 | 创建时间 | yyyy-MM-dd HH:mm:ss |
updated | Data | 是 | 更新时间 | yyyy-MM-dd HH:mm:ss |
name | string | 是 | 名称 | 英文名,默认自动生成 |
nameZh | string | 是 | 中文名称 | |
description | string | 是 | 描述 | |
refer | string | 是 | 引用 | |
hasActiveCopy | boolean | 是 | ||
version | integer | 是 | 版本号 | |
type | integer | 是 | 类型 | 默认为0 |
indexExipred | boolean | 是 |
请求示例
curl --location --request GET 'https://keyue.cloud.baidu.com/open/v1/api/v3/entity/list' \
--header 'token: 3db0f170-9e32-4ae0-967f-74822ccad4c1' \
--header 'uid: dd6283a283df42998bab14607e23f38d' \
--header 'username: ldd' \
响应示例
{
"time": 1735021864486,
"data": {
"list": [
{
"id": "9b3e7a45-3707-4a35-819c-c3f338962eba",
"name": "t725f439",
"nameZh": "学历状态",
"description": "",
"version": 0,
"type": 0,
"refer": "0",
"updated": "2024-08-30 17:15:34",
"entries": [
{
"_effect": 0,
"id": "5df326fc-cdf5-44d3-b5d7-ca3c6f1f76ef",
"agentId": "9daded47-d892-4111-8ca0-00a506b8b58b",
"entityId": "9b3e7a45-3707-4a35-819c-c3f338962eba",
"value": "初中及中职",
"synonyms": "初中,中职学历,初中中职文凭,初中阶段学历,初中在读,初中毕业,初中阶段,初中中职,初中学历,中职学业水平,初中中职毕业,初中与中职学历",
"created": "2024-08-30 17:15:34",
"updated": "2024-08-30 17:15:34",
"name": null,
"nameZh": null,
"description": null,
"refer": null,
"hasActiveCopy": false,
"version": 0,
"type": 0,
"indexExpired": false
},
{
"_effect": 0,
"id": "9fc27c13-5428-4aef-9912-df90fb83036a",
"agentId": "9daded47-d892-4111-8ca0-00a506b8b58b",
"entityId": "9b3e7a45-3707-4a35-819c-c3f338962eba",
"value": "高中及高职",
"synonyms": "高中学历,高职学历,高中阶段,高中层次,高职层次,高中文凭,高职文凭,高中教育程度",
"created": "2024-08-30 17:15:34",
"updated": "2024-08-30 17:15:33",
"name": null,
"nameZh": null,
"description": null,
"refer": null,
"hasActiveCopy": false,
"version": 0,
"type": 0,
"indexExpired": false
},
{
"_effect": 0,
"id": "41e943ff-d72d-465d-95b8-c88753aa75f1",
"agentId": "9daded47-d892-4111-8ca0-00a506b8b58b",
"entityId": "9b3e7a45-3707-4a35-819c-c3f338962eba",
"value": "大专学历",
"synonyms": "大专文凭,大专毕业,专科学历,专科文凭,专科毕业,大专,专科,专科学历证明",
"created": "2024-08-30 17:15:34",
"updated": "2024-08-30 17:15:32",
"name": null,
"nameZh": null,
"description": null,
"refer": null,
"hasActiveCopy": false,
"version": 0,
"type": 0,
"indexExpired": false
},
{
"_effect": 0,
"id": "838a6ccb-c3da-46ad-8c25-5df310f15375",
"agentId": "9daded47-d892-4111-8ca0-00a506b8b58b",
"entityId": "9b3e7a45-3707-4a35-819c-c3f338962eba",
"value": "本科及以上",
"synonyms": "本科学历,本科以上,研究生,硕士,博士,研究生学历,本科或以上学历,硕士及以上学历,博士学历,大学本科,2本,3本,一本,本科水平,本科背景",
"created": "2024-08-30 17:15:34",
"updated": "2024-08-30 17:15:31",
"name": null,
"nameZh": null,
"description": null,
"refer": null,
"hasActiveCopy": false,
"version": 0,
"type": 0,
"indexExpired": false
}
]
},
{
"id": "875c08e6-e8bc-44d6-aa50-e603cb55d922",
"name": "Hcc5b52f",
"nameZh": "微信号或手机号",
"description": "",
"version": 0,
"type": 0,
"refer": "0",
"updated": "2024-05-17 17:33:41",
"entries": []
},
{
"id": "acf1c65e-1dfe-49df-bc3a-9889bd481b4a",
"name": "uc1ea41d",
"nameZh": "姓名或称呼",
"description": "",
"version": 0,
"type": 0,
"refer": "0",
"updated": "2024-05-17 15:44:51",
"entries": []
},
{
"id": "e691541d-3b95-4fcf-8188-2ed501e38f0c",
"name": "ba042c95",
"nameZh": "就业状态",
"description": "",
"version": 0,
"type": 0,
"refer": "0",
"updated": "2024-05-17 15:43:19",
"entries": [
{
"_effect": 0,
"id": "8036415a-390e-4bcd-b3ff-1f0a07795114",
"agentId": "9daded47-d892-4111-8ca0-00a506b8b58b",
"entityId": "e691541d-3b95-4fcf-8188-2ed501e38f0c",
"value": "待业",
"synonyms": "未就业中,未就业,待业,暂无工作,暂无职业,尚未就业,失业了,被开除了,在家呆着,在找工作",
"created": "2024-05-17 15:43:19",
"updated": "2024-05-17 15:43:20",
"name": null,
"nameZh": null,
"description": null,
"refer": null,
"hasActiveCopy": false,
"version": 0,
"type": 0,
"indexExpired": false
},
{
"_effect": 0,
"id": "cf48b45d-6257-4679-8938-b31471f26987",
"agentId": "9daded47-d892-4111-8ca0-00a506b8b58b",
"entityId": "e691541d-3b95-4fcf-8188-2ed501e38f0c",
"value": "在校学习",
"synonyms": "在校就读,实习,在上学,在校就读状态,在校中,校内学习,在校接受教育,在校进修,放暑假,放寒假,还没有开学,不想上学,大专在读",
"created": "2024-05-17 15:43:19",
"updated": "2024-05-17 15:43:19",
"name": null,
"nameZh": null,
"description": null,
"refer": null,
"hasActiveCopy": false,
"version": 0,
"type": 0,
"indexExpired": false
},
{
"_effect": 0,
"id": "0229d537-288e-4210-947a-9e5e3a12855f",
"agentId": "9daded47-d892-4111-8ca0-00a506b8b58b",
"entityId": "e691541d-3b95-4fcf-8188-2ed501e38f0c",
"value": "工作中",
"synonyms": "已就业,已上岗,已入职,已工作,已在岗,已就职,兼职中,当老板,自己开公司",
"created": "2024-05-17 15:43:19",
"updated": "2024-05-17 15:43:18",
"name": null,
"nameZh": null,
"description": null,
"refer": null,
"hasActiveCopy": false,
"version": 0,
"type": 0,
"indexExpired": false
}
]
},
{
"id": "e25c1b59-a4f5-4a29-b5d7-6df7ccf12667",
"name": "ca420803",
"nameZh": "课程类型",
"description": "",
"version": 0,
"type": 0,
"refer": "0",
"updated": "2024-05-14 15:41:37",
"entries": [
{
"_effect": 0,
"id": "df063a13-9123-4568-9607-cc8667bab939",
"agentId": "9daded47-d892-4111-8ca0-00a506b8b58b",
"entityId": "e25c1b59-a4f5-4a29-b5d7-6df7ccf12667",
"value": "在职研究生",
"synonyms": "",
"created": "2024-05-14 15:41:37",
"updated": "2024-05-14 15:41:36",
"name": null,
"nameZh": null,
"description": null,
"refer": null,
"hasActiveCopy": false,
"version": 0,
"type": 0,
"indexExpired": false
},
{
"_effect": 0,
"id": "e564c3fb-adf2-4f10-bad3-23d29d9cfc36",
"agentId": "9daded47-d892-4111-8ca0-00a506b8b58b",
"entityId": "e25c1b59-a4f5-4a29-b5d7-6df7ccf12667",
"value": "专升本",
"synonyms": "",
"created": "2024-05-14 15:41:37",
"updated": "2024-05-14 10:45:23",
"name": null,
"nameZh": null,
"description": null,
"refer": null,
"hasActiveCopy": false,
"version": 0,
"type": 0,
"indexExpired": false
}
]
},
{
"id": "3a65dbee-5c95-4cb9-ae3d-ad2d8351411c",
"name": "j751c116",
"nameZh": "数字编号",
"description": "自然数实体",
"version": 0,
"type": 1,
"refer": "656d365b-5335-41f0-bafb-e6f6ada0ac69",
"updated": "2024-05-08 14:24:43",
"entries": []
},
{
"id": "ee108ab0-66be-4c3f-b96a-3d84b8addf7b",
"name": "o36df396",
"nameZh": "数值",
"description": "数字实体",
"version": 0,
"type": 1,
"refer": "dfsdfsd32-3ds23fdsfdf-444sdfsfsdfs",
"updated": "2024-05-08 14:24:42",
"entries": []
},
{
"id": "628ae0cb-9321-46af-83d4-b286aa7e6040",
"name": "H27b04d0",
"nameZh": "人名",
"description": "人名实体",
"version": 0,
"type": 1,
"refer": "fdsfs13424-2342fdsfsd-f4353fdfds",
"updated": "2024-05-08 14:24:41",
"entries": []
},
{
"id": "37f64401-6ccc-47c1-a33f-d45c9efe8b8d",
"name": "ae0e193c",
"nameZh": "身份证号",
"description": "身份证号实体",
"version": 0,
"type": 1,
"refer": "sdasdsad-a343-dfsfsdfdsf4232",
"updated": "2024-05-08 14:24:40",
"entries": []
},
{
"id": "4116e608-2839-4994-b7c4-287460b5af3c",
"name": "c74aa5ba",
"nameZh": "手机号码",
"description": "手机号码实体",
"version": 0,
"type": 1,
"refer": "asdads2232-dfsf33434343-fdsfds45454",
"updated": "2024-05-08 14:24:39",
"entries": []
},
{
"id": "942b4391-2287-4f7c-82ca-af0049c7fdf4",
"name": "F6cd9fe2",
"nameZh": "电子邮箱",
"description": "电子邮箱实体",
"version": 0,
"type": 1,
"refer": "e342refwfsdfs-34sdfsdfsdf34r-34efsdfdsfsd",
"updated": "2024-05-08 14:24:38",
"entries": []
},
{
"id": "e3450549-eab5-413e-92fd-8336cd94c0b4",
"name": "vbccee7d",
"nameZh": "QQ",
"description": "QQ实体",
"version": 0,
"type": 1,
"refer": "f205915d-aef1-43e9-a676-6967ef2a0122",
"updated": "2024-05-08 14:24:37",
"entries": []
},
{
"id": "af26d90e-89a2-4637-8682-2e1c27b06430",
"name": "Dc1c4ce9",
"nameZh": "IP",
"description": "IP实体",
"version": 0,
"type": 1,
"refer": "25d48a75-1f6c-442d-84c4-a37ad31d2b7e",
"updated": "2024-05-08 14:24:36",
"entries": []
},
{
"id": "a27af45d-0267-466e-9d7b-ac8d97210443",
"name": "w7027455",
"nameZh": "URL",
"description": "URL实体",
"version": 0,
"type": 1,
"refer": "ba4d9e56-f6b9-4cc2-9893-464b6e9dfdfa",
"updated": "2024-05-08 14:24:35",
"entries": []
},
{
"id": "cc614ff8-3ccc-46f9-91f8-ec2c0976ae4d",
"name": "q18344c6",
"nameZh": "金额范围",
"description": "货币范围实体",
"version": 0,
"type": 1,
"refer": "05dc9f87-5e4d-408b-a75d-2894eac69f14",
"updated": "2024-05-08 14:24:34",
"entries": []
},
{
"id": "fa6fa4c2-5aad-4c27-b337-66301e8a6f93",
"name": "fb2370dd",
"nameZh": "时间",
"description": "时间实体",
"version": 0,
"type": 1,
"refer": "ewr23fdsfsdf-23rfdsfds-f443343",
"updated": "2024-05-08 14:24:33",
"entries": []
},
{
"id": "51562ffb-24dd-4dc8-b240-c4b25bfe1738",
"name": "wae84926",
"nameZh": "时间范围",
"description": "时间范围实体",
"version": 0,
"type": 1,
"refer": "22764ce5-1b79-4a61-9864-3369f452c756",
"updated": "2024-05-08 14:24:32",
"entries": []
},
{
"id": "b2d1796b-0fc8-4c22-85bb-261bd28ffc74",
"name": "C2397055",
"nameZh": "日期集合",
"description": "时间集合实体",
"version": 0,
"type": 1,
"refer": "b1a4e398-26e4-4b6c-8e8b-7a2c7871845b",
"updated": "2024-05-08 14:24:31",
"entries": []
},
{
"id": "66865228-b06e-49fb-ae9d-1d6685cfe341",
"name": "Ea8df888",
"nameZh": "日期",
"description": "日期实体",
"version": 0,
"type": 1,
"refer": "2341234-erefd-23243-gfdfd",
"updated": "2024-05-08 14:24:30",
"entries": []
},
{
"id": "f6dbc662-d172-42b2-9098-54a049990952",
"name": "Ja019c95",
"nameZh": "月",
"description": "月实体",
"version": 0,
"type": 1,
"refer": "23bd7c14-da39-11e7-ae5d-6c92bf468bea",
"updated": "2024-05-08 14:24:29",
"entries": []
},
{
"id": "3add7a2e-875f-49ea-b21c-c33a6ee14387",
"name": "G813b942",
"nameZh": "年",
"description": "年实体",
"version": 0,
"type": 1,
"refer": "23bd91bb-da39-11e7-ae5d-6c92bf468bea",
"updated": "2024-05-08 14:24:28",
"entries": []
},
{
"id": "fd1bcd49-a285-4177-8f83-5e4726cfa7b4",
"name": "rd6e135d",
"nameZh": "地点",
"description": "地点实体",
"version": 0,
"type": 1,
"refer": "dfsf23fdfsdf2-23fdsfsd-f23dsfdsfsd",
"updated": "2024-05-08 14:24:27",
"entries": []
},
{
"id": "d834ca2c-d479-42ce-8afa-99f3af625d5b",
"name": "ea5cb3cd",
"nameZh": "国家",
"description": "国家实体",
"version": 0,
"type": 1,
"refer": "5cd0fcd8-8ffd-4ebb-bc38-5903fce4c164",
"updated": "2024-05-08 14:24:26",
"entries": []
},
{
"id": "a666543a-0f5b-46cf-9afd-d4ef566bd030",
"name": "s2f22031",
"nameZh": "省份",
"description": "省份实体",
"version": 0,
"type": 1,
"refer": "688460a3-c541-4fee-a2a4-83cff3648da2",
"updated": "2024-05-08 14:24:25",
"entries": []
},
{
"id": "d4baa5cd-7dae-4c83-9828-cb3c16a0383a",
"name": "l36c741f",
"nameZh": "城市",
"description": "城市实体",
"version": 0,
"type": 1,
"refer": "13a5afb5-b172-4257-8c3b-09a2b563c211",
"updated": "2024-05-08 14:24:24",
"entries": []
},
{
"id": "2b1c56f9-5d30-4f31-86d9-98bbc94ad7a3",
"name": "qeba8703",
"nameZh": "区县",
"description": "区县实体",
"version": 0,
"type": 1,
"refer": "99073ed2-46a8-42b0-bdb2-79db02c37979",
"updated": "2024-05-08 14:24:23",
"entries": []
},
{
"id": "2d58473f-7939-47d6-b726-00a9b24b2b8e",
"name": "G7932051",
"nameZh": "详细地址",
"description": "详细地址实体",
"version": 0,
"type": 1,
"refer": "5025c2f4-70d7-5794-aee6-5a3ea250f887",
"updated": "2024-05-08 14:24:22",
"entries": []
},
{
"id": "afb61332-ac10-4ba5-9708-b7b51a79f151",
"name": "h421c07f",
"nameZh": "航班号",
"description": "航班号实体",
"version": 0,
"type": 1,
"refer": "600c62cd-1aca-4ea7-a992-6696ae1fda3d",
"updated": "2024-05-08 14:24:21",
"entries": []
},
{
"id": "ce481a3b-b142-48e3-b5fe-f57096737288",
"name": "De7a2377",
"nameZh": "航班座位号",
"description": "航班座位号实体",
"version": 0,
"type": 1,
"refer": "a16b0707-8e79-4cf3-a6a8-f988f91c3dd4",
"updated": "2024-05-08 14:24:20",
"entries": []
},
{
"id": "81274cf3-4b59-4cb4-ab77-db95b741afef",
"name": "s7674a72",
"nameZh": "机场地点",
"description": "机场地点实体",
"version": 0,
"type": 1,
"refer": "cda4cb93-2c1c-466e-9973-4678cf442a97",
"updated": "2024-05-08 14:24:19",
"entries": []
},
{
"id": "0e22db30-57bd-4fef-9dab-e5768c92fccf",
"name": "v79215b0",
"nameZh": "机场",
"description": "机场实体",
"version": 0,
"type": 1,
"refer": "6e18565c-6cd7-48f5-938e-3f278696b828",
"updated": "2024-05-08 14:24:18",
"entries": []
},
{
"id": "777b9152-6906-4c2d-b277-116a8e6bf989",
"name": "B21ed797",
"nameZh": "微信",
"description": "微信实体",
"version": 0,
"type": 1,
"refer": "fahjkfbakbfakf-232dcsfds-3443fdsd",
"updated": "2000-01-01 00:00:00",
"entries": []
}
]
},
"code": 200,
"msg": "OK"
}
{
"msg": "API Key 为空,请填写AI客服对应的API Key",
"tip": "",
"code": 4008651,
"requestId": "8fcd4ddd9b184bd98dbe297bc6dd2156"
}