Getting started

This is a placeholder docs page that comes with the scaffold. Drop new .md or .mdx files into src/content/docs/ and they’ll automatically appear in the docs index and at /docs/<filename>.

Authentication

All API calls require a bearer token:

curl https://api.datadistill.co/v1/extract \
  -H "Authorization: Bearer $DD_KEY"

Get an API key from the dashboard.

Your first extraction

Submit a file and a schema, get structured JSON back in one call:

curl -X POST https://api.datadistill.co/v1/extract \
  -H "Authorization: Bearer $DD_KEY" \
  -F "file=@invoice.pdf" \
  -F 'schema={"invoice_id":"string","total":"number"}'

The response includes both the extracted data and pixel-level provenance for every field.

Markdown features supported

Headings, bold, italic, inline code, links, ordered and unordered lists, blockquotes, and fenced code blocks with syntax highlighting all render with the site’s typography.

Block quotes also render with the brand styling.

Add new docs pages as .md or .mdx files in src/content/docs/. The filename becomes the URL slug (e.g. getting-started.md/docs/getting-started).