←Home/Docs
⌕

API reference

Legal Documents & Search

GET/v1/legal/documents

List / filter legal documents

ParamInRequired
doc_typequeryno
agencyqueryno
fieldqueryno
eff_statusqueryno
issued_fromqueryno
issued_toqueryno
effective_fromqueryno
effective_toqueryno
qqueryno
sortqueryno
cursorqueryno
limitqueryno

Response: {success, data, meta} on 2xx, {success: false, error} otherwise — see Errors & envelope.

GET/v1/legal/documents/{ref}

Get a single document

ParamInRequired
refpathyes
includequeryno
atqueryno

Response: {success, data, meta} on 2xx, {success: false, error} otherwise — see Errors & envelope.

GET/v1/legal/documents/{ref}/units

Get a document's units

ParamInRequired
refpathyes
revisionqueryno

Response: {success, data, meta} on 2xx, {success: false, error} otherwise — see Errors & envelope.

GET/v1/legal/documents/{ref}/effectivity

Get a document's effectivity timeline

ParamInRequired
refpathyes
atqueryno

Response: {success, data, meta} on 2xx, {success: false, error} otherwise — see Errors & envelope.

GET/v1/legal/documents/{ref}/relations

Get a document's relation graph

ParamInRequired
refpathyes
directionqueryno
typesqueryno

Response: {success, data, meta} on 2xx, {success: false, error} otherwise — see Errors & envelope.

GET/v1/legal/search

Search legal units (full-text, semantic, or hybrid)

ParamInRequired
qqueryyes
modequeryno
doc_typequeryno
fieldqueryno
eff_statusqueryno
limitqueryno

Response: {success, data, meta} on 2xx, {success: false, error} otherwise — see Errors & envelope.

GET/v1/legal/changes

Change-event feed

ParamInRequired
sincequeryyes
typesqueryno
subtypesqueryno
doc_typequeryno
fieldqueryno
limitqueryno

Response: {success, data, meta} on 2xx, {success: false, error} otherwise — see Errors & envelope.

GET/v1/legal/export

Bulk export (NDJSON)

ParamInRequired
doc_typequeryno
fieldqueryno

Response: {success, data, meta} on 2xx, {success: false, error} otherwise — see Errors & envelope.

Public Procurement & Bidding

GET/v1/bidding/packages

List / filter bidding packages

ParamInRequired
qqueryno
categoryqueryno
selection_methodqueryno
notice_typequeryno
province_codequeryno
investorqueryno
min_budgetqueryno
max_budgetqueryno
statusqueryno
closing_afterqueryno
sortqueryno
cursorqueryno
limitqueryno

Response: {success, data, meta} on 2xx, {success: false, error} otherwise — see Errors & envelope.

GET/v1/bidding/packages/{tbmt_code}

Get a single bidding package

ParamInRequired
tbmt_codepathyes
includequeryno

Response: {success, data, meta} on 2xx, {success: false, error} otherwise — see Errors & envelope.

GET/v1/bidding/packages/{tbmt_code}/history

Get revision and change-event history for a bidding package

ParamInRequired
tbmt_codepathyes

Response: {success, data, meta} on 2xx, {success: false, error} otherwise — see Errors & envelope.

GET/v1/bidding/investors

Aggregate investor and winning bidder statistics

ParamInRequired
qqueryno
province_codequeryno
rolequeryno
limitqueryno

Response: {success, data, meta} on 2xx, {success: false, error} otherwise — see Errors & envelope.

GET/v1/bidding/search

Search bidding units (GET query params — FTS, semantic, or hybrid)

ParamInRequired
qqueryyes
modequeryno
categoryqueryno
province_codequeryno
statusqueryno
min_budgetqueryno
max_budgetqueryno
limitqueryno

Response: {success, data, meta} on 2xx, {success: false, error} otherwise — see Errors & envelope.

POST/v1/bidding/search

Search bidding units (POST JSON body — FTS, semantic, or hybrid)

Response: {success, data, meta} on 2xx, {success: false, error} otherwise — see Errors & envelope.

Account & Usage

GET/v1/usage

Current-period usage

Response: {success, data, meta} on 2xx, {success: false, error} otherwise — see Errors & envelope.

GET/v1/me

Caller identity

Response: {success, data, meta} on 2xx, {success: false, error} otherwise — see Errors & envelope.

Webhooks & Event Delivery

GET/v1/webhooks

List webhook subscriptions

Response: {success, data, meta} on 2xx, {success: false, error} otherwise — see Errors & envelope.

POST/v1/webhooks

Create a webhook subscription

Response: {success, data, meta} on 2xx, {success: false, error} otherwise — see Errors & envelope.

DELETE/v1/webhooks/{subscription_id}

Delete a webhook subscription

ParamInRequired
subscription_idpathyes

Response: {success, data, meta} on 2xx, {success: false, error} otherwise — see Errors & envelope.

POST/v1/webhooks/{subscription_id}/test

Send a signed test event

ParamInRequired
subscription_idpathyes

Response: {success, data, meta} on 2xx, {success: false, error} otherwise — see Errors & envelope.

GET/v1/webhooks/{subscription_id}/deliveries

List webhook delivery attempts

ParamInRequired
subscription_idpathyes
cursorqueryno
limitqueryno

Response: {success, data, meta} on 2xx, {success: false, error} otherwise — see Errors & envelope.

POST/v1/webhooks/{subscription_id}/deliveries/{delivery_id}/redeliver

Redeliver a webhook delivery

ParamInRequired
subscription_idpathyes
delivery_idpathyes

Response: {success, data, meta} on 2xx, {success: false, error} otherwise — see Errors & envelope.

System Meta & AI Discovery

GET/v1/meta/status

API status

Response: {success, data, meta} on 2xx, {success: false, error} otherwise — see Errors & envelope.

GET/v1/meta/freshness

Freshness SLA

Response: {success, data, meta} on 2xx, {success: false, error} otherwise — see Errors & envelope.

GET/v1/meta/plans

Plan matrix

Response: {success, data, meta} on 2xx, {success: false, error} otherwise — see Errors & envelope.

GET/llms.txt

Agent-facing API description

Response: {success, data, meta} on 2xx, {success: false, error} otherwise — see Errors & envelope.

GET/skill.md

AI Agent Integration Skill (SKILL.md)

ParamInRequired
modulesqueryno
langqueryno
agentqueryno
downloadqueryno

Response: {success, data, meta} on 2xx, {success: false, error} otherwise — see Errors & envelope.