Subsequent Events - Additional Information (Details) - USD ($) $ in Thousands |
9 Months Ended | 12 Months Ended | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Mar. 02, 2026 |
Feb. 23, 2026 |
Feb. 02, 2026 |
Jan. 01, 2026 |
Nov. 24, 2025 |
May 06, 2025 |
Dec. 31, 2022 |
Dec. 31, 2025 |
Dec. 31, 2024 |
Dec. 31, 2023 |
Jan. 29, 2026 |
Oct. 24, 2024 |
|||||
| Subsequent Event [Line Items] | ||||||||||||||||
| Outstanding letters of credit | $ 8,535,000 | $ 4,155,000 | ||||||||||||||
| Issuance of shares | 0 | 165,369,775 | 129,127,517 | 62,177,994 | ||||||||||||
| Net Long-Term Capital Gains | $ 1,355 | $ 5,253 | ||||||||||||||
| Internal Revenue Service (IRS) | ||||||||||||||||
| Subsequent Event [Line Items] | ||||||||||||||||
| Percentage of designated distributions from net investment income, Interest-related dividends | 88.77% | |||||||||||||||
| Percentage of designated dividends paid from net investment taxable income | 97.27% | |||||||||||||||
| Net Long-Term Capital Gains | $ 1,355,282 | |||||||||||||||
| Short-term capital gain dividends | 1,257,747 | |||||||||||||||
| MS Revolving Credit Facility | ||||||||||||||||
| Subsequent Event [Line Items] | ||||||||||||||||
| Outstanding letters of credit | 2,000,000 | [1] | $ 2,000,000 | [1] | $ 2,000,000 | |||||||||||
| 2031 Notes | ||||||||||||||||
| Subsequent Event [Line Items] | ||||||||||||||||
| Redeemable notes, principal amount | $ 500,000 | 500,000 | ||||||||||||||
| Redeemable notes, interest rate percentage | 5.875% | |||||||||||||||
| Debt instrument, Maturity date, Description | The 2031 Notes bear interest at a rate of 5.875% per year, payable semi-annually, commencing on July 31, 2026. The 2031 Notes will mature on January 31, 2031 and may be redeemed in whole or in part at the Company’s option at any time or from time to time at the redemption prices set forth in the indenture. | |||||||||||||||
| 2028 Notes | ||||||||||||||||
| Subsequent Event [Line Items] | ||||||||||||||||
| Redeemable notes, principal amount | $ 400,000 | $ 400,000 | ||||||||||||||
| Redeemable notes, interest rate percentage | 5.875% | |||||||||||||||
| Debt instrument, Maturity date, Description | The 2028 Notes bear interest at a rate of 5.875% per year, payable semi-annually, commencing on November 6, 2025. The 2028 Notes will mature on May 6, 2028 and may be redeemed in whole or in part at the Company’s option at any time or from time to time at the redemption prices set forth in the indenture. | |||||||||||||||
| Subsequent Events | ||||||||||||||||
| Subsequent Event [Line Items] | ||||||||||||||||
| Proceeds from issuance of Common Shares | $ 35,154 | $ 308,843 | ||||||||||||||
| Issuance of shares | 22,794,095 | 12,358,659 | ||||||||||||||
| Subsequent Events | Class I | ||||||||||||||||
| Subsequent Event [Line Items] | ||||||||||||||||
| Proceeds from issuance of Common Shares | $ 161,982 | |||||||||||||||
| Subsequent Events | Class S | ||||||||||||||||
| Subsequent Event [Line Items] | ||||||||||||||||
| Proceeds from issuance of Common Shares | 1,999 | $ 100 | ||||||||||||||
| Issuance of shares | 4,011 | |||||||||||||||
| Subsequent Events | Class D | ||||||||||||||||
| Subsequent Event [Line Items] | ||||||||||||||||
| Proceeds from issuance of Common Shares | 300 | |||||||||||||||
| Subsequent Events | Affiliated Entity | ||||||||||||||||
| Subsequent Event [Line Items] | ||||||||||||||||
| Proceeds from issuance of Common Shares | $ 46,492 | $ 568,257 | $ 95,351 | |||||||||||||
| Subsequent Events | MS Revolving Credit Facility | Minimum | ||||||||||||||||
| Subsequent Event [Line Items] | ||||||||||||||||
| Outstanding letters of credit | $ 2,000,000 | |||||||||||||||
| Subsequent Events | MS Revolving Credit Facility | Maximum | ||||||||||||||||
| Subsequent Event [Line Items] | ||||||||||||||||
| Outstanding letters of credit | $ 2,400,000 | |||||||||||||||
| Subsequent Events | 2031 Notes | ||||||||||||||||
| Subsequent Event [Line Items] | ||||||||||||||||
| Redeemable notes, principal amount | $ 400,000 | |||||||||||||||
| Redeemable notes, interest rate percentage | 5.875% | |||||||||||||||
| Subsequent Events | 2028 Notes | ||||||||||||||||
| Subsequent Event [Line Items] | ||||||||||||||||
| Redeemable notes, principal amount | $ 700,000 | |||||||||||||||
| Redeemable notes, interest rate percentage | 5.05% | |||||||||||||||
| Debt instrument, Maturity date, Description | The February 2028 Notes bear interest at the rate of 5.050% per annum, payable semi-annually in arrears on February 23 and August 23 of each year, commencing on August 23, 2026. The February 2028 Notes will mature on February 23, 2028 and may be redeemed in whole or in part at our option at any time or from time to time at the redemption prices set forth in the indenture.In connection with the February 2028 Notes, the Company entered into an interest rate swap to more closely align the interest rates of the Company’s fixed rate liabilities with the investment portfolio, which predominately consists of floating rate loans. The Company designated this interest rate swap and the February 2028 in a qualifying fair value hedging relationship. | |||||||||||||||
| ||||||||||||||||