Docs / REST API

GET /v1/pipeline

Legislative pipeline: bills/laws by stage across CIS+ (what is changing in law now)

Tracks the legislative lifecycle beyond the enacted corpus: introduced → readings → chambers → signed by head of state → published → in force. Each bill carries provenance (official publisher / parliament tracker) and, when matched, a link to the affected code in the corpus. Daily-refreshed.

Endpoint

GET https://api.lexatlas.creatora.app/v1/pipeline

Parameters

NameInRequiredTypeDescription
jurquerynostringcountries csv, e.g. ru,ge,kz
stagequerynostringstages csv, e.g. published,signed_by_head_of_state,reading_3
sincequerynostringYYYY-MM-DD — bills changed since this date
linked_onlyquerynostringtrue → only bills matched to a corpus code
limitquerynointegermax bills (default 50)

Example

curl -H "X-API-Key: lxa_YOUR_KEY" \
  "https://api.lexatlas.creatora.app/v1/pipeline"

Responses and error codes

StatusMeaningSchema
200bills with stage, dates, provenance, corpus link + per-country coverageobject
400bad request — see error_code (missing_parameter, invalid_parameter, invalid_body, invalid_cursor, empty_batch, batch_too_large, unsupported)Error
401missing/invalid API key (when auth is enabled) — error_code=unauthorizedError
413body too large — error_code=payload_too_largeError
429rate limit exceeded (per-key, per-minute window) — error_code=rate_limitedError

Errors use one envelope everywhere: error, error_code, hint, http_status. The full list of codes is served by GET /v1/errors.