Resources · API Reference

API Reference

Complete reference for every OpenQCore endpoint, grouped by runtime surface and execution layer.

API Catalog

A fast execution-oriented index. Detailed technical behavior lives in each dedicated API page.

Authentication

POST /auth/login
POST /auth/refresh

Authentication, API keys, scope management, and access control.

[View Authentication Docs]

API Keys

POST /api-keys
GET /api-keys
POST /api-keys/{key_id}/revoke
POST /api-keys/{key_id}/disable

Create, list, revoke, and disable personal API keys used for non-interactive authentication.

View API Keys Reference →

Chat Runtime

GET /chat/health
POST /chat/completions

Core conversational execution, streaming, persistence, and runtime controls.

[View Chat API]

Chat Sessions & Messages

POST /sessions
GET /sessions
GET /sessions/{session_id}/messages
PATCH /sessions/{session_id}
DELETE /sessions/{session_id}
GET /messages/{message_id}
PATCH /messages/{message_id}
GET /messages/{message_id}/history
POST /messages/{message_id}/undo
DELETE /messages/{message_id}

Create, list, rename, pin/star, and delete chat sessions; edit a message with tracked history, undo the last edit, or delete a message.

View Sessions & Messages API →

Voice Runtime

POST /voice/chat
POST /voice/chat/meta
POST /voice/interrupt/{session_id}
WS /voice/ws

Realtime STT, LLM, TTS, interruption handling, and streaming audio.

[View Voice API]

Iris Multimodal

POST /iris/generate
POST /iris/video
POST /iris/ocr
POST /iris/verify

Image, video, OCR, and multimodal workflows.

[View Iris API]

Knowledge

GET /console/knowledge
POST /console/knowledge
POST /console/knowledge/upload
POST /console/knowledge/ask
PATCH /console/knowledge/{id}
DELETE /console/knowledge/{id}

Knowledge ingestion, retrieval, and retrieval-augmented execution.

[View Knowledge API]

Archive

POST /archive/units
GET /archive/units
GET /archive/units/{unit_id}
PATCH /archive/units/{unit_id}
DELETE /archive/units/{unit_id}

Create, list, retrieve, update, and delete archived knowledge units scoped to a user or workspace.

View Archive API →

Runtime Headers

Quick reference for required headers across runtime surfaces.

HeaderRequired
Authorization
X-API-Key
Alternative to Authorization
X-Scope-Type
X-Workspace-ID
Workspace Only
X-Agent-ID
Optional

Response Codes

Common operational response classes.

CodeMeaning
200Success
400Bad Request
401Unauthorized
403Forbidden
409Lock Conflict
422Validation Error
429Rate Limited
503Overloaded

Platform Statistics

A high-level operational snapshot.

37

Endpoints

4

Runtime Surfaces

8

Provider Integrations

Unified

Output Contract

Dual

Streaming + Non-Streaming