Answer: You get opencode server info by calling the GET /api/info endpoint, which returns the server identity, connection URLs, paths, and readiness status. Status: Confirmed Entry: tool/opencode/integrations/server-info-endpoint Revision: 3 Digest: sha256:468714ceb5a0f3f5 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:55:28Z Last changed: 2026-11-18T13:37:54Z (Response type: — → ServerInfo) Last verified: 2026-11-20T13:44:15Z Next check: 2026-11-21T13:44:15Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Endpoint | /api/info | [1] | 2026-11-20 Operation ID | server.info | [1] | 2026-11-20 Success status | 200 | [1] | 2026-11-20 Response type | ServerInfo | [1] | 2026-11-20 Sources: [1] opencode. "API | OpenCode". https://opencode.ai/docs/api Role: primary. Accessed: 2026-11-20T13:44:15Z Quote: "Server get /api/info Get server info" (Supports: Endpoint) Quote: "Operation ID server.info" (Supports: Operation ID) Quote: "200 ServerInfo ServerInfo" (Supports: Success status, Response type) Snapshot SHA-256: c91807bd273f8c1b4e42b17b65a46d3e17fc5565dd7e358171b7afe48cf0de5c (captured 2026-11-18T13:37:54Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-18T13:37:54Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:44:15Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:44:15Z Last attempt: 2026-11-20T13:44:15Z Notes and limitations: Extracted automatically from a single official source (section "Server"). Related: https://latestn.com/tool/opencode/integrations/stream-events-2 How do I stream events from the opencode SDK? https://latestn.com/tool/opencode/integrations/stream-events-effect How do I stream events from opencode using the Effect SDK? https://latestn.com/tool/opencode/integrations/subscribe-rpc-events How do I subscribe to RPC events in an opencode Effect plugin? https://latestn.com/tool/opencode/integrations/replace-plugin-entrypoint How do I replace the entrypoint when porting an opencode V1 plugin to V2? https://latestn.com/tool/opencode/integrations/rpc-schema-validation How do I validate RPC input and output schemas in opencode Effect plugins? https://latestn.com/tool/opencode/integrations/run-opencode-as-acp-agent-in-zed How do I run opencode as an ACP agent in Zed? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-18T13:37:54Z | changed | Response type: — → ServerInfo | [1] 2026-11-18T13:37:54Z | changed | Returns: server identity, connection URLs, paths, and readiness status → — | [1] 2026-11-18T13:37:54Z | changed | Description: Get server info → — | [1] 2026-11-17T14:10:07Z | changed | Operation ID: — → server.info | [1] 2026-11-17T14:10:07Z | changed | Success status: — → 200 | [1] 2026-11-17T14:10:07Z | changed | Returns: — → server identity, connection URLs, paths, and readiness status | [1] 2026-11-17T14:10:07Z | changed | Description: — → Get server info | [1] 2026-11-17T14:10:07Z | changed | Endpoint: — → /api/info | [1] 2026-11-17T14:10:07Z | changed | returned data: server identity, connection URLs, paths, and readiness status → — | [1] 2026-11-17T14:10:07Z | changed | response type: ServerInfo → — | [1] 2026-11-17T14:10:07Z | changed | success status: 200 → — | [1] 2026-11-17T14:10:07Z | changed | operation ID: server.info → — | [1] 2026-11-17T14:10:07Z | changed | endpoint: /api/info → — | [1] 2026-11-13T03:55:28Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/opencode/integrations/server-info-endpoint/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/opencode/integrations/server-info-endpoint POST: https://latestn.com/dispute/tool/opencode/integrations/server-info-endpoint with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/opencode/integrations/server-info-endpoint?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I get opencode server info via the API? Revision 3, last verified 2026-11-20T13:44:15Z. https://latestn.com/tool/opencode/integrations/server-info-endpoint (accessed 2026-11-21T09:52:30Z). @misc{LatestN_tool_opencode_integrations_server_info_endpoint_r3, title = {How do I get opencode server info via the API?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/opencode/integrations/server-info-endpoint}}, note = {Revision 3; digest sha256:468714ceb5a0f3f5; last verified 2026-11-20T13:44:15Z; accessed 2026-11-21T09:52:30Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/opencode/integrations/server-info-endpoint