1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//! API request handlers.
//!
//! This module contains all HTTP request handlers organized by functionality.
/// Admin tenant management handlers.
// cordis Phase6: explicit path allows both admin.rs and admin/mod.rs to coexist (E0761 bypass)
/// Agent listing and info handlers.
/// Authentication handlers (login, register).
/// Chat and streaming handlers.
/// Conversation CRUD handlers.
/// Deployment automation handlers.
/// Document-upload trigger handlers.
/// Field-change trigger handlers.
/// Loop-mode agent lifecycle handlers (start/list/stop).
/// RAG (document ingestion/search) handlers.
/// Research coordination handlers.
/// Skills discovery handlers — runtime-gated via SkillsService check (was feature-gated).
/// User-created agent management handlers.
/// V1 API key-authenticated tenant-scoped handlers.
// cordis Phase6: explicit path allows both v1.rs and v1/mod.rs to coexist
/// Workflow execution handlers.
/// Cordis health_context handler — State with Context proof (shim phase).
/// Runtime-gated via PostgresService check (was feature-gated).