Skip to content

API Overview

All API endpoints require authentication via X-API-Key header or Authorization: Bearer <jwt>.

Base URL: http://localhost:9090

Health Check

GET /healthz

No authentication required.

Core Endpoints

MethodPathDescription
POST/v1/chatSend a chat message
POST/v1/chat/streamStream chat response (SSE)
GET/v1/skillsList available skills
GET/v1/versionAgent version info
GET/v1/metricsUsage metrics
GET/v1/modelsList configured models

Memory

MethodPathDescription
GET/v1/memory/statsMemory layer statistics
GET/v1/memory/searchSearch memories
POST/v1/memory/addAdd a memory entry

Knowledge Base

MethodPathDescription
GET/v1/knowledge/searchHybrid search (BM25 + vector)
GET/v1/knowledge/sourcesList knowledge sources
POST/v1/knowledge/ingestIngest a document
POST/v1/knowledge/uploadUpload a file

Sessions

MethodPathDescription
GET/v1/sessionsList sessions
DELETE/v1/sessions/:idDelete a session

Audit

MethodPathDescription
GET/v1/audit/tailRecent audit records
GET/v1/audit/verifyVerify Merkle chain integrity
GET/v1/audit/statsAudit statistics

Cron Jobs

MethodPathDescription
GET/v1/cron/listList scheduled jobs
POST/v1/cron/addCreate a cron job
POST/v1/cron/run/:idManually trigger a job

© 2025 云鸢科技(青岛)有限公司 × Dream Lab