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"
    }
  ]
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.