v1

latestOpenAPI 3.0.32026-07-26231418.5 KB
Runtimes

Register a runtime harness

post/api/runtime-harnesses

Request body

api_basestring
api_keystring

Example request

{
  "api_base": "http://opencode:8080",
  "api_key": "local-opencode-key"
}

Response

Runtime registered

Example response

{
  "harnesses": [
    {
      "alias": "local-opencode",
      "api_spec": "claude_managed_agents",
      "display_name": "local-opencode",
      "api_base": "http://opencode:8080"
    }
  ]
}