Authentication
All API requests need to carry the API Key in the header:Base URL
Core endpoint
-
POST /v1/chat/completions: Send conversation request, support knowledge base retrieval and streaming output -
GET /v1/models: Get the list of available models -
POST /v1/workflows/{workflow_id}/run: triggers the execution of the specified workflow -
POST /v1/knowledge-bases/{kb_id}/documents: Upload documents to the knowledge base -
POST /v1/knowledge-bases/{kb_id}/search: Query knowledge base search results