> ## Documentation Index
> Fetch the complete documentation index at: https://v2.opencode.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# API Reference

> OpenCode HTTP API.

The endpoint reference is generated from the current OpenCode V2 [OpenAPI specification](/openapi.json).
