Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

OpenAPI Specifications

Complete OpenAPI 3.0 specifications for all OctoLLM services.

Available Specifications

Core Services

Arm Services

Interactive Documentation

When running services locally, interactive API documentation is available:

Orchestrator:

  • Swagger UI: http://localhost:8000/docs
  • ReDoc: http://localhost:8000/redoc

Reflex Layer:

  • Swagger UI: http://localhost:8001/docs
  • ReDoc: http://localhost:8001/redoc

YAML Specifications

Raw OpenAPI YAML files are available in the repository:

docs/api/openapi/
├── orchestrator.yaml
├── reflex-layer.yaml
├── planner.yaml
├── executor.yaml
├── retriever.yaml
├── coder.yaml
├── judge.yaml
└── safety-guardian.yaml

Generating Client SDKs

Use OpenAPI Generator to create client SDKs:

# Python SDK
openapi-generator-cli generate \
  -i docs/api/openapi/orchestrator.yaml \
  -g python \
  -o clients/python

# TypeScript SDK
openapi-generator-cli generate \
  -i docs/api/openapi/orchestrator.yaml \
  -g typescript-axios \
  -o clients/typescript

See Also