Skip to main content

Authentication

All API requests need to carry the API Key in the header:
API Keys can be created and managed in Workspace Settings → API Key Management.

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

Dialog request example

Request parameters

SDK