获取数据集的基本信息,包括关键词、描述以及预生成的问题。
curl --request GET \
--url https://app.ai.relyt.cn/app/api/v2/team/datasets/{id}/overview \
--header 'x-pd-api-key: <api-key>'
{
"code": {
"code": 0
},
"data": {
"id": "dset-cm5axptyyxxx298",
"name": "sales_indicators_2024",
"description": "A dataset comprising 373 travel bookings with 15 attributes, offering insights into booking patterns, pricing strategies, and more",
"summary": "This dataset contains 373 travel bookings with 15 attributes, enabling analysis of booking trends, pricing strategies, and travel agency dynamics.",
"exploration_questions": [
"How does the booking price trend over time based on the BookingTimestamp?",
"How does the average booking price change with respect to the TravelDate?",
"Are there any significant outliers in the booking prices, and what might be causing them?",
"How does the average price vary between one-way and round-trip bookings?"
],
"keywords": [
"Travel Bookings",
"Booking Trends",
"Travel Agencies"
]
}
}
请求示例:
curl --request GET \
--url https://app.ai.relyt.cn/app/api/v2/team/datasets/{id}/overview?user_id=tmm-dafasdfasdfasdf \
--header 'x-pd-api-key: <api-key>'
返回示例:
{
"code": {
"code": 0
},
"data": {
"id": "dset-cm5axptyyxxx298",
"name": "sales_indicators_2024",
"description": "A dataset comprising 373 travel bookings with 15 attributes, offering insights into booking patterns, pricing strategies, and more",
"summary": "This dataset contains 373 travel bookings with 15 attributes, enabling analysis of booking trends, pricing strategies, and travel agency dynamics.",
"exploration_questions": [
"How does the booking price trend over time based on the BookingTimestamp?",
"How does the average booking price change with respect to the TravelDate?",
"Are there any significant outliers in the booking prices, and what might be causing them?",
"How does the average price vary between one-way and round-trip bookings?"
],
"keywords": [
"Travel Bookings",
"Booking Trends",
"Travel Agencies"
]
}
}
您本地系统中设置的 Trace ID,至多支持 128 个字符。当请求发生错误时,可以将此 ID 提供给 Relyt AI 团队,协助进行故障排查。
目标数据集的 ID。
如需查询您有访问权限的数据集列表,请调用 GET /v2/team/datasets 接口。
用户 ID,即您在组织中的唯一身份标识。
The response is of type object
.