Capture with a Prompt Builder configuration
dochorizon_capture_with_promptSPENDS CREDITS: extract data from a document with a Prompt Builder configuration (an LLM extraction prompt you defined in the platform). Output follows that configuration's schema (see dochorizon_get_prompt_schema). The result may contain whatever personal data the document holds. Uses your own Doxis AI.dp (Klippa) credits: billed per request or per page depending on the service (extra components in a configuration can add cost), at your project's price (Billing → Pricing in the platform); a new account starts with EUR 25 of free credit. Give the document as exactly one of url (public https), data_base64 (small files) or file_id (a stored file). POST /document_capturing/v1/prompt_builder/configurations/{slug}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public https URL of the document. Klippa downloads it (must complete within 30 seconds). | |
| slug | Yes | Prompt Builder configuration slug (see dochorizon_list_prompt_configurations). | |
| file_id | No | A Doxis AI.dp storage file id (from dochorizon_upload_file or a toolkit result). | |
| filename | No | A name for the file (helps content-type detection). | |
| password | No | Password of a protected PDF. Only used for this request. | |
| data_base64 | No | The document as base64 (at most about 1.5 MB of file). Prefer url or file_id for anything bigger. | |
| page_ranges | No | Pages to process, for example '1-3, 5', '2-last', 'first-last' (default: all pages; documents over 50 pages time out). | |
| content_type | No | MIME type, if it cannot be detected. |