文档内容与总结
Doc Content
Retrieve detailed content of the specified document, including chunks.
GET
文档内容
URL: /v1/docs/{doc_id}
方法: GET
描述: 获取指定文档的详细内容,包括文档信息及内容块(chunks)。
请求参数
参数名 | 类型 | 描述 |
---|---|---|
doc_id | str | 文档唯一 ID。 |
响应参数
参数名 | 类型 | 描述 |
---|---|---|
doc | dict | 文档信息,包含以下字段: |
id | str | 文档唯一 ID。 |
title | str | 文档标题。 |
url | str | 文档网页链接。 |
file_url | str | 文档文件链接。 |
media_url | str | 媒体文件链接。 |
institution | str | 发布机构。 |
author | str | 作者。 |
published_date | str | 发布时间,格式为 YYYY-MM-DD 。 |
category | str | 文档类别(financials , transcripts , reports , filings , news , socials , files )。 |
market | str | 市场区域(cn , hk , us )。 |
symbol | str | 股票代码。 |
company_name | str | 公司名称。 |
logo | str | 公司 Logo 链接。 |
summary | str | 文档摘要。 |
chunks | array | 内容块数组,每个块包含以下字段: |
type | str | 内容类型,可能的值为 text ,table ,image ,formula 。 |
media_url | str | 内容块的媒体文件链接(如果类型为 table ,image ,formula 时提供图片链接)。 |
content | str | 内容原始文本(适用于 text 或 table 类型)。 |
summary | str | 解析内容,适用于 table ,image ,formula 类型。 |
tags | dict | 标签字典,包含以下字段: |
key | str | 标签类型(如 industry , company , person , event )。 |
value | array | 标签内容数组。 |
metadatas | dict | 元数据字典,包含以下字段: |
key | str | 元数据类型(如 periods , entities )。 |
value | array | 元数据内容数组。 |
请求示例
cURL
Python 示例
响应示例
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Response
200
application/json
Successful Response
The response is of type object
.