全部 API

Document APIs

接口

显示 2 个

Document Parsing

提交 HTTPS 文档地址,创建解析结果并返回文档 ID。

POST/v1/documents/parse

参数

file_urlstring必填

要解析的 HTTPS 文档地址。

curl \
  -X POST \
  "https://api.agentbody.io/v1/documents/parse" \
  -H "Authorization: Bearer $AGENTBODY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"file_url":"https://example.com/document.pdf"}'