列出主题
路径参数
查询参数
无。- cURL
- Python
- Node.js(服务端)
响应
TopicResponse 字段
通过 搜索词 和 概览 端点中的
topic_id 字段,使用此 topic_id 将搜索词与其所属主题分组关联起来。Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
获取用于组织搜索词的主题分组。
GET /projects/{project_id}/topics
| 参数 | 类型 | 描述 |
|---|---|---|
project_id | string (UUID) | 项目 ID |
curl "https://topify-customer-api-production.up.railway.app/api/public/v1/projects/{project_id}/topics" \
-H "X-API-Key: tk_live_..."
resp = client.get(f"/projects/{project_id}/topics")
const resp = await fetch(`${BASE}/projects/${projectId}/topics`, { headers });
{
"success": true,
"data": [
{
"topic_id": "t1u2v3w4-...",
"project_id": "a1b2c3d4-...",
"name": "Product comparisons",
"description": "Prompts comparing products in the category",
"created_at": "2026-01-20T14:00:00+00:00"
},
{
"topic_id": "u5v6w7x8-...",
"project_id": "a1b2c3d4-...",
"name": "Pricing questions",
"description": null,
"created_at": "2026-01-20T14:05:00+00:00"
}
]
}
| 字段 | 类型 | 可空 | 描述 |
|---|---|---|---|
topic_id | string (UUID) | No | 主题 ID |
project_id | string (UUID) | No | 父项目 ID |
name | string | No | 主题显示名称 |
description | string | Yes | 主题描述 |
created_at | string (ISO 8601) | No | 创建时间 |
topic_id 字段,使用此 topic_id 将搜索词与其所属主题分组关联起来。