Skip to main content
One command from a PDF to clean markdown and structured JSON: pulse extract invoice.pdf --schema invoice.json
The Pulse CLI brings the full extraction pipeline to your terminal. It talks to the same API as the platform and the MCP server, so your API key is the only credential, and anything you run is visible in your platform extraction library.

Command reference

Every command, flag, and workflow with examples.

Get an API key

Or skip it: pulse login fetches one through your browser.

Install

Installs the pulse command. Requires Python 3.11+.

Log in

Your browser opens the Pulse platform, you approve a short code (like ABCD-1234), and the CLI picks up your organization’s API key automatically. The key is validated and stored in your OS keychain. No browser handy? Use the key directly:
For CI and scripts, set PULSE_API_KEY in the environment instead; it takes precedence over the stored credential, and --api-key on any command beats both.

Sixty-second tour

Every command takes --json for raw, pipe-safe output and -h for its full options. Running bare pulse starts an interactive shell with the same commands.

Commands at a glance

See the command reference for full flags and examples.

When to use the CLI

Use the CLI

You’re working hands-on in a terminal: one-off extractions, local files and folders, shell scripts, cron jobs, and CI steps where --json pipes straight into jq or the next tool.

Use the MCP server

You want an AI agent (Claude, Codex, VS Code) to read and structure documents on demand, deciding the steps itself.

Use the SDK / API

You’re building a production pipeline in your own application code with precise, repeatable control.

Use the Platform

You want a visual workspace to iterate on schemas, presets, and pipelines before automating them.

Next steps

Command reference

Full flags, workflows, output conventions, and troubleshooting.

Structured output guidelines

Write schemas that extract reliably.