Skip to main content

Deliver data

What you get

Your structured results arrive where your team already works: a file in a bucket or folder, rows in a sheet, a signed call to your own endpoint, a CSV download, or a read-only link for people outside your workspace. This guide is for anyone who hands Talonic data to another system or team, from operations leads to integration developers.

A data product is the dataset you hand over: the rows of one or more finished Runs (or of a Spec as it keeps running), with the columns your Spec defines. A destination is a place Talonic sends data to. A delivery rule (/v1/delivery/bindings in the API) says which event sends what, in which format, to which destination. Every delivery attempt is recorded, and failed ones can be replayed.

Before you start

  • A finished Run, or a Spec that produces a data product. See Run a Spec and get results.
  • Member role or above to create products, destinations and delivery rules; viewers can read and export.
  • For the API: a key with the read scope to read products and exports, write to create products, and delivery to manage destinations, delivery rules and history.
  • For Google Drive, Google Sheets and OneDrive: a connected account. You grant access once in the browser; there is no API route for that consent.

Do it in the app

  1. Open Products in the sidebar and pick a product (or create one from your finished Runs). The grid shows every row; click a cell to see where its value came from.
  2. Use Export CSV and choose plain (values only, one row per document) or audit (every value with its trail and reviewer decisions). Leading zeros and long numbers are kept as text.
  3. To share outside the workspace, create a share link on the product page. Anyone with the link can view and export the dataset without a Talonic account; add a password, rotate the link if it leaks, or revoke it.
  4. To send data automatically, open the Delivery tab, go to Destinations and add one: webhook, S3 (or Cloudflare R2), SFTP, Azure Blob, Google Drive, OneDrive or Google Sheets. Run the connection test before you save.
  5. Add a delivery rule: pick the event (for example "document extracted" or "record approved"), the payload, the format (json, ndjson, csv, xlsx and others) and the destination. Optionally rename, drop or add fixed fields, and list fields this destination must never receive.
  6. Watch History for every attempt. Failed deliveries that ran out of retries land in the dead-letter list, where you can inspect and replay them.

Each row of a product can carry a stable ID built from your own field values (an invoice number, a contract reference, with fallbacks), so downstream systems keep the same key on every export. Set it up under ID rules on the product page.

Do it with the API

Create a product from finished Runs with POST /v1/data-products, read rows with GET /v1/data-products/{id}/results (up to 100 a page) or download the whole set with GET /v1/data-products/{id}/export/plain and /export/audit. Manage the share link on /v1/data-products/{id}/share (GET, POST to create or rotate, DELETE to revoke). Destinations live on /v1/delivery/destinations, delivery rules on /v1/delivery/bindings, and history on /v1/delivery/items and /v1/delivery/dlq.

curl: create a product, add a destination and a delivery rule
# 1) A data product from a finished Run
curl -s -X POST https://api.talonic.com/v1/data-products \
  -H "Authorization: Bearer $TALONIC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "name": "Q2 Deliveries", "run_ids": ["c3d4e5f6-a7b8-9012-cdef-123456789012"] }'

# 2) A signed webhook destination, then test it
curl -s -X POST https://api.talonic.com/v1/delivery/destinations \
  -H "Authorization: Bearer $TALONIC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "name": "Ops webhook", "type": "webhook",
        "config": { "url": "https://ops.example.com/talonic" },
        "signing_secret": "whsec_rotate_monthly" }'
curl -s -X POST https://api.talonic.com/v1/delivery/destinations/$DEST_ID/test \
  -H "Authorization: Bearer $TALONIC_API_KEY"

# 3) Send every extracted document to it as JSON
curl -s -X POST https://api.talonic.com/v1/delivery/bindings \
  -H "Authorization: Bearer $TALONIC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "name": "Notify on extraction",
        "signal_filter": { "event_type": "document.extracted" },
        "deliverable_type": "notification",
        "destination_id": "'$DEST_ID'",
        "serializer_format": "json" }'
Node: download the plain CSV of a product
import { writeFile } from 'node:fs/promises';

