Augment

/api/v1/augment/text-parser

Extracts text from a document file. Supports PDF, DOCX, PPTX, XLSX, and plain text formats. Upload a file via multipart/form-data.

Privacy: Text parsing runs entirely in-memory on Venice's infrastructure with zero data retention. Documents are processed and immediately discarded — no content is stored or logged.

Authentication: This endpoint accepts either a Bearer API key or a SIGN-IN-WITH-X header for x402 wallet-based authentication. The legacy X-Sign-In-With-X header is also accepted during migration. When using x402, a 402 Payment Required response indicates insufficient balance and includes top-up instructions.

post/api/v1/augment/text-parser

Request

  • Base URL: https://api.venice.ai
  • URL: https://api.venice.ai/api/v1/augment/text-parser
  • Auth: one of:
    • HTTP bearer
    • API key in header SIGN-IN-WITH-X

Response

Text extraction completed successfully

textstring required

The extracted text content from the document.

tokensnumber required

The token count of the extracted text.

Changes

No recorded changes to this operation across all 1 revision of this API.