All APIs

Document APIs

Endpoints

2 shown

Document Parsing

Parse a document from an HTTPS URL and return a durable result ID.

POST/v1/documents/parse

Parameters

file_urlstringRequired

HTTPS URL for the document.

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"}'