OpenCode.Generated.OpencodeExperimentalHttpApi (opencode_sdk v0.1.81)

Copy Markdown View Source

Provides API endpoints related to opencode experimental http api

Summary

Functions

List v2 agents

Check v2 server health

Types

v2_agent_list_200_json_resp()

@type v2_agent_list_200_json_resp() :: %{
  data: [OpenCode.Generated.AgentV2Info.t()],
  location: OpenCode.Generated.LocationInfo.t()
}

v2_health_get_200_json_resp()

@type v2_health_get_200_json_resp() :: %{healthy: true}

Functions

v2_agent_list(opts \\ [])

List v2 agents

Retrieve currently registered v2 agents.

Options

  • location

v2_health_get(opts \\ [])

Check v2 server health

Check whether the v2 API server is ready to accept requests.