# For AI Agents

Extract.FAST publishes a machine-readable skill file that any AI agent can download and immediately use to call the API.

## Give this prompt to your AI agent

Copy and paste the following into Claude Code, ChatGPT, Cursor, or any AI coding assistant:

### Bash / macOS / Linux
```text
Download the Extract.FAST skill and reference docs, then use them to complete my task:

curl -fsSL https://extract.fast/SKILL.md -o SKILL.md
mkdir -p reference && curl -fsSL https://extract.fast/api/docs.md -o reference/docs.md
curl -fsSL https://extract.fast/extract.fast.sh -o extract.fast.sh && chmod +x extract.fast.sh

Read SKILL.md to understand how to use the Extract.FAST API.
```

### PowerShell / Windows
```text
Download the Extract.FAST skill and reference docs, then use them to complete my task:

Invoke-RestMethod "https://extract.fast/SKILL.md" -OutFile SKILL.md
New-Item -ItemType Directory -Force -Path reference | Out-Null
Invoke-RestMethod "https://extract.fast/api/docs.md" -OutFile reference/docs.md
Invoke-RestMethod "https://extract.fast/extract.fast.ps1" -OutFile extract.fast.ps1

Read SKILL.md to understand how to use the Extract.FAST API.
```

Your agent will download everything it needs — the skill guide, the core API reference, and the CLI wrapper script — then follow the instructions to extract files on your behalf.

## What the agent gets

| File | Purpose | Tokens |
|------|---------|--------|
| `SKILL.md` | How to use the API: setup, CLI, raw API flow, discovery, options, errors | ~2k |
| `reference/docs.md` | Core API reference: endpoints, models, options schemas, extractor discovery, error codes | ~15.4k tokens |
| `extract.fast.sh` | Bash wrapper that handles submit, poll, and download in one command | — |
| `extract.fast.ps1` | PowerShell wrapper (same functionality, for Windows/PowerShell environments) | — |

For the full export with per-extractor details, download `docs-all.md` (~59.3k tokens).

## API key

Your agent will need an Extract.FAST API key. Create one at [API Keys](/?account=apiKeys&account_source=api-docs) → **API Keys**, then set it as an environment variable:

```bash
export TOOLS_FAST_API_KEY="fast_prod_your_key_here"
```

```powershell
$env:TOOLS_FAST_API_KEY = "fast_prod_your_key_here"
```

API keys can be created from the account dashboard, but extraction jobs require Pro access and account credits. Add credits or subscribe before asking an agent to run API job work; the starter credit pack is $5 for 2,500 credits.

## Public API only

Use the public single-job endpoints: `POST /estimate/{sourceFileExtension}`, `POST /extract`, `POST /transcribe`, `GET /job/{id}`, and `GET /job/{id}/download`.
