Back to catalog

Context Dev · Company

Context API / Parse Bytes

Converts raw text, source code, web/data, PDF, Microsoft Office, and image bytes into LLM-usable Markdown.

Private Gateway connection

Data below comes from the configured private Gateway. Provider activation remains governed by its evidence and policy gates.

unverifiedRequest shape unavailableUnverified
Published API evidence
Public metadata only. Response bodies, credentials, and internal review notes are never displayed.

No verification date is claimed. No response capture is claimed.

Request parameters

  • client query · optional

    Optional client identifier used for usage attribution.

  • extension query · optional

    Optional file extension hint, such as pdf, docx, xlsx, pptx, html, json, csv, md, py, rtf, jpg, png, or txt.

  • includeImages query · optional

    Include image references in Markdown output

  • includeLinks query · optional

    Preserve hyperlinks in Markdown output

  • ocr query · optional

    When true for PDF inputs, OCR the selected pages that have no usable text layer (scans), replacing each recovered page's text with the OCR result while pages with a real text layer keep it. pdf.start/pdf.end limit the inclusive page range. Billed at 1 credit per page OCR actually recovered, on top of the base request cost. When false, no OCR runs.

  • pdf query · optional

    PDF page-range options as a JSON object, e.g. {"start": 2, "end": 5}.

  • shortenBase64Images query · optional

    Shorten base64-encoded image data in the Markdown output

  • tags query · optional

    Optional tags for tracking usage. Up to 20 tags, each 1 to 50 characters.

  • useMainContentOnly query · optional

    Extract only the main content from HTML-like inputs

  • zdr query · optional

    Set to enabled to bypass shared caches and omit request and response content from retained usage logs. Requires zero data retention to be enabled for your organization (contact support@context.dev), otherwise the request fails with ZDR_NOT_ENABLED. Successful ZDR responses include X-Context-ZDR: true.

Sign in to run this operation, inspect live eligibility, and see governed execution and audit evidence. Sign in.

Context API / Parse Bytes · looot