# Overview

Complete reference for CLI commands, REST API, configuration schema, and environment variables.

| Section                                                                              | Contents                                             |
| ------------------------------------------------------------------------------------ | ---------------------------------------------------- |
| [CLI Commands](https://docs.openacp.ai/api-reference/cli-commands)                   | Every `openacp` subcommand: usage, options, examples |
| [REST API](https://docs.openacp.ai/api-reference/rest-api)                           | HTTP endpoints exposed by the local API server       |
| [Configuration Schema](https://docs.openacp.ai/api-reference/configuration-schema)   | Full `~/.openacp/config.json` field reference        |
| [Environment Variables](https://docs.openacp.ai/api-reference/environment-variables) | `OPENACP_*` env vars and their config equivalents    |

The REST API listens on `http://127.0.0.1:21420` by default (configurable via `api.port` / `api.host`). All authenticated endpoints require a Bearer token read from `~/.openacp/api-secret`. The CLI reads this file automatically; external clients must read it explicitly.
