---
title: "List restructurings"
url: "https://console.9fin.com/apis/distressed-api/versions/09996488-b7b4-48d3-b5ef-df4e27dc8798/operations/list_restructuring_v0_distressed_restructurings_get"
---

> Full API specification: https://console.9fin.com/apis/distressed-api/versions/09996488-b7b4-48d3-b5ef-df4e27dc8798.md

# List restructurings

`GET` `/v0/distressed/restructurings`

Operation ID: `list_restructuring_v0_distressed_restructurings_get`

List restructurings. Restructuring and liability management data covering events, advisors by role, creditors, pre- and post-event debt, and LME participation terms.

## Query parameters

- `sort_by` (optional) - Comma-separated list of `field__asc` / `field__desc` tokens applied in order, e.g. `company_name__desc,price__asc`. Sortable fields: company_name, status, type, trigger, process_initiation_date, process_conclusion_date, pre_gross_debt, post_gross_debt, currency, country_of_risk, industry_l1, industry_l2, industry_l3, new_money, open_to_all_lenders, pro_rata_deal, lme_affected_debt.
- `limit` (optional) - Maximum number of rows to return.
- `cursor` (optional) - Opaque keyset-pagination cursor from a prior page.
- `company_name__eq` (optional) - Filter company_name where the value is equal to the given value.
- `company_name__neq` (optional) - Filter company_name where the value is not equal to the given value.
- `company_name__contains` (optional) - Filter company_name where the value contains the given value.
- `company_name__in` (optional) - Filter company_name where the value is in the given list.
- `status__eq` (optional) - Filter status where the value is equal to the given value.
- `status__neq` (optional) - Filter status where the value is not equal to the given value.
- `status__contains` (optional) - Filter status where the value contains the given value.
- `status__in` (optional) - Filter status where the value is in the given list.
- `type__eq` (optional) - Filter type where the value is equal to the given value.
- `type__neq` (optional) - Filter type where the value is not equal to the given value.
- `type__contains` (optional) - Filter type where the value contains the given value.
- `type__in` (optional) - Filter type where the value is in the given list.
- `type__isnull` (optional) - Filter type to rows where the value is NULL (true) or is not NULL (false).
- `trigger__eq` (optional) - Filter trigger where the value is equal to the given value.
- `trigger__neq` (optional) - Filter trigger where the value is not equal to the given value.
- `trigger__contains` (optional) - Filter trigger where the value contains the given value.
- `trigger__in` (optional) - Filter trigger where the value is in the given list.
- `trigger__isnull` (optional) - Filter trigger to rows where the value is NULL (true) or is not NULL (false).
- `secondary_types__contains` (optional) - Filter where the secondary_types array contains this value.
- `secondary_types__isnull` (optional) - Filter secondary_types to rows where the value is NULL (true) or is not NULL (false).
- `keywords__contains` (optional) - Filter where the keywords array contains this value.
- `keywords__isnull` (optional) - Filter keywords to rows where the value is NULL (true) or is not NULL (false).
- `jurisdictions__contains` (optional) - Filter where the jurisdictions array contains this value.
- `jurisdictions__isnull` (optional) - Filter jurisdictions to rows where the value is NULL (true) or is not NULL (false).
- `process_initiation_date__eq` (optional) - Filter process_initiation_date where the value is equal to the given value.
- `process_initiation_date__neq` (optional) - Filter process_initiation_date where the value is not equal to the given value.
- `process_initiation_date__gt` (optional) - Filter process_initiation_date where the value is greater than the given value.
- `process_initiation_date__gte` (optional) - Filter process_initiation_date where the value is greater or equal to the given value.
- `process_initiation_date__lt` (optional) - Filter process_initiation_date where the value is less than the given value.
- `process_initiation_date__lte` (optional) - Filter process_initiation_date where the value is less or equal to the given value.
- `process_initiation_date__in` (optional) - Filter process_initiation_date where the value is in the given list.
- `process_initiation_date__isnull` (optional) - Filter process_initiation_date to rows where the value is NULL (true) or is not NULL (false).
- `process_conclusion_date__eq` (optional) - Filter process_conclusion_date where the value is equal to the given value.
- `process_conclusion_date__neq` (optional) - Filter process_conclusion_date where the value is not equal to the given value.
- `process_conclusion_date__gt` (optional) - Filter process_conclusion_date where the value is greater than the given value.
- `process_conclusion_date__gte` (optional) - Filter process_conclusion_date where the value is greater or equal to the given value.
- `process_conclusion_date__lt` (optional) - Filter process_conclusion_date where the value is less than the given value.
- `process_conclusion_date__lte` (optional) - Filter process_conclusion_date where the value is less or equal to the given value.
- `process_conclusion_date__in` (optional) - Filter process_conclusion_date where the value is in the given list.
- `process_conclusion_date__isnull` (optional) - Filter process_conclusion_date to rows where the value is NULL (true) or is not NULL (false).
- `pre_gross_debt__eq` (optional) - Filter pre_gross_debt where the value is equal to the given value.
- `pre_gross_debt__neq` (optional) - Filter pre_gross_debt where the value is not equal to the given value.
- `pre_gross_debt__gt` (optional) - Filter pre_gross_debt where the value is greater than the given value.
- `pre_gross_debt__gte` (optional) - Filter pre_gross_debt where the value is greater or equal to the given value.
- `pre_gross_debt__lt` (optional) - Filter pre_gross_debt where the value is less than the given value.
- `pre_gross_debt__lte` (optional) - Filter pre_gross_debt where the value is less or equal to the given value.
- `pre_gross_debt__in` (optional) - Filter pre_gross_debt where the value is in the given list.
- `pre_gross_debt__isnull` (optional) - Filter pre_gross_debt to rows where the value is NULL (true) or is not NULL (false).
- `post_gross_debt__eq` (optional) - Filter post_gross_debt where the value is equal to the given value.
- `post_gross_debt__neq` (optional) - Filter post_gross_debt where the value is not equal to the given value.
- `post_gross_debt__gt` (optional) - Filter post_gross_debt where the value is greater than the given value.
- `post_gross_debt__gte` (optional) - Filter post_gross_debt where the value is greater or equal to the given value.
- `post_gross_debt__lt` (optional) - Filter post_gross_debt where the value is less than the given value.
- `post_gross_debt__lte` (optional) - Filter post_gross_debt where the value is less or equal to the given value.
- `post_gross_debt__in` (optional) - Filter post_gross_debt where the value is in the given list.
- `post_gross_debt__isnull` (optional) - Filter post_gross_debt to rows where the value is NULL (true) or is not NULL (false).
- `currency__eq` (optional) - Filter currency where the value is equal to the given value.
- `currency__neq` (optional) - Filter currency where the value is not equal to the given value.
- `currency__contains` (optional) - Filter currency where the value contains the given value.
- `currency__in` (optional) - Filter currency where the value is in the given list.
- `currency__isnull` (optional) - Filter currency to rows where the value is NULL (true) or is not NULL (false).
- `country_of_risk__eq` (optional) - Filter country_of_risk where the value is equal to the given value.
- `country_of_risk__neq` (optional) - Filter country_of_risk where the value is not equal to the given value.
- `country_of_risk__contains` (optional) - Filter country_of_risk where the value contains the given value.
- `country_of_risk__in` (optional) - Filter country_of_risk where the value is in the given list.
- `country_of_risk__isnull` (optional) - Filter country_of_risk to rows where the value is NULL (true) or is not NULL (false).
- `industry_l1__eq` (optional) - Filter industry_l1 where the value is equal to the given value.
- `industry_l1__neq` (optional) - Filter industry_l1 where the value is not equal to the given value.
- `industry_l1__contains` (optional) - Filter industry_l1 where the value contains the given value.
- `industry_l1__in` (optional) - Filter industry_l1 where the value is in the given list.
- `industry_l1__isnull` (optional) - Filter industry_l1 to rows where the value is NULL (true) or is not NULL (false).
- `industry_l2__eq` (optional) - Filter industry_l2 where the value is equal to the given value.
- `industry_l2__neq` (optional) - Filter industry_l2 where the value is not equal to the given value.
- `industry_l2__contains` (optional) - Filter industry_l2 where the value contains the given value.
- `industry_l2__in` (optional) - Filter industry_l2 where the value is in the given list.
- `industry_l2__isnull` (optional) - Filter industry_l2 to rows where the value is NULL (true) or is not NULL (false).
- `industry_l3__eq` (optional) - Filter industry_l3 where the value is equal to the given value.
- `industry_l3__neq` (optional) - Filter industry_l3 where the value is not equal to the given value.
- `industry_l3__contains` (optional) - Filter industry_l3 where the value contains the given value.
- `industry_l3__in` (optional) - Filter industry_l3 where the value is in the given list.
- `industry_l3__isnull` (optional) - Filter industry_l3 to rows where the value is NULL (true) or is not NULL (false).
- `sponsors__contains` (optional) - Filter where the sponsors array contains this value.
- `sponsors__isnull` (optional) - Filter sponsors to rows where the value is NULL (true) or is not NULL (false).
- `creditors__contains` (optional) - Filter where the creditors array contains this value.
- `creditors__isnull` (optional) - Filter creditors to rows where the value is NULL (true) or is not NULL (false).
- `company_advisors__contains` (optional) - Filter where the company_advisors array contains this value.
- `company_advisors__isnull` (optional) - Filter company_advisors to rows where the value is NULL (true) or is not NULL (false).
- `creditor_advisors__contains` (optional) - Filter where the creditor_advisors array contains this value.
- `creditor_advisors__isnull` (optional) - Filter creditor_advisors to rows where the value is NULL (true) or is not NULL (false).
- `sponsor_advisors__contains` (optional) - Filter where the sponsor_advisors array contains this value.
- `sponsor_advisors__isnull` (optional) - Filter sponsor_advisors to rows where the value is NULL (true) or is not NULL (false).
- `ucc_advisors__contains` (optional) - Filter where the ucc_advisors array contains this value.
- `ucc_advisors__isnull` (optional) - Filter ucc_advisors to rows where the value is NULL (true) or is not NULL (false).
- `other_advisors__contains` (optional) - Filter where the other_advisors array contains this value.
- `other_advisors__isnull` (optional) - Filter other_advisors to rows where the value is NULL (true) or is not NULL (false).
- `any_advisor__contains` (optional) - Filter where any advisor role includes this firm. Comma-separated names match when any listed firm appears.
- `any_advisor__isnull` (optional) - Filter any_advisor to rows where the value is NULL (true) or is not NULL (false).
- `new_money__eq` (optional) - Filter new_money where the value is equal to the given value.
- `new_money__neq` (optional) - Filter new_money where the value is not equal to the given value.
- `new_money__contains` (optional) - Filter new_money where the value contains the given value.
- `new_money__in` (optional) - Filter new_money where the value is in the given list.
- `new_money__isnull` (optional) - Filter new_money to rows where the value is NULL (true) or is not NULL (false).
- `open_to_all_lenders__eq` (optional) - Filter open_to_all_lenders where the value is equal to the given value.
- `open_to_all_lenders__neq` (optional) - Filter open_to_all_lenders where the value is not equal to the given value.
- `open_to_all_lenders__contains` (optional) - Filter open_to_all_lenders where the value contains the given value.
- `open_to_all_lenders__in` (optional) - Filter open_to_all_lenders where the value is in the given list.
- `open_to_all_lenders__isnull` (optional) - Filter open_to_all_lenders to rows where the value is NULL (true) or is not NULL (false).
- `pro_rata_deal__eq` (optional) - Filter pro_rata_deal where the value is equal to the given value.
- `pro_rata_deal__neq` (optional) - Filter pro_rata_deal where the value is not equal to the given value.
- `pro_rata_deal__contains` (optional) - Filter pro_rata_deal where the value contains the given value.
- `pro_rata_deal__in` (optional) - Filter pro_rata_deal where the value is in the given list.
- `pro_rata_deal__isnull` (optional) - Filter pro_rata_deal to rows where the value is NULL (true) or is not NULL (false).
- `lme_affected_debt__eq` (optional) - Filter lme_affected_debt where the value is equal to the given value.
- `lme_affected_debt__neq` (optional) - Filter lme_affected_debt where the value is not equal to the given value.
- `lme_affected_debt__contains` (optional) - Filter lme_affected_debt where the value contains the given value.
- `lme_affected_debt__in` (optional) - Filter lme_affected_debt where the value is in the given list.
- `lme_affected_debt__isnull` (optional) - Filter lme_affected_debt to rows where the value is NULL (true) or is not NULL (false).

