0xmrpeter 7007ed3cec docs(gitbook): write all 8 content sections — complete documentation
Sections written:
- Getting Started (what-is-openacp, for-users, for-developers, for-contributors)
- Platform Setup (Telegram, Discord, Slack)
- Using OpenACP (commands, sessions, agents, permissions, voice, files)
- Self-Hosting (installation, configuration, daemon, security, logging, updating)
- Features (tunnel, context-resume, usage, persistence, handoff, doctor, assistant)
- Extending (plugin-system, building-adapters, adapter-reference, contributing)
- API Reference (CLI commands, REST API, config schema, env vars)
- Troubleshooting (Telegram, Discord, Slack, agent issues, FAQ)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 18:00:11 +07:00

793 B

API Reference

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

Section Contents
CLI Commands Every openacp subcommand: usage, options, examples
REST API HTTP endpoints exposed by the local API server
Configuration Schema Full ~/.openacp/config.json field 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.