Colombia
SAMAI / Consejo de Estado

SAMAI Rulings Search

Search every ruling of the Consejo de Estado dated since December 2021 that its relatoría has titled: sentencias, autos, aclaraciones and salvamentos de voto and conceptos, each with the relatoría's headnotes (descriptors, legal problem and answer, thesis, formal sources, notes), its full text, its document (PDF, or Word for some of the oldest) and the case's page on the court's own site. Free text matches the headnotes, the case number, the parties and the full text. Filter by chamber, type, year, registration_number (the radicado), reporting_judge (the consejero ponente), plaintiff, defendant and the ruling date (from_date/to_date). Served by Croma (as_of says how current the data is).

Dataset endpoint: answers from the whole source in milliseconds and carries as_of.

post/co/samai-rulings/search/v1

Request

  • Base URL: https://api.croma.run
  • URL: https://api.croma.run/co/samai-rulings/search/v1
  • Auth: HTTP bearer

Headers

Idempotency-Keystring
Example:0f8e9a42-6b7c-4d1e-9a3f-2c5d7e8f9a0b

Optional client-chosen key for this request (any string up to 255 characters, e.g. a UUID). Every Croma operation is an idempotent lookup: repeating a request with the same body returns the same result and creates nothing, so retrying after a timeout or network failure is always safe. The key is echoed back in the Idempotency-Key response header so you can correlate a retry with its first attempt. Each attempt that reaches the API counts against the rate limit.

Request body

querystring

Optional search terms matched against the ruling's headnotes (descriptors, legal problem, thesis, sources, relatoría note), its case number, its parties and its full text.

chamberstring

Optional chamber (sección or sala), matched from the start of its name: Sección Tercera also matches its subsecciones. Case and accents are ignored.

typestring

Optional kind of ruling, matched from the start of its name: Sentencia, Auto (every kind of auto), Salvamento voto, Aclaración voto. Case and accents are ignored.

yearinteger

Optional year of the ruling date. 0 searches every year.

registration_numberstring

Optional 23-digit case number (radicado). Spaces, dots and dashes are ignored.

reporting_judgestring

Optional consejero ponente, by full name as it appears in reporting_judges. Case and accents are ignored.

plaintiffstring

Optional plaintiff, matched from the start of the name as the court lists it. Case and accents are ignored.

defendantstring

Optional defendant, matched from the start of the name as the court lists it. Case and accents are ignored.

from_datestring date

Optional date filter in yyyy-mm-dd format.

to_datestring date

Optional date filter in yyyy-mm-dd format.

pageinteger

1-based page number for paginated results.

per_pageinteger

Results per page (1-50).

Response

Successful response

Changes

No recorded changes to this operation across all 1 revision of this API.