Conversion BUNDLE · 8 ENDPOINTS

Conversion Bundle

9 endpoints: convert PDF, DOCX, XLSX, PPTX, CSV, HTML, and image OCR to markdown; extract PDFs to structured JSON; and transcribe audio/video to text.

Target Persona & Use Cases:

For RAG ingest, knowledge-base pipelines, and document-processing SaaS.

8 Endpoints
~4 cr Workflow Band
Bearer Auth Unified Token
MCP Server Compatible
SPECIFICATION

Endpoints in this bundle

Each endpoint is independently callable. Bundle membership is for discovery only — you do not need to opt in.

Method Endpoint Path Credits Operation Summary
POST /v1/convert/pdf-to-markdown 1 cr PDF to markdown.
POST /v1/convert/docx-to-markdown 1 cr Word .docx to markdown.
POST /v1/convert/xlsx-to-markdown 1 cr Excel .xlsx to markdown.
POST /v1/convert/pptx-to-markdown 1 cr PowerPoint .pptx to markdown.
POST /v1/convert/csv-to-markdown 1 cr CSV to markdown table.
POST /v1/convert/html-to-markdown 1 cr HTML to markdown (clean).
POST /v1/extract/document 3 cr PDF to structured JSON (Docling): text blocks, tables with cells, reading order, page layout.
POST /v1/transcribe 5 cr Audio/video to text + timestamped segments, auto-detected language (faster-whisper).
PRODUCTION RECIPE

Mixed-format knowledge-base ingest

Recommended step-by-step workflow sequence for composing these endpoints in production:

01
Step 1

Inspect the file's MIME type and route to the corresponding /v1/convert/* endpoint.

02
Step 2

Post-process the returned markdown into chunks of your preferred size, embed, and write to your store.

INTEGRATION CODE

Try a request

Pick a language. Copy-pasteable code snippet configured with your standard Bearer token header.

curl -X POST https://api.ollagraph.com/v1/convert/pdf-to-markdown \
  -H "Authorization: Bearer $OLLAGRAPH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://example.com/whitepaper.pdf"}'
FREQUENTLY ASKED QUESTIONS

Conversion bundle FAQ

Common questions about rate limits, execution behavior, and parameters for this workflow.

Can I send the file body inline or only a URL?

Both. Pass `url` for us to fetch, or `file_b64` for an inline base64 body. Inline is capped at 25 MB; URL fetches at 100 MB.

Does pdf-to-markdown preserve tables?

Yes, as markdown table syntax when the layout is recoverable. Complex multi-column layouts with merged cells degrade to plain text rows.

1,000 free credits · No card required

Ship with the Conversion bundle.

1,000 credits on signup. No card. Every endpoint in this bundle is live from minute one.

✓ No credit card required
·
✓ Flat 1 credit / call base
·
✓ All 8 endpoints ready