Programmatic way to get all API endpoints for my instance?

The api docs are in the OpenAPI format?

https://docs.discourse.org/openapi.json

{
  "openapi": "3.1.0",
  "info": {
    "title": "Discourse API Documentation",
    "x-logo": {
      "url": "https://docs.discourse.org/logo.svg"
    },
    "version": "latest",
...
5 Likes