const res = await fetch(
  `https://api.talonic.com/v1/data-products/${productId}/export/plain`,
  { headers: { Authorization: `Bearer ${process.env.TALONIC_API_KEY}` } },
);
if (!res.ok) throw new Error(`Export failed: ${res.status}`);
await writeFile('q2-deliveries.csv', Buffer.from(await res.arrayBuffer()));
Response: POST /v1/data-products
{
  "id": "6ecb46fa-24ba-4b5d-93ee-b8b6c6b97655",
  "name": "Q2 Deliveries",
  "description": null,
  "run_ids": ["c3d4e5f6-a7b8-9012-cdef-123456789012"],
  "status": "active",
  "created_at": "2026-06-27T10:00:00.000Z",
  "updated_at": "2026-06-27T10:00:00.000Z",
  "links": {
    "self": "/v1/data-products/6ecb46fa-24ba-4b5d-93ee-b8b6c6b97655",
    "results": "/v1/data-products/6ecb46fa-24ba-4b5d-93ee-b8b6c6b97655/results",
    "export_plain": "/v1/data-products/6ecb46fa-24ba-4b5d-93ee-b8b6c6b97655/export/plain",
    "export_audit": "/v1/data-products/6ecb46fa-24ba-4b5d-93ee-b8b6c6b97655/export/audit"
  }
}

Values still waiting in review are never exported: the plain CSV leaves them empty, the audit CSV marks them PENDING_REVIEW, and the JSON results show value: null with status: "pending_review". Re-export after review to pick them up. Call the catalog (GET /v1/delivery/catalog/signals, /deliverables, /serializers, /connectors) to list valid events, payloads, formats and destination types instead of hard-coding them.

Do it with an agent

No agent tool for data products, destinations or delivery rules yet. Set them up in the app or with the API; your agent can then call the API with a key that has the delivery scope. To react to deliveries from an agent, use the webhook and event tools in Webhooks and events.

Limits and costs

  • Deliveries cost no credits. You pay for the pages and fields Talonic read, not for sending them. See Billing, credits and usage.
  • Webhook destinations: 30-second timeout and a 5 MiB payload cap by default (payload_cap_bytes overrides it per destination). URLs on localhost or private networks are refused.
  • Retries: up to 7 attempts over about 10.5 hours for timeouts, 429 and 5xx; other 4xx answers go straight to the dead-letter list. Delivery is at-least-once: deduplicate on the X-Talonic-Idempotency-Key header, which stays the same across retries and replays.
  • Results pages hold 1 to 100 rows; the CSV exports stream the full set. A product has at most one active share link.

Errors

ParameterTypeDescription
400bad_requestInvalid destination config, or a delivery rule whose event, payload, format and destination do not fit together. Check the catalog for compatible values.
401unauthorizedMissing or invalid API key.
403insufficient_scopeThe key lacks the scope (`delivery` for destinations and rules, `write` to create products).
404not_foundNo product, destination or rule with this ID in your workspace.
429rate_limitedDaily request limit reached. Retry after the time in `Retry-After`.
Deleting a destination deletes its history and dead-letter entries and turns off the delivery rules that pointed at it (last_status: destination_deleted). To pause instead, set is_active to false.

Next

Frequently asked questions

Where can Talonic send my data?+
To a webhook, Amazon S3 or Cloudflare R2, SFTP, Azure Blob Storage, Google Drive, OneDrive or Google Sheets. You can also download CSV exports or share a read-only link. Each destination can receive several kinds of events, each in its own format.
What happens when my system is down?+
Talonic retries timeouts, 429 and 5xx answers up to 7 times over about 10.5 hours. After that the delivery moves to the dead-letter list, where you can replay it once your system is back. Replays keep the same idempotency key, so your side can skip duplicates.
Can I stop one destination from receiving a sensitive field?+
Yes. A delivery rule can list fields to withhold from that destination only, while the product and other destinations keep them. Check the field names carefully: a name that matches no field withholds nothing.