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
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| jur | query | no | string | countries csv, e.g. ru,ge,kz |
| stage | query | no | string | stages csv, e.g. published,signed_by_head_of_state,reading_3 |
| since | query | no | string | YYYY-MM-DD — bills changed since this date |
| linked_only | query | no | string | true → only bills matched to a corpus code |
| limit | query | no | integer | max bills (default 50) |
Example
curl -H "X-API-Key: lxa_YOUR_KEY" \
"https://api.lexatlas.creatora.app/v1/pipeline"
Responses and error codes
| Status | Meaning | Schema |
|---|---|---|
| 200 | bills with stage, dates, provenance, corpus link + per-country coverage | object |
| 400 | bad request — see error_code (missing_parameter, invalid_parameter, invalid_body, invalid_cursor, empty_batch, batch_too_large, unsupported) | Error |
| 401 | missing/invalid API key (when auth is enabled) — error_code=unauthorized | Error |
| 413 | body too large — error_code=payload_too_large | Error |
| 429 | rate limit exceeded (per-key, per-minute window) — error_code=rate_limited | Error |
Errors use one envelope everywhere: error, error_code, hint, http_status. The full list of codes is served by GET /v1/errors.