DorkOS
ApiCapabilities

Get runtime capabilities

Returns capabilities for all registered runtimes, keyed by type string, along with the default runtime type.

GET
/api/capabilities

Response Body

application/json

curl -X GET "http://localhost:4242/api/capabilities"
{
  "capabilities": {
    "property1": {
      "type": "string",
      "supportsToolApproval": true,
      "supportsCostTracking": true,
      "supportsResume": true,
      "supportsMcp": true,
      "supportsQuestionPrompt": true,
      "supportsPlugins": true,
      "permissionModes": {
        "supported": true,
        "values": [
          {
            "id": "string",
            "label": "string",
            "description": "string"
          }
        ]
      },
      "features": {
        "property1": null,
        "property2": null
      }
    },
    "property2": {
      "type": "string",
      "supportsToolApproval": true,
      "supportsCostTracking": true,
      "supportsResume": true,
      "supportsMcp": true,
      "supportsQuestionPrompt": true,
      "supportsPlugins": true,
      "permissionModes": {
        "supported": true,
        "values": [
          {
            "id": "string",
            "label": "string",
            "description": "string"
          }
        ]
      },
      "features": {
        "property1": null,
        "property2": null
      }
    }
  },
  "defaultRuntime": "string"
}