> ## Documentation Index
> Fetch the complete documentation index at: https://docs.usecroma.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Obtener un proceso

> One case, fully enriched: the list fields plus when it entered your portfolio, the linked defendant's id and imported data, and your organization's own fields. Accepts the internal id or the radicado.



## OpenAPI

````yaml legal/openapi.json GET /v1/processes/{process_id}
openapi: 3.1.0
info:
  title: Croma Legal API
  version: 1.0.0
  description: >-
    Read-only access to your organization's litigation portfolio in Croma Legal:
    cases (processes), actuaciones, defendants, portfolio analytics and bulk
    exports. Every request is scoped to the organization that owns the API key.
servers:
  - url: https://api.legal.usecroma.com
security:
  - bearerAuth: []
tags:
  - name: Processes
    description: Cases in your portfolio.
  - name: Actuaciones
    description: Court filings and events across every case.
  - name: Defendants
    description: Demandados and the cases linked to them.
  - name: Analytics
    description: Aggregates over the portfolio.
  - name: Exports
    description: Bulk CSV / JSONL files.
  - name: Jobs
    description: Async job status.
paths:
  /v1/processes/{process_id}:
    get:
      tags:
        - Processes
      summary: Get a process
      description: >-
        One case, fully enriched: the list fields plus when it entered your
        portfolio, the linked defendant's id and imported data, and your
        organization's own fields. Accepts the internal id or the radicado.
      operationId: get_process
      parameters:
        - name: process_id
          in: path
          required: true
          description: >-
            The process `id` (UUID) or its registration number (radicado).
            Either form resolves to the same case.
          schema:
            type: string
          example: '11001400300120240012300'
      responses:
        '200':
          description: Successful response
          headers:
            X-Request-Id:
              description: >-
                Unique id for the request (req_…). Include it in support
                reports.
              schema:
                type: string
            X-RateLimit-Limit:
              description: Requests allowed in the current window.
              schema:
                type: integer
            X-RateLimit-Remaining:
              description: Requests left before you are throttled.
              schema:
                type: integer
            X-RateLimit-Reset:
              description: ISO 8601 timestamp when the window resets.
              schema:
                type: string
                format: date-time
          content:
            application/json:
              schema:
                type: object
                required:
                  - data
                properties:
                  data:
                    $ref: '#/components/schemas/ProcessDetails'
              example:
                data:
                  id: 3f1c2a44-9b1e-4c5a-8d2f-6a7b8c9d0e1f
                  registration_number: '11001400300120240012300'
                  plaintiff_name: BANCO EJEMPLO S.A.
                  defendant_name: CLIENTE DE EJEMPLO
                  defender_name: null
                  office: JUZGADO 001 CIVIL MUNICIPAL DE BOGOTÁ
                  status: TRACKING
                  priority: null
                  registration_date: '2024-03-12T00:00:00.000Z'
                  last_discovery_date: '2026-08-20T09:14:33.000Z'
                  origin: RAMA
                  is_private: false
                  defendant_id: '1234567890'
                  tracking_since: '2024-04-02T15:21:07.000Z'
                  defendant_uuid: 9a8b7c6d-5e4f-4a3b-9c2d-1e0f9a8b7c6d
                  defendant_metadata:
                    valor_acumulado: 18500000
                    medidas_cautelares:
                      - tipo_medida: EMBARGO
                        detalle_empleador: EMPRESA EJEMPLO S.A.S.
                  metadata:
                    etapa: EJECUTIVO
                    abogado: ESTUDIO JURÍDICO EJEMPLO
        '401':
          description: Missing or invalid API key
          headers:
            X-Request-Id:
              description: >-
                Unique id for the request (req_…). Include it in support
                reports.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
              example:
                error:
                  type: authentication_error
                  code: invalid_api_key
                  message: Invalid or missing API key.
        '404':
          description: No process with that id or radicado in your organization
          headers:
            X-Request-Id:
              description: >-
                Unique id for the request (req_…). Include it in support
                reports.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
              example:
                error:
                  type: not_found_error
                  code: not_found
                  message: Process not found.
        '429':
          description: Rate limit exceeded
          headers:
            X-Request-Id:
              description: >-
                Unique id for the request (req_…). Include it in support
                reports.
              schema:
                type: string
            Retry-After:
              description: Seconds to wait before retrying.
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
              example:
                error:
                  type: rate_limit_error
                  code: rate_limited
                  message: Rate limit exceeded. Try again in 42 seconds.
        '500':
          description: Unexpected internal error
          headers:
            X-Request-Id:
              description: >-
                Unique id for the request (req_…). Include it in support
                reports.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
              example:
                error:
                  type: api_error
                  code: internal_error
                  message: >-
                    Internal error. Contact support with the X-Request-Id if it
                    persists.
      security:
        - bearerAuth: []
      externalDocs:
        description: Guide and examples
        url: https://docs.usecroma.com/legal/api-reference/overview
