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

# Listar procesos

> Your organization's cases (processes), most recently reviewed first. Every filter is optional and they combine with AND. Cursor-paginated.



## OpenAPI

````yaml legal/openapi.json GET /v1/processes
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:
    get:
      tags:
        - Processes
      summary: List processes
      description: >-
        Your organization's cases (processes), most recently reviewed first.
        Every filter is optional and they combine with AND. Cursor-paginated.
      operationId: list_processes
      parameters:
        - name: q
          in: query
          required: false
          description: >-
            Partial, case-insensitive match on the registration number
            (radicado).
          schema:
            type: string
        - name: status
          in: query
          required: false
          description: >-
            Monitoring status of the case in your portfolio. `TRACKING`:
            actively monitored for new actuaciones. `NOT_TRACKING`: monitoring
            paused.
          schema:
            type: string
            enum:
              - TRACKING
              - NOT_TRACKING
        - name: priority
          in: query
          required: false
          description: >-
            Filter by priority. Priority is a personal flag each dashboard user
            sets on their own cases, so it has no organization-level value:
            `NONE` matches every case, while `HIGH` and `MEDIUM` are accepted
            but match no rows for API callers.
          schema:
            type: string
            enum:
              - HIGH
              - MEDIUM
              - NONE
        - name: defendant
          in: query
          required: false
          description: Partial, case-insensitive match on the defendant name.
          schema:
            type: string
        - name: defendant_id
          in: query
          required: false
          description: >-
            Partial match on the defendant identification number (cédula or
            NIT).
          schema:
            type: string
        - name: office
          in: query
          required: false
          description: Partial, case-insensitive match on the judicial office (despacho).
          schema:
            type: string
        - name: date_from
          in: query
          required: false
          description: ISO 8601 date. Only cases filed on or after this date.
          schema:
            type: string
            format: date
        - name: date_to
          in: query
          required: false
          description: ISO 8601 date. Only cases filed on or before this date.
          schema:
            type: string
            format: date
        - name: has_actions
          in: query
          required: false
          description: >-
            `true`: only cases with at least one actuación. `false`: only cases
            with none.
          schema:
            type: boolean
        - name: cursor
          in: query
          required: false
          description: >-
            Opaque pagination cursor from a previous response's `next_cursor`.
            Omit for the first page.
          schema:
            type: string
        - name: page_size
          in: query
          required: false
          description: Rows per page (default 25, max 100).
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 25
      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
                  - next_cursor
                  - has_more
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/ProcessListItem'
                  next_cursor:
                    type:
                      - string
                      - 'null'
                    description: Cursor for the next page. `null` when `has_more` is false.
                  has_more:
                    type: boolean
              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'
                next_cursor: '25'
                has_more: true
        '400':
          description: Invalid query parameter or body
          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: invalid_request_error
                  code: invalid_param
                  message: status must be one of TRACKING, NOT_TRACKING.
                  param: status
                  details:
                    issues:
                      - path: status
                        message: status must be one of TRACKING, NOT_TRACKING.
        '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.
        '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/pagination
components:
  schemas:
    ProcessListItem:
      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.
    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'

````