Legacy guide
Migrating to the current API
The verb-style endpoints documented here will eventually be deprecated. Each has a successor in the current API. Every response from a superseded endpoint says so: the JSON body carries a legacy object ({ "notice", "successor", "docs" }) and the response has Deprecation: true plus a Link header with rel="successor-version". /scrape and /account are current endpoints and carry neither. The retired resource endpoints — current-API paths that only reach this generation — answer the same way.
| Legacy endpoint | Successor |
|---|---|
POST /run_enrichment | POST /enrich + enrichment_id |
POST /run_new_enrichment | POST /enrich + output (or prompt + attributes) |
POST /run_enrichment_from_dataset | POST /enrich + dataset_id |
GET /run_status, GET /dataset_build_status | GET /runs/{id} |
GET /run_data, GET /dataset_build_data | GET /runs/{id}/result |
POST /stop_run, POST /stop_dataset_build | POST /runs/{id}/stop |
GET /list_runs | GET /runs |
GET /all_enrichments | GET /enrichments |
GET /enrichment, PATCH /enrichment | GET /enrichments/{id}, PATCH /enrichments/{id} |
POST /create_enrichment_from_dataset | POST /enrichments + dataset_id |
POST /build_dataset, the list-build body of POST /datasets | POST /datasets with prompt + count |
POST /build_dataset_from_enrichment, POST /enrichments/{id}/datasets | POST /datasets/{id}/rows/build on the enrichment's dataset |
POST /build_dataset_from_dataset, POST /datasets/{id}/extend | POST /datasets/{id}/rows/build |
GET /enrichments/summary | GET /runs/summary |
POST /build_managed_dataset | POST /configured_datasets/{id}/build |
POST /create_extraction, GET /extraction_plan | POST /extractions, GET /extractions/{id} |
POST /run_extraction | POST /extractions/{id}/runs |
POST /monitor_enrichment, GET /monitor_status, POST /pause_monitor | POST /monitors with dataset_id, GET /monitors/{id}, PATCH /monitors/{id} |
POST /web_search | POST /quick_search (synchronous, one search per request; /web_search stays the bulk/async lane) |
GET /api_stats | GET /runs/summary |
POST /scrape, GET /account | Unchanged — same endpoints in the current API |