GET
/
v1
/
docs
/
{doc_id}
/
summary
curl --request GET \
  --url https://api.reportify.cn/v1/docs/{doc_id}/summary \
  --header 'Authorization: Bearer <token>'
{
  "doc_id": "<string>",
  "summary": "<string>"
}

文档总结

URL: /v1/docs/{doc_id}/summary
方法: GET
描述: 获取指定文档的总结结果。

请求参数

参数名类型描述
doc_idstr文档唯一 ID。

响应参数

参数名类型描述
doc_idstr请求的文档唯一 ID
summarystr文档的总结内容

请求示例

cURL

curl -X GET https://api.reportify.cn/v1/docs/1046895208953942016/summary \
-H "Authorization: Bearer 447460****09c9" \
-H "Content-Type: application/json"

Python 示例

import requests

url = "https://api.reportify.cn/v1/docs/1046895208953942016/summary"
headers = {
    "Authorization": "Bearer 447460****09c9",
    "Content-Type": "application/json"
}

response = requests.get(url, headers=headers)
print(response.json())

响应示例

{
  "doc_id": "1046895208953942016",
  "summary": "This report provides a concise overview of AI applications in the finance sector, highlighting recent advancements and market impacts."
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

doc_id
string
required

Response

200
application/json
Successful Response
doc_id
string
required
summary
string
required