APILegacy
Legacy API. These endpoints keep working. New integrations should use the current API.
Legacy guide

Four ways to use the API

1. Build a new list and enrich it (easiest)

Describe a list and Riveter will generate the rows and enrich them in one step. Just provide a prompt (e.g. "top 50 SaaS companies"), the attributes you want to find (e.g. "CEO", "revenue"), and set auto_run_enrichment: true.

This is the fastest way to go from idea to enriched data — no setup required.

Key endpoints:

  • /build_dataset — generate rows and auto-run enrichment with auto_run_enrichment: true
  • /run_status — check progress (or use webhook_url)
  • /run_data — get the enriched results

2. Run a new enrichment with your own data

Already have input data? Define everything in a single API request — no UI setup required.

Option A: Prompt + attributes (recommended) — provide your input data, a natural-language prompt, and output column names. The AI generates the full configuration automatically.

Option B: Full specification — define exact prompts, tools, and formatting for each output column when you need precise control.

Key endpoints:

3. Run an existing enrichment

Build and test your enrichment in the Riveter UI, then run it via the API by passing new input data. The enrichment already stores your prompts, tool settings, and output format — you just supply new rows.

This is ideal when you've fine-tuned an enrichment in the UI and want to deploy it to production.

Key endpoints:

4. Build a list for an existing enrichment

Have an enrichment but need new input data? Use /build_dataset_from_enrichment to generate rows that match your enrichment's expected input columns. The list builder derives identifiers from your enrichment's source-data columns automatically.

Optionally set auto_run_enrichment: true to run the enrichment automatically when the build completes.

Key endpoints: