---
title: "Supersociedades Relatoría Search"
method: POST
path: "/co/supersociedades-relatoria/documents-search/v1"
tags: ["Colombia", "Supersociedades Relatoría"]
---

# Supersociedades Relatoría Search

`POST /co/supersociedades-relatoria/documents-search/v1`

## Request

- Base URL: `https://api.croma.run`
- URL: `https://api.croma.run/co/supersociedades-relatoria/documents-search/v1`
- Auth: HTTP bearer

The Superintendencia de Sociedades' conceptos jurídicos (since 1993) and the sentencias of its Delegatura de Procedimientos Mercantiles, searchable by words over the title, subject and full text, by kind, thesaurus descriptor, subject, party NIT or cédula, radicado, case number, year and date. Each result carries the descriptors, the parties and the dates; the `document` endpoint returns the full text, the legal sources, the problemas jurídicos and the sentencia's parts. Served by Croma from its copy (`as_of` says how current it is).

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

## Headers

- `Idempotency-Key` string

## Request body

- object
  - `query` string: Optional words matched against the title, the subject and the full text.
  - `content_type` 'any' | 'legal_opinion' | 'ruling' | 'oral_ruling' | 'topic': Optional kind of document: `legal_opinion` (concepto jurídico), `ruling` (sentencia escrita), `oral_ruling` (sentencia en audiencia), `topic` (tema y problema), or `any`.
  - `descriptor` string: Optional main descriptor of the relatoría's thesaurus, exactly as it prints it, e.g. `Administradores`.
  - `subject` string: Optional tema exactly as the relatoría names it, e.g. `Responsabilidad de los administradores`.
  - `party_document_number` string: Optional NIT or cédula of the company or person the publication is about, digits only.
  - `consecutive` string: Optional consecutivo of the concepto or sentencia, `nnn-nnnnnn`, e.g. `220-001087`.
  - `filing_id` string: Optional número de radicado, `yyyy-01-nnnnnn`.
  - `case_number` string: Optional número de proceso as the Superintendencia prints it, e.g. `2019-800-00212`.
  - `year` integer: Optional year (1990 or later). 0 searches every year.
  - `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: Rows per page, 1-100.

## Response `200`

Successful response

- SupersociedadesRelatoriaDocumentsSearchResponse
  - `data` SupersociedadesRelatoriaDocumentsSearchData, required
    - `as_of` string, nullable, required: How current the data in this response is.
    - `total` integer, required: Matching rows, or the count cap when `total_is_exact` is false.
    - `total_is_exact` boolean, required: False when `total` is the count cap rather than the exact number of matches.
    - `page` integer, required
    - `per_page` integer, required
    - `total_pages` integer, required: A floor when `total_is_exact` is false.
    - `count` integer, required: Rows in this page.
    - `results` object[], required
      - `id` string, required: The document's identifier at the relatoría.
      - `content_type` 'legal_opinion' | 'ruling' | 'oral_ruling' | 'topic', required: `legal_opinion` (concepto jurídico), `ruling` (sentencia escrita), `oral_ruling` (sentencia en audiencia, published as a video) or `topic` (tema y problema).
      - `title` string, nullable, required: The title as the relatoría prints it; a concepto's starts with its consecutivo.
      - `ruling_title` string, nullable, required: The sentencia's own title, when the relatoría gives one apart.
      - `consecutive` string, nullable, required: Consecutivo of the concepto or sentencia, e.g. `220-123456` or `810-000056`.
      - `filing_id` string, nullable, required: Número de radicado, `yyyy-01-nnnnnn`.
      - `case_number` string, nullable, required: Número de proceso of a sentencia, e.g. `2019-800-00212`.
      - `subject` string, nullable, required: Tema as the relatoría names it, e.g. `Responsabilidad de los administradores`.
      - `procedure` string, nullable, required: Trámite of a sentencia, e.g. `Proceso verbal`.
      - `decided_date` string, nullable, required: Date of the sentencia or of the concepto, `yyyy-mm-dd`.
      - `year` integer, nullable, required: Year of the expediente.
      - `legal_basis` string, nullable, required: Normatividad the relatoría names as the basis of the decision.
      - `modified_date` string, nullable, required: When the relatoría last edited the document, `yyyy-mm-dd`; null on documents it never re-edited.
      - `descriptors` string[], required: Main descriptors of the relatoría's thesaurus, e.g. `Administradores`.
      - `secondary_descriptors` string[], required: Secondary descriptors, e.g. `Deberes`.
      - `parties` object[], required: The parties of a sentencia, as the relatoría lists them; empty on conceptos.
        - `role` string, nullable, required: `DEMANDANTE`, `DEMANDADO`, ... as the relatoría prints it.
        - `document_type` string, nullable, required: `NIT`, `CÉDULA`, ...
        - `document_number` string, nullable, required
        - `name` string, nullable, required
      - `party_document_numbers` string[], required: NITs and cédulas of the parties, digits only.
      - `text_length` integer, required: Characters in `text`.
      - `video_url` string, nullable, required: The recording of an oral ruling, at the source.
      - `source_url` string, required: The document at the relatoría.

## 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)
