---
title: "SAMAI Processes"
method: POST
path: "/co/samai/processes/v1"
tags: ["Colombia", "SAMAI / Consejo de Estado"]
---

# SAMAI Processes

`POST /co/samai/processes/v1`

## Request

- Base URL: `https://api.croma.run`
- URL: `https://api.croma.run/co/samai/processes/v1`
- Auth: HTTP bearer

Search live contentious-administrative processes (Consejo de Estado plus every Tribunal and Juzgado Administrativo) by party, radicado, or class, scoped to a corporación. Returns one page of matches with the reporting magistrate, class, filing date, parties and the official detail link. A `parte` or `clase` search requires `corporacion`: use 1100103 for the Consejo de Estado, or get a Tribunal or Juzgado code from SAMAI Corporaciones first. A `radicado` search derives the corporación from the radicado when none is given.

## Headers

- `Idempotency-Key` string

## Request body

- object
  - `search_type` 'radicado' | 'clase' | 'parte': Search by `parte` (party name), `radicado` (case number), or `clase` (process class).
  - `query` string, required: The value to search for: a party name (`parte`), a radicado, or a process class.
  - `corporacion` string: Corporación (despacho) code to scope the search, e.g. `1100103` for the Consejo de Estado. Required for party/class searches; for a radicado search it is inferred when omitted. List codes with the corporaciones catalog.
  - `section` string: Optional sección (chamber) code to narrow the search.
  - `from_date` string, date: Optional date filter in yyyy-mm-dd format.
  - `to_date` string, date: Optional date filter in yyyy-mm-dd format.
  - `page` integer: 1-based page number for paginated results.
  - `per_page` integer: Results per page (1-50).

## Response `200`

Successful response

- SamaiProcessesResponse
  - `data` SamaiProcessesData, required
    - `search_type` 'radicado' | 'clase' | 'parte', required: The search field used.
    - `criterio` string, required: The value searched for.
    - `corporacion` string, required: Corporación code the search was scoped to.
    - `total` number, required
    - `total_pages` number, required
    - `page` number, required
    - `per_page` number, required
    - `count` number, required
    - `results` object[], required
      - `radicado` string, required: 23-digit case number (radicado).
      - `corporacion` string, required: Corporación (despacho) code the process belongs to.
      - `ponente` string, nullable, required: Reporting magistrate (magistrado ponente).
      - `clase` string, nullable, required: Process class / type (e.g. `Nulidad y restablecimiento del derecho`).
      - `filing_date` string, nullable, required: Filing date, ISO `YYYY-MM-DD`; null when unparseable.
      - `is_current` boolean, nullable, required: Whether the process is still active.
      - `internal_number` string, nullable, required: Internal reference number the corporación assigns.
      - `subject` string, nullable, required: Subject / matter summary.
      - `plaintiff` string, nullable, required: Plaintiff party name(s).
      - `defendant` string, nullable, required: Defendant party name(s).
      - `is_private` boolean, required: Reserved / restricted process — party detail withheld at the source.
      - `guid` string, nullable, required: Opaque detail key (radicado + corporación code).
      - `official_url` string, nullable, required: Official public detail URL; null when not provided.

## Other responses

- `400`: Invalid request body
- `401`: Missing or invalid API key
- `429`: Rate limit exceeded
- `500`: Internal error
- `502`: Upstream source returned an error

---

[API](https://skmtc.dev/usecroma/apis/croma-marketplace-api.md) · [All operations](https://skmtc.dev/usecroma/apis/croma-marketplace-api/llms.txt) · [OpenAPI document](https://skmtc.dev/usecroma/apis/croma-marketplace-api/revisions/df016cdb29d7?raw)
