Skip to content

Get started

Quickstart

Parse your first document, from your own code or from an AI agent.

You need an API key: create one in Studio, see Authentication. Then build in code, or let an AI agent do it for you.

  1. Nothing to install: send the key in the X-API-Key header.

    export BYTEIT_API_KEY="your-api-key"
  2. Send the document, wait until the job is completed or failed, then download the result.

    # 1. Send the document
    curl -X POST https://byteit.ai/v1/jobs/parse-jobs/ \
    -H "X-API-Key: $BYTEIT_API_KEY" \
    -F "file=@invoice.pdf"
    # 2. Repeat until processing_status is completed or failed
    curl https://byteit.ai/v1/jobs/$JOB_ID/status/ \
    -H "X-API-Key: $BYTEIT_API_KEY"
    # 3. Download the result
    curl https://byteit.ai/v1/jobs/$JOB_ID/result/ \
    -H "X-API-Key: $BYTEIT_API_KEY" \
    -o invoice.txt

Connect the ByteIt MCP server and ask for what you need in plain words. The key is read from BYTEIT_API_KEY.

claude mcp add --transport http byteit https://mcp.byteit.ai --header "Authorization: Bearer $BYTEIT_API_KEY"
  • Extract fields from the parsed document with your own schema.
  • See every endpoint in the API reference.