API Index
cliproxyapi++ exposes three practical API surfaces: client-compatible runtime APIs, management APIs, and operational APIs.
Audience Guidance
- Application teams: start with OpenAI-Compatible API.
- Platform ops/SRE: add Operations API checks.
- Admin tooling: use Management API with strict access control.
1) OpenAI-Compatible API (/v1/*)
Common endpoints:
POST /v1/chat/completionsPOST /v1/completionsGET /v1/modelsPOST /v1/responsesGET /v1/responses(websocket bootstrap path)
Use when integrating existing OpenAI-style clients with minimal client changes.
2) Management API (/v0/management/*)
Use for runtime administration, config/auth inspection, and service controls.
Important: if remote-management.secret-key is empty, this surface is disabled.
3) Operations API
Operational endpoints include health and metrics surfaces used for monitoring and triage.
GET /healthGET /v1/metrics/providers
Quick Curl Starter
bash
# OpenAI-compatible request
curl -sS -X POST http://localhost:8317/v1/chat/completions \
-H "Authorization: Bearer <client-api-key>" \
-H "Content-Type: application/json" \
-d '{"model":"claude-3-5-sonnet","messages":[{"role":"user","content":"hello"}]}'