components:
  schemas:
    ProcessDetails:
      type: object
      required:
        - id
        - registration_number
        - status
      properties:
        id:
          type: string
          format: uuid
          description: >-
            Internal process id. Use it (or the radicado) with the detail
            endpoints.
        registration_number:
          type: string
          description: Registration number (radicado), normally 23 digits.
        plaintiff_name:
          type:
            - string
            - 'null'
          description: Plaintiff (demandante).
        defendant_name:
          type:
            - string
            - 'null'
          description: Defendant (demandado).
        defender_name:
          type:
            - string
            - 'null'
          description: >-
            Counsel of record (apoderado). Populated for part of the portfolio
            only.
        office:
          type:
            - string
            - 'null'
          description: Judicial office (despacho).
        status:
          type: string
          enum:
            - TRACKING
            - NOT_TRACKING
          description: >-
            Monitoring status of the case in your portfolio. `TRACKING`:
            actively monitored for new actuaciones. `NOT_TRACKING`: monitoring
            paused.
        priority:
          type:
            - string
            - 'null'
          enum:
            - HIGH
            - MEDIUM
            - null
          description: >-
            Priority is a personal flag each dashboard user sets on their own
            cases. API requests carry no user, so this is always `null`.
        registration_date:
          type:
            - string
            - 'null'
          format: date-time
          description: Filing date (fecha de radicación).
        last_discovery_date:
          type:
            - string
            - 'null'
          format: date-time
          description: >-
            Last time Croma reviewed the case. Updates even when nothing
            changed, so it is not a measure of judicial activity; use the
            actuaciones for that.
        origin:
          type:
            - string
            - 'null'
          enum:
            - RAMA
            - OFFICE
            - null
          description: >-
            Where the case is published. `RAMA`: available in the national
            public consulta. `OFFICE`: only available through the judicial
            office itself. `null` when unknown.
        is_private:
          type:
            - boolean
            - 'null'
          description: Whether the case is reserved (reservado) in the source.
        defendant_id:
          type:
            - string
            - 'null'
          description: >-
            Identification number (cédula or NIT) of the linked defendant, when
            the case is linked to a defendant record.
        tracking_since:
          type:
            - string
            - 'null'
          format: date-time
          description: When the case entered your organization's portfolio.
        defendant_uuid:
          type:
            - string
            - 'null'
          format: uuid
          description: >-
            Internal id of the linked defendant. Use it with `GET
            /v1/defendants/{defendant_id}/processes`.
        defendant_metadata:
          type:
            - object
            - 'null'
          additionalProperties: true
          description: >-
            Data your organization imported about the defendant (for example
            medidas cautelares or accumulated amounts). Free-form; `null` when
            none.
        metadata:
          type:
            - object
            - 'null'
          additionalProperties: true
          description: >-
            Your organization's own fields for the case (custom columns imported
            with the portfolio). Free-form.
    ApiError:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - type
            - code
            - message
          properties:
            type:
              type: string
              description: >-
                Broad category: invalid_request_error, authentication_error,
                not_found_error, rate_limit_error, api_error.
            code:
              type: string
              description: Machine-readable specific code.
            message:
              type: string
              description: Human-readable explanation, safe to surface in UI.
            param:
              type: string
              description: Field that triggered the error. Present on validation errors.
            details:
              type: object
              description: Free-form structured detail.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Use Authorization: Bearer YOUR_API_KEY'

````