Aller au contenu

Forra REST API

The Forra backend exposes a REST API covering chat completion, assistants, conversations, skills, memories, vision, and more.

API Reference

The full API reference is auto-generated from the backend's pydantic models — every endpoint's request and response schemas reflect exactly what the server accepts and returns.

How the docs are generated

Each backend blueprint has its endpoints declared with @spec.validate(...) decorators that attach pydantic models for the request and response. A generator script dumps the OpenAPI spec and renders one markdown page per blueprint. The output is regenerated on every build.

Key capabilities

  • Assistants and conversations (CRUD, streaming chat completion)
  • Skills (global and assistant-scoped, upload, build-async)
  • Memories (user + assistant-scoped)
  • Vision (multimodal chat with image uploads)
  • Embeddings and search
  • Admin audit logs, marketplace templates, notifications

Authentication

Most endpoints require a JWT access token. See the /api/auth section (coming soon in the generated docs) for details.