Skip to main content

Overview

The Pulse Playground is designed for building and testing your extraction pipeline visually. Once you’re happy with the results, the Show Code feature generates ready-to-run SDK code that reproduces your exact configuration — making the transition from Playground to production seamless.

The Show Code Feature


What Gets Included

The generated code reflects your exact Playground configuration:

Generated Code Examples

Extract Only

Extract → Split → Schema


Using Presets in Production

If your pipeline uses a saved preset (rather than inline configuration), the generated code references the preset’s config ID:
This is the recommended approach for production because:
  • Centralized config — update the preset once, all future runs pick up the change
  • Team consistency — everyone references the same validated configuration
  • Cleaner code — no need to inline large schemas in every request
If you’ve edited a preset’s settings in the current session without saving, the generated code uses the edited inline settings rather than the preset ID — ensuring the code matches what you see in the Playground.
See Step Preset Library for the full guide on saving and using presets.

Production Best Practices

Always use async_=True (Python) or async: true (TypeScript/curl) in production. This returns immediately with a job_id that you poll, preventing request timeouts on large documents.See Async Processing for the polling pattern.
Pass storage={"enabled": True} so Pulse saves the extraction result. This lets you run /split and /schema on the same extraction later without re-processing.
Instead of polling, register a webhook URL and Pulse will POST the result to you when processing completes.See Webhooks for setup.
The API returns structured error codes. Always check for error responses and implement retry logic for transient failures.See Error Handling for the full error code reference.
If you’re running the same pipeline across many documents, save your settings as presets and use the config IDs. This makes your API calls shorter and your configuration auditable.

Step Preset Library

Save and reuse pipeline configurations with config IDs

API Quickstart

Get started with the Pulse API in 5 minutes