> ## Documentation Index
> Fetch the complete documentation index at: https://docs.runpulse.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

> Complete reference for all Pulse API endpoints

## Base URL

All API requests should be made to:

```
https://api.runpulse.com
```

## Authentication

All endpoints require authentication via API key in the request header (agents without an account can instead [pay per request over MPP](https://docs.runpulse.com/advanced/mpp-payments.md)):

```
x-api-key: YOUR_API_KEY
```

Get your API key from the [Pulse Platform](https://platform.runpulse.com/).

## Available Endpoints

### Pipeline Steps

> [card] [Classify](https://docs.runpulse.com/api-reference/endpoint/classify.md)
>
> **POST** `/classify`
>
> Cheaply classify a raw document and get the `pipeline_id` to route it to — before extracting.

> [card] [Extract](https://docs.runpulse.com/api-reference/endpoint/extract.md)
>
> **POST** `/extract`
>
> Parse documents into markdown, layout, figures, chunks, tables, and an `extraction_id`.

> [card] [Schema](https://docs.runpulse.com/api-reference/endpoint/schema.md)
>
> **POST** `/schema`
>
> Apply schemas to extract structured JSON from one extraction, many extractions, or split topics.

> [card] [Tables](https://docs.runpulse.com/api-reference/endpoint/tables.md)
>
> **POST** `/tables`
>
> Extract table-first output with span handling, cross-page merging, and chart-to-table conversion.

> [card] [Charts](https://docs.runpulse.com/api-reference/endpoint/charts.md)
>
> **POST** `/charts`
>
> Reconstruct chart series, axes, source boxes, and Excel, CSV, or LAS exports.

> [card] [Split](https://docs.runpulse.com/api-reference/endpoint/split.md)
>
> **POST** `/split`
>
> Split a document into topic-based page groups for routing or per-topic downstream steps.

### Batch Processing

> [card] [Batch Processing](https://docs.runpulse.com/api-reference/endpoint/batch-overview.md)
>
> **POST** `/batch/extract`, `/batch/schema`, `/batch/tables`, `/batch/split`
>
> Run a workflow across many documents.

### Forms

> [card] [Fill Form](https://docs.runpulse.com/api-reference/endpoint/form-fill.md)
>
> **POST** `/form/fill`
>
> Fill a PDF form from natural-language instructions, or run layout-only OCR on form cells.

> [card] [Clear Form](https://docs.runpulse.com/api-reference/endpoint/form-clear.md)
>
> **POST** `/form/clear`
>
> Strip user-filled values from a PDF while preserving the printed template.

### Jobs, Results & Webhooks

> [card] [Poll Job](https://docs.runpulse.com/api-reference/endpoint/poll.md)
>
> **GET** `/job/{jobId}`
>
> Check status and retrieve results of async jobs.

> [card] [Cancel Job](https://docs.runpulse.com/api-reference/endpoint/delete-job.md)
>
> **DELETE** `/job/{jobId}`
>
> Cancel a pending or processing async job.

> [card] [Webhooks](https://docs.runpulse.com/api-reference/endpoint/webhook.md)
>
> **POST** `/webhook`
>
> Get portal link to configure webhook endpoints.

> [card] [Large Results](https://docs.runpulse.com/api-reference/endpoint/large-results.md)
>
> **GET** `/results/{jobId}`
>
> Download a completed result that is too large for inline job responses.

> [card] [Result Images](https://docs.runpulse.com/api-reference/endpoint/results-image.md)
>
> **GET** `/results/{jobId}/images/{filename}`
>
> Download visual assets emitted by extraction.

> [card] [Result PDFs](https://docs.runpulse.com/api-reference/endpoint/results-pdf.md)
>
> **GET** `/results/{jobId}/pdf`
>
> Download PDFs produced by form workflows.

> [card] [Async Processing](https://docs.runpulse.com/api-reference/async-processing.md)
>
> Guide to using `async: true` and polling for results.

### Account & Usage

> [card] [Get Usage](https://docs.runpulse.com/api-reference/endpoint/usage.md)
>
> **GET** `/usage`
>
> Billing-period credit status plus document, page, and credit totals with a day/week/month timeline.

## Credit Usage

Pulse bills in **credits**. Each pipeline step is billed based on the pages (or tables) processed.

| Endpoint | Cost | Formula |
| - | - | - |
| `/classify` | 0.5 credits / page | `pages × 0.5` |
| `/extract` | 1 credit / page | `pages × 1` |
| `/split` | 1 credit / page | `pages × 1` |
| `/split` (`effort: true`) | 6 credits / page | `pages × 6` |
| `/schema` | 1 credit / page | `pages × 1` |
| `/schema` (`effort: true`) | 6 credits / page | `pages × 6` |
| `/schema` (`agentic_confidence: true`) | +3 credits / page | added on top of the schema cost |
| `/tables` | 0.25 credits / table | `tables × 0.25` |
| `/tables` (`merge: true`) | 0.50 credits / table | `tables × 0.5` |
| `/tables` (charts) | +1 credit / chart | added on top of the table cost |
| `/charts` | 1 credit / chart | `charts × 1` |
| `/form/detect` | 1 credit / page | `pages × 1` |
| `/form/fill` | 3 credits / page | `pages × 3` |
| `/form/clear` | 3 credits / page | `pages × 3` |

> [!NOTE]
>
> `/classify` bills only the pages in the effective `page_range` (default: first 5 pages) for PDFs and images. Office/HTML files are billed for every page.

> [!NOTE]
>
> API keys can have per-key credit caps configured. Requests that would exceed a key's cap are rejected before processing.

Track consumption against your plan programmatically with [`GET /usage`](https://docs.runpulse.com/api-reference/endpoint/usage).

## Status Codes

| Code | Description |
| - | - |
| 200 | Success |
| 400 | Bad Request - Invalid parameters |
| 401 | Unauthorized - Invalid API key |
| 403 | Forbidden - Access denied |
| 404 | Not Found - Resource doesn't exist |
| 413 | Payload Too Large - File exceeds limit |
| 429 | Too Many Requests - Rate limited |
| 500 | Internal Server Error |
| 503 | Service Unavailable |

## Best Practices

> [accordion] Use Appropriate Endpoints
>
> * Use `/extract` for all extractions — it's the primary endpoint
> * Set `async: true` for large documents or batch processing
> * Use `file_url` parameter when you have documents hosted online
> * Use `/schema` for named JSON fields, `/tables` for native table structure, `/charts` for auditable chart reconstruction, and `/split` for topic routing
> * Use `/classify` before `/extract` when mixed document types arrive through one intake and each type needs different extraction settings

> [accordion] Handle Errors Gracefully
>
> * Implement retry logic with exponential backoff
> * Check error codes and handle specifically
> * Log errors for debugging

> [accordion] Optimize Performance
>
> * Process only necessary pages
> * Use schemas for structured extraction
> * Cache results when possible

> [accordion] Security
>
> * Never expose API keys in client code
> * Use environment variables
> * Rotate keys regularly
> * Validate file types before upload

## Next Steps

Explore specific endpoints:

> [card] [Pipeline Overview](https://docs.runpulse.com/api-reference/endpoint/pipeline-overview.md)
>
> Learn how classify, extract, schema, tables, charts, and split work together

> [card] [API Quickstart](https://docs.runpulse.com/quickstart.md)
>
> Get started quickly


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.