## Responses

- `200` - Successful Response
- `400` - Bad request (e.g. invalid cursor).
- `422` - Validation Error
- `500` - Unexpected server error.
- `503` - Service unavailable (e.g. database down).

## OpenAPI definition

```yaml
openapi: 3.1.0
info:
  title: 9fin Distressed API
  version: 0.1.28
servers:
  - description: Production environment
    url: https://api.9fin.com
paths:
  /v0/distressed/restructurings:
    get:
      description: >-
        List restructurings.


        Restructuring and liability management data covering events, advisors by
        role, creditors,

        pre- and post-event debt, and LME participation terms.
      operationId: list_restructuring_v0_distressed_restructurings_get
      parameters:
        - description: "Comma-separated list of `field__asc` / `field__desc` tokens
            applied in order, e.g. `company_name__desc,price__asc`. Sortable
            fields: company_name, status, type, trigger,
            process_initiation_date, process_conclusion_date, pre_gross_debt,
            post_gross_debt, currency, country_of_risk, industry_l1,
            industry_l2, industry_l3, new_money, open_to_all_lenders,
            pro_rata_deal, lme_affected_debt."
          in: query
          name: sort_by
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: "Comma-separated list of `field__asc` / `field__desc` tokens
              applied in order, e.g. `company_name__desc,price__asc`. Sortable
              fields: company_name, status, type, trigger,
              process_initiation_date, process_conclusion_date, pre_gross_debt,
              post_gross_debt, currency, country_of_risk, industry_l1,
              industry_l2, industry_l3, new_money, open_to_all_lenders,
              pro_rata_deal, lme_affected_debt."
            title: Sort By
        - description: Maximum number of rows to return.
          in: query
          name: limit
          required: false
          schema:
            anyOf:
              - maximum: 100
                minimum: 1
                type: integer
              - type: "null"
            default: 50
            description: Maximum number of rows to return.
            title: Limit
        - description: Opaque keyset-pagination cursor from a prior page.
          in: query
          name: cursor
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Opaque keyset-pagination cursor from a prior page.
            title: Cursor
        - description: Filter company_name where the value is equal to the given value.
          in: query
          name: company_name__eq
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter company_name where the value is equal to the given value.
            title: Company Name  Eq
        - description: Filter company_name where the value is not equal to the given value.
          in: query
          name: company_name__neq
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter company_name where the value is not equal to the given
              value.
            title: Company Name  Neq
        - description: Filter company_name where the value contains the given value.
          in: query
          name: company_name__contains
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter company_name where the value contains the given value.
            title: Company Name  Contains
        - description: Filter company_name where the value is in the given list.
          in: query
          name: company_name__in
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter company_name where the value is in the given list.
            title: Company Name  In
        - description: Filter status where the value is equal to the given value.
          in: query
          name: status__eq
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter status where the value is equal to the given value.
            title: Status  Eq
        - description: Filter status where the value is not equal to the given value.
          in: query
          name: status__neq
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter status where the value is not equal to the given value.
            title: Status  Neq
        - description: Filter status where the value contains the given value.
          in: query
          name: status__contains
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter status where the value contains the given value.
            title: Status  Contains
        - description: Filter status where the value is in the given list.
          in: query
          name: status__in
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter status where the value is in the given list.
            title: Status  In
        - description: Filter type where the value is equal to the given value.
          in: query
          name: type__eq
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter type where the value is equal to the given value.
            title: Type  Eq
        - description: Filter type where the value is not equal to the given value.
          in: query
          name: type__neq
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter type where the value is not equal to the given value.
            title: Type  Neq
        - description: Filter type where the value contains the given value.
          in: query
          name: type__contains
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter type where the value contains the given value.
            title: Type  Contains
        - description: Filter type where the value is in the given list.
          in: query
          name: type__in
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter type where the value is in the given list.
            title: Type  In
        - description: Filter type to rows where the value is NULL (true) or is not NULL
            (false).
          in: query
          name: type__isnull
          required: false
          schema:
            anyOf:
              - type: boolean
              - type: "null"
            default: null
            description: Filter type to rows where the value is NULL (true) or is not NULL
              (false).
            title: Type  Isnull
        - description: Filter trigger where the value is equal to the given value.
          in: query
          name: trigger__eq
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter trigger where the value is equal to the given value.
            title: Trigger  Eq
        - description: Filter trigger where the value is not equal to the given value.
          in: query
          name: trigger__neq
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter trigger where the value is not equal to the given value.
            title: Trigger  Neq
        - description: Filter trigger where the value contains the given value.
          in: query
          name: trigger__contains
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter trigger where the value contains the given value.
            title: Trigger  Contains
        - description: Filter trigger where the value is in the given list.
          in: query
          name: trigger__in
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter trigger where the value is in the given list.
            title: Trigger  In
        - description: Filter trigger to rows where the value is NULL (true) or is not
            NULL (false).
          in: query
          name: trigger__isnull
          required: false
          schema:
            anyOf:
              - type: boolean
              - type: "null"
            default: null
            description: Filter trigger to rows where the value is NULL (true) or is not
              NULL (false).
            title: Trigger  Isnull
        - description: Filter where the secondary_types array contains this value.
          in: query
          name: secondary_types__contains
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter where the secondary_types array contains this value.
            title: Secondary Types  Contains
        - description: Filter secondary_types to rows where the value is NULL (true) or is
            not NULL (false).
          in: query
          name: secondary_types__isnull
          required: false
          schema:
            anyOf:
              - type: boolean
              - type: "null"
            default: null
            description: Filter secondary_types to rows where the value is NULL (true) or is
              not NULL (false).
            title: Secondary Types  Isnull
        - description: Filter where the keywords array contains this value.
          in: query
          name: keywords__contains
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter where the keywords array contains this value.
            title: Keywords  Contains
        - description: Filter keywords to rows where the value is NULL (true) or is not
            NULL (false).
          in: query
          name: keywords__isnull
          required: false
          schema:
            anyOf:
              - type: boolean
              - type: "null"
            default: null
            description: Filter keywords to rows where the value is NULL (true) or is not
              NULL (false).
            title: Keywords  Isnull
        - description: Filter where the jurisdictions array contains this value.
          in: query
          name: jurisdictions__contains
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter where the jurisdictions array contains this value.
            title: Jurisdictions  Contains
        - description: Filter jurisdictions to rows where the value is NULL (true) or is
            not NULL (false).
          in: query
          name: jurisdictions__isnull
          required: false
          schema:
            anyOf:
              - type: boolean
              - type: "null"
            default: null
            description: Filter jurisdictions to rows where the value is NULL (true) or is
              not NULL (false).
            title: Jurisdictions  Isnull
        - description: Filter process_initiation_date where the value is equal to the
            given value.
          in: query
          name: process_initiation_date__eq
          required: false
          schema:
            anyOf:
              - format: date
                type: string
              - type: "null"
            default: null
            description: Filter process_initiation_date where the value is equal to the
              given value.
            title: Process Initiation Date  Eq
        - description: Filter process_initiation_date where the value is not equal to the
            given value.
          in: query
          name: process_initiation_date__neq
          required: false
          schema:
            anyOf:
              - format: date
                type: string
              - type: "null"
            default: null
            description: Filter process_initiation_date where the value is not equal to the
              given value.
            title: Process Initiation Date  Neq
        - description: Filter process_initiation_date where the value is greater than the
            given value.
          in: query
          name: process_initiation_date__gt
          required: false
          schema:
            anyOf:
              - format: date
                type: string
              - type: "null"
            default: null
            description: Filter process_initiation_date where the value is greater than the
              given value.
            title: Process Initiation Date  Gt
        - description: Filter process_initiation_date where the value is greater or equal
            to the given value.
          in: query
          name: process_initiation_date__gte
          required: false
          schema:
            anyOf:
              - format: date
                type: string
              - type: "null"
            default: null
            description: Filter process_initiation_date where the value is greater or equal
              to the given value.
            title: Process Initiation Date  Gte
        - description: Filter process_initiation_date where the value is less than the
            given value.
          in: query
          name: process_initiation_date__lt
          required: false
          schema:
            anyOf:
              - format: date
                type: string
              - type: "null"
            default: null
            description: Filter process_initiation_date where the value is less than the
              given value.
            title: Process Initiation Date  Lt
        - description: Filter process_initiation_date where the value is less or equal to
            the given value.
          in: query
          name: process_initiation_date__lte
          required: false
          schema:
            anyOf:
              - format: date
                type: string
              - type: "null"
            default: null
            description: Filter process_initiation_date where the value is less or equal to
              the given value.
            title: Process Initiation Date  Lte
        - description: Filter process_initiation_date where the value is in the given list.
          in: query
          name: process_initiation_date__in
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter process_initiation_date where the value is in the given
              list.
            title: Process Initiation Date  In
        - description: Filter process_initiation_date to rows where the value is NULL
            (true) or is not NULL (false).
          in: query
          name: process_initiation_date__isnull
          required: false
          schema:
            anyOf:
              - type: boolean
              - type: "null"
            default: null
            description: Filter process_initiation_date to rows where the value is NULL
              (true) or is not NULL (false).
            title: Process Initiation Date  Isnull
        - description: Filter process_conclusion_date where the value is equal to the
            given value.
          in: query
          name: process_conclusion_date__eq
          required: false
          schema:
            anyOf:
              - format: date
                type: string
              - type: "null"
            default: null
            description: Filter process_conclusion_date where the value is equal to the
              given value.
            title: Process Conclusion Date  Eq
        - description: Filter process_conclusion_date where the value is not equal to the
            given value.
          in: query
          name: process_conclusion_date__neq
          required: false
          schema:
            anyOf:
              - format: date
                type: string
              - type: "null"
            default: null
            description: Filter process_conclusion_date where the value is not equal to the
              given value.
            title: Process Conclusion Date  Neq
        - description: Filter process_conclusion_date where the value is greater than the
            given value.
          in: query
          name: process_conclusion_date__gt
          required: false
          schema:
            anyOf:
              - format: date
                type: string
              - type: "null"
            default: null
            description: Filter process_conclusion_date where the value is greater than the
              given value.
            title: Process Conclusion Date  Gt
        - description: Filter process_conclusion_date where the value is greater or equal
            to the given value.
          in: query
          name: process_conclusion_date__gte
          required: false
          schema:
            anyOf:
              - format: date
                type: string
              - type: "null"
            default: null
            description: Filter process_conclusion_date where the value is greater or equal
              to the given value.
            title: Process Conclusion Date  Gte
        - description: Filter process_conclusion_date where the value is less than the
            given value.
          in: query
          name: process_conclusion_date__lt
          required: false
          schema:
            anyOf:
              - format: date
                type: string
              - type: "null"
            default: null
            description: Filter process_conclusion_date where the value is less than the
              given value.
            title: Process Conclusion Date  Lt
        - description: Filter process_conclusion_date where the value is less or equal to
            the given value.
          in: query
          name: process_conclusion_date__lte
          required: false
          schema:
            anyOf:
              - format: date
                type: string
              - type: "null"
            default: null
            description: Filter process_conclusion_date where the value is less or equal to
              the given value.
            title: Process Conclusion Date  Lte
        - description: Filter process_conclusion_date where the value is in the given list.
          in: query
          name: process_conclusion_date__in
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter process_conclusion_date where the value is in the given
              list.
            title: Process Conclusion Date  In
        - description: Filter process_conclusion_date to rows where the value is NULL
            (true) or is not NULL (false).
          in: query
          name: process_conclusion_date__isnull
          required: false
          schema:
            anyOf:
              - type: boolean
              - type: "null"
            default: null
            description: Filter process_conclusion_date to rows where the value is NULL
              (true) or is not NULL (false).
            title: Process Conclusion Date  Isnull
        - description: Filter pre_gross_debt where the value is equal to the given value.
          in: query
          name: pre_gross_debt__eq
          required: false
          schema:
            anyOf:
              - type: number
              - pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
                type: string
              - type: "null"
            default: null
            description: Filter pre_gross_debt where the value is equal to the given value.
            title: Pre Gross Debt  Eq
        - description: Filter pre_gross_debt where the value is not equal to the given
            value.
          in: query
          name: pre_gross_debt__neq
          required: false
          schema:
            anyOf:
              - type: number
              - pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
                type: string
              - type: "null"
            default: null
            description: Filter pre_gross_debt where the value is not equal to the given
              value.
            title: Pre Gross Debt  Neq
        - description: Filter pre_gross_debt where the value is greater than the given
            value.
          in: query
          name: pre_gross_debt__gt
          required: false
          schema:
            anyOf:
              - type: number
              - pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
                type: string
              - type: "null"
            default: null
            description: Filter pre_gross_debt where the value is greater than the given
              value.
            title: Pre Gross Debt  Gt
        - description: Filter pre_gross_debt where the value is greater or equal to the
            given value.
          in: query
          name: pre_gross_debt__gte
          required: false
          schema:
            anyOf:
              - type: number
              - pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
                type: string
              - type: "null"
            default: null
            description: Filter pre_gross_debt where the value is greater or equal to the
              given value.
            title: Pre Gross Debt  Gte
        - description: Filter pre_gross_debt where the value is less than the given value.
          in: query
          name: pre_gross_debt__lt
          required: false
          schema:
            anyOf:
              - type: number
              - pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
                type: string
              - type: "null"
            default: null
            description: Filter pre_gross_debt where the value is less than the given value.
            title: Pre Gross Debt  Lt
        - description: Filter pre_gross_debt where the value is less or equal to the given
            value.
          in: query
          name: pre_gross_debt__lte
          required: false
          schema:
            anyOf:
              - type: number
              - pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
                type: string
              - type: "null"
            default: null
            description: Filter pre_gross_debt where the value is less or equal to the given
              value.
            title: Pre Gross Debt  Lte
        - description: Filter pre_gross_debt where the value is in the given list.
          in: query
          name: pre_gross_debt__in
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter pre_gross_debt where the value is in the given list.
            title: Pre Gross Debt  In
        - description: Filter pre_gross_debt to rows where the value is NULL (true) or is
            not NULL (false).
          in: query
          name: pre_gross_debt__isnull
          required: false
          schema:
            anyOf:
              - type: boolean
              - type: "null"
            default: null
            description: Filter pre_gross_debt to rows where the value is NULL (true) or is
              not NULL (false).
            title: Pre Gross Debt  Isnull
        - description: Filter post_gross_debt where the value is equal to the given value.
          in: query
          name: post_gross_debt__eq
          required: false
          schema:
            anyOf:
              - type: number
              - pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
                type: string
              - type: "null"
            default: null
            description: Filter post_gross_debt where the value is equal to the given value.
            title: Post Gross Debt  Eq
        - description: Filter post_gross_debt where the value is not equal to the given
            value.
          in: query
          name: post_gross_debt__neq
          required: false
          schema:
            anyOf:
              - type: number
              - pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
                type: string
              - type: "null"
            default: null
            description: Filter post_gross_debt where the value is not equal to the given
              value.
            title: Post Gross Debt  Neq
        - description: Filter post_gross_debt where the value is greater than the given
            value.
          in: query
          name: post_gross_debt__gt
          required: false
          schema:
            anyOf:
              - type: number
              - pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
                type: string
              - type: "null"
            default: null
            description: Filter post_gross_debt where the value is greater than the given
              value.
            title: Post Gross Debt  Gt
        - description: Filter post_gross_debt where the value is greater or equal to the
            given value.
          in: query
          name: post_gross_debt__gte
          required: false
          schema:
            anyOf:
              - type: number
              - pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
                type: string
              - type: "null"
            default: null
            description: Filter post_gross_debt where the value is greater or equal to the
              given value.
            title: Post Gross Debt  Gte
        - description: Filter post_gross_debt where the value is less than the given value.
          in: query
          name: post_gross_debt__lt
          required: false
          schema:
            anyOf:
              - type: number
              - pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
                type: string
              - type: "null"
            default: null
            description: Filter post_gross_debt where the value is less than the given
              value.
            title: Post Gross Debt  Lt
        - description: Filter post_gross_debt where the value is less or equal to the
            given value.
          in: query
          name: post_gross_debt__lte
          required: false
          schema:
            anyOf:
              - type: number
              - pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
                type: string
              - type: "null"
            default: null
            description: Filter post_gross_debt where the value is less or equal to the
              given value.
            title: Post Gross Debt  Lte
        - description: Filter post_gross_debt where the value is in the given list.
          in: query
          name: post_gross_debt__in
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter post_gross_debt where the value is in the given list.
            title: Post Gross Debt  In
        - description: Filter post_gross_debt to rows where the value is NULL (true) or is
            not NULL (false).
          in: query
          name: post_gross_debt__isnull
          required: false
          schema:
            anyOf:
              - type: boolean
              - type: "null"
            default: null
            description: Filter post_gross_debt to rows where the value is NULL (true) or is
              not NULL (false).
            title: Post Gross Debt  Isnull
        - description: Filter currency where the value is equal to the given value.
          in: query
          name: currency__eq
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter currency where the value is equal to the given value.
            title: Currency  Eq
        - description: Filter currency where the value is not equal to the given value.
          in: query
          name: currency__neq
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter currency where the value is not equal to the given value.
            title: Currency  Neq
        - description: Filter currency where the value contains the given value.
          in: query
          name: currency__contains
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter currency where the value contains the given value.
            title: Currency  Contains
        - description: Filter currency where the value is in the given list.
          in: query
          name: currency__in
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter currency where the value is in the given list.
            title: Currency  In
        - description: Filter currency to rows where the value is NULL (true) or is not
            NULL (false).
          in: query
          name: currency__isnull
          required: false
          schema:
            anyOf:
              - type: boolean
              - type: "null"
            default: null
            description: Filter currency to rows where the value is NULL (true) or is not
              NULL (false).
            title: Currency  Isnull
        - description: Filter country_of_risk where the value is equal to the given value.
          in: query
          name: country_of_risk__eq
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter country_of_risk where the value is equal to the given value.
            title: Country Of Risk  Eq
        - description: Filter country_of_risk where the value is not equal to the given
            value.
          in: query
          name: country_of_risk__neq
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter country_of_risk where the value is not equal to the given
              value.
            title: Country Of Risk  Neq
        - description: Filter country_of_risk where the value contains the given value.
          in: query
          name: country_of_risk__contains
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter country_of_risk where the value contains the given value.
            title: Country Of Risk  Contains
        - description: Filter country_of_risk where the value is in the given list.
          in: query
          name: country_of_risk__in
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter country_of_risk where the value is in the given list.
            title: Country Of Risk  In
        - description: Filter country_of_risk to rows where the value is NULL (true) or is
            not NULL (false).
          in: query
          name: country_of_risk__isnull
          required: false
          schema:
            anyOf:
              - type: boolean
              - type: "null"
            default: null
            description: Filter country_of_risk to rows where the value is NULL (true) or is
              not NULL (false).
            title: Country Of Risk  Isnull
        - description: Filter industry_l1 where the value is equal to the given value.
          in: query
          name: industry_l1__eq
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter industry_l1 where the value is equal to the given value.
            title: Industry L1  Eq
        - description: Filter industry_l1 where the value is not equal to the given value.
          in: query
          name: industry_l1__neq
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter industry_l1 where the value is not equal to the given value.
            title: Industry L1  Neq
        - description: Filter industry_l1 where the value contains the given value.
          in: query
          name: industry_l1__contains
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter industry_l1 where the value contains the given value.
            title: Industry L1  Contains
        - description: Filter industry_l1 where the value is in the given list.
          in: query
          name: industry_l1__in
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter industry_l1 where the value is in the given list.
            title: Industry L1  In
        - description: Filter industry_l1 to rows where the value is NULL (true) or is not
            NULL (false).
          in: query
          name: industry_l1__isnull
          required: false
          schema:
            anyOf:
              - type: boolean
              - type: "null"
            default: null
            description: Filter industry_l1 to rows where the value is NULL (true) or is not
              NULL (false).
            title: Industry L1  Isnull
        - description: Filter industry_l2 where the value is equal to the given value.
          in: query
          name: industry_l2__eq
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter industry_l2 where the value is equal to the given value.
            title: Industry L2  Eq
        - description: Filter industry_l2 where the value is not equal to the given value.
          in: query
          name: industry_l2__neq
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter industry_l2 where the value is not equal to the given value.
            title: Industry L2  Neq
        - description: Filter industry_l2 where the value contains the given value.
          in: query
          name: industry_l2__contains
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter industry_l2 where the value contains the given value.
            title: Industry L2  Contains
        - description: Filter industry_l2 where the value is in the given list.
          in: query
          name: industry_l2__in
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter industry_l2 where the value is in the given list.
            title: Industry L2  In
        - description: Filter industry_l2 to rows where the value is NULL (true) or is not
            NULL (false).
          in: query
          name: industry_l2__isnull
          required: false
          schema:
            anyOf:
              - type: boolean
              - type: "null"
            default: null
            description: Filter industry_l2 to rows where the value is NULL (true) or is not
              NULL (false).
            title: Industry L2  Isnull
        - description: Filter industry_l3 where the value is equal to the given value.
          in: query
          name: industry_l3__eq
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter industry_l3 where the value is equal to the given value.
            title: Industry L3  Eq
        - description: Filter industry_l3 where the value is not equal to the given value.
          in: query
          name: industry_l3__neq
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter industry_l3 where the value is not equal to the given value.
            title: Industry L3  Neq
        - description: Filter industry_l3 where the value contains the given value.
          in: query
          name: industry_l3__contains
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter industry_l3 where the value contains the given value.
            title: Industry L3  Contains
        - description: Filter industry_l3 where the value is in the given list.
          in: query
          name: industry_l3__in
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter industry_l3 where the value is in the given list.
            title: Industry L3  In
        - description: Filter industry_l3 to rows where the value is NULL (true) or is not
            NULL (false).
          in: query
          name: industry_l3__isnull
          required: false
          schema:
            anyOf:
              - type: boolean
              - type: "null"
            default: null
            description: Filter industry_l3 to rows where the value is NULL (true) or is not
              NULL (false).
            title: Industry L3  Isnull
        - description: Filter where the sponsors array contains this value.
          in: query
          name: sponsors__contains
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter where the sponsors array contains this value.
            title: Sponsors  Contains
        - description: Filter sponsors to rows where the value is NULL (true) or is not
            NULL (false).
          in: query
          name: sponsors__isnull
          required: false
          schema:
            anyOf:
              - type: boolean
              - type: "null"
            default: null
            description: Filter sponsors to rows where the value is NULL (true) or is not
              NULL (false).
            title: Sponsors  Isnull
        - description: Filter where the creditors array contains this value.
          in: query
          name: creditors__contains
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter where the creditors array contains this value.
            title: Creditors  Contains
        - description: Filter creditors to rows where the value is NULL (true) or is not
            NULL (false).
          in: query
          name: creditors__isnull
          required: false
          schema:
            anyOf:
              - type: boolean
              - type: "null"
            default: null
            description: Filter creditors to rows where the value is NULL (true) or is not
              NULL (false).
            title: Creditors  Isnull
        - description: Filter where the company_advisors array contains this value.
          in: query
          name: company_advisors__contains
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter where the company_advisors array contains this value.
            title: Company Advisors  Contains
        - description: Filter company_advisors to rows where the value is NULL (true) or
            is not NULL (false).
          in: query
          name: company_advisors__isnull
          required: false
          schema:
            anyOf:
              - type: boolean
              - type: "null"
            default: null
            description: Filter company_advisors to rows where the value is NULL (true) or
              is not NULL (false).
            title: Company Advisors  Isnull
        - description: Filter where the creditor_advisors array contains this value.
          in: query
          name: creditor_advisors__contains
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter where the creditor_advisors array contains this value.
            title: Creditor Advisors  Contains
        - description: Filter creditor_advisors to rows where the value is NULL (true) or
            is not NULL (false).
          in: query
          name: creditor_advisors__isnull
          required: false
          schema:
            anyOf:
              - type: boolean
              - type: "null"
            default: null
            description: Filter creditor_advisors to rows where the value is NULL (true) or
              is not NULL (false).
            title: Creditor Advisors  Isnull
        - description: Filter where the sponsor_advisors array contains this value.
          in: query
          name: sponsor_advisors__contains
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter where the sponsor_advisors array contains this value.
            title: Sponsor Advisors  Contains
        - description: Filter sponsor_advisors to rows where the value is NULL (true) or
            is not NULL (false).
          in: query
          name: sponsor_advisors__isnull
          required: false
          schema:
            anyOf:
              - type: boolean
              - type: "null"
            default: null
            description: Filter sponsor_advisors to rows where the value is NULL (true) or
              is not NULL (false).
            title: Sponsor Advisors  Isnull
        - description: Filter where the ucc_advisors array contains this value.
          in: query
          name: ucc_advisors__contains
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter where the ucc_advisors array contains this value.
            title: Ucc Advisors  Contains
        - description: Filter ucc_advisors to rows where the value is NULL (true) or is
            not NULL (false).
          in: query
          name: ucc_advisors__isnull
          required: false
          schema:
            anyOf:
              - type: boolean
              - type: "null"
            default: null
            description: Filter ucc_advisors to rows where the value is NULL (true) or is
              not NULL (false).
            title: Ucc Advisors  Isnull
        - description: Filter where the other_advisors array contains this value.
          in: query
          name: other_advisors__contains
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter where the other_advisors array contains this value.
            title: Other Advisors  Contains
        - description: Filter other_advisors to rows where the value is NULL (true) or is
            not NULL (false).
          in: query
          name: other_advisors__isnull
          required: false
          schema:
            anyOf:
              - type: boolean
              - type: "null"
            default: null
            description: Filter other_advisors to rows where the value is NULL (true) or is
              not NULL (false).
            title: Other Advisors  Isnull
        - description: Filter where any advisor role includes this firm. Comma-separated
            names match when any listed firm appears.
          in: query
          name: any_advisor__contains
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter where any advisor role includes this firm. Comma-separated
              names match when any listed firm appears.
            title: Any Advisor  Contains
        - description: Filter any_advisor to rows where the value is NULL (true) or is not
            NULL (false).
          in: query
          name: any_advisor__isnull
          required: false
          schema:
            anyOf:
              - type: boolean
              - type: "null"
            default: null
            description: Filter any_advisor to rows where the value is NULL (true) or is not
              NULL (false).
            title: Any Advisor  Isnull
        - description: Filter new_money where the value is equal to the given value.
          in: query
          name: new_money__eq
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter new_money where the value is equal to the given value.
            title: New Money  Eq
        - description: Filter new_money where the value is not equal to the given value.
          in: query
          name: new_money__neq
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter new_money where the value is not equal to the given value.
            title: New Money  Neq
        - description: Filter new_money where the value contains the given value.
          in: query
          name: new_money__contains
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter new_money where the value contains the given value.
            title: New Money  Contains
        - description: Filter new_money where the value is in the given list.
          in: query
          name: new_money__in
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter new_money where the value is in the given list.
            title: New Money  In
        - description: Filter new_money to rows where the value is NULL (true) or is not
            NULL (false).
          in: query
          name: new_money__isnull
          required: false
          schema:
            anyOf:
              - type: boolean
              - type: "null"
            default: null
            description: Filter new_money to rows where the value is NULL (true) or is not
              NULL (false).
            title: New Money  Isnull
        - description: Filter open_to_all_lenders where the value is equal to the given
            value.
          in: query
          name: open_to_all_lenders__eq
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter open_to_all_lenders where the value is equal to the given
              value.
            title: Open To All Lenders  Eq
        - description: Filter open_to_all_lenders where the value is not equal to the
            given value.
          in: query
          name: open_to_all_lenders__neq
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter open_to_all_lenders where the value is not equal to the
              given value.
            title: Open To All Lenders  Neq
        - description: Filter open_to_all_lenders where the value contains the given value.
          in: query
          name: open_to_all_lenders__contains
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter open_to_all_lenders where the value contains the given
              value.
            title: Open To All Lenders  Contains
        - description: Filter open_to_all_lenders where the value is in the given list.
          in: query
          name: open_to_all_lenders__in
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter open_to_all_lenders where the value is in the given list.
            title: Open To All Lenders  In
        - description: Filter open_to_all_lenders to rows where the value is NULL (true)
            or is not NULL (false).
          in: query
          name: open_to_all_lenders__isnull
          required: false
          schema:
            anyOf:
              - type: boolean
              - type: "null"
            default: null
            description: Filter open_to_all_lenders to rows where the value is NULL (true)
              or is not NULL (false).
            title: Open To All Lenders  Isnull
        - description: Filter pro_rata_deal where the value is equal to the given value.
          in: query
          name: pro_rata_deal__eq
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter pro_rata_deal where the value is equal to the given value.
            title: Pro Rata Deal  Eq
        - description: Filter pro_rata_deal where the value is not equal to the given value.
          in: query
          name: pro_rata_deal__neq
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter pro_rata_deal where the value is not equal to the given
              value.
            title: Pro Rata Deal  Neq
        - description: Filter pro_rata_deal where the value contains the given value.
          in: query
          name: pro_rata_deal__contains
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter pro_rata_deal where the value contains the given value.
            title: Pro Rata Deal  Contains
        - description: Filter pro_rata_deal where the value is in the given list.
          in: query
          name: pro_rata_deal__in
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter pro_rata_deal where the value is in the given list.
            title: Pro Rata Deal  In
        - description: Filter pro_rata_deal to rows where the value is NULL (true) or is
            not NULL (false).
          in: query
          name: pro_rata_deal__isnull
          required: false
          schema:
            anyOf:
              - type: boolean
              - type: "null"
            default: null
            description: Filter pro_rata_deal to rows where the value is NULL (true) or is
              not NULL (false).
            title: Pro Rata Deal  Isnull
        - description: Filter lme_affected_debt where the value is equal to the given value.
          in: query
          name: lme_affected_debt__eq
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter lme_affected_debt where the value is equal to the given
              value.
            title: Lme Affected Debt  Eq
        - description: Filter lme_affected_debt where the value is not equal to the given
            value.
          in: query
          name: lme_affected_debt__neq
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter lme_affected_debt where the value is not equal to the given
              value.
            title: Lme Affected Debt  Neq
        - description: Filter lme_affected_debt where the value contains the given value.
          in: query
          name: lme_affected_debt__contains
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter lme_affected_debt where the value contains the given value.
            title: Lme Affected Debt  Contains
        - description: Filter lme_affected_debt where the value is in the given list.
          in: query
          name: lme_affected_debt__in
          required: false
          schema:
            anyOf:
              - type: string
              - type: "null"
            default: null
            description: Filter lme_affected_debt where the value is in the given list.
            title: Lme Affected Debt  In
        - description: Filter lme_affected_debt to rows where the value is NULL (true) or
            is not NULL (false).
          in: query
          name: lme_affected_debt__isnull
          required: false
          schema:
            anyOf:
              - type: boolean
              - type: "null"
            default: null
            description: Filter lme_affected_debt to rows where the value is NULL (true) or
              is not NULL (false).
            title: Lme Affected Debt  Isnull
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/RestructuringResponse"
          description: Successful Response
        "400":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorResponse"
          description: Bad request (e.g. invalid cursor).
        "422":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/HTTPValidationError"
          description: Validation Error
        "500":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/InternalServerErrorResponse"
          description: Unexpected server error.
        "503":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorResponse"
          description: Service unavailable (e.g. database down).
      summary: List restructurings
      tags:
        - Restructuring
security:
  - OAuth2ClientCredentials: []
  - HTTPBearer: []
components:
  schemas:
    RestructuringResponse:
      description: Cursor-paginated list of restructuring events.
      properties:
        items:
          description: Restructuring events that match the provided filter criteria.
          items:
            $ref: "#/components/schemas/Restructuring"
          title: Items
          type: array
        next_cursor:
          anyOf:
            - type: string
            - type: "null"
          description: Cursor to pass in the next request to fetch the next page.
          title: Next Cursor
      required:
        - items
        - next_cursor
      title: RestructuringResponse
      type: object
    ErrorResponse:
      description: Client-facing error envelope.
      examples:
        - error_code: invalid_cursor
          message: The supplied cursor could not be decoded.
          trace_id: 202bde256c7d446f9623efdc96286c5d
        - error_code: service_unavailable
          message: Database is not available
          trace_id: c2416d52c6d14c8e831aad792407442c
      properties:
        error_code:
          title: Error Code
          type: string
        message:
          title: Message
          type: string
        trace_id:
          anyOf:
            - type: string
            - type: "null"
          title: Trace Id
      required:
        - error_code
        - message
      title: ErrorResponse
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: "#/components/schemas/ValidationError"
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    InternalServerErrorResponse:
      properties:
        error_code:
          examples:
            - internal_server_error
          title: Error Code
          type: string
        message:
          examples:
            - An unexpected error occurred.
          title: Message
          type: string
        trace_id:
          anyOf:
            - type: string
            - type: "null"
          examples:
            - e7dfd20231374d308f04655eb0538be4
          title: Trace Id
      required:
        - error_code
        - message
        - trace_id
      title: InternalServerErrorResponse
      type: object
    Restructuring:
      description: Restructuring or liability-management event.
      properties:
        advisors:
          description: Advisors on the event.
          items:
            $ref: "#/components/schemas/Advisor"
          title: Advisors
          type: array
        company:
          $ref: "#/components/schemas/Entity"
        country_of_risk:
          anyOf:
            - type: string
            - type: "null"
          description: Country to which the company's credit risk is primarily attributed.
          title: Country Of Risk
        created_at:
          description: Timestamp when the event was first recorded (ISO).
          format: date-time
          title: Created At
          type: string
        creditors:
          description: Creditors on the event.
          items:
            $ref: "#/components/schemas/Creditor"
          title: Creditors
          type: array
        currency:
          anyOf:
            - type: string
            - type: "null"
          description: Currency code of pre- and post-event gross debt.
          title: Currency
        industry:
          $ref: "#/components/schemas/Industry"
        jurisdictions:
          description: Jurisdictions involved. E.g., `English Scheme`, `Chapter 15`
          items:
            type: string
          title: Jurisdictions
          type: array
        keywords:
          description: Event keywords. E.g., `New Money`, `Amend and Extend`
          items:
            type: string
          title: Keywords
          type: array
        lme_affected_debt:
          anyOf:
            - type: string
            - type: "null"
          description: Debt the liability-management exercise affected, as recorded. E.g.,
            `Loans`, `Bonds`, `Loans and Bonds`, `Not applicable`, `Unknown`
          title: Lme Affected Debt
        new_money:
          anyOf:
            - type: string
            - type: "null"
          description: Whether new money was involved, as recorded. E.g., `Yes, Existing
            Lenders`, `No`
          title: New Money
        open_to_all_lenders:
          anyOf:
            - type: string
            - type: "null"
          description: Whether lenders could participate, as recorded. E.g., `Yes`, `No`,
            `Terms Unknown`
          title: Open To All Lenders
        post_gross_debt:
          anyOf:
            - type: number
            - type: "null"
          description: Gross debt after the event.
          title: Post Gross Debt
        pre_gross_debt:
          anyOf:
            - type: number
            - type: "null"
          description: Gross debt before the event.
          title: Pre Gross Debt
        pro_rata_deal:
          anyOf:
            - type: string
            - type: "null"
          description: Whether the deal was pro rata, as recorded. E.g., `Pro Rata`, `Non
            Pro Rata`, `Not Certain`
          title: Pro Rata Deal
        process_conclusion_date:
          anyOf:
            - format: date
              type: string
            - type: "null"
          description: Process end date.
          title: Process Conclusion Date
        process_initiation_date:
          anyOf:
            - format: date
              type: string
            - type: "null"
          description: Process start date.
          title: Process Initiation Date
        secondary_types:
          description: Secondary situation types. E.g., `Exchange Offer`, `Out-of-Court
            Restructuring`
          items:
            type: string
          title: Secondary Types
          type: array
        sponsors:
          description: Sponsors on the event.
          items:
            $ref: "#/components/schemas/Sponsor"
          title: Sponsors
          type: array
        status:
          description: Process status. E.g., `Expected`, `In Progress`, `Completed`
          title: Status
          type: string
        trigger:
          anyOf:
            - type: string
            - type: "null"
          description: What initiated the process. E.g., `Upcoming Maturity - inability to
            refinance`
          title: Trigger
        type:
          anyOf:
            - type: string
            - type: "null"
          description: Primary situation type. E.g., `Exchange Offer`, `Out-of-Court
            Restructuring`
          title: Type
        updated_at:
          anyOf:
            - format: date-time
              type: string
            - type: "null"
          description: Timestamp when the event was last updated (ISO).
          title: Updated At
        uuid:
          description: Unique restructuring event identifier.
          format: uuid
          title: Uuid
          type: string
      required:
        - uuid
        - company
        - country_of_risk
        - status
        - trigger
        - keywords
        - type
        - secondary_types
        - jurisdictions
        - currency
        - pre_gross_debt
        - post_gross_debt
        - new_money
        - open_to_all_lenders
        - pro_rata_deal
        - lme_affected_debt
        - process_initiation_date
        - process_conclusion_date
        - sponsors
        - creditors
        - advisors
        - industry
        - created_at
        - updated_at
      title: Restructuring
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
    Advisor:
      description: Advisor on the event.
      properties:
        group:
          description: Instrument group the advisor acted for. E.g., `Contesting 2025
            Bondholders`
          title: Group
          type: string
        name:
          description: Advisor name.
          title: Name
          type: string
        type:
          description: Party the advisor acted for.
          title: Type
          type: string
      required:
        - name
        - type
        - group
      title: Advisor
      type: object
    Entity:
      description: A 9fin entity (e.g. a company), identified by its `nf_id`.
      properties:
        name:
          description: Company name.
          title: Name
          type: string
        nf_id:
          description: Permanent opaque organisation id (`nf_ent_<hex>`).
          title: Nf Id
          type: string
      required:
        - nf_id
        - name
      title: Entity
      type: object
    Creditor:
      description: Creditor on the event.
      properties:
        name:
          description: Creditor name.
          title: Name
          type: string
      required:
        - name
      title: Creditor
      type: object
    Industry:
      description: A company's industry classification.
      properties:
        l1:
          anyOf:
            - type: string
            - type: "null"
          description: Level-1 (broadest) industry name.
          title: L1
        l2:
          anyOf:
            - type: string
            - type: "null"
          description: Level-2 industry name.
          title: L2
        l3:
          anyOf:
            - type: string
            - type: "null"
          description: Level-3 (most granular) industry name.
          title: L3
      required:
        - l2
      title: Industry
      type: object
    Sponsor:
      description: Sponsor on the event.
      properties:
        name:
          description: Sponsor name.
          title: Name
          type: string
      required:
        - name
      title: Sponsor
      type: object
  securitySchemes:
    OAuth2ClientCredentials:
      description: "**[How to get
        started](https://console.9fin.com/getting-started/consume-api)**"
      flows:
        clientCredentials:
          scopes: {}
          tokenUrl: https://api.9fin.com/oauth/token
      type: oauth2
    HTTPBearer:
      bearerFormat: JWT
      description: "**[How to get an access
        token](https://console.9fin.com/getting-started/consume-api)**"
      scheme: bearer
      type: http
```
