Skip to content

REST API ​

The kompile-server exposes ~100+ REST endpoints. This page lists the major endpoint groups.

Chat ​

MethodEndpointDescription
POST/api/chatSend a chat message
POST/api/chat/streamStreaming chat (SSE)
MethodEndpointDescription
POST/api/retriever/searchDirect vector search (bypass LLM)
POST/api/graph-rag/searchGraph-augmented retrieval

Crawl and ingestion ​

MethodEndpointDescription
POST/api/crawlers/startStart a crawl job
GET/api/crawlers/jobs/{jobId}Job status
POST/api/crawlers/jobs/{jobId}/pausePause a job
POST/api/crawlers/jobs/{jobId}/resumeResume a job
POST/api/crawlers/jobs/{jobId}/cancelCancel a job
POST/api/unified-crawl/startMulti-source crawl with graph extraction

Agents ​

MethodEndpointDescription
POST/api/agents/chat/streamAgent chat with streaming
GET/api/agents/passthrough/*Interactive agent terminal
GET/api/agents/api-configAgent API configurations
GET/api/react-agentReAct agent configuration
GET/api/agents/diagnosticAgent diagnostic state

A2A (Agent-to-Agent) ​

MethodEndpointDescription
GET/.well-known/agent-card.jsonAgent card discovery
POST/a2aA2A task submission
POST/a2a/streamA2A streaming
GET/api/a2aA2A management

Knowledge graph ​

MethodEndpointDescription
GET/api/graph-extractionGraph extraction configuration
GET/api/graph-extraction/modelsExtraction model providers

Fact sheets ​

MethodEndpointDescription
GET/api/fact-sheetsList fact sheets
POST/api/fact-sheetsCreate a fact sheet
POST/api/fact-sheets/{id}/deriveAuto-derive facts

Skills and prompts ​

MethodEndpointDescription
GET/api/skillsList skills
POST/api/skillsCreate a skill
GET/api/promptsList prompt templates
POST/api/promptsCreate a template
POST/api/prompts/{name}/renderRender a template

MCP ​

MethodEndpointDescription
GET/mcp/sseMCP SSE transport
GET/api/mcpMCP server configuration

Configuration ​

MethodEndpointDescription
GET/api/config/k-appApplication config
POST/api/auto-configure/applyAuto-detect hardware and apply settings
GET/api/auto-configure/detectPreview auto-config changes
POST/api/config-archives/exportExport config archive
POST/api/config-archives/importImport config archive
GET/api/nd4j/environmentND4J runtime config

Setup and projects ​

MethodEndpointDescription
GET/api/setup/statusSetup wizard state
GET/api/projects/currentCurrent project manifest

Guardrails and evaluation ​

MethodEndpointDescription
GET/api/guardrailsGuardrail status
POST/api/guardrails/toggleToggle a guardrail
GET/api/evaluationEvaluation configuration
GET/api/experimentsExperiments

Code indexer ​

MethodEndpointDescription
GET/api/code-indexerCode indexer status
POST/api/code-indexer/indexTrigger indexing
POST/api/code-indexer/searchCode search

KV cache ​

MethodEndpointDescription
GET/api/kvcacheList caches
POST/api/kvcacheCreate a cache
GET/api/kvcache/{id}Get cache details
DELETE/api/kvcache/{id}Delete a cache
GET/api/kvcache/{id}/statsCache statistics
POST/api/kvcache/{id}/checkpointCreate a checkpoint
POST/api/kvcache/{id}/prefixPrefix cache lookup

VLM (Vision-Language Models) ​

MethodEndpointDescription
GET/api/vlm/modelsList VLM model sets
POST/api/vlm/models/downloadDownload a model set
GET/api/vlm/configVLM pipeline configuration
POST/api/vlm/configUpdate pipeline config
POST/api/vlm/testRun VLM test workflow
GET/api/vlm-orchestrationOrchestration state
POST/api/vlm-orchestration/resetReset orchestration

SDX model serving ​

MethodEndpointDescription
GET/api/sdxList loaded models
POST/api/sdx/loadLoad a model
POST/api/sdx/unloadUnload a model
POST/api/sdx/invokeRun inference
GET/api/sdx/{model}/schemaModel input/output schema

Backup ​

MethodEndpointDescription
POST/api/backupTrigger a backup
GET/api/backupList backups
GET/api/backup/{name}Download a backup
POST/api/backup/{name}/restoreRestore from backup
DELETE/api/backup/{name}Delete a backup
POST/api/backup/cleanupClean old backups

Benchmark ​

MethodEndpointDescription
GET/api/benchmarkList benchmark configs
POST/api/benchmarkCreate a benchmark config
POST/api/benchmark/runRun a benchmark
POST/api/benchmark/matrixRun a matrix benchmark
GET/api/benchmark/resultsGet benchmark results
POST/api/benchmark/apply-optimalApply optimal config

Process and workflows ​

MethodEndpointDescription
POST/api/process/diagrams/generateGenerate process diagram (streaming)
POST/api/process/diagramsCreate a diagram session
GET/api/process/diagrams/{id}Get diagram session
POST/api/process/diagrams/{id}/finalizeFinalize a diagram
DELETE/api/process/diagrams/{id}Delete a diagram session
POST/api/process/diagrams/{id}/bpmnRender BPMN preview

Released under the Apache-2.0 License.