You can now ask what has happened in a case before Colombia's administrative courts. samai-actions takes the 23-digit case number (radicado) and returns the whole case: its actions, its parties, the case file's header and the same case in other courts. It covers the Consejo de Estado, the Tribunales Administrativos and the Juzgados Administrativos, with the API Key you already use, and it is an MCP tool too.
Until today SAMAI in Croma found cases by party, case number or class. What was missing is the next question everyone asks: where the case stands.
curl https://api.croma.run/co/samai/actions/v1 \
-H "Authorization: Bearer $CROMA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"registration_number": "25000-23-41-000-2016-00521-00",
"per_page": 20
}'You do not have to say which court holds it: that is read from the number. A case number ending in 00 is looked up where it was filed; one ending in 01 or higher is a case on appeal and is looked up in the court one level up.
The actions, with the full annotation#
actions carries every action from the newest to the oldest: its number in the case file, the date, the name the court gives it, the full annotation, the state of the entry and how many documents it carries. total counts the whole history and last_action_date is the date of the latest one, so you only page when you want older actions. A page holds up to 200.
The case file's header#
details answers what you would otherwise read off the case screen:
- the office the case is in now and who holds it,
- the chambers that hear and decide it,
- the type of process, the appeal being decided and the stage,
- the court of origin and the date of its decision,
- the key dates: registration, filing, appeal, sent for ruling and ruling,
- how the case file is kept, and
documents_url, the official link to the digital file.
The parties, with their lawyers#
The process search returns one claimant and one respondent. parties returns everyone, each with their role as the court writes it: claimants, respondents, the lawyers of each side, the public prosecutor and every other participant.
The same case in other courts#
A case on appeal has a first instance, and sometimes earlier appeals. other_instances lists them with their case number and court code. Send those two values to this same endpoint and you read that instance, without searching again.
| Block | What it answers |
|---|---|
actions | Every action with its date, name, full annotation and state |
details | Office, judge, stage, appeal, origin and key dates |
parties | Everyone in the case with their role, lawyers included |
other_instances | The case in other instances, ready to be read |
process | Class, matter, claimant, respondent and official link |
Worth knowing#
When the court does not hold the case the answer carries found: false: it means the case is not in that court, not that it does not exist. Send another corporacion to look elsewhere. A reserved case answers with no actions. And if the parties or the other instances cannot be read at that moment, they arrive as null and the actions arrive all the same.
Civil, criminal, labor and family cases are not in SAMAI; use Rama Judicial for those.
The guide has every field: SAMAI. To ask Claude, ChatGPT or Cursor about a case, connect the MCP server.