Export complete agent architecture
GET /api/agents/architecture/export
Return a machine-readable snapshot of the declarative architecture.
Consumed by docs generators, diagram tools, and archival/backup tooling.
Responses
Section titled “ Responses ”Successful Response
Complete declarative architecture snapshot returned by /export.
Shape mirrors AgentArchitectureManager.export_architecture() exactly so downstream tools (docs generators, diagram tools, audits) can depend on it.
object
Architecture schema version
ISO timestamp of export generation
Agent counts by type
object
Background agents
Active agents
Hybrid agents
Total agents
Declarative agent metadata keyed by agent ID
object
Single agent row inside an architecture export.
Distinct from AgentStatusInfo (runtime monitoring): this describes the declarative architecture entry — type, category, priority, startup and permission flags — rather than live health.
object
Display name
Operational type (background/active/hybrid/divine)
Functional category
Priority bracket
Agent purpose summary
Starts automatically on boot
Appears in UI
May mutate system state
Startup dependencies