---
url: "https://console.9fin.com/apis/distressed-api/versions/6f7fc866-4490-4486-90ea-393120603830"
---

OpenAPI specification document.

```json
{"components":{"schemas":{"Advisor":{"description":"Advisor on the event.","properties":{"name":{"description":"Advisor name.","title":"Name","type":"string"},"type":{"description":"Party the advisor acted for.","title":"Type","type":"string"}},"required":["name","type"],"title":"Advisor","type":"object"},"AdvisorFeeAdvisor":{"description":"Advisor on this fee filing.","properties":{"legal_firm":{"description":"Whether the advisor is a legal firm.","title":"Legal Firm","type":"boolean"},"name":{"description":"Advisor name.","title":"Name","type":"string"},"role":{"description":"Advisor roles. E.g., `Financial`, `Legal`, `Operational`.","items":{"type":"string"},"title":"Role","type":"array"}},"required":["name","role","legal_firm"],"title":"AdvisorFeeAdvisor","type":"object"},"AdvisorFeeListItem":{"description":"Advisor fee filing for one period.","properties":{"advisor":{"$ref":"#/components/schemas/AdvisorFeeAdvisor"},"company":{"$ref":"#/components/schemas/Entity"},"end_fee_period":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"description":"Billing period end date.","title":"End Fee Period"},"expenses_approved":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Expenses approved.","title":"Expenses Approved"},"expenses_paid":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Expenses paid.","title":"Expenses Paid"},"expenses_requested":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Expenses requested.","title":"Expenses Requested"},"fee_approved":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Fees approved.","title":"Fee Approved"},"fee_paid":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Fees paid.","title":"Fee Paid"},"fee_requested":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Fees requested.","title":"Fee Requested"},"fee_type":{"description":"Fee filing type. E.g., `Financial`, `Monthly`, `Hourly`.","title":"Fee Type","type":"string"},"hours_professional":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Hours worked in the period.","title":"Hours Professional"},"party_represented":{"description":"Party the advisor acted for.","title":"Party Represented","type":"string"},"process_initiation_date":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"description":"Linked restructuring process start date.","title":"Process Initiation Date"},"rate_professional":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Average hourly rate.","title":"Rate Professional"},"restructuring_uuid":{"description":"Parent restructuring identifier.","format":"uuid","title":"Restructuring Uuid","type":"string"},"start_fee_period":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"description":"Billing period start date.","title":"Start Fee Period"},"status":{"description":"Linked restructuring process status. E.g., `Final`, `Interim`, `Ongoing`, etc.","title":"Status","type":"string"},"total_compensation":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Running total of fees approved for this advisor on this event.","title":"Total Compensation"},"total_funded_debt_obligations":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Pre-event gross debt of the linked restructuring.","title":"Total Funded Debt Obligations"},"uuid":{"description":"Unique fee item identifier.","format":"uuid","title":"Uuid","type":"string"},"venue":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Venue.","title":"Venue"}},"required":["uuid","company","restructuring_uuid","venue","advisor","party_represented","fee_type","status","start_fee_period","end_fee_period","hours_professional","fee_requested","expenses_requested","fee_approved","expenses_approved","fee_paid","expenses_paid","rate_professional","total_compensation","total_funded_debt_obligations","process_initiation_date"],"title":"AdvisorFeeListItem","type":"object"},"AdvisorFeeResponse":{"description":"Cursor-paginated list of advisor fee filings.","properties":{"items":{"description":"Fee items that match the provided filter criteria.","items":{"$ref":"#/components/schemas/AdvisorFeeListItem"},"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":"AdvisorFeeResponse","type":"object"},"Creditor":{"description":"Creditor on the event.","properties":{"name":{"description":"Creditor name.","title":"Name","type":"string"}},"required":["name"],"title":"Creditor","type":"object"},"DipAgent":{"description":"An agent on the facility.","properties":{"name":{"description":"Agent name.","title":"Name","type":"string"}},"required":["name"],"title":"DipAgent","type":"object"},"DipFee":{"description":"Fees charged on the facility.","properties":{"fee_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Amount in USD millions.","title":"Fee Amount"},"fee_percentage":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Value as a percentage.","title":"Fee Percentage"},"fee_type":{"description":"Fee type. E.g., Closing Fee, Fronting Fee, Exit Fee, etc.","title":"Fee Type","type":"string"},"initial_fee_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Amount in USD millions.","title":"Initial Fee Amount"}},"required":["fee_type"],"title":"DipFee","type":"object"},"DipInterestRate":{"description":"Interest rates on the facility. A facility may price several rates.","properties":{"base_rate":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Base rate.","title":"Base Rate"},"floor":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Value as a percentage.","title":"Floor"},"pik_or_cash":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"PIK or cash interest indicator.","title":"Pik Or Cash"},"spread":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Value as a percentage.","title":"Spread"}},"title":"DipInterestRate","type":"object"},"DipLender":{"description":"A lender groups on the facility.","properties":{"name":{"description":"Lender name.","title":"Name","type":"string"}},"required":["name"],"title":"DipLender","type":"object"},"DipListItem":{"description":"A single debtor-in-possession financing facility.","properties":{"adequate_protection":{"description":"Protections granted to existing lenders.","items":{"type":"string"},"title":"Adequate Protection","type":"array"},"agents":{"description":"An agent on the facility.","items":{"$ref":"#/components/schemas/DipAgent"},"title":"Agents","type":"array"},"avoidance_action_liens":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Whether the DIP takes liens on avoidance actions.","title":"Avoidance Action Liens"},"budget_variance_cushion":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Budget variance cushion. Value as a percentage.","title":"Budget Variance Cushion"},"challenge_period_challenge_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Challenge amount. Amount in USD millions.","title":"Challenge Period Challenge Amount"},"challenge_period_other_parties_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Challenge period for other parties, in days.","title":"Challenge Period Other Parties Days"},"chap_7_trustee_carve_out":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Chapter 7 trustee carve-out. Amount in USD millions.","title":"Chap 7 Trustee Carve Out"},"company":{"anyOf":[{"$ref":"#/components/schemas/Entity"},{"type":"null"}],"description":"Company linked to the DIP facility. Null when the court case matches no 9fin company."},"default_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Default interest rate. Value as a percentage.","title":"Default Rate"},"facility_name":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Name of the facility. E.g., DIP Term Loan","title":"Facility Name"},"facility_type":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Type of the facility. E.g., Term Loan.","title":"Facility Type"},"fees":{"description":"Fees charged on the facility.","items":{"$ref":"#/components/schemas/DipFee"},"title":"Fees","type":"array"},"interest_rates":{"description":"Interest rates on the facility. A facility may price several rates.","items":{"$ref":"#/components/schemas/DipInterestRate"},"title":"Interest Rates","type":"array"},"interim_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Interim facility size. Amount in USD millions.","title":"Interim Amount"},"lender_types":{"description":"Lender types. E.g., Existing Lenders","items":{"type":"string"},"title":"Lender Types","type":"array"},"lenders":{"description":"A lender groups on the facility.","items":{"$ref":"#/components/schemas/DipLender"},"title":"Lenders","type":"array"},"liens_on_avoidance_actions_when":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"When avoidance action liens attach. E.g., `At Interim`","title":"Liens On Avoidance Actions When"},"new_money_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"New money raised. Amount in USD millions.","title":"New Money Amount"},"outside_maturity_date":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"description":"Outside maturity date.","title":"Outside Maturity Date"},"post_trigger_notice_carve_out":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Post-trigger notice carve-out. Amount in USD millions.","title":"Post Trigger Notice Carve Out"},"priming_allowed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Whether the DIP may prime existing liens.","title":"Priming Allowed"},"prof_fee_line_item_from_budget":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Professional fee line item from the budget. Amount in USD millions.","title":"Prof Fee Line Item From Budget"},"restructuring_uuid":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"description":"Parent restructuring event identifier.Null when the court case is unmatched, or resolves to no restructuring","title":"Restructuring Uuid"},"roll_up_refi":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Whether the DIP rolls up or refinances any debt.","title":"Roll Up Refi"},"rollup_facilities":{"description":"Pre-petition facilities rolled up or refinanced into the DIP.","items":{"$ref":"#/components/schemas/DipRollupFacility"},"title":"Rollup Facilities","type":"array"},"rollup_total":{"default":0,"description":"Total rolled up. Amount in USD millions.","title":"Rollup Total","type":"number"},"sources":{"description":"Where the terms were sourced from.","items":{"type":"string"},"title":"Sources","type":"array"},"total_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Total facility size. Amount in USD millions.","title":"Total Amount"},"uuid":{"description":"Unique DIP facility identifier.","format":"uuid","title":"Uuid","type":"string"},"waivers":{"description":"Waivers granted on the facility. E.g., `506(c)`, `552(b)`","items":{"type":"string"},"title":"Waivers","type":"array"}},"required":["uuid"],"title":"DipListItem","type":"object"},"DipResponse":{"description":"Cursor-paginated list of DIP financing facilities.","properties":{"items":{"description":"A single debtor-in-possession financing facility that match the provided filter criteria.","items":{"$ref":"#/components/schemas/DipListItem"},"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":"DipResponse","type":"object"},"DipRollupFacility":{"description":"Pre-petition facilities rolled up or refinanced into the DIP.","properties":{"amount":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Amount in USD millions.","title":"Amount"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Rolled-up facility name; e.g. `USD 500.0m 8.500% SN due 2027`.","title":"Name"},"ratio":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Proportion rolled up, between 0 and 1.","title":"Ratio"},"tranche_id":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Rolled-up tranche identifier.","title":"Tranche Id"}},"title":"DipRollupFacility","type":"object"},"DocketsCaseListItem":{"description":"Chapter 11 or Chapter 15 court case.","properties":{"associated_cases":{"description":"Another docket case related to the one being returned. E.g., adversary proceedings and appeals.","items":{"$ref":"#/components/schemas/LinkedCase"},"title":"Associated Cases","type":"array"},"case_name":{"description":"Case name.","title":"Case Name","type":"string"},"case_type":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Case type. E.g., `Chapter 11`","title":"Case Type"},"company":{"anyOf":[{"$ref":"#/components/schemas/Entity"},{"type":"null"}],"description":"A company linked to the case, identified by its nf_id."},"docket_number":{"description":"Docket number. E.g., `24-10123`","title":"Docket Number","type":"string"},"filing_date":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"description":"Date the case was filed with the court.","title":"Filing Date"},"industry":{"$ref":"#/components/schemas/Industry"},"judges":{"description":"Assigned judges to the case.","items":{"type":"string"},"title":"Judges","type":"array"},"lead_case":{"anyOf":[{"$ref":"#/components/schemas/LinkedCase"},{"type":"null"}],"description":"The case this one was opened under; null for a case with no parent."},"restructuring_uuid":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"description":"Parent restructuring event identifier.","title":"Restructuring Uuid"},"uuid":{"description":"Unique case identifier.","format":"uuid","title":"Uuid","type":"string"},"venue":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Venue (court) where the case is filed.","title":"Venue"}},"required":["uuid","case_name","docket_number","case_type","lead_case","associated_cases","venue","judges","company","restructuring_uuid","industry","filing_date"],"title":"DocketsCaseListItem","type":"object"},"DocketsCasesResponse":{"description":"Cursor-paginated list of docket cases.","properties":{"items":{"description":"Cases that match the provided filter criteria.","items":{"$ref":"#/components/schemas/DocketsCaseListItem"},"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":"DocketsCasesResponse","type":"object"},"DocketsFilingListItem":{"description":"Document filed on a docket case.","properties":{"case_type":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Parent case type. E.g., `Chapter 11`, `Chapter 15`.","title":"Case Type"},"case_uuid":{"description":"The case the filing belongs to, addressable on the cases endpoint by its `uuid`. A docket number is only unique within a court, so the case is linked by uuid instead.","format":"uuid","title":"Case Uuid","type":"string"},"company":{"anyOf":[{"$ref":"#/components/schemas/Entity"},{"type":"null"}],"description":"Linked company."},"date_filed":{"description":"Date the filing's docket entry was filed with the court.","format":"date","title":"Date Filed","type":"string"},"document_number":{"description":"Document order within the docket entry.The main document is typically 1, with attachments numbered 2, 3, and so on.","minimum":1,"title":"Document Number","type":"integer"},"document_title":{"description":"Document title.","title":"Document Title","type":"string"},"document_uuid":{"description":"Unique document identifier.","format":"uuid","title":"Document Uuid","type":"string"},"filing_category":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filing category. E.g., `First Day`, `Motion` etc.","title":"Filing Category"},"filing_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"The filing's number on the docket; null where the court did not give one. The first filing of the case will have a filing_number of 1.","title":"Filing Number"},"filing_party":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filing party. E.g., `Committee` `Debtor`, `Trustee` etc.","title":"Filing Party"},"filing_purpose":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"What the filing is for, e.g. `DIP Financing`. Determined by the filing type, so it is never set independently of it.","title":"Filing Purpose"},"filing_type":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filing type. E.g., `Complaint`, `DIP Financing Motion`,`Notice` etc.","title":"Filing Type"},"industry":{"$ref":"#/components/schemas/Industry"},"judges":{"description":"Judges assigned to the case.","items":{"type":"string"},"title":"Judges","type":"array"},"venue":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Venue (court) where the docket is filed.","title":"Venue"}},"required":["document_uuid","document_title","date_filed","company","filing_type","filing_party","filing_purpose","filing_category","case_type","judges","venue","industry","filing_number","case_uuid","document_number"],"title":"DocketsFilingListItem","type":"object"},"DocketsFilingsResponse":{"description":"Cursor-paginated list of docket filings.","properties":{"items":{"description":"Filings that match the provided filter criteria.","items":{"$ref":"#/components/schemas/DocketsFilingListItem"},"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":"DocketsFilingsResponse","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"},"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"},"Industry":{"description":"A company's industry classification.","properties":{"l2":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Level-2 industry name.","title":"L2"}},"required":["l2"],"title":"Industry","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"},"LinkedCase":{"description":"Another docket case related to the one being returned.","properties":{"type":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The linked case's type, e.g. `Bankruptcy` or `Adversary`.","title":"Type"},"uuid":{"description":"Linked case unique identifier.","format":"uuid","title":"Uuid","type":"string"}},"required":["uuid","type"],"title":"LinkedCase","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"},"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"},"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"},"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"},"situation_types":{"description":"Situation types. E.g., `Exchange Offer`, `Out-of-Court Restructuring`","items":{"type":"string"},"title":"Situation 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"},"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","status","trigger","keywords","situation_types","jurisdictions","currency","pre_gross_debt","post_gross_debt","process_initiation_date","process_conclusion_date","sponsors","creditors","advisors","industry","created_at","updated_at"],"title":"Restructuring","type":"object"},"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"},"Sponsor":{"description":"Sponsor on the event.","properties":{"name":{"description":"Sponsor name.","title":"Name","type":"string"}},"required":["name"],"title":"Sponsor","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"}},"securitySchemes":{"HTTPBearer":{"bearerFormat":"JWT","scheme":"bearer","type":"http"}}},"info":{"title":"9fin Distressed API","version":"0.1.11"},"openapi":"3.1.0","paths":{"/v0/distressed/dip":{"get":{"description":"List Debtor-in-possession (DIP) financing.\n\nDIP financing terms for Chapter 11 cases. Each item is one facility. Join to\n`/v0/distressed/restructurings` on `restructuring_uuid`, or GET\n`/v0/distressed/restructurings/{restructuring_uuid}` for a single event.","operationId":"list_dip_financings_v0_distressed_dip_get","parameters":[{"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 uuid where the value is equal to the given value.","in":"query","name":"uuid__eq","required":false,"schema":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"default":null,"description":"Filter uuid where the value is equal to the given value.","title":"Uuid  Eq"}},{"description":"Filter uuid where the value is not equal to the given value.","in":"query","name":"uuid__neq","required":false,"schema":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"default":null,"description":"Filter uuid where the value is not equal to the given value.","title":"Uuid  Neq"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DipResponse"}}},"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)."}},"security":[{"HTTPBearer":[]}],"summary":"List DIP financings","tags":["Debtor-in-Possession (DIP)"]}},"/v0/distressed/dockets/cases":{"get":{"description":"List case records for Chapter 11s and Chapter 15s.","operationId":"list_dockets_cases_v0_distressed_dockets_cases_get","parameters":[{"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"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocketsCasesResponse"}}},"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)."}},"security":[{"HTTPBearer":[]}],"summary":"List cases","tags":["Dockets"]}},"/v0/distressed/dockets/cases/{case_uuid}":{"get":{"description":"Get a docket case.\n\nA single docket case in the same shape as an item on `/v0/distressed/dockets/cases`. Addressed by `uuid`.","operationId":"get_dockets_case_v0_distressed_dockets_cases__case_uuid__get","parameters":[{"description":"Docket case identifier.","in":"path","name":"case_uuid","required":true,"schema":{"description":"Docket case identifier.","format":"uuid","title":"Case Uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocketsCaseListItem"}}},"description":"Successful Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request (e.g. invalid cursor)."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Case not found."},"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)."}},"security":[{"HTTPBearer":[]}],"summary":"Get a case","tags":["Dockets"]}},"/v0/distressed/dockets/filings":{"get":{"description":"List docket filings.\n\nFiling records for the Chapter 11 and Chapter 15 cases. Join to `/v0/distressed/dockets/cases`\non `case_uuid`, or GET `/v0/distressed/dockets/cases/{case_uuid}` for a single case.\n\nIn the response, the `filing_number` denotes the order of the filing entry within the case, and the\n`document_number` denotes the order of the document within the filing entry. The main document is\ntypically 1, with attachments numbered 2, 3, and so on.","operationId":"list_dockets_filings_v0_distressed_dockets_filings_get","parameters":[{"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"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocketsFilingsResponse"}}},"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)."}},"security":[{"HTTPBearer":[]}],"summary":"List filings","tags":["Dockets"]}},"/v0/distressed/fees":{"get":{"description":"List advisor fees.\n\nProfessional fee data for US Chapter 11 cases, covering advisor role, party represented, venue,\nand fees requested vs. approved. Join to `/v0/distressed/restructurings` on\n`restructuring_uuid` for a single event.","operationId":"list_advisor_fees_v0_distressed_fees_get","parameters":[{"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 uuid where the value is equal to the given value.","in":"query","name":"uuid__eq","required":false,"schema":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"default":null,"description":"Filter uuid where the value is equal to the given value.","title":"Uuid  Eq"}},{"description":"Filter uuid where the value is not equal to the given value.","in":"query","name":"uuid__neq","required":false,"schema":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"default":null,"description":"Filter uuid where the value is not equal to the given value.","title":"Uuid  Neq"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdvisorFeeResponse"}}},"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)."}},"security":[{"HTTPBearer":[]}],"summary":"List advisor fees","tags":["Fees"]}},"/v0/distressed/restructurings":{"get":{"description":"List restructurings.\n\nRestructuring and liability management data covering events, advisors by role, creditors, and\npre- and post-event debt.","operationId":"list_restructuring_v0_distressed_restructurings_get","parameters":[{"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"}}],"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)."}},"security":[{"HTTPBearer":[]}],"summary":"List restructurings","tags":["Restructuring"]}},"/v0/distressed/restructurings/{restructuring_uuid}":{"get":{"description":"Get a restructuring event.\n\nA single event in the same shape as an item on `/v0/distressed/restructurings`. Docket cases,\nDIP financing and advisor fees join back here on `restructuring_uuid`.","operationId":"get_restructuring_v0_distressed_restructurings__restructuring_uuid__get","parameters":[{"description":"The `uuid` of the restructuring event.","in":"path","name":"restructuring_uuid","required":true,"schema":{"description":"The `uuid` of the restructuring event.","format":"uuid","title":"Restructuring Uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Restructuring"}}},"description":"Successful Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Bad request (e.g. invalid cursor)."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"No object exists with the requested identifier."},"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)."}},"security":[{"HTTPBearer":[]}],"summary":"Get a restructuring","tags":["Restructuring"]}}}}
```
