GEO-博客专辑-详细
接口信息
- 接口地址:
{your-site-url}/api/skill/geo/blog-collection-info - 基础 URL:
{your-site-url}需替换为你自己的独立站 URL 地址,如https://your-domain.com/apimanager666 - 请求方式:
GET - 说明: 获取单个博客专辑的 GEO 数据详情。
认证
请求头中需要携带 skill-access-token:
| Header | 值 |
|---|---|
skill-access-token |
{your-skill-access-token} (请替换为你自己的 token) |
请求参数
| 字段 | 类型 | 必填 | 说明 |
|---|---|---|---|
collection_id |
int | 是 | 博客专辑 ID |
language_code |
string | 否 | GEO 语言代码,缺省为 en |
请求示例
cURL
curl --location --request GET '{your-site-url}/api/skill/geo/blog-collection-info?collection_id=5001' \
--header 'skill-access-token: {your-skill-access-token}' \
--header 'Content-Type: application/json' \
--data-raw ''
返回结果
code 为 200 表示调用成功;code 不为 200 表示调用失败。
成功响应
{
"code": 200,
"data": {
"id": 4,
"shop_id": 359,
"collection_id": 5001,
"language_code": "en",
"summary": "An AI-generated summary of the blog collection, explaining what the collection is about.",
"semantic_content": "A comprehensive semantic description of the blog collection, helping LLMs understand the knowledge domain.",
"blog_type": "Educational Guide",
"topic": "Outdoor Camping Equipment Knowledge and Selection Guide",
"category_path": ["Outdoor Recreation", "Camping Equipment", "Camping Gear Selection"],
"key_topics": ["Camping equipment selection", "Outdoor gear knowledge"],
"key_questions": ["How to choose suitable camping equipment?"],
"target_users": ["Outdoor enthusiasts", "Camping beginners"],
"applications": ["Outdoor camping", "Hiking"],
"use_cases": ["Learning camping product knowledge"],
"content_pillars": ["Introduction to Camping Equipment", "Equipment Selection Guide"],
"knowledge_relationships": [{"from": "Basic Camping Knowledge", "to": "Equipment Selection"}],
"search_terms": ["best camping equipment guide"],
"entities": [{"type": "industry", "name": "Outdoor Recreation"}],
"faq": [{"question": "What topics does this blog collection cover?", "answer": "This collection covers camping equipment knowledge."}],
"geo_score": "85.50",
"source_content_hash": "a8f7d9e6c5b4a3219876543210abcdef1234567890abcdef1234567890abcd",
"created_at": "2026-08-20 19:41:17",
"updated_at": "2026-08-20 19:41:39"
},
"message": "success"
}
返回字段说明
返回字段即博客专辑 GEO 数据字段,完整字段说明见 GEO-博客专辑-保存。
| 字段 | 类型 | 说明 |
|---|---|---|
code |
int | 状态码,200 表示成功 |
message |
string | 执行结果的文字描述 |
data |
object | 博客专辑 GEO 数据 |
data.id |
int | GEO 数据 ID(主键) |
data.collection_id |
int | 博客专辑 ID |
data.language_code |
string | GEO 语言代码 |
data.geo_score |
number | GEO 数据完整度评分(0-100) |
data.source_content_hash |
string | 生成 GEO 时专辑源数据的内容 hash |
data.created_at |
string | 创建时间 |
data.updated_at |
string | 更新时间 |
注意事项
collection_id为必填,缺失时接口返回错误该博客专辑的 GEO 数据不存在时返回
data为nullcollection_id缺失时返回错误码100702003(collection id empty)