{
  "openapi": "3.1.0",
  "info": {
    "title": "Akasha instance HTTP API",
    "version": "source-snapshot",
    "description": "Source-derived registration inventory. Dynamic JSON and custom serde wire forms are explicitly unconstrained; x-source and handler excerpts are authoritative. Not a production reachability certification."
  },
  "servers": [
    {
      "url": "http://localhost:8080",
      "description": "Default direct daemon listener; use your provisioned instance URL."
    }
  ],
  "paths": {
    "/admin/services/enable": {
      "post": {
        "operationId": "post_admin_services_enable",
        "summary": "Admin API: Enable service(s) at runtime (hot-loading)",
        "tags": [
          "administration"
        ],
        "description": "Admin middleware: source IP allowlist and x-akasha-admin-token; see authentication. Instance owner credentials alone do not grant daemon-global administration.\nRegistration: always registered.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 9983
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4333
        },
        "x-registration-condition": "always registered",
        "x-runtime-service": null,
        "x-auth-policy": "Admin middleware: source IP allowlist and x-akasha-admin-token; see authentication. Instance owner credentials alone do not grant daemon-global administration.",
        "x-handler-signature": "async fn admin_enable_service(\n    State(state): State<AppState>,\n    ConnectInfo(client_addr): ConnectInfo<SocketAddr>,\n    Json(req): Json<EnableServiceRequest>,\n) -> Result<Json<EnableServiceResponse>, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          },
          "200": {
            "description": "Typed JSON success response (handler may use other explicit status codes listed in the source reference).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EnableServiceResponse_fd991cc"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EnableServiceRequest_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "EnableServiceResponse {\n        success: failed.is_empty(),\n        updates,\n        failed_services: failed,\n    }",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 10084
            }
          }
        ],
        "security": [
          {
            "adminToken": []
          }
        ],
        "x-implementation-notes": []
      }
    },
    "/admin/services/disable": {
      "post": {
        "operationId": "post_admin_services_disable",
        "summary": "Admin API: Disable service(s) at runtime",
        "tags": [
          "administration"
        ],
        "description": "Admin middleware: source IP allowlist and x-akasha-admin-token; see authentication. Instance owner credentials alone do not grant daemon-global administration.\nRegistration: always registered.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 10128
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4334
        },
        "x-registration-condition": "always registered",
        "x-runtime-service": null,
        "x-auth-policy": "Admin middleware: source IP allowlist and x-akasha-admin-token; see authentication. Instance owner credentials alone do not grant daemon-global administration.",
        "x-handler-signature": "async fn admin_disable_service(\n    State(state): State<AppState>,\n    ConnectInfo(client_addr): ConnectInfo<SocketAddr>,\n    Json(req): Json<DisableServiceRequest>,\n) -> Result<Json<DisableServiceResponse>, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          },
          "200": {
            "description": "Typed JSON success response (handler may use other explicit status codes listed in the source reference).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DisableServiceResponse_fd991cc"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DisableServiceRequest_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "DisableServiceResponse {\n        success: failed.is_empty(),\n        updates,\n        failed_services: failed,\n    }",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 10232
            }
          }
        ],
        "security": [
          {
            "adminToken": []
          }
        ],
        "x-implementation-notes": []
      }
    },
    "/admin/services/status": {
      "get": {
        "operationId": "get_admin_services_status",
        "summary": "Admin API: Get current service status",
        "tags": [
          "administration"
        ],
        "description": "Admin middleware: source IP allowlist and x-akasha-admin-token; see authentication. Instance owner credentials alone do not grant daemon-global administration.\nRegistration: always registered.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 10092
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4335
        },
        "x-registration-condition": "always registered",
        "x-runtime-service": null,
        "x-auth-policy": "Admin middleware: source IP allowlist and x-akasha-admin-token; see authentication. Instance owner credentials alone do not grant daemon-global administration.",
        "x-handler-signature": "async fn admin_service_status(\n    State(state): State<AppState>,\n    ConnectInfo(client_addr): ConnectInfo<SocketAddr>,\n) -> Result<Json<ServiceStatusResponse>, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          },
          "200": {
            "description": "Typed JSON success response (handler may use other explicit status codes listed in the source reference).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ServiceStatusResponse_fd991cc"
                }
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "ServiceStatusResponse { services }",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 10124
            }
          }
        ],
        "security": [
          {
            "adminToken": []
          }
        ],
        "x-implementation-notes": []
      }
    },
    "/health/live": {
      "get": {
        "operationId": "get_health_live",
        "summary": "Health live",
        "tags": [
          "operations"
        ],
        "description": "Global credential bypass. Configured HTTPS enforcement still applies.\nRegistration: always registered.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2187
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4342
        },
        "x-registration-condition": "always registered",
        "x-runtime-service": null,
        "x-auth-policy": "Global credential bypass. Configured HTTPS enforcement still applies.",
        "x-handler-signature": "async fn health_live() -> impl IntoResponse",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "HealthResponse { status: \"ok\" }",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 2188
            }
          }
        ],
        "security": [],
        "x-implementation-notes": []
      }
    },
    "/health/ready": {
      "get": {
        "operationId": "get_health_ready",
        "summary": "Health ready",
        "tags": [
          "operations"
        ],
        "description": "Global credential bypass. Configured HTTPS enforcement still applies.\nRegistration: always registered.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2190
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4343
        },
        "x-registration-condition": "always registered",
        "x-runtime-service": null,
        "x-auth-policy": "Global credential bypass. Configured HTTPS enforcement still applies.",
        "x-handler-signature": "async fn health_ready(State(state): State<AppState>) -> impl IntoResponse",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "HealthResponse { status }",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 2197
            }
          }
        ],
        "security": [],
        "x-implementation-notes": []
      }
    },
    "/health/startup": {
      "get": {
        "operationId": "get_health_startup",
        "summary": "Health startup",
        "tags": [
          "operations"
        ],
        "description": "Global credential bypass. Configured HTTPS enforcement still applies.\nRegistration: always registered.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 10317
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4344
        },
        "x-registration-condition": "always registered",
        "x-runtime-service": null,
        "x-auth-policy": "Global credential bypass. Configured HTTPS enforcement still applies.",
        "x-handler-signature": "async fn health_startup(\n    State(state): State<AppState>,\n) -> Result<Json<serde_json::Value>, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          },
          "200": {
            "description": "Typed JSON success response (handler may use other explicit status codes listed in the source reference).",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Arbitrary JSON; constrained further by handler logic.",
                  "x-rust-type": "serde_json::Value"
                }
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\n        \"status\": \"ok\",\n        \"services\": services\n    })",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 10335
            }
          }
        ],
        "security": [],
        "x-implementation-notes": []
      }
    },
    "/v1/health/live": {
      "get": {
        "operationId": "get_v1_health_live",
        "summary": "Health live",
        "tags": [
          "operations"
        ],
        "description": "Global credential bypass. Configured HTTPS enforcement still applies.\nRegistration: always registered.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2187
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4345
        },
        "x-registration-condition": "always registered",
        "x-runtime-service": null,
        "x-auth-policy": "Global credential bypass. Configured HTTPS enforcement still applies.",
        "x-handler-signature": "async fn health_live() -> impl IntoResponse",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "HealthResponse { status: \"ok\" }",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 2188
            }
          }
        ],
        "security": [],
        "x-implementation-notes": []
      }
    },
    "/v1/health/ready": {
      "get": {
        "operationId": "get_v1_health_ready",
        "summary": "Health ready",
        "tags": [
          "operations"
        ],
        "description": "Global credential bypass. Configured HTTPS enforcement still applies.\nRegistration: always registered.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2190
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4346
        },
        "x-registration-condition": "always registered",
        "x-runtime-service": null,
        "x-auth-policy": "Global credential bypass. Configured HTTPS enforcement still applies.",
        "x-handler-signature": "async fn health_ready(State(state): State<AppState>) -> impl IntoResponse",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "HealthResponse { status }",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 2197
            }
          }
        ],
        "security": [],
        "x-implementation-notes": []
      }
    },
    "/v1/health/startup": {
      "get": {
        "operationId": "get_v1_health_startup",
        "summary": "Health startup",
        "tags": [
          "operations"
        ],
        "description": "Global credential bypass. Configured HTTPS enforcement still applies.\nRegistration: always registered.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 10317
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4347
        },
        "x-registration-condition": "always registered",
        "x-runtime-service": null,
        "x-auth-policy": "Global credential bypass. Configured HTTPS enforcement still applies.",
        "x-handler-signature": "async fn health_startup(\n    State(state): State<AppState>,\n) -> Result<Json<serde_json::Value>, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          },
          "200": {
            "description": "Typed JSON success response (handler may use other explicit status codes listed in the source reference).",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Arbitrary JSON; constrained further by handler logic.",
                  "x-rust-type": "serde_json::Value"
                }
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\n        \"status\": \"ok\",\n        \"services\": services\n    })",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 10335
            }
          }
        ],
        "security": [],
        "x-implementation-notes": []
      }
    },
    "/v1/kv/health": {
      "get": {
        "operationId": "get_v1_kv_health",
        "summary": "Kv health",
        "tags": [
          "operations"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: always registered.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3277
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4348
        },
        "x-registration-condition": "always registered",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn kv_health(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "report",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 3286
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/kv/consistency": {
      "get": {
        "operationId": "get_v1_kv_consistency",
        "summary": "Kv consistency",
        "tags": [
          "key-value"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: always registered.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3289
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4349
        },
        "x-registration-condition": "always registered",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn kv_consistency(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "report",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 3302
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/metrics": {
      "get": {
        "operationId": "get_metrics",
        "summary": "Metrics",
        "tags": [
          "operations"
        ],
        "description": "Global credential bypass. Configured HTTPS enforcement still applies.\nRegistration: always registered.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2170
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4350
        },
        "x-registration-condition": "always registered",
        "x-runtime-service": null,
        "x-auth-policy": "Global credential bypass. Configured HTTPS enforcement still applies.",
        "x-handler-signature": "async fn metrics(state: State<AppState>) -> Response",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [],
        "security": [],
        "x-implementation-notes": []
      }
    },
    "/v1/cognitive/health": {
      "get": {
        "operationId": "get_v1_cognitive_health",
        "summary": "Cognitive health",
        "tags": [
          "cognitive-cycle"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: always registered.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 10309
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4354
        },
        "x-registration-condition": "always registered",
        "x-runtime-service": "cognitive",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn cognitive_health(State(state): State<AppState>) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/system/info": {
      "get": {
        "operationId": "get_v1_system_info",
        "summary": "System info",
        "tags": [
          "operations"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: always registered.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 10425
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4358
        },
        "x-registration-condition": "always registered",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn system_info(State(state): State<AppState>) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\n        \"version\": env!(\"CARGO_PKG_VERSION\"),\n        \"uptime\": uptime_secs,\n        \"build\": \"release\"\n    })",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 10428
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/lifecycle/status": {
      "get": {
        "operationId": "get_v1_lifecycle_status",
        "summary": "Lifecycle status",
        "tags": [
          "operations"
        ],
        "description": "Global credential bypass. Configured HTTPS enforcement still applies.\nRegistration: always registered.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2200
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4359
        },
        "x-registration-condition": "always registered",
        "x-runtime-service": null,
        "x-auth-policy": "Global credential bypass. Configured HTTPS enforcement still applies.",
        "x-handler-signature": "async fn lifecycle_status(State(state): State<AppState>) -> impl IntoResponse",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "state.lifecycle.status()",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 2201
            }
          }
        ],
        "security": [],
        "x-implementation-notes": []
      }
    },
    "/v1/health/all": {
      "get": {
        "operationId": "get_v1_health_all",
        "summary": "Health all",
        "tags": [
          "operations"
        ],
        "description": "Global credential bypass. Configured HTTPS enforcement still applies.\nRegistration: always registered.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 10436
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4360
        },
        "x-registration-condition": "always registered",
        "x-runtime-service": null,
        "x-auth-policy": "Global credential bypass. Configured HTTPS enforcement still applies.",
        "x-handler-signature": "async fn health_all(State(state): State<AppState>) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\n        \"status\": status,\n        \"checks\": checks,\n        \"latencyMs\": latency_ms,\n        \"timestamp\": chrono::Utc::now().to_rfc3339()\n    })",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 10471
            }
          }
        ],
        "security": [],
        "x-implementation-notes": []
      }
    },
    "/v1/conductor/endpoints": {
      "get": {
        "operationId": "get_v1_conductor_endpoints",
        "summary": "Conductor endpoints",
        "tags": [
          "operations"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: always registered.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 11302
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4361
        },
        "x-registration-condition": "always registered",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn conductor_endpoints(\n    State(state): State<AppState>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"endpoints\": paths, \"total\": paths.len()}),",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 11397
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/cambium/projections": {
      "post": {
        "operationId": "post_v1_cambium_projections",
        "summary": "Cambium projection ingest",
        "tags": [
          "cambium"
        ],
        "description": "Global auth bypass; this handler performs Cambium-specific caller authentication.\nRegistration: always registered.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/cambium.rs",
          "line": 259
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4362
        },
        "x-registration-condition": "always registered",
        "x-runtime-service": null,
        "x-auth-policy": "Global auth bypass; this handler performs Cambium-specific caller authentication.",
        "x-handler-signature": "async fn cambium_projection_ingest(\n    State(state): State<AppState>,\n    headers: HeaderMap,\n    Json(envelope): Json<CambiumProjectionEnvelope>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CambiumProjectionEnvelope_8af6dfb"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "json!({\n            \"accepted\": true,\n            \"projectionId\": summary.projection_id,\n            \"projectionClass\": summary.projection_class,\n            \"sourceEventId\": summary.source_event_id,\n            \"akashaNamespace\": summary.akasha_namespace\n        })",
            "source": {
              "file": "akasha-daemon/src/cambium.rs",
              "line": 268
            }
          }
        ],
        "security": [
          {
            "bearer": []
          }
        ],
        "x-implementation-notes": []
      }
    },
    "/v1/advice/tools:rank": {
      "post": {
        "operationId": "post_v1_advice_tools_rank",
        "summary": "Cambium tool advisor rank",
        "tags": [
          "cambium"
        ],
        "description": "Global auth bypass; this handler performs Cambium-specific caller authentication.\nRegistration: always registered.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/cambium.rs",
          "line": 278
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4366
        },
        "x-registration-condition": "always registered",
        "x-runtime-service": null,
        "x-auth-policy": "Global auth bypass; this handler performs Cambium-specific caller authentication.",
        "x-handler-signature": "async fn cambium_tool_advisor_rank(\n    State(state): State<AppState>,\n    headers: HeaderMap,\n    Json(req): Json<ToolAdvisorRankRequest>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ToolAdvisorRankRequest_8af6dfb"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "json!({\n        \"recommendationId\": format!(\"akasha_tool_advisor_{}\", sanitize_identifier(&req.source_event_id)),\n        \"taskClass\": req.task_class,\n        \"taskIntent\": req.task_intent,\n        \"sourceEventId\": req.source_event_id,\n        \"runId\": req.run_id,\n        \"scope\": req.scope,\n        \"rankedTools\": ranked_tools,\n        \"evidenceRefs\": event_projections\n            .iter()\n            .flat_map(|projection| projection.evidence_refs.clone())\n            .chain(std::iter::once(req.source_event_id))\n            .collect::<Vec<_>>(),\n        \"policy\": {\n            \"sourceRef\": req.policy_source_ref.unwrap_or_else(|| \"akasha://policy/default\".to_string()),\n            \"deniedTools\": denied_tools\n        }\n    })",
            "source": {
              "file": "akasha-daemon/src/cambium.rs",
              "line": 352
            }
          }
        ],
        "security": [
          {
            "bearer": []
          }
        ],
        "x-implementation-notes": []
      }
    },
    "/v1/cognitive/cycles": {
      "post": {
        "operationId": "post_v1_cognitive_cycles",
        "summary": "Cognitive cycle trigger",
        "tags": [
          "cognitive-cycle"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: always registered.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 10618
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4374
        },
        "x-registration-condition": "always registered",
        "x-runtime-service": "cognitive",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn cognitive_cycle_trigger(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Extension(authority): Extension<RequestAuthority>,\n    Json(req): Json<CognitiveRunCycleReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CognitiveRunCycleReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "cognitive_cycle_record_json(id, record)?",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 10645
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      },
      "get": {
        "operationId": "get_v1_cognitive_cycles",
        "summary": "Cognitive cycle list",
        "tags": [
          "cognitive-cycle"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: always registered.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 10648
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4374
        },
        "x-registration-condition": "always registered",
        "x-runtime-service": "cognitive",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn cognitive_cycle_list(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Extension(authority): Extension<RequestAuthority>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\n        \"cycles\": history.cycles,\n        \"total\": total,\n        \"corruption\": history.corruption,\n    })",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 10658
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/cognitive/cycles/{id}": {
      "get": {
        "operationId": "get_v1_cognitive_cycles_id",
        "summary": "Cognitive cycle get",
        "tags": [
          "cognitive-cycle"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: always registered.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 10665
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4378
        },
        "x-registration-condition": "always registered",
        "x-runtime-service": "cognitive",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn cognitive_cycle_get(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Extension(authority): Extension<RequestAuthority>,\n    Path(id): Path<String>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "x-response-expressions": [
          {
            "expression": "cognitive_cycle_record_json(id, record)?",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 10685
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/cognitive/config": {
      "get": {
        "operationId": "get_v1_cognitive_config",
        "summary": "Cognitive config get",
        "tags": [
          "cognitive-cycle"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require_operator_control().\nRegistration: always registered.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 10688
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4379
        },
        "x-registration-condition": "always registered",
        "x-runtime-service": "cognitive",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require_operator_control().",
        "x-handler-signature": "async fn cognitive_config_get(\n    State(state): State<AppState>,\n    Extension(authority): Extension<RequestAuthority>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "cfg.clone()",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 10695
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      },
      "put": {
        "operationId": "put_v1_cognitive_config",
        "summary": "Cognitive config update",
        "tags": [
          "cognitive-cycle"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require_operator_control().\nRegistration: always registered.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 10698
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4379
        },
        "x-registration-condition": "always registered",
        "x-runtime-service": "cognitive",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require_operator_control().",
        "x-handler-signature": "async fn cognitive_config_update(\n    State(state): State<AppState>,\n    Extension(authority): Extension<RequestAuthority>,\n    Json(body): Json<serde_json::Value>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "description": "Arbitrary JSON; constrained further by handler logic.",
                "x-rust-type": "serde_json::Value"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true, \"config\": *cfg})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 10707
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/cognitive/stats": {
      "get": {
        "operationId": "get_v1_cognitive_stats",
        "summary": "Cognitive stats",
        "tags": [
          "cognitive-cycle"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: always registered.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 10710
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4383
        },
        "x-registration-condition": "always registered",
        "x-runtime-service": "cognitive",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn cognitive_stats(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Extension(authority): Extension<RequestAuthority>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\n        \"totalCycles\": total,\n        \"completedCycles\": completed,\n        \"failedCycles\": 0,\n        \"averageDurationMs\": if completed == 0 {\n            0\n        } else {\n            total_duration_ms / completed as u64\n        },\n        \"lastCycleAt\": history.cycles.first()\n            .and_then(|c| c.get(\"completedAt\"))\n            .and_then(|v| v.as_str())\n            .unwrap_or(\"\"),\n        \"corruption\": history.corruption,\n    })",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 10730
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/working-memory/slots": {
      "get": {
        "operationId": "get_v1_working_memory_slots",
        "summary": "Working memory slots list",
        "tags": [
          "working-memory"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require(CoreAction::Read, Some(request_authority::MEMORY_WORKING)); require_matching_db(&db).\nRegistration: always registered.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 10931
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4384
        },
        "x-registration-condition": "always registered",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require(CoreAction::Read, Some(request_authority::MEMORY_WORKING)); require_matching_db(&db).",
        "x-handler-signature": "async fn working_memory_slots_list(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Extension(authority): Extension<RequestAuthority>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"slots\": entries, \"count\": entries.len()}),",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 10948
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/working-memory/config": {
      "get": {
        "operationId": "get_v1_working_memory_config",
        "summary": "Working memory config get",
        "tags": [
          "working-memory"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require_operator_control().\nRegistration: always registered.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 10953
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4385
        },
        "x-registration-condition": "always registered",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require_operator_control().",
        "x-handler-signature": "async fn working_memory_config_get(\n    State(state): State<AppState>,\n    Extension(authority): Extension<RequestAuthority>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "cfg.clone()",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 10960
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      },
      "put": {
        "operationId": "put_v1_working_memory_config",
        "summary": "Working memory config update",
        "tags": [
          "working-memory"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require_operator_control().\nRegistration: always registered.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 10963
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4385
        },
        "x-registration-condition": "always registered",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require_operator_control().",
        "x-handler-signature": "async fn working_memory_config_update(\n    State(state): State<AppState>,\n    Extension(authority): Extension<RequestAuthority>,\n    Json(body): Json<serde_json::Value>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "description": "Arbitrary JSON; constrained further by handler logic.",
                "x-rust-type": "serde_json::Value"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true, \"config\": config})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 10975
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/working-memory/stats": {
      "get": {
        "operationId": "get_v1_working_memory_stats",
        "summary": "Working memory stats",
        "tags": [
          "working-memory"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require(CoreAction::Read, Some(request_authority::MEMORY_WORKING)); require_matching_db(&db).\nRegistration: always registered.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 10978
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4389
        },
        "x-registration-condition": "always registered",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require(CoreAction::Read, Some(request_authority::MEMORY_WORKING)); require_matching_db(&db).",
        "x-handler-signature": "async fn working_memory_stats(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Extension(authority): Extension<RequestAuthority>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\n        \"slotCount\": slot_count,\n        \"capacity\": capacity,\n        \"utilizationPct\": if capacity > 0 {\n            (slot_count as f64 / capacity as f64 * 100.0).round()\n        } else {\n            0.0\n        }\n    })",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 10993
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/working-memory/slots/clear": {
      "post": {
        "operationId": "post_v1_working_memory_slots_clear",
        "summary": "Working memory slots clear",
        "tags": [
          "working-memory"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require(CoreAction::Delete, Some(request_authority::MEMORY_WORKING)); require_matching_db(&db).\nRegistration: always registered.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 11009
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4390
        },
        "x-registration-condition": "always registered",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require(CoreAction::Delete, Some(request_authority::MEMORY_WORKING)); require_matching_db(&db).",
        "x-handler-signature": "async fn working_memory_slots_clear(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Extension(authority): Extension<RequestAuthority>,\n    Json(req): Json<WmSlotClearReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WmSlotClearReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true, \"removed\": existed})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 11034
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/working-memory/slots/inject": {
      "post": {
        "operationId": "post_v1_working_memory_slots_inject",
        "summary": "Working memory slots inject",
        "tags": [
          "working-memory"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require(CoreAction::Write, Some(request_authority::MEMORY_WORKING)); require_matching_db(&db).\nRegistration: always registered.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 11043
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4394
        },
        "x-registration-condition": "always registered",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require(CoreAction::Write, Some(request_authority::MEMORY_WORKING)); require_matching_db(&db).",
        "x-handler-signature": "async fn working_memory_slots_inject(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Extension(authority): Extension<RequestAuthority>,\n    Json(req): Json<WmSlotInjectReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WmSlotInjectReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true, \"id\": req.id})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 11092
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/text/chunk": {
      "post": {
        "operationId": "post_v1_text_chunk",
        "summary": "Chunk text",
        "tags": [
          "text-chunking"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: always registered.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2796
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4401
        },
        "x-registration-condition": "always registered",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn chunk_text(\n    State(state): State<AppState>,\n    Json(req): Json<ChunkTextRequest>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChunkTextRequest_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\n        \"chunks\": chunks,\n        \"total\": chunks.len(),\n        \"config\": chunker.config(),\n    })",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 2807
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/text/chunk/config": {
      "get": {
        "operationId": "get_v1_text_chunk_config",
        "summary": "Chunk config",
        "tags": [
          "text-chunking"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: always registered.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2814
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4402
        },
        "x-registration-condition": "always registered",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn chunk_config(State(state): State<AppState>) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\n        \"config\": state.chunker.config(),\n    })",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 2816
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/analytics/sql": {
      "post": {
        "operationId": "post_v1_analytics_sql",
        "summary": "Analytics sql",
        "tags": [
          "analytics"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_analytics.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2210
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4407
        },
        "x-registration-condition": "config.enable_analytics",
        "x-runtime-service": "analytics",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn analytics_sql(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<SqlRequest>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SqlRequest_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"rows\": rows})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 2221
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/analytics/sources/csv": {
      "post": {
        "operationId": "post_v1_analytics_sources_csv",
        "summary": "Analytics register csv",
        "tags": [
          "analytics"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_analytics.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3850
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4408
        },
        "x-registration-condition": "config.enable_analytics",
        "x-runtime-service": "analytics",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn analytics_register_csv(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<AnalyticsSourceCsv>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AnalyticsSourceCsv_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 3859
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/analytics/sources/parquet": {
      "post": {
        "operationId": "post_v1_analytics_sources_parquet",
        "summary": "Analytics register parquet",
        "tags": [
          "analytics"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_analytics.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3868
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4409
        },
        "x-registration-condition": "config.enable_analytics",
        "x-runtime-service": "analytics",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn analytics_register_parquet(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<AnalyticsSourceParquet>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AnalyticsSourceParquet_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 3877
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/analytics/sources/core": {
      "post": {
        "operationId": "post_v1_analytics_sources_core",
        "summary": "Analytics register core",
        "tags": [
          "analytics"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_analytics.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3887
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4413
        },
        "x-registration-condition": "config.enable_analytics",
        "x-runtime-service": "analytics",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn analytics_register_core(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<AnalyticsSourceCore>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AnalyticsSourceCore_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 3896
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/ingest": {
      "post": {
        "operationId": "post_v1_ingest",
        "summary": "Ingest data",
        "tags": [
          "analytics"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_analytics.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2243
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4414
        },
        "x-registration-condition": "config.enable_analytics",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn ingest_data(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<IngestRequest>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IngestRequest_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::to_value(out).unwrap_or(serde_json::json!({})),",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 2260
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/analytics/health": {
      "get": {
        "operationId": "get_v1_analytics_health",
        "summary": "Analytics health",
        "tags": [
          "analytics"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_analytics.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 10281
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4415
        },
        "x-registration-condition": "config.enable_analytics",
        "x-runtime-service": "analytics",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn analytics_health(State(state): State<AppState>) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/analytics/views": {
      "get": {
        "operationId": "get_v1_analytics_views",
        "summary": "Analytics views list",
        "tags": [
          "analytics"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_analytics.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 11255
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4416
        },
        "x-registration-condition": "config.enable_analytics",
        "x-runtime-service": "analytics",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn analytics_views_list(\n    State(state): State<AppState>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"views\": entries, \"total\": entries.len()}),",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 11264
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      },
      "post": {
        "operationId": "post_v1_analytics_views",
        "summary": "Analytics views create",
        "tags": [
          "analytics"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_analytics.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 11275
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4416
        },
        "x-registration-condition": "config.enable_analytics",
        "x-runtime-service": "analytics",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn analytics_views_create(\n    State(state): State<AppState>,\n    Json(req): Json<AnalyticsViewCreateReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AnalyticsViewCreateReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true, \"name\": req.name})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 11282
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/analytics/views/{name}": {
      "delete": {
        "operationId": "delete_v1_analytics_views_name",
        "summary": "Analytics views delete",
        "tags": [
          "analytics"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_analytics.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 11285
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4420
        },
        "x-registration-condition": "config.enable_analytics",
        "x-runtime-service": "analytics",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn analytics_views_delete(\n    State(state): State<AppState>,\n    Path(name): Path<String>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true, \"removed\": name})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 11298
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/graph/cypher": {
      "post": {
        "operationId": "post_v1_graph_cypher",
        "summary": "Graph cypher",
        "tags": [
          "knowledge-graph"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_graph.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2292
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4426
        },
        "x-registration-condition": "config.enable_graph",
        "x-runtime-service": "graph",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn graph_cypher(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<CypherRequest>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CypherRequest_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"rows\": rows})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 2303
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/graph/cypher-lite": {
      "post": {
        "operationId": "post_v1_graph_cypher_lite",
        "summary": "Graph cypher lite",
        "tags": [
          "knowledge-graph"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_graph.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2306
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4427
        },
        "x-registration-condition": "config.enable_graph",
        "x-runtime-service": "graph",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn graph_cypher_lite(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<CypherLiteRequest>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CypherLiteRequest_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"rows\": rows})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 2351
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/graph/index/ensure/property": {
      "post": {
        "operationId": "post_v1_graph_index_ensure_property",
        "summary": "Graph index ensure property",
        "tags": [
          "knowledge-graph"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_graph.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2369
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4428
        },
        "x-registration-condition": "config.enable_graph",
        "x-runtime-service": "graph",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn graph_index_ensure_property(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<EnsurePropertyIndexRequest>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EnsurePropertyIndexRequest_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 2378
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/graph/index/ensure/composite": {
      "post": {
        "operationId": "post_v1_graph_index_ensure_composite",
        "summary": "Graph index ensure composite",
        "tags": [
          "knowledge-graph"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_graph.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2386
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4432
        },
        "x-registration-condition": "config.enable_graph",
        "x-runtime-service": "graph",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn graph_index_ensure_composite(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<EnsureCompositeIndexRequest>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EnsureCompositeIndexRequest_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 2396
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/graph/index/stats": {
      "get": {
        "operationId": "get_v1_graph_index_stats",
        "summary": "Graph index stats",
        "tags": [
          "knowledge-graph"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_graph.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2399
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4436
        },
        "x-registration-condition": "config.enable_graph",
        "x-runtime-service": "graph",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn graph_index_stats(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "stats",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 2408
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/graph/fulltext/search": {
      "post": {
        "operationId": "post_v1_graph_fulltext_search",
        "summary": "Graph fulltext search",
        "tags": [
          "knowledge-graph"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_graph.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2417
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4437
        },
        "x-registration-condition": "config.enable_graph",
        "x-runtime-service": "graph",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn graph_fulltext_search(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<GraphFulltextRequest>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GraphFulltextRequest_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"rows\": rows})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 2428
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/graph/subdomain/query": {
      "post": {
        "operationId": "post_v1_graph_subdomain_query",
        "summary": "Graph subdomain query",
        "tags": [
          "knowledge-graph"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_graph.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2459
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4438
        },
        "x-registration-condition": "config.enable_graph",
        "x-runtime-service": "graph",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn graph_subdomain_query(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<SubdomainQueryReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SubdomainQueryReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"rows\": rows})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 2469
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/graph/alg/pagerank": {
      "post": {
        "operationId": "post_v1_graph_alg_pagerank",
        "summary": "Graph pagerank",
        "tags": [
          "knowledge-graph"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_graph.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2477
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4439
        },
        "x-registration-condition": "config.enable_graph",
        "x-runtime-service": "graph",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn graph_pagerank(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<PagerankRequest>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PagerankRequest_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "r",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 2488
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/graph/alg/shortest_path": {
      "post": {
        "operationId": "post_v1_graph_alg_shortest_path",
        "summary": "Graph shortest path",
        "tags": [
          "knowledge-graph"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_graph.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2497
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4440
        },
        "x-registration-condition": "config.enable_graph",
        "x-runtime-service": "graph",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn graph_shortest_path(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<ShortestPathRequest>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ShortestPathRequest_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "r",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 2512
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/graph/alg/components": {
      "post": {
        "operationId": "post_v1_graph_alg_components",
        "summary": "Graph components",
        "tags": [
          "knowledge-graph"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_graph.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2520
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4441
        },
        "x-registration-condition": "config.enable_graph",
        "x-runtime-service": "graph",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn graph_components(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<ComponentsRequest>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ComponentsRequest_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"communities\": serde_json::to_value(&r).unwrap_or_default()}),",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 2530
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/graph/microtheory/switch": {
      "post": {
        "operationId": "post_v1_graph_microtheory_switch",
        "summary": "Graph microtheory switch",
        "tags": [
          "knowledge-graph"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_graph.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2540
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4442
        },
        "x-registration-condition": "config.enable_graph",
        "x-runtime-service": "graph",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn graph_microtheory_switch(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<MicrotheorySwitchRequest>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MicrotheorySwitchRequest_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true, \"keyspace\": keyspace})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 2550
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/graph/microtheory/keyspace": {
      "post": {
        "operationId": "post_v1_graph_microtheory_keyspace",
        "summary": "Graph microtheory keyspace",
        "tags": [
          "knowledge-graph"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_graph.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2558
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4446
        },
        "x-registration-condition": "config.enable_graph",
        "x-runtime-service": "graph",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn graph_microtheory_keyspace(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<MicrotheoryKeyspaceRequest>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MicrotheoryKeyspaceRequest_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true, \"keyspace\": keyspace})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 2569
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/graph/tx/begin": {
      "post": {
        "operationId": "post_v1_graph_tx_begin",
        "summary": "Graph tx begin",
        "tags": [
          "knowledge-graph"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_graph.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 9565
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4450
        },
        "x-registration-condition": "config.enable_graph",
        "x-runtime-service": "graph",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn graph_tx_begin(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"tx_id\": id.to_string()})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 9580
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/graph/tx/commit": {
      "post": {
        "operationId": "post_v1_graph_tx_commit",
        "summary": "Graph tx commit",
        "tags": [
          "knowledge-graph"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_graph.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 9583
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4451
        },
        "x-registration-condition": "config.enable_graph",
        "x-runtime-service": "graph",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn graph_tx_commit(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<GraphTxIdReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GraphTxIdReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 9599
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/graph/tx/rollback": {
      "post": {
        "operationId": "post_v1_graph_tx_rollback",
        "summary": "Graph tx rollback",
        "tags": [
          "knowledge-graph"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_graph.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 9602
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4452
        },
        "x-registration-condition": "config.enable_graph",
        "x-runtime-service": "graph",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn graph_tx_rollback(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<GraphTxIdReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GraphTxIdReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 9618
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/graph/schema": {
      "get": {
        "operationId": "get_v1_graph_schema",
        "summary": "Graph schema metadata",
        "tags": [
          "knowledge-graph"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_graph.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2431
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4453
        },
        "x-registration-condition": "config.enable_graph",
        "x-runtime-service": "graph",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn graph_schema_metadata(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "metadata",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 2447
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/graph/health": {
      "get": {
        "operationId": "get_v1_graph_health",
        "summary": "Graph health",
        "tags": [
          "knowledge-graph"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_graph.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 10285
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4454
        },
        "x-registration-condition": "config.enable_graph",
        "x-runtime-service": "graph",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn graph_health(State(state): State<AppState>) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/snn/network/build": {
      "post": {
        "operationId": "post_v1_snn_network_build",
        "summary": "Snn build",
        "tags": [
          "spiking-networks"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require_scoped( CoreAction::Write, \"snn:write\", request_authority::MEMORY_SNN, ); require_scoped( CoreAction::Admin, \"snn:admin\", request_authority::MEMORY_SNN, ); require_matching_db(&scoped_db).\nRegistration: config.enable_snn.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 8975
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4463
        },
        "x-registration-condition": "config.enable_snn",
        "x-runtime-service": "snn",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require_scoped( CoreAction::Write, \"snn:write\", request_authority::MEMORY_SNN, ); require_scoped( CoreAction::Admin, \"snn:admin\", request_authority::MEMORY_SNN, ); require_matching_db(&scoped_db).",
        "x-handler-signature": "async fn snn_build(\n    State(state): State<AppState>,\n    Extension(scoped_db): Extension<Arc<AkashaDB>>,\n    Extension(authority): Extension<RequestAuthority>,\n    Json(req): Json<SnnBuildReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SnnBuildReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "response",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 9047
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/snn/network/compile": {
      "post": {
        "operationId": "post_v1_snn_network_compile",
        "summary": "Snn compile",
        "tags": [
          "spiking-networks"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require_scoped( CoreAction::Write, \"snn:write\", request_authority::MEMORY_SNN, ); require_scoped( CoreAction::Query, \"snn:execute\", request_authority::MEMORY_SNN, ); require_matching_db(&scoped_db).\nRegistration: config.enable_snn.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 9050
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4464
        },
        "x-registration-condition": "config.enable_snn",
        "x-runtime-service": "snn",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require_scoped( CoreAction::Write, \"snn:write\", request_authority::MEMORY_SNN, ); require_scoped( CoreAction::Query, \"snn:execute\", request_authority::MEMORY_SNN, ); require_matching_db(&scoped_db).",
        "x-handler-signature": "async fn snn_compile(\n    State(state): State<AppState>,\n    Extension(scoped_db): Extension<Arc<AkashaDB>>,\n    Extension(authority): Extension<RequestAuthority>,\n    Json(req): Json<SnnCompileReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SnnCompileReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "SnnCompileResponse {\n        compiled_id: req.network_id.clone(),\n        version: version.clone(),\n    }",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 9160
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/snn/network/step": {
      "post": {
        "operationId": "post_v1_snn_network_step",
        "summary": "Snn step",
        "tags": [
          "spiking-networks"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require_scoped( CoreAction::Query, \"snn:execute\", request_authority::MEMORY_SNN, ); require_matching_db(&scoped).\nRegistration: config.enable_snn.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 9166
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4465
        },
        "x-registration-condition": "config.enable_snn",
        "x-runtime-service": "snn",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require_scoped( CoreAction::Query, \"snn:execute\", request_authority::MEMORY_SNN, ); require_matching_db(&scoped).",
        "x-handler-signature": "async fn snn_step(\n    State(state): State<AppState>,\n    Extension(scoped): Extension<Arc<AkashaDB>>,\n    Extension(authority): Extension<RequestAuthority>,\n    Json(req): Json<SnnStepReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SnnStepReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "SnnStepResponse { output: result_vec }",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 9207
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/snn/train/bptt": {
      "post": {
        "operationId": "post_v1_snn_train_bptt",
        "summary": "Snn train bptt",
        "tags": [
          "spiking-networks"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require_scoped( CoreAction::Write, \"snn:train\", request_authority::MEMORY_SNN, ); require_matching_db(&scoped_db).\nRegistration: config.enable_snn.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 9210
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4466
        },
        "x-registration-condition": "config.enable_snn",
        "x-runtime-service": "snn",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require_scoped( CoreAction::Write, \"snn:train\", request_authority::MEMORY_SNN, ); require_matching_db(&scoped_db).",
        "x-handler-signature": "async fn snn_train_bptt(\n    State(state): State<AppState>,\n    Extension(scoped_db): Extension<Arc<AkashaDB>>,\n    Extension(authority): Extension<RequestAuthority>,\n    Json(req): Json<SnnTrainBpttReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SnnTrainBpttReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "SnnTrainBpttResponse {\n        network_id: req.network_id,\n        version,\n    }",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 9312
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": [
          "Placeholder training: constructs a trainer but does not run BPTT. Records placeholder completed metrics and saves a versioned spec; do not interpret success as learned weights."
        ]
      }
    },
    "/v1/snn/network/state": {
      "post": {
        "operationId": "post_v1_snn_network_state",
        "summary": "Snn state",
        "tags": [
          "spiking-networks"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require_scoped(CoreAction::Read, \"snn:read\", request_authority::MEMORY_SNN); require_matching_db(&scoped_db).\nRegistration: config.enable_snn.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 9318
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4467
        },
        "x-registration-condition": "config.enable_snn",
        "x-runtime-service": "snn",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require_scoped(CoreAction::Read, \"snn:read\", request_authority::MEMORY_SNN); require_matching_db(&scoped_db).",
        "x-handler-signature": "async fn snn_state(\n    State(state): State<AppState>,\n    Extension(scoped_db): Extension<Arc<AkashaDB>>,\n    Extension(authority): Extension<RequestAuthority>,\n    Json(req): Json<SnnStateReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SnnStateReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "SnnStateResponse {\n        namespace: req.namespace,\n        networks,\n    }",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 9353
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/snn/federation/register": {
      "post": {
        "operationId": "post_v1_snn_federation_register",
        "summary": "Snn federation register",
        "tags": [
          "spiking-networks"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_snn.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 9359
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4468
        },
        "x-registration-condition": "config.enable_snn",
        "x-runtime-service": "snn",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn snn_federation_register(\n    State(state): State<AppState>,\n    Json(req): Json<SnnFederationRegisterReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SnnFederationRegisterReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 9377
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/snn/federation/contribute": {
      "post": {
        "operationId": "post_v1_snn_federation_contribute",
        "summary": "Snn federation contribute",
        "tags": [
          "spiking-networks"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_snn.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 9380
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4469
        },
        "x-registration-condition": "config.enable_snn",
        "x-runtime-service": "snn",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn snn_federation_contribute(\n    State(state): State<AppState>,\n    Json(req): Json<SnnFederationContributeReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SnnFederationContributeReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::to_value(snapshot).unwrap_or_default()",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 9389
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/snn/federation/parameters": {
      "post": {
        "operationId": "post_v1_snn_federation_parameters",
        "summary": "Snn federation parameters",
        "tags": [
          "spiking-networks"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_snn.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 9392
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4473
        },
        "x-registration-condition": "config.enable_snn",
        "x-runtime-service": "snn",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn snn_federation_parameters(\n    State(state): State<AppState>,\n    Json(req): Json<SnnFederationTokenReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SnnFederationTokenReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::to_value(snapshot).unwrap_or_default()",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 9401
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/snn/federation/spike": {
      "post": {
        "operationId": "post_v1_snn_federation_spike",
        "summary": "Snn federation spike",
        "tags": [
          "spiking-networks"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_snn.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 9404
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4477
        },
        "x-registration-condition": "config.enable_snn",
        "x-runtime-service": "snn",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn snn_federation_spike(\n    State(state): State<AppState>,\n    Json(req): Json<SnnFederationSpikeReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SnnFederationSpikeReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 9413
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/snn/federation/capabilities": {
      "post": {
        "operationId": "post_v1_snn_federation_capabilities",
        "summary": "Snn federation capabilities",
        "tags": [
          "spiking-networks"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_snn.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 9416
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4478
        },
        "x-registration-condition": "config.enable_snn",
        "x-runtime-service": "snn",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn snn_federation_capabilities(\n    State(state): State<AppState>,\n    Json(req): Json<SnnFederationCapabilitiesReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SnnFederationCapabilitiesReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::to_value(list).unwrap_or_default()",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 9426
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/snn/federation/agent/update": {
      "post": {
        "operationId": "post_v1_snn_federation_agent_update",
        "summary": "Snn federation agent update",
        "tags": [
          "spiking-networks"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_snn.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 9429
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4482
        },
        "x-registration-condition": "config.enable_snn",
        "x-runtime-service": "snn",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn snn_federation_agent_update(\n    State(state): State<AppState>,\n    Json(req): Json<SnnFederationAgentUpdateReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SnnFederationAgentUpdateReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::to_value(updated).unwrap_or_default()",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 9443
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/snn/federation/agent/remove": {
      "post": {
        "operationId": "post_v1_snn_federation_agent_remove",
        "summary": "Snn federation agent remove",
        "tags": [
          "spiking-networks"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_snn.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 9446
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4486
        },
        "x-registration-condition": "config.enable_snn",
        "x-runtime-service": "snn",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn snn_federation_agent_remove(\n    State(state): State<AppState>,\n    Json(req): Json<SnnFederationAgentRemoveReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SnnFederationAgentRemoveReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 9455
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/snn/federation/spikes": {
      "post": {
        "operationId": "post_v1_snn_federation_spikes",
        "summary": "Snn federation spikes recent",
        "tags": [
          "spiking-networks"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_snn.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 9458
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4490
        },
        "x-registration-condition": "config.enable_snn",
        "x-runtime-service": "snn",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn snn_federation_spikes_recent(\n    State(state): State<AppState>,\n    Json(req): Json<SnnFederationTokenReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SnnFederationTokenReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::to_value(list).unwrap_or_default()",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 9468
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/snn/health": {
      "get": {
        "operationId": "get_v1_snn_health",
        "summary": "Snn health",
        "tags": [
          "spiking-networks"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_snn.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 10301
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4494
        },
        "x-registration-condition": "config.enable_snn",
        "x-runtime-service": "snn",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn snn_health(State(state): State<AppState>) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/snn/stats": {
      "get": {
        "operationId": "get_v1_snn_stats",
        "summary": "Snn stats",
        "tags": [
          "spiking-networks"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require_scoped(CoreAction::Read, \"snn:read\", request_authority::MEMORY_SNN); require_matching_db(&db).\nRegistration: config.enable_snn.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 11151
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4495
        },
        "x-registration-condition": "config.enable_snn",
        "x-runtime-service": "snn",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require_scoped(CoreAction::Read, \"snn:read\", request_authority::MEMORY_SNN); require_matching_db(&db).",
        "x-handler-signature": "async fn snn_stats(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Extension(authority): Extension<RequestAuthority>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\n        \"cacheHits\": metrics.cache_hits.get(),\n        \"cacheMisses\": metrics.cache_misses.get(),\n        \"cacheEvictions\": metrics.cache_evictions.get(),\n        \"loadFailures\": metrics.load_failures.get()\n    })",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 11160
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/snn/neurons": {
      "post": {
        "operationId": "post_v1_snn_neurons",
        "summary": "Snn neurons",
        "tags": [
          "spiking-networks"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require_scoped(CoreAction::Read, \"snn:read\", request_authority::MEMORY_SNN); require_matching_db(&db).\nRegistration: config.enable_snn.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 11173
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4496
        },
        "x-registration-condition": "config.enable_snn",
        "x-runtime-service": "snn",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require_scoped(CoreAction::Read, \"snn:read\", request_authority::MEMORY_SNN); require_matching_db(&db).",
        "x-handler-signature": "async fn snn_neurons(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Extension(authority): Extension<RequestAuthority>,\n    Json(req): Json<SnnNeuronsReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SnnNeuronsReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\n        \"networkId\": req.network_id,\n        \"neurons\": []\n    })",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 11184
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/ns/retrieve": {
      "post": {
        "operationId": "post_v1_ns_retrieve",
        "summary": "Ns retrieve",
        "tags": [
          "reasoning"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_neurosymbolic.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 9479
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4502
        },
        "x-registration-condition": "config.enable_neurosymbolic",
        "x-runtime-service": "neurosymbolic",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn ns_retrieve(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<NsRetrieveReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NsRetrieveReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "result",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 9505
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/ns/retrieve_with_mode": {
      "post": {
        "operationId": "post_v1_ns_retrieve_with_mode",
        "summary": "Ns retrieve with mode",
        "tags": [
          "reasoning"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_neurosymbolic.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 9508
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4503
        },
        "x-registration-condition": "config.enable_neurosymbolic",
        "x-runtime-service": "neurosymbolic",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn ns_retrieve_with_mode(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<NsRetrieveReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NsRetrieveReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "req",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 9513
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/ns/paths/find": {
      "post": {
        "operationId": "post_v1_ns_paths_find",
        "summary": "Ns paths find",
        "tags": [
          "reasoning"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_neurosymbolic.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 9522
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4504
        },
        "x-registration-condition": "config.enable_neurosymbolic",
        "x-runtime-service": "neurosymbolic",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn ns_paths_find(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<NsPathsFindReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NsPathsFindReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "r",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 9536
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/ns/prefetch/start": {
      "post": {
        "operationId": "post_v1_ns_prefetch_start",
        "summary": "Ns prefetch start",
        "tags": [
          "reasoning"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_neurosymbolic.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 9545
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4505
        },
        "x-registration-condition": "config.enable_neurosymbolic",
        "x-runtime-service": "neurosymbolic",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn ns_prefetch_start(\n    Json(_req): Json<NsPrefetchReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NsPrefetchReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 9548
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/ns/prefetch/stop": {
      "post": {
        "operationId": "post_v1_ns_prefetch_stop",
        "summary": "Ns prefetch stop",
        "tags": [
          "reasoning"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_neurosymbolic.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 9551
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4506
        },
        "x-registration-condition": "config.enable_neurosymbolic",
        "x-runtime-service": "neurosymbolic",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn ns_prefetch_stop() -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 9552
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/ns/cache/stats": {
      "get": {
        "operationId": "get_v1_ns_cache_stats",
        "summary": "Ns cache stats",
        "tags": [
          "reasoning"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_neurosymbolic.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 9555
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4507
        },
        "x-registration-condition": "config.enable_neurosymbolic",
        "x-runtime-service": "neurosymbolic",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn ns_cache_stats() -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"hit_rate\": 0.0})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 9556
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/ns/history": {
      "get": {
        "operationId": "get_v1_ns_history",
        "summary": "Ns history",
        "tags": [
          "reasoning"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_neurosymbolic.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 11191
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4508
        },
        "x-registration-condition": "config.enable_neurosymbolic",
        "x-runtime-service": "neurosymbolic",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn ns_history(State(state): State<AppState>) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!(entries)",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 11195
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/ns/rules": {
      "get": {
        "operationId": "get_v1_ns_rules",
        "summary": "Ns rules",
        "tags": [
          "reasoning"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_neurosymbolic.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 11198
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4509
        },
        "x-registration-condition": "config.enable_neurosymbolic",
        "x-runtime-service": "neurosymbolic",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn ns_rules(State(state): State<AppState>) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!([])",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 11200
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/ns/rules/toggle": {
      "post": {
        "operationId": "post_v1_ns_rules_toggle",
        "summary": "Ns rules toggle",
        "tags": [
          "reasoning"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_neurosymbolic.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 11211
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4510
        },
        "x-registration-condition": "config.enable_neurosymbolic",
        "x-runtime-service": "neurosymbolic",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn ns_rules_toggle(\n    State(state): State<AppState>,\n    Json(_req): Json<NsRuleToggleReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NsRuleToggleReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 11216
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/ns/stats": {
      "get": {
        "operationId": "get_v1_ns_stats",
        "summary": "Ns stats",
        "tags": [
          "reasoning"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_neurosymbolic.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 11219
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4511
        },
        "x-registration-condition": "config.enable_neurosymbolic",
        "x-runtime-service": "neurosymbolic",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn ns_stats(State(state): State<AppState>) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\n        \"totalQueries\": history.len(),\n        \"avgLatencyMs\": 0,\n        \"cacheHitRate\": 0.0,\n        \"activeRules\": 0\n    })",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 11222
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/continual/checkpoints/status": {
      "get": {
        "operationId": "get_v1_continual_checkpoints_status",
        "summary": "Continual checkpoint status",
        "tags": [
          "continual-learning"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_continual.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 9624
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4521
        },
        "x-registration-condition": "config.enable_continual",
        "x-runtime-service": "continual",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn continual_checkpoint_status() -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 9625
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": [
          "Acknowledgement-only implementation: returns {ok:true}; no checkpoint persistence, recovery, or component registration occurs in this handler."
        ]
      }
    },
    "/v1/continual/recover": {
      "post": {
        "operationId": "post_v1_continual_recover",
        "summary": "Continual recover",
        "tags": [
          "continual-learning"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_continual.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 9634
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4525
        },
        "x-registration-condition": "config.enable_continual",
        "x-runtime-service": "continual",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn continual_recover(\n    Json(_req): Json<ContinualRecoverReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ContinualRecoverReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 9637
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": [
          "Acknowledgement-only implementation: returns {ok:true}; no checkpoint persistence, recovery, or component registration occurs in this handler."
        ]
      }
    },
    "/v1/continual/components": {
      "post": {
        "operationId": "post_v1_continual_components",
        "summary": "Continual component register",
        "tags": [
          "continual-learning"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_continual.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 9646
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4526
        },
        "x-registration-condition": "config.enable_continual",
        "x-runtime-service": "continual",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn continual_component_register(\n    Json(_req): Json<ContinualComponentReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ContinualComponentReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 9649
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": [
          "Acknowledgement-only implementation: returns {ok:true}; no checkpoint persistence, recovery, or component registration occurs in this handler."
        ]
      }
    },
    "/v1/continual/components/delete": {
      "post": {
        "operationId": "post_v1_continual_components_delete",
        "summary": "Continual component unregister",
        "tags": [
          "continual-learning"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_continual.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 9651
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4530
        },
        "x-registration-condition": "config.enable_continual",
        "x-runtime-service": "continual",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn continual_component_unregister(\n    Json(_req): Json<ContinualComponentReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ContinualComponentReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 9654
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": [
          "Acknowledgement-only implementation: returns {ok:true}; no checkpoint persistence, recovery, or component registration occurs in this handler."
        ]
      }
    },
    "/v1/continual/task/new": {
      "post": {
        "operationId": "post_v1_continual_task_new",
        "summary": "Continual task new",
        "tags": [
          "continual-learning"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_continual.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 9665
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4535
        },
        "x-registration-condition": "config.enable_continual",
        "x-runtime-service": "continual",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn continual_task_new(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<ContinualTaskNewReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ContinualTaskNewReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::to_value(task_metadata).unwrap_or_default(),",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 9685
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/continual/task/train": {
      "post": {
        "operationId": "post_v1_continual_task_train",
        "summary": "Continual task train",
        "tags": [
          "continual-learning"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_continual.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 9696
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4536
        },
        "x-registration-condition": "config.enable_continual",
        "x-runtime-service": "continual",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn continual_task_train(\n    Extension(_db): Extension<Arc<AkashaDB>>,\n    State(state): State<AppState>,\n    Json(req): Json<ContinualTaskTrainReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ContinualTaskTrainReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::to_value(result).unwrap_or_default()",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 9710
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/continual/task/stats": {
      "post": {
        "operationId": "post_v1_continual_task_stats",
        "summary": "Continual task stats",
        "tags": [
          "continual-learning"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_continual.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 9718
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4537
        },
        "x-registration-condition": "config.enable_continual",
        "x-runtime-service": "continual",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn continual_task_stats(\n    Extension(_db): Extension<Arc<AkashaDB>>,\n    State(state): State<AppState>,\n    Json(req): Json<ContinualTaskStatsReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ContinualTaskStatsReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::to_value(stats).unwrap_or_default()",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 9731
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/continual/task/evaluate": {
      "post": {
        "operationId": "post_v1_continual_task_evaluate",
        "summary": "Continual task evaluate",
        "tags": [
          "continual-learning"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_continual.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 9740
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4538
        },
        "x-registration-condition": "config.enable_continual",
        "x-runtime-service": "continual",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn continual_task_evaluate(\n    Extension(_db): Extension<Arc<AkashaDB>>,\n    State(state): State<AppState>,\n    Json(req): Json<ContinualTaskEvaluateReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ContinualTaskEvaluateReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::to_value(result).unwrap_or_default()",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 9753
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/continual/task/delete": {
      "post": {
        "operationId": "post_v1_continual_task_delete",
        "summary": "Continual task delete",
        "tags": [
          "continual-learning"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_continual.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 9761
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4539
        },
        "x-registration-condition": "config.enable_continual",
        "x-runtime-service": "continual",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn continual_task_delete(\n    State(state): State<AppState>,\n    Json(req): Json<ContinualTaskDeleteReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ContinualTaskDeleteReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 9771
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/continual/task/consolidate": {
      "post": {
        "operationId": "post_v1_continual_task_consolidate",
        "summary": "Continual task consolidate",
        "tags": [
          "continual-learning"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_continual.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 9780
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4540
        },
        "x-registration-condition": "config.enable_continual",
        "x-runtime-service": "continual",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn continual_task_consolidate(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<ContinualTaskConsolidateReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ContinualTaskConsolidateReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::to_value(result).unwrap_or_default()",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 9809
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/continual/health": {
      "get": {
        "operationId": "get_v1_continual_health",
        "summary": "Continual health",
        "tags": [
          "continual-learning"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_continual.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 10297
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4544
        },
        "x-registration-condition": "config.enable_continual",
        "x-runtime-service": "continual",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn continual_health(State(state): State<AppState>) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/continual/task/pause": {
      "post": {
        "operationId": "post_v1_continual_task_pause",
        "summary": "Continual task pause",
        "tags": [
          "continual-learning"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_continual.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 11116
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4545
        },
        "x-registration-condition": "config.enable_continual",
        "x-runtime-service": "continual",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn continual_task_pause(\n    State(state): State<AppState>,\n    Json(_req): Json<ContinualTaskPauseReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ContinualTaskPauseReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true, \"status\": \"paused\"})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 11121
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/continual/task/resume": {
      "post": {
        "operationId": "post_v1_continual_task_resume",
        "summary": "Continual task resume",
        "tags": [
          "continual-learning"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_continual.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 11124
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4546
        },
        "x-registration-condition": "config.enable_continual",
        "x-runtime-service": "continual",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn continual_task_resume(\n    State(state): State<AppState>,\n    Json(_req): Json<ContinualTaskPauseReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ContinualTaskPauseReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true, \"status\": \"active\"})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 11129
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/continual/config": {
      "get": {
        "operationId": "get_v1_continual_config",
        "summary": "Continual config get",
        "tags": [
          "continual-learning"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_continual.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 11132
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4547
        },
        "x-registration-condition": "config.enable_continual",
        "x-runtime-service": "continual",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn continual_config_get(\n    State(state): State<AppState>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "cfg.clone()",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 11137
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      },
      "put": {
        "operationId": "put_v1_continual_config",
        "summary": "Continual config update",
        "tags": [
          "continual-learning"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_continual.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 11140
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4547
        },
        "x-registration-condition": "config.enable_continual",
        "x-runtime-service": "continual",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn continual_config_update(\n    State(state): State<AppState>,\n    Json(body): Json<serde_json::Value>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "description": "Arbitrary JSON; constrained further by handler logic.",
                "x-rust-type": "serde_json::Value"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true, \"config\": *cfg})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 11147
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/ml/models/load": {
      "post": {
        "operationId": "post_v1_ml_models_load",
        "summary": "Ml models load",
        "tags": [
          "machine-learning"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_ml.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2650
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4556
        },
        "x-registration-condition": "config.enable_ml",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn ml_models_load(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<LoadModelRequest>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoadModelRequest_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"id\": id})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 2663
            }
          },
          {
            "expression": "serde_json::json!({\"id\": id})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 2672
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/ml/models/unload": {
      "post": {
        "operationId": "post_v1_ml_models_unload",
        "summary": "Ml models unload",
        "tags": [
          "machine-learning"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_ml.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2685
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4557
        },
        "x-registration-condition": "config.enable_ml",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn ml_models_unload(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<UnloadModelRequest>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UnloadModelRequest_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 2694
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/ml/models": {
      "get": {
        "operationId": "get_v1_ml_models",
        "summary": "Ml models list",
        "tags": [
          "machine-learning"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_ml.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2697
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4558
        },
        "x-registration-condition": "config.enable_ml",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn ml_models_list(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"models\": db.ml_list_loaded_models()}),",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 2702
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/ml/metrics": {
      "post": {
        "operationId": "post_v1_ml_metrics",
        "summary": "Ml metrics",
        "tags": [
          "machine-learning"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_ml.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2712
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4559
        },
        "x-registration-condition": "config.enable_ml",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn ml_metrics(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<MlMetricsRequest>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MlMetricsRequest_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"metrics\": m})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 2722
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/ml/embed": {
      "post": {
        "operationId": "post_v1_ml_embed",
        "summary": "Ml embed",
        "tags": [
          "machine-learning"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_ml.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2737
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4560
        },
        "x-registration-condition": "config.enable_ml",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn ml_embed(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<EmbedRequest>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EmbedRequest_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"vector\": v, \"chunks\": 1})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 2758
            }
          },
          {
            "expression": "serde_json::json!({\n            \"vectors\": vectors,\n            \"chunks\": chunks.len(),\n        })",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 2774
            }
          },
          {
            "expression": "serde_json::json!({\"vector\": v})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 2783
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/ml/generate": {
      "post": {
        "operationId": "post_v1_ml_generate",
        "summary": "Ml generate",
        "tags": [
          "machine-learning"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_ml.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2829
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4561
        },
        "x-registration-condition": "config.enable_ml",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn ml_generate(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<MlGenerateRequest>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MlGenerateRequest_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"text\": text})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 2854
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/ml/tokenizers/load": {
      "post": {
        "operationId": "post_v1_ml_tokenizers_load",
        "summary": "Ml tokenizer load",
        "tags": [
          "machine-learning"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_ml.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2862
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4562
        },
        "x-registration-condition": "config.enable_ml",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn ml_tokenizer_load(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<MlTokenizerLoadReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MlTokenizerLoadReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 2871
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/ml/train/supervised": {
      "post": {
        "operationId": "post_v1_ml_train_supervised",
        "summary": "Ml train supervised http",
        "tags": [
          "machine-learning"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_ml.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2972
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4563
        },
        "x-registration-condition": "config.enable_ml",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn ml_train_supervised_http(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<MlTrainSupervisedReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MlTrainSupervisedReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\n        \"model_id\": info.id,\n        \"name\": info.name,\n        \"version\": info.version,\n        \"metrics\": info.metrics,\n    })",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 3017
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/ml/train/hrm": {
      "post": {
        "operationId": "post_v1_ml_train_hrm",
        "summary": "Ml train hrm http",
        "tags": [
          "machine-learning"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_ml.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3025
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4564
        },
        "x-registration-condition": "config.enable_ml",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn ml_train_hrm_http(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<MlTrainHrmReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MlTrainHrmReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"status\": \"ok\"})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 3056
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/ml/vector/create": {
      "post": {
        "operationId": "post_v1_ml_vector_create",
        "summary": "Vector create",
        "tags": [
          "vectors"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_vector.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2896
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4570
        },
        "x-registration-condition": "config.enable_vector",
        "x-runtime-service": "vector",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn vector_create(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<VectorCreateRequest>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VectorCreateRequest_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 2905
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/ml/vector/add": {
      "post": {
        "operationId": "post_v1_ml_vector_add",
        "summary": "Vector add",
        "tags": [
          "vectors"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_vector.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2915
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4571
        },
        "x-registration-condition": "config.enable_vector",
        "x-runtime-service": "vector",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn vector_add(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<VectorAddRequest>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VectorAddRequest_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 2925
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/ml/vector/search": {
      "post": {
        "operationId": "post_v1_ml_vector_search",
        "summary": "Vector search",
        "tags": [
          "vectors"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_vector.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2935
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4572
        },
        "x-registration-condition": "config.enable_vector",
        "x-runtime-service": "vector",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn vector_search(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<VectorSearchRequest>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VectorSearchRequest_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"matches\": results})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 2945
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/ml/vector/save": {
      "post": {
        "operationId": "post_v1_ml_vector_save",
        "summary": "Vector save",
        "tags": [
          "vectors"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_vector.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2953
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4573
        },
        "x-registration-condition": "config.enable_vector",
        "x-runtime-service": "vector",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn vector_save(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<VectorSaveRequest>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VectorSaveRequest_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 2961
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/ml/vector": {
      "get": {
        "operationId": "get_v1_ml_vector",
        "summary": "Vector list",
        "tags": [
          "vectors"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_vector.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2964
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4574
        },
        "x-registration-condition": "config.enable_vector",
        "x-runtime-service": "vector",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn vector_list(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"indices\": db.vector_list()})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 2969
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/vector/health": {
      "get": {
        "operationId": "get_v1_vector_health",
        "summary": "Vector health",
        "tags": [
          "vectors"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_vector.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 10289
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4575
        },
        "x-registration-condition": "config.enable_vector",
        "x-runtime-service": "vector",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn vector_health(State(state): State<AppState>) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/tx/begin": {
      "post": {
        "operationId": "post_v1_tx_begin",
        "summary": "Tx begin",
        "tags": [
          "transactions"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_kv.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3398
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4581
        },
        "x-registration-condition": "config.enable_kv",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn tx_begin(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<TxBeginReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TxBeginReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"tx_id\": tx_id.to_string()})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 3416
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/tx/commit": {
      "post": {
        "operationId": "post_v1_tx_commit",
        "summary": "Tx commit",
        "tags": [
          "transactions"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_kv.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3424
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4582
        },
        "x-registration-condition": "config.enable_kv",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn tx_commit(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<TxIdReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TxIdReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 3439
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/tx/abort": {
      "post": {
        "operationId": "post_v1_tx_abort",
        "summary": "Tx abort",
        "tags": [
          "transactions"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_kv.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3442
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4583
        },
        "x-registration-condition": "config.enable_kv",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn tx_abort(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<TxIdReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TxIdReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 3457
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/dataspaces": {
      "get": {
        "operationId": "get_v1_dataspaces",
        "summary": "Dataspaces list",
        "tags": [
          "namespaces-replication"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_kv.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3461
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4584
        },
        "x-registration-condition": "config.enable_kv",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn dataspaces_list(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::to_value(list).unwrap_or(serde_json::json!([])),",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 3470
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/namespace/switch": {
      "post": {
        "operationId": "post_v1_namespace_switch",
        "summary": "Namespace switch",
        "tags": [
          "namespaces-replication"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_kv.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3484
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4585
        },
        "x-registration-condition": "config.enable_kv",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn namespace_switch(\n    State(state): State<AppState>,\n    capability: Option<Extension<CapabilityTokenPayload>>,\n    Json(req): Json<NamespaceSwitchReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NamespaceSwitchReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\n        \"ok\": true,\n        \"namespace\": {\n            \"tenant_id\": namespace.tenant_id.to_string(),\n            \"reservoir_id\": namespace.reservoir_id.to_string(),\n            \"agent_id\": namespace.agent_id.to_string(),\n            \"dataspace_id\": namespace.dataspace_id.to_string(),\n        }\n    })",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 3529
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/replication/links": {
      "post": {
        "operationId": "post_v1_replication_links",
        "summary": "Replication create",
        "tags": [
          "namespaces-replication"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_kv.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3547
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4586
        },
        "x-registration-condition": "config.enable_kv",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn replication_create(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<ReplicationCreateReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReplicationCreateReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"link_id\": link_id.to_string()})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 3575
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/replication/stop": {
      "post": {
        "operationId": "post_v1_replication_stop",
        "summary": "Replication stop",
        "tags": [
          "namespaces-replication"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_kv.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3583
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4587
        },
        "x-registration-condition": "config.enable_kv",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn replication_stop(\n    State(state): State<AppState>,\n    Json(req): Json<ReplicationIdReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReplicationIdReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"stopped\": true})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 3596
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/replication/status": {
      "post": {
        "operationId": "post_v1_replication_status",
        "summary": "Replication status",
        "tags": [
          "namespaces-replication"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_kv.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3599
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4588
        },
        "x-registration-condition": "config.enable_kv",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn replication_status(\n    State(state): State<AppState>,\n    Json(req): Json<ReplicationIdReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReplicationIdReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"running\": running})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 3609
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/backups": {
      "post": {
        "operationId": "post_v1_backups",
        "summary": "Backup create",
        "tags": [
          "maintenance"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_kv || config.enable_analytics.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3067
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4594
        },
        "x-registration-condition": "config.enable_kv || config.enable_analytics",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn backup_create(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<BackupCreateRequest>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BackupCreateRequest_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::to_value(info).unwrap_or(serde_json::json!({\"ok\":true})),",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 3078
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/backups/list": {
      "post": {
        "operationId": "post_v1_backups_list",
        "summary": "Backup list",
        "tags": [
          "maintenance"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_kv || config.enable_analytics.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3088
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4595
        },
        "x-registration-condition": "config.enable_kv || config.enable_analytics",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn backup_list(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<BackupListRequest>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BackupListRequest_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::to_value(list).unwrap_or(serde_json::json!([])),",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 3098
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/backups/restore": {
      "post": {
        "operationId": "post_v1_backups_restore",
        "summary": "Backup restore",
        "tags": [
          "maintenance"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_kv || config.enable_analytics.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3111
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4596
        },
        "x-registration-condition": "config.enable_kv || config.enable_analytics",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn backup_restore(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<BackupRestoreRequest>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BackupRestoreRequest_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 3121
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/backups/delete": {
      "post": {
        "operationId": "post_v1_backups_delete",
        "summary": "Backup delete",
        "tags": [
          "maintenance"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_kv || config.enable_analytics.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3130
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4597
        },
        "x-registration-condition": "config.enable_kv || config.enable_analytics",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn backup_delete(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<BackupDeleteRequest>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BackupDeleteRequest_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 3139
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/analyze": {
      "post": {
        "operationId": "post_v1_analyze",
        "summary": "Analyze",
        "tags": [
          "maintenance"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_kv || config.enable_analytics.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3305
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4598
        },
        "x-registration-condition": "config.enable_kv || config.enable_analytics",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn analyze(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::to_value(a).unwrap_or(serde_json::json!({})),",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 3314
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/compact": {
      "post": {
        "operationId": "post_v1_compact",
        "summary": "Compact",
        "tags": [
          "maintenance"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_kv || config.enable_analytics.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3319
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4599
        },
        "x-registration-condition": "config.enable_kv || config.enable_analytics",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn compact(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 3327
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/reindex": {
      "post": {
        "operationId": "post_v1_reindex",
        "summary": "Reindex",
        "tags": [
          "maintenance"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_kv || config.enable_analytics.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3340
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4600
        },
        "x-registration-condition": "config.enable_kv || config.enable_analytics",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn reindex(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<ReindexRequest>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReindexRequest_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 3349
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/clear_cache": {
      "post": {
        "operationId": "post_v1_clear_cache",
        "summary": "Clear cache",
        "tags": [
          "maintenance"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_kv || config.enable_analytics.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3362
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4601
        },
        "x-registration-condition": "config.enable_kv || config.enable_analytics",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn clear_cache(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 3370
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/search/text": {
      "post": {
        "operationId": "post_v1_search_text",
        "summary": "Core text search",
        "tags": [
          "maintenance"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_kv || config.enable_analytics.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3380
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4602
        },
        "x-registration-condition": "config.enable_kv || config.enable_analytics",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn core_text_search(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<CoreTextSearchRequest>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CoreTextSearchRequest_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"rows\": rows})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 3389
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/keyspaces": {
      "get": {
        "operationId": "get_v1_keyspaces",
        "summary": "List keyspaces",
        "tags": [
          "key-value"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require(CoreAction::Read, None).\nRegistration: config.enable_kv.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3947
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4608
        },
        "x-registration-condition": "config.enable_kv",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require(CoreAction::Read, None).",
        "x-handler-signature": "async fn list_keyspaces(\n    State(state): State<AppState>,\n    Extension(authority): Extension<RequestAuthority>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "keyspaces",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 3967
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      },
      "post": {
        "operationId": "post_v1_keyspaces",
        "summary": "Create keyspace",
        "tags": [
          "key-value"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require(CoreAction::Admin, Some(&req.name)).\nRegistration: config.enable_kv.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3984
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4608
        },
        "x-registration-condition": "config.enable_kv",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require(CoreAction::Admin, Some(&req.name)).",
        "x-handler-signature": "async fn create_keyspace(\n    State(state): State<AppState>,\n    Extension(authority): Extension<RequestAuthority>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<CreateKeyspaceRequest>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateKeyspaceRequest_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\":true})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 3996
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/keyspaces/{name}": {
      "get": {
        "operationId": "get_v1_keyspaces_name",
        "summary": "Get keyspace",
        "tags": [
          "key-value"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require(CoreAction::Read, Some(&name)).\nRegistration: config.enable_kv.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3970
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4609
        },
        "x-registration-condition": "config.enable_kv",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require(CoreAction::Read, Some(&name)).",
        "x-handler-signature": "async fn get_keyspace(\n    Path(name): Path<String>,\n    State(state): State<AppState>,\n    Extension(authority): Extension<RequestAuthority>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "x-response-expressions": [
          {
            "expression": "ks",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 3981
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      },
      "delete": {
        "operationId": "delete_v1_keyspaces_name",
        "summary": "Delete keyspace",
        "tags": [
          "key-value"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require(CoreAction::Admin, Some(&id)).\nRegistration: config.enable_kv.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4031
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4609
        },
        "x-registration-condition": "config.enable_kv",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require(CoreAction::Admin, Some(&id)).",
        "x-handler-signature": "async fn delete_keyspace(\n    Path(id): Path<String>,\n    State(state): State<AppState>,\n    Extension(authority): Extension<RequestAuthority>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\":true})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 4042
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/primitives/import": {
      "post": {
        "operationId": "post_v1_primitives_import",
        "summary": "Import domain primitives",
        "tags": [
          "key-value"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require(CoreAction::Write, Some(&req.keyspace)).\nRegistration: config.enable_kv.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3999
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4613
        },
        "x-registration-condition": "config.enable_kv",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require(CoreAction::Write, Some(&req.keyspace)).",
        "x-handler-signature": "async fn import_domain_primitives(\n    State(state): State<AppState>,\n    Extension(authority): Extension<RequestAuthority>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<PrimitiveImportRequest>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PrimitiveImportRequest_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "summary",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 4012
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/primitives/export": {
      "post": {
        "operationId": "post_v1_primitives_export",
        "summary": "Export domain primitives",
        "tags": [
          "key-value"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require(CoreAction::Query, Some(&req.keyspace)).\nRegistration: config.enable_kv.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4015
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4614
        },
        "x-registration-condition": "config.enable_kv",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require(CoreAction::Query, Some(&req.keyspace)).",
        "x-handler-signature": "async fn export_domain_primitives(\n    State(state): State<AppState>,\n    Extension(authority): Extension<RequestAuthority>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<PrimitiveExportRequest>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PrimitiveExportRequest_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "bundle",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 4028
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/{keyspace}": {
      "post": {
        "operationId": "post_v1_keyspace",
        "summary": "Put item",
        "tags": [
          "key-value"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require(CoreAction::Write, Some(&keyspace)).\nRegistration: config.enable_kv.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4045
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4615
        },
        "x-registration-condition": "config.enable_kv",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require(CoreAction::Write, Some(&keyspace)).",
        "x-handler-signature": "async fn put_item(\n    Path(keyspace): Path<String>,\n    State(state): State<AppState>,\n    Extension(authority): Extension<RequestAuthority>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<PutRequest>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PutRequest_fd991cc"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "keyspace",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"id\": id})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 4058
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/{keyspace}/{id}": {
      "get": {
        "operationId": "get_v1_keyspace_id",
        "summary": "Get item",
        "tags": [
          "key-value"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require(CoreAction::Read, Some(&keyspace)).\nRegistration: config.enable_kv.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4061
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4616
        },
        "x-registration-condition": "config.enable_kv",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require(CoreAction::Read, Some(&keyspace)).",
        "x-handler-signature": "async fn get_item(\n    Path((keyspace, id)): Path<(String, String)>,\n    State(state): State<AppState>,\n    Extension(authority): Extension<RequestAuthority>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "parameters": [
          {
            "name": "keyspace",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"data\": item})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 4073
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      },
      "delete": {
        "operationId": "delete_v1_keyspace_id",
        "summary": "Delete item",
        "tags": [
          "key-value"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require(CoreAction::Delete, Some(&keyspace)).\nRegistration: config.enable_kv.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4076
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4616
        },
        "x-registration-condition": "config.enable_kv",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require(CoreAction::Delete, Some(&keyspace)).",
        "x-handler-signature": "async fn delete_item(\n    Path((keyspace, id)): Path<(String, String)>,\n    State(state): State<AppState>,\n    Extension(authority): Extension<RequestAuthority>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "parameters": [
          {
            "name": "keyspace",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"deleted\": deleted})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 4088
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/{keyspace}/query": {
      "post": {
        "operationId": "post_v1_keyspace_query",
        "summary": "Query items",
        "tags": [
          "key-value"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require(CoreAction::Query, Some(&keyspace)).\nRegistration: config.enable_kv.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4091
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4617
        },
        "x-registration-condition": "config.enable_kv",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require(CoreAction::Query, Some(&keyspace)).",
        "x-handler-signature": "async fn query_items(\n    Path(keyspace): Path<String>,\n    State(state): State<AppState>,\n    Extension(authority): Extension<RequestAuthority>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<QueryRequest>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QueryRequest_fd991cc"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "keyspace",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"rows\": results})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 4117
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/stats": {
      "get": {
        "operationId": "get_v1_stats",
        "summary": "Stats",
        "tags": [
          "key-value"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require(CoreAction::Read, None).\nRegistration: config.enable_kv.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4120
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4618
        },
        "x-registration-condition": "config.enable_kv",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require(CoreAction::Read, None).",
        "x-handler-signature": "async fn stats(\n    State(state): State<AppState>,\n    Extension(authority): Extension<RequestAuthority>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "s",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 4131
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/storage/volumes": {
      "get": {
        "operationId": "get_v1_storage_volumes",
        "summary": "Storage volume list",
        "tags": [
          "storage-volumes"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_kv.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3187
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4619
        },
        "x-registration-condition": "config.enable_kv",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn storage_volume_list(\n    State(state): State<AppState>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "records",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 3193
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      },
      "post": {
        "operationId": "post_v1_storage_volumes",
        "summary": "Storage volume create",
        "tags": [
          "storage-volumes"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_kv.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3167
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4619
        },
        "x-registration-condition": "config.enable_kv",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn storage_volume_create(\n    State(state): State<AppState>,\n    Json(req): Json<VolumeCreateRequest>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VolumeCreateRequest_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "record",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 3184
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/storage/volumes/attach": {
      "post": {
        "operationId": "post_v1_storage_volumes_attach",
        "summary": "Storage volume attach",
        "tags": [
          "storage-volumes"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_kv.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3196
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4623
        },
        "x-registration-condition": "config.enable_kv",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn storage_volume_attach(\n    State(state): State<AppState>,\n    Json(req): Json<VolumeAttachRequest>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VolumeAttachRequest_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "record",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 3234
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/storage/volumes/detach": {
      "post": {
        "operationId": "post_v1_storage_volumes_detach",
        "summary": "Storage volume detach",
        "tags": [
          "storage-volumes"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_kv.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3237
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4624
        },
        "x-registration-condition": "config.enable_kv",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn storage_volume_detach(\n    State(state): State<AppState>,\n    Json(req): Json<VolumeDetachRequest>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VolumeDetachRequest_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "record",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 3261
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/storage/volumes/{id}": {
      "delete": {
        "operationId": "delete_v1_storage_volumes_id",
        "summary": "Storage volume delete",
        "tags": [
          "storage-volumes"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_kv.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3264
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4625
        },
        "x-registration-condition": "config.enable_kv",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn storage_volume_delete(\n    State(state): State<AppState>,\n    Path(volume_id): Path<String>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "x-response-expressions": [
          {
            "expression": "record",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 3274
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/memory/emissions": {
      "post": {
        "operationId": "post_v1_memory_emissions",
        "summary": "Nous \u2192 Akasha MIND emission receiver (FINAL_SPEC \u00a76.6 GAP 1). Channel authentication is the configured shared-secret bearer (`AKASHA_MIND_EMISSION_TOKEN`), verified by the receiver in constant time; t",
        "tags": [
          "memory"
        ],
        "description": "Dedicated MIND channel bearer when configured; otherwise standard daemon auth and receiver fails closed without channel configuration.\nRegistration: config.enable_memory.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 7389
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4631
        },
        "x-registration-condition": "config.enable_memory",
        "x-runtime-service": "memory",
        "x-auth-policy": "Dedicated MIND channel bearer when configured; otherwise standard daemon auth and receiver fails closed without channel configuration.",
        "x-handler-signature": "async fn memory_emissions_ingest(\n    State(state): State<AppState>,\n    headers: axum::http::HeaderMap,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<mind_receiver::EmissionRecordRequest>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EmissionRecordRequest_bbf69db"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\n        \"status\": \"accepted\",\n        \"perception_id\": validated.perception_hex,\n        \"deduplicated\": outcome.deduplicated,\n        \"item_id\": outcome.item_id.to_string(),\n        \"vector_id\": outcome.vector_id.to_string(),\n        \"vector_index\": outcome.vector_index,\n        \"episodic_id\": outcome.episodic_id.map(|id| id.to_string()),\n    })",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 7449
            }
          }
        ],
        "security": [
          {
            "bearer": []
          }
        ],
        "x-implementation-notes": []
      }
    },
    "/v1/memory/episodic": {
      "post": {
        "operationId": "post_v1_memory_episodic",
        "summary": "Memory episodic insert",
        "tags": [
          "episodic-memory"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_memory.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 7465
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4635
        },
        "x-registration-condition": "config.enable_memory",
        "x-runtime-service": "memory",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn memory_episodic_insert(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<EpisodicInsertRequest>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EpisodicInsertRequest_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"id\": id})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 7476
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/memory/episodic/{id}": {
      "get": {
        "operationId": "get_v1_memory_episodic_id",
        "summary": "Memory episodic get",
        "tags": [
          "episodic-memory"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_memory.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 7479
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4636
        },
        "x-registration-condition": "config.enable_memory",
        "x-runtime-service": "memory",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn memory_episodic_get(\n    Path(id): Path<String>,\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"item\": item})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 7491
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      },
      "put": {
        "operationId": "put_v1_memory_episodic_id",
        "summary": "Memory episodic update",
        "tags": [
          "episodic-memory"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_memory.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 7499
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4636
        },
        "x-registration-condition": "config.enable_memory",
        "x-runtime-service": "memory",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn memory_episodic_update(\n    Path(id): Path<String>,\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<EpisodicUpdateRequest>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EpisodicUpdateRequest_fd991cc"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 7511
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      },
      "delete": {
        "operationId": "delete_v1_memory_episodic_id",
        "summary": "Memory episodic delete",
        "tags": [
          "episodic-memory"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_memory.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 7514
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4636
        },
        "x-registration-condition": "config.enable_memory",
        "x-runtime-service": "memory",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn memory_episodic_delete(\n    Path(id): Path<String>,\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 7525
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/memory/procedures": {
      "post": {
        "operationId": "post_v1_memory_procedures",
        "summary": "Memory procedure store",
        "tags": [
          "procedural-memory"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_memory.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 7533
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4642
        },
        "x-registration-condition": "config.enable_memory",
        "x-runtime-service": "memory",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn memory_procedure_store(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<ProceduralStoreRequest>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProceduralStoreRequest_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 7543
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/memory/procedures/list": {
      "get": {
        "operationId": "get_v1_memory_procedures_list",
        "summary": "Procedure list",
        "tags": [
          "procedural-memory"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_memory.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 9822
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4643
        },
        "x-registration-condition": "config.enable_memory",
        "x-runtime-service": "memory",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn procedure_list(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::to_value(list).unwrap_or(serde_json::json!([])),",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 9831
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/memory/procedures/get": {
      "post": {
        "operationId": "post_v1_memory_procedures_get",
        "summary": "Procedure get",
        "tags": [
          "procedural-memory"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_memory.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 9836
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4644
        },
        "x-registration-condition": "config.enable_memory",
        "x-runtime-service": "memory",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn procedure_get(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<ProcedureIdReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProcedureIdReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"procedure\": p.map(|v| format!(\"{v:?}\"))}),",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 9848
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/memory/procedures/delete": {
      "post": {
        "operationId": "post_v1_memory_procedures_delete",
        "summary": "Procedure delete",
        "tags": [
          "procedural-memory"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_memory.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 9853
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4645
        },
        "x-registration-condition": "config.enable_memory",
        "x-runtime-service": "memory",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn procedure_delete(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<ProcedureIdReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProcedureIdReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 9864
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/memory/procedures/update": {
      "post": {
        "operationId": "post_v1_memory_procedures_update",
        "summary": "Procedure update",
        "tags": [
          "procedural-memory"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_memory.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 9873
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4646
        },
        "x-registration-condition": "config.enable_memory",
        "x-runtime-service": "memory",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn procedure_update(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<ProcedureUpdateReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProcedureUpdateReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 9884
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/memory/procedures/search": {
      "post": {
        "operationId": "post_v1_memory_procedures_search",
        "summary": "Procedure search",
        "tags": [
          "procedural-memory"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_memory.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 9887
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4647
        },
        "x-registration-condition": "config.enable_memory",
        "x-runtime-service": "memory",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn procedure_search(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<ProcedureSearchReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProcedureSearchReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::to_value(list).unwrap_or(serde_json::json!([])),",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 9897
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/memory/resources": {
      "post": {
        "operationId": "post_v1_memory_resources",
        "summary": "Memory resource store",
        "tags": [
          "resource-memory"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_memory.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 7552
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4648
        },
        "x-registration-condition": "config.enable_memory",
        "x-runtime-service": "memory",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn memory_resource_store(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<ResourceStoreRequest>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResourceStoreRequest_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 7565
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/memory/resources/list": {
      "get": {
        "operationId": "get_v1_memory_resources_list",
        "summary": "Resource list",
        "tags": [
          "resource-memory"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_memory.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3617
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4649
        },
        "x-registration-condition": "config.enable_memory",
        "x-runtime-service": "memory",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn resource_list(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::to_value(list).unwrap_or(serde_json::json!([])),",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 3626
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/memory/resources/get": {
      "post": {
        "operationId": "post_v1_memory_resources_get",
        "summary": "Resource get",
        "tags": [
          "resource-memory"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_memory.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3631
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4650
        },
        "x-registration-condition": "config.enable_memory",
        "x-runtime-service": "memory",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn resource_get(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<ResourceIdReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResourceIdReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"item\": item})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 3643
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/memory/resources/data": {
      "post": {
        "operationId": "post_v1_memory_resources_data",
        "summary": "Resource data",
        "tags": [
          "resource-memory"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_memory.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3646
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4651
        },
        "x-registration-condition": "config.enable_memory",
        "x-runtime-service": "memory",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn resource_data(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<ResourceIdReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResourceIdReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"data_b64\": data.map(|d| base64::engine::general_purpose::STANDARD.encode(d))}),",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 3658
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/memory/resources/data/exists": {
      "post": {
        "operationId": "post_v1_memory_resources_data_exists",
        "summary": "Resource data exists",
        "tags": [
          "resource-memory"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_memory.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3663
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4652
        },
        "x-registration-condition": "config.enable_memory",
        "x-runtime-service": "memory",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn resource_data_exists(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<ResourceIdReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResourceIdReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"exists\": exists})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 3675
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/memory/resources/data/size": {
      "post": {
        "operationId": "post_v1_memory_resources_data_size",
        "summary": "Resource data size",
        "tags": [
          "resource-memory"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_memory.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3678
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4656
        },
        "x-registration-condition": "config.enable_memory",
        "x-runtime-service": "memory",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn resource_data_size(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<ResourceIdReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResourceIdReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"size\": sz})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 3690
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/memory/resources/type": {
      "post": {
        "operationId": "post_v1_memory_resources_type",
        "summary": "Resource by type",
        "tags": [
          "resource-memory"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_memory.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3698
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4657
        },
        "x-registration-condition": "config.enable_memory",
        "x-runtime-service": "memory",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn resource_by_type(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<ResourceTypeReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResourceTypeReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::to_value(list).unwrap_or(serde_json::json!([])),",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 3719
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/memory/resources/access": {
      "post": {
        "operationId": "post_v1_memory_resources_access",
        "summary": "Resource record access",
        "tags": [
          "resource-memory"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_memory.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3730
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4658
        },
        "x-registration-condition": "config.enable_memory",
        "x-runtime-service": "memory",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn resource_record_access(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<ResourceAccessReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResourceAccessReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 3749
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/memory/resources/usage": {
      "post": {
        "operationId": "post_v1_memory_resources_usage",
        "summary": "Resource usage",
        "tags": [
          "resource-memory"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_memory.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 7608
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4659
        },
        "x-registration-condition": "config.enable_memory",
        "x-runtime-service": "memory",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn resource_usage(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<ResourceUsageReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResourceUsageReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::to_value(stats).unwrap_or(serde_json::json!({})),",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 7620
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/memory/vault": {
      "post": {
        "operationId": "post_v1_memory_vault",
        "summary": "Memory vault store",
        "tags": [
          "vault"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_memory.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 7575
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4660
        },
        "x-registration-condition": "config.enable_memory",
        "x-runtime-service": "memory",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn memory_vault_store(\n    State(state): State<AppState>,\n    Extension(authority): Extension<RequestAuthority>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<VaultStoreRequest>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VaultStoreRequest_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"id\": id})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 7600
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/memory/vault/get": {
      "post": {
        "operationId": "post_v1_memory_vault_get",
        "summary": "Vault get",
        "tags": [
          "vault"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_memory.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3783
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4661
        },
        "x-registration-condition": "config.enable_memory",
        "x-runtime-service": "memory",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn vault_get(\n    State(state): State<AppState>,\n    Extension(authority): Extension<RequestAuthority>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<VaultGetReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VaultGetReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"entry\": entry.map(|e| format!(\"{e:?}\"))}),",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 3797
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/memory/vault/delete": {
      "post": {
        "operationId": "post_v1_memory_vault_delete",
        "summary": "Vault delete",
        "tags": [
          "vault"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_memory.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3807
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4662
        },
        "x-registration-condition": "config.enable_memory",
        "x-runtime-service": "memory",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn vault_delete(\n    State(state): State<AppState>,\n    Extension(authority): Extension<RequestAuthority>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<VaultDeleteReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VaultDeleteReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 3820
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/memory/vault/search": {
      "post": {
        "operationId": "post_v1_memory_vault_search",
        "summary": "Vault search",
        "tags": [
          "vault"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_memory.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3828
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4663
        },
        "x-registration-condition": "config.enable_memory",
        "x-runtime-service": "memory",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn vault_search(\n    State(state): State<AppState>,\n    Extension(authority): Extension<RequestAuthority>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<VaultSearchReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VaultSearchReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"entries\": list.len()})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 3840
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/memory/vault/stats": {
      "get": {
        "operationId": "get_v1_memory_vault_stats",
        "summary": "Vault stats",
        "tags": [
          "vault"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_memory.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 7644
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4664
        },
        "x-registration-condition": "config.enable_memory",
        "x-runtime-service": "memory",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn vault_stats(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::to_value(stats).unwrap_or(serde_json::json!({})),",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 7653
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/memory/vault/update": {
      "post": {
        "operationId": "post_v1_memory_vault_update",
        "summary": "Vault update",
        "tags": [
          "vault"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_memory.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 7630
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4665
        },
        "x-registration-condition": "config.enable_memory",
        "x-runtime-service": "memory",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn vault_update(\n    State(state): State<AppState>,\n    Extension(authority): Extension<RequestAuthority>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<VaultUpdateReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VaultUpdateReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 7641
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/memory/cognitive/query": {
      "post": {
        "operationId": "post_v1_memory_cognitive_query",
        "summary": "Memory cognitive query",
        "tags": [
          "cognitive-memory"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_memory.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 7740
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4666
        },
        "x-registration-condition": "config.enable_memory",
        "x-runtime-service": "memory",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn memory_cognitive_query(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<CognitiveQueryReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CognitiveQueryReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\n        \"thoughts\": res.thoughts.len(),\n        \"decisions\": res.decisions.len(),\n        \"interactions\": res.interactions.len(),\n        \"sessions\": res.sessions.len()\n    })",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 7793
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/memory/cognitive/thought": {
      "post": {
        "operationId": "post_v1_memory_cognitive_thought",
        "summary": "Memory cognitive thought",
        "tags": [
          "cognitive-memory"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_memory.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 7663
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4667
        },
        "x-registration-condition": "config.enable_memory",
        "x-runtime-service": "memory",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn memory_cognitive_thought(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<CognitiveThoughtReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CognitiveThoughtReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"id\": id})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 7674
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/memory/cognitive/decision": {
      "post": {
        "operationId": "post_v1_memory_cognitive_decision",
        "summary": "Memory cognitive decision",
        "tags": [
          "cognitive-memory"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_memory.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 7682
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4671
        },
        "x-registration-condition": "config.enable_memory",
        "x-runtime-service": "memory",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn memory_cognitive_decision(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<CognitiveDecisionReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CognitiveDecisionReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"id\": id})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 7693
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/memory/cognitive/interaction": {
      "post": {
        "operationId": "post_v1_memory_cognitive_interaction",
        "summary": "Memory cognitive interaction",
        "tags": [
          "cognitive-memory"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_memory.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 7701
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4675
        },
        "x-registration-condition": "config.enable_memory",
        "x-runtime-service": "memory",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn memory_cognitive_interaction(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<CognitiveInteractionReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CognitiveInteractionReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"id\": id})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 7712
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/memory/cognitive/session": {
      "post": {
        "operationId": "post_v1_memory_cognitive_session",
        "summary": "Memory cognitive session",
        "tags": [
          "cognitive-memory"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_memory.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 7721
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4679
        },
        "x-registration-condition": "config.enable_memory",
        "x-runtime-service": "memory",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn memory_cognitive_session(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Json(req): Json<CognitiveSessionReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CognitiveSessionReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"session\": sess})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 7732
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/memory/cognitive/resource": {
      "post": {
        "operationId": "post_v1_memory_cognitive_resource",
        "summary": "Memory cognitive resource",
        "tags": [
          "cognitive-memory"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_memory.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 7806
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4683
        },
        "x-registration-condition": "config.enable_memory",
        "x-runtime-service": "memory",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn memory_cognitive_resource(\n    State(state): State<AppState>,\n    Extension(_db): Extension<Arc<AkashaDB>>,\n    Json(_req): Json<serde_json::Value>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "description": "Arbitrary JSON; constrained further by handler logic.",
                "x-rust-type": "serde_json::Value"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 7812
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/memory/cognitive/usage": {
      "post": {
        "operationId": "post_v1_memory_cognitive_usage",
        "summary": "Memory cognitive usage",
        "tags": [
          "cognitive-memory"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_memory.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 7815
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4687
        },
        "x-registration-condition": "config.enable_memory",
        "x-runtime-service": "memory",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn memory_cognitive_usage(\n    State(state): State<AppState>,\n    Extension(_db): Extension<Arc<AkashaDB>>,\n    Json(_req): Json<serde_json::Value>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "description": "Arbitrary JSON; constrained further by handler logic.",
                "x-rust-type": "serde_json::Value"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 7821
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/memory/cognitive/resources": {
      "post": {
        "operationId": "post_v1_memory_cognitive_resources",
        "summary": "Memory cognitive resource store",
        "tags": [
          "cognitive-memory"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_memory.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 7824
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4688
        },
        "x-registration-condition": "config.enable_memory",
        "x-runtime-service": "memory",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn memory_cognitive_resource_store(\n    State(state): State<AppState>,\n    Extension(_db): Extension<Arc<AkashaDB>>,\n    Json(_req): Json<serde_json::Value>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "description": "Arbitrary JSON; constrained further by handler logic.",
                "x-rust-type": "serde_json::Value"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 7830
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/memory/cognitive/resources/usage": {
      "post": {
        "operationId": "post_v1_memory_cognitive_resources_usage",
        "summary": "Memory cognitive resource usage",
        "tags": [
          "cognitive-memory"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_memory.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 7833
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4692
        },
        "x-registration-condition": "config.enable_memory",
        "x-runtime-service": "memory",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn memory_cognitive_resource_usage(\n    State(state): State<AppState>,\n    Extension(_db): Extension<Arc<AkashaDB>>,\n    Json(_req): Json<serde_json::Value>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "description": "Arbitrary JSON; constrained further by handler logic.",
                "x-rust-type": "serde_json::Value"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 7839
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/memory/reindex/status": {
      "get": {
        "operationId": "get_v1_memory_reindex_status",
        "summary": "Memory reindex status",
        "tags": [
          "memory"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_memory.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3352
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4696
        },
        "x-registration-condition": "config.enable_memory",
        "x-runtime-service": "memory",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn memory_reindex_status(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "MemoryReindexStatusResponse {\n        components: db.memory_reindex_progress(),\n    }",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 3357
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/memory/retrieval/hybrid": {
      "post": {
        "operationId": "post_v1_memory_retrieval_hybrid",
        "summary": "Memory retrieval hybrid",
        "tags": [
          "memory"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_memory.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 7854
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4697
        },
        "x-registration-condition": "config.enable_memory",
        "x-runtime-service": "memory",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn memory_retrieval_hybrid(\n    Extension(db): Extension<Arc<AkashaDB>>,\n    State(state): State<AppState>,\n    Json(req): Json<RetrievalReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RetrievalReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\n            \"rows\": all_rows,\n            \"chunks_queried\": chunks.len(),\n        })",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 7883
            }
          },
          {
            "expression": "serde_json::json!({\"rows\": rows})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 7892
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/memory/episodic/search": {
      "post": {
        "operationId": "post_v1_memory_episodic_search",
        "summary": "Episodic search",
        "tags": [
          "episodic-memory"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_memory.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 8635
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4698
        },
        "x-registration-condition": "config.enable_memory",
        "x-runtime-service": "memory",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn episodic_search(\n    Extension(db): Extension<Arc<AkashaDB>>,\n    State(_state): State<AppState>,\n    Json(req): Json<EpisodicSearchReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EpisodicSearchReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::to_value(rows).unwrap_or(serde_json::json!([])),",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 8650
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/memory/health": {
      "get": {
        "operationId": "get_v1_memory_health",
        "summary": "Memory health",
        "tags": [
          "memory"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_memory.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 10293
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4699
        },
        "x-registration-condition": "config.enable_memory",
        "x-runtime-service": "memory",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn memory_health(State(state): State<AppState>) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/memory/stats": {
      "get": {
        "operationId": "get_v1_memory_stats",
        "summary": "Memory stats composite",
        "tags": [
          "memory"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_memory.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 10480
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4700
        },
        "x-registration-condition": "config.enable_memory",
        "x-runtime-service": "memory",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn memory_stats_composite(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\n        \"episodicCount\": episodic_count,\n        \"proceduralCount\": procedural_count,\n        \"resourceCount\": resource_count,\n        \"vaultCount\": vault_count,\n        \"totalSizeBytes\": 0,\n        \"oldestMemory\": \"\",\n        \"newestMemory\": \"\",\n        \"activeAgents\": 0\n    })",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 10507
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/memory/vault/access-log": {
      "post": {
        "operationId": "post_v1_memory_vault_access_log",
        "summary": "Vault access log",
        "tags": [
          "vault"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_memory.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 10526
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4701
        },
        "x-registration-condition": "config.enable_memory",
        "x-runtime-service": "memory",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn vault_access_log(\n    State(state): State<AppState>,\n    Json(_req): Json<VaultAccessLogReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VaultAccessLogReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!([])",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 10532
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": [
          "Placeholder implementation: returns an empty JSON array; backend data retrieval is not implemented here."
        ]
      }
    },
    "/v1/memory/resources/chunks": {
      "post": {
        "operationId": "post_v1_memory_resources_chunks",
        "summary": "Resource chunks",
        "tags": [
          "resource-memory"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_memory.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 10542
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4702
        },
        "x-registration-condition": "config.enable_memory",
        "x-runtime-service": "memory",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn resource_chunks(\n    State(state): State<AppState>,\n    Json(_req): Json<ResourceChunksReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResourceChunksReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!([])",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 10548
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": [
          "Placeholder implementation: returns an empty JSON array; backend data retrieval is not implemented here."
        ]
      }
    },
    "/v1/assoc/mhn/new": {
      "post": {
        "operationId": "post_v1_assoc_mhn_new",
        "summary": "Mhn new",
        "tags": [
          "associative-memory"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require_scoped( CoreAction::Write, \"mhn:write\", request_authority::MEMORY_MHN, ); require_scoped( CoreAction::Admin, \"mhn:admin\", request_authority::MEMORY_MHN, ); require_matching_db(&db).\nRegistration: config.enable_mhn.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 7924
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4708
        },
        "x-registration-condition": "config.enable_mhn",
        "x-runtime-service": "mhn",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require_scoped( CoreAction::Write, \"mhn:write\", request_authority::MEMORY_MHN, ); require_scoped( CoreAction::Admin, \"mhn:admin\", request_authority::MEMORY_MHN, ); require_matching_db(&db).",
        "x-handler-signature": "async fn mhn_new(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Extension(authority): Extension<RequestAuthority>,\n    Json(req): Json<MhnNewReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MhnNewReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\n        \"ok\": true,\n        \"dims\": req.dimensions,\n        \"namespace\": hex::encode(ns_id.0)\n    })",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 7953
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/assoc/mhn/store": {
      "post": {
        "operationId": "post_v1_assoc_mhn_store",
        "summary": "Mhn store",
        "tags": [
          "associative-memory"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require_scoped( CoreAction::Write, \"mhn:write\", request_authority::MEMORY_MHN, ); require_matching_db(&db).\nRegistration: config.enable_mhn.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 7968
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4709
        },
        "x-registration-condition": "config.enable_mhn",
        "x-runtime-service": "mhn",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require_scoped( CoreAction::Write, \"mhn:write\", request_authority::MEMORY_MHN, ); require_matching_db(&db).",
        "x-handler-signature": "async fn mhn_store(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Extension(authority): Extension<RequestAuthority>,\n    Json(req): Json<MhnStoreReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MhnStoreReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"id\": id.to_string()})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 8002
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/assoc/mhn/retrieve": {
      "post": {
        "operationId": "post_v1_assoc_mhn_retrieve",
        "summary": "Mhn retrieve",
        "tags": [
          "associative-memory"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require_scoped(CoreAction::Read, \"mhn:read\", request_authority::MEMORY_MHN); require_matching_db(&db).\nRegistration: config.enable_mhn.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 8013
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4710
        },
        "x-registration-condition": "config.enable_mhn",
        "x-runtime-service": "mhn",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require_scoped(CoreAction::Read, \"mhn:read\", request_authority::MEMORY_MHN); require_matching_db(&db).",
        "x-handler-signature": "async fn mhn_retrieve(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Extension(authority): Extension<RequestAuthority>,\n    Json(req): Json<MhnRetrieveReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MhnRetrieveReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\n                \"id\": best_id.to_string(),\n                \"embedding\": embedding.to_vec(),\n                \"score\": best_score,\n            })",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 8050
            }
          },
          {
            "expression": "serde_json::json!({\n        \"id\": id.to_string(),\n        \"embedding\": emb.to_vec(),\n    })",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 8075
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/assoc/mhn/retrieve_by_vector": {
      "post": {
        "operationId": "post_v1_assoc_mhn_retrieve_by_vector",
        "summary": "Mhn retrieve by vector",
        "tags": [
          "associative-memory"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require_scoped(CoreAction::Read, \"mhn:read\", request_authority::MEMORY_MHN); require_matching_db(&db).\nRegistration: config.enable_mhn.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 8160
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4711
        },
        "x-registration-condition": "config.enable_mhn",
        "x-runtime-service": "mhn",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require_scoped(CoreAction::Read, \"mhn:read\", request_authority::MEMORY_MHN); require_matching_db(&db).",
        "x-handler-signature": "async fn mhn_retrieve_by_vector(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Extension(authority): Extension<RequestAuthority>,\n    Json(req): Json<MhnRetrieveVectorReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MhnRetrieveVectorReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"neighbors\": rows})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 8189
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/assoc/mhn/retrieve_by_key": {
      "post": {
        "operationId": "post_v1_assoc_mhn_retrieve_by_key",
        "summary": "Mhn retrieve by key",
        "tags": [
          "associative-memory"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require_scoped(CoreAction::Read, \"mhn:read\", request_authority::MEMORY_MHN); require_matching_db(&db).\nRegistration: config.enable_mhn.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 8199
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4715
        },
        "x-registration-condition": "config.enable_mhn",
        "x-runtime-service": "mhn",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require_scoped(CoreAction::Read, \"mhn:read\", request_authority::MEMORY_MHN); require_matching_db(&db).",
        "x-handler-signature": "async fn mhn_retrieve_by_key(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Extension(authority): Extension<RequestAuthority>,\n    Json(req): Json<MhnRetrieveKeyReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MhnRetrieveKeyReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"id\": id.to_string(), \"embedding\": embedding.to_vec()}),",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 8224
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/assoc/mhn/clear": {
      "post": {
        "operationId": "post_v1_assoc_mhn_clear",
        "summary": "Mhn clear",
        "tags": [
          "associative-memory"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require_scoped( CoreAction::Admin, \"mhn:admin\", request_authority::MEMORY_MHN, ); require_matching_db(&db).\nRegistration: config.enable_mhn.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 8087
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4716
        },
        "x-registration-condition": "config.enable_mhn",
        "x-runtime-service": "mhn",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require_scoped( CoreAction::Admin, \"mhn:admin\", request_authority::MEMORY_MHN, ); require_matching_db(&db).",
        "x-handler-signature": "async fn mhn_clear(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Extension(authority): Extension<RequestAuthority>,\n    Json(req): Json<MhnClearReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MhnClearReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"ok\": true})",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 8115
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/assoc/mhn/stats": {
      "post": {
        "operationId": "post_v1_assoc_mhn_stats",
        "summary": "Mhn stats",
        "tags": [
          "associative-memory"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require_scoped(CoreAction::Read, \"mhn:read\", request_authority::MEMORY_MHN); require_matching_db(&db).\nRegistration: config.enable_mhn.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 8124
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4717
        },
        "x-registration-condition": "config.enable_mhn",
        "x-runtime-service": "mhn",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require_scoped(CoreAction::Read, \"mhn:read\", request_authority::MEMORY_MHN); require_matching_db(&db).",
        "x-handler-signature": "async fn mhn_stats(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Extension(authority): Extension<RequestAuthority>,\n    Json(req): Json<MhnStatsReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MhnStatsReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\n        \"namespace\": hex::encode(authority.namespace().0),\n        \"count\": count,\n    })",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 8146
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/assoc/mhn/config": {
      "post": {
        "operationId": "post_v1_assoc_mhn_config",
        "summary": "Mhn config",
        "tags": [
          "associative-memory"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require_scoped(CoreAction::Read, \"mhn:read\", request_authority::MEMORY_MHN); require_matching_db(&db).\nRegistration: config.enable_mhn.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 8235
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4718
        },
        "x-registration-condition": "config.enable_mhn",
        "x-runtime-service": "mhn",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require_scoped(CoreAction::Read, \"mhn:read\", request_authority::MEMORY_MHN); require_matching_db(&db).",
        "x-handler-signature": "async fn mhn_config(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Extension(authority): Extension<RequestAuthority>,\n    Json(req): Json<MhnConfigReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MhnConfigReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\n        \"namespace\": hex::encode(authority.namespace().0),\n        \"dimensions\": entry.dimensions,\n        \"persistence\": true,\n        \"network_id\": entry.network_id,\n        \"namespace_id\": hex::encode(entry.namespace.0),\n        \"created_at\": entry.created_at.to_rfc3339(),\n        \"last_accessed\": entry.last_accessed.to_rfc3339(),\n        \"pattern_count\": entry.pattern_count,\n    })",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 8248
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/assoc/mhn/system_info": {
      "post": {
        "operationId": "post_v1_assoc_mhn_system_info",
        "summary": "Mhn system info",
        "tags": [
          "associative-memory"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require_scoped(CoreAction::Read, \"mhn:read\", request_authority::MEMORY_MHN); require_matching_db(&db).\nRegistration: config.enable_mhn.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 8266
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4719
        },
        "x-registration-condition": "config.enable_mhn",
        "x-runtime-service": "mhn",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require_scoped(CoreAction::Read, \"mhn:read\", request_authority::MEMORY_MHN); require_matching_db(&db).",
        "x-handler-signature": "async fn mhn_system_info(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Extension(authority): Extension<RequestAuthority>,\n    Json(req): Json<MhnSystemInfoReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MhnSystemInfoReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\n        \"namespace\": hex::encode(authority.namespace().0),\n        \"dimensions\": dims,\n        \"count\": count,\n        \"capacity_estimate\": capacity,\n        \"sparsity\": None::<f64>,\n        \"network_id\": entry.network_id,\n        \"namespace_id\": hex::encode(entry.namespace.0),\n        \"created_at\": entry.created_at.to_rfc3339(),\n        \"last_accessed\": entry.last_accessed.to_rfc3339(),\n        \"pattern_count\": entry.pattern_count,\n    })",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 8280
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/mhn/health": {
      "get": {
        "operationId": "get_v1_mhn_health",
        "summary": "Mhn health",
        "tags": [
          "associative-memory"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_mhn.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 10305
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4720
        },
        "x-registration-condition": "config.enable_mhn",
        "x-runtime-service": "mhn",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn mhn_health(State(state): State<AppState>) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/assoc/mhn/list": {
      "post": {
        "operationId": "post_v1_assoc_mhn_list",
        "summary": "Mhn list",
        "tags": [
          "associative-memory"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require_scoped(CoreAction::Read, \"mhn:read\", request_authority::MEMORY_MHN).\nRegistration: config.enable_mhn.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 11237
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4721
        },
        "x-registration-condition": "config.enable_mhn",
        "x-runtime-service": "mhn",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require_scoped(CoreAction::Read, \"mhn:read\", request_authority::MEMORY_MHN).",
        "x-handler-signature": "async fn mhn_list(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<AkashaDB>>,\n    Extension(authority): Extension<RequestAuthority>,\n    Json(req): Json<MhnListReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MhnListReq_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\n        \"patterns\": [],\n        \"totalCount\": count\n    })",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 11248
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/mcp/tools/list": {
      "post": {
        "operationId": "post_v1_mcp_tools_list",
        "summary": "List available MCP tools.",
        "tags": [
          "mcp"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_mcp.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/mcp/handlers.rs",
          "line": 115
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4732
        },
        "x-registration-condition": "config.enable_mcp",
        "x-runtime-service": "mcp",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn mcp_tools_list(\n    State(state): State<AppState>,\n    Json(_req): Json<McpToolsListRequest>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/McpToolsListRequest_77c39c7"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\n        \"tools\": tool_list,\n    })",
            "source": {
              "file": "akasha-daemon/src/mcp/handlers.rs",
              "line": 121
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/mcp/tools/call": {
      "post": {
        "operationId": "post_v1_mcp_tools_call",
        "summary": "Call an MCP tool. The namespace and capabilities are derived from the authenticated capability token (injected by the auth layer), NOT from the request body.  This prevents callers from escalating the",
        "tags": [
          "mcp"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require(required_action, Some(required_keyspace)).\nRegistration: config.enable_mcp.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/mcp/handlers.rs",
          "line": 132
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4733
        },
        "x-registration-condition": "config.enable_mcp",
        "x-runtime-service": "mcp",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped. Handler additionally checks require(required_action, Some(required_keyspace)).",
        "x-handler-signature": "async fn mcp_tools_call(\n    State(state): State<AppState>,\n    Extension(authority): Extension<RequestAuthority>,\n    Json(req): Json<McpToolsCallRequest>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/McpToolsCallRequest_77c39c7"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "result",
            "source": {
              "file": "akasha-daemon/src/mcp/handlers.rs",
              "line": 204
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/mcp/health": {
      "get": {
        "operationId": "get_v1_mcp_health",
        "summary": "MCP service health endpoint.",
        "tags": [
          "mcp"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_mcp.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/mcp/handlers.rs",
          "line": 208
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4734
        },
        "x-registration-condition": "config.enable_mcp",
        "x-runtime-service": "mcp",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn mcp_health(State(state): State<AppState>) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\n        \"status\": \"healthy\",\n        \"tool_count\": tools.tool_count(),\n    })",
            "source": {
              "file": "akasha-daemon/src/mcp/handlers.rs",
              "line": 210
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/mcp/connection": {
      "get": {
        "operationId": "get_v1_mcp_connection",
        "summary": "Mcp connection",
        "tags": [
          "mcp"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_mcp.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 10552
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4735
        },
        "x-registration-condition": "config.enable_mcp",
        "x-runtime-service": "mcp",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn mcp_connection(State(state): State<AppState>) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\n        \"endpoint\": \"embedded\",\n        \"protocol\": \"stdio\",\n        \"status\": if connected { \"connected\" } else { \"disconnected\" },\n        \"lastPing\": chrono::Utc::now().to_rfc3339(),\n        \"version\": \"1.0\",\n        \"capabilities\": [\"tools\"]\n    })",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 10555
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/mcp/stats": {
      "get": {
        "operationId": "get_v1_mcp_stats",
        "summary": "Mcp stats",
        "tags": [
          "mcp"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_mcp.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 10566
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4736
        },
        "x-registration-condition": "config.enable_mcp",
        "x-runtime-service": "mcp",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn mcp_stats(State(state): State<AppState>) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\n        \"totalTools\": tool_count,\n        \"callsToday\": 0,\n        \"avgLatencyMs\": 0,\n        \"errorRate\": 0,\n        \"topTools\": []\n    })",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 10573
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": [
          "Only tool_count is read from the registry; callsToday, avgLatencyMs, errorRate, and topTools are fixed placeholder values."
        ]
      }
    },
    "/v1/mcp/history": {
      "get": {
        "operationId": "get_v1_mcp_history",
        "summary": "Mcp history",
        "tags": [
          "mcp"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_mcp.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 10583
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4737
        },
        "x-registration-condition": "config.enable_mcp",
        "x-runtime-service": "mcp",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn mcp_history(State(state): State<AppState>) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!(entries)",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 10587
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/models": {
      "get": {
        "operationId": "get_v1_models",
        "summary": "GET /v1/models - List all models with their statuses",
        "tags": [
          "model-management"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: always registered.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4877
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4742
        },
        "x-registration-condition": "always registered",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn models_list(\n    State(state): State<AppState>,\n) -> Result<Json<ModelsListResponse>, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          },
          "200": {
            "description": "Typed JSON success response (handler may use other explicit status codes listed in the source reference).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelsListResponse_fd991cc"
                }
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "ModelsListResponse {\n        models: model_infos,\n        total,\n        memory_used_bytes: memory_used,\n        memory_budget_bytes: memory_budget,\n    }",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 4895
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/models/load": {
      "post": {
        "operationId": "post_v1_models_load",
        "summary": "POST /v1/models/load - Load a model into memory",
        "tags": [
          "model-management"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: always registered.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4960
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4743
        },
        "x-registration-condition": "always registered",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn models_load(\n    State(state): State<AppState>,\n    Json(req): Json<ModelLoadRequest>,\n) -> Result<Json<ModelOpResponse>, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          },
          "200": {
            "description": "Typed JSON success response (handler may use other explicit status codes listed in the source reference).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelOpResponse_fd991cc"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ModelLoadRequest_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "ModelOpResponse {\n            success: true,\n            model_id: req.model_id.clone(),\n            status: \"loaded\".to_string(),\n            message: format!(\n                \"Model '{}' loaded ({} RAM, path: {})\",\n                req.model_id,\n                models::progress::format_bytes(handle.memory_bytes),\n                handle.path.display()\n            ),\n        }",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 4980
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/models/download": {
      "post": {
        "operationId": "post_v1_models_download",
        "summary": "POST /v1/models/download - Download a model without loading it",
        "tags": [
          "model-management"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: always registered.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 5018
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4744
        },
        "x-registration-condition": "always registered",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn models_download(\n    State(state): State<AppState>,\n    Json(req): Json<ModelDownloadRequest>,\n) -> Result<Json<ModelOpResponse>, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          },
          "200": {
            "description": "Typed JSON success response (handler may use other explicit status codes listed in the source reference).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelOpResponse_fd991cc"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ModelDownloadRequest_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "ModelOpResponse {\n            success: true,\n            model_id: req.model_id.clone(),\n            status: \"downloaded\".to_string(),\n            message: format!(\"Model '{}' downloaded to {}\", req.model_id, path.display()),\n        }",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 5032
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/models/memory": {
      "get": {
        "operationId": "get_v1_models_memory",
        "summary": "GET /v1/models/memory - Get memory usage breakdown",
        "tags": [
          "model-management"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: always registered.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 5077
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4745
        },
        "x-registration-condition": "always registered",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn models_memory_usage(\n    State(state): State<AppState>,\n) -> Result<Json<ModelsMemoryResponse>, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          },
          "200": {
            "description": "Typed JSON success response (handler may use other explicit status codes listed in the source reference).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelsMemoryResponse_fd991cc"
                }
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "ModelsMemoryResponse {\n        memory_used_bytes: memory_used,\n        memory_budget_bytes: memory_budget,\n        utilization_percent: utilization,\n        loaded_models,\n    }",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 5105
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/models/health": {
      "get": {
        "operationId": "get_v1_models_health",
        "summary": "GET /v1/models/health - Health check for model subsystem",
        "tags": [
          "model-management"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: always registered.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 5114
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4746
        },
        "x-registration-condition": "always registered",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn models_health(State(state): State<AppState>) -> Result<Json<Value>, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          },
          "200": {
            "description": "Typed JSON success response (handler may use other explicit status codes listed in the source reference).",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Arbitrary JSON; constrained further by handler logic.",
                  "x-rust-type": "Value"
                }
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "json!({\n        \"status\": status,\n        \"total_models\": all_states.len(),\n        \"loaded\": loaded_count,\n        \"downloaded\": downloaded_count,\n        \"failed\": failed_count,\n        \"memory_used_bytes\": memory_used,\n        \"memory_budget_bytes\": memory_budget,\n        \"core_models\": core_model_ids,\n        \"extended_models\": extended_model_ids,\n        \"core_total_size_bytes\": registry.core_size_bytes(),\n        \"core_total_ram_bytes\": registry.core_ram_bytes(),\n        \"all_total_size_bytes\": registry.total_size_bytes(),\n    })",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 5146
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/models/{model_id}": {
      "get": {
        "operationId": "get_v1_models_model_id",
        "summary": "GET /v1/models/:model_id - Get single model details",
        "tags": [
          "model-management"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: always registered.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4904
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4747
        },
        "x-registration-condition": "always registered",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn models_get_one(\n    State(state): State<AppState>,\n    Path(model_id): Path<String>,\n) -> Result<Json<ModelInfoResponse>, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          },
          "200": {
            "description": "Typed JSON success response (handler may use other explicit status codes listed in the source reference).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelInfoResponse_fd991cc"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "model_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "x-response-expressions": [
          {
            "expression": "build_model_info(spec, &model_state)",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 4920
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      },
      "delete": {
        "operationId": "delete_v1_models_model_id",
        "summary": "DELETE /v1/models/:model_id - Delete a model (unloads and removes from cache)",
        "tags": [
          "model-management"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: always registered.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 5048
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4747
        },
        "x-registration-condition": "always registered",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn models_delete(\n    State(state): State<AppState>,\n    Path(model_id): Path<String>,\n) -> Result<Json<ModelOpResponse>, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          },
          "200": {
            "description": "Typed JSON success response (handler may use other explicit status codes listed in the source reference).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelOpResponse_fd991cc"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "model_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "x-response-expressions": [
          {
            "expression": "ModelOpResponse {\n        success: true,\n        model_id: model_id.clone(),\n        status: \"not_downloaded\".to_string(),\n        message: format!(\"Model '{}' deleted from cache and unloaded\", model_id),\n    }",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 5068
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/models/{model_id}/status": {
      "get": {
        "operationId": "get_v1_models_model_id_status",
        "summary": "GET /v1/models/:model_id/status - Get model status",
        "tags": [
          "model-management"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: always registered.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4924
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4751
        },
        "x-registration-condition": "always registered",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn models_status(\n    State(state): State<AppState>,\n    Path(model_id): Path<String>,\n) -> Result<Json<Value>, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          },
          "200": {
            "description": "Typed JSON success response (handler may use other explicit status codes listed in the source reference).",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Arbitrary JSON; constrained further by handler logic.",
                  "x-rust-type": "Value"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "model_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "x-response-expressions": [
          {
            "expression": "json!({\n        \"model_id\": model_state.id,\n        \"name\": model_state.name,\n        \"status\": model_state.status.to_string(),\n        \"size_bytes\": model_state.size_bytes,\n        \"memory_bytes\": model_state.memory_bytes,\n        \"load_time_ms\": model_state.load_time_ms,\n        \"last_error\": model_state.last_error,\n        \"downloaded_at\": model_state.downloaded_at.map(|dt| dt.to_rfc3339()),\n        \"loaded_at\": model_state.loaded_at.map(|dt| dt.to_rfc3339()),\n        \"handle\": handle_info,\n    })",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 4945
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/inference/{model_id}": {
      "post": {
        "operationId": "post_v1_inference_model_id",
        "summary": "Inference invoke",
        "tags": [
          "inference"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_inference.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 5194
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 5164
        },
        "x-registration-condition": "config.enable_inference",
        "x-runtime-service": "inference",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn inference_invoke(\n    State(state): State<AppState>,\n    Path(model_id): Path<String>,\n    Json(request): Json<UnifiedInferenceRequest>,\n) -> Result<Json<UnifiedInferenceApiResponse>, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          },
          "200": {
            "description": "Typed JSON success response (handler may use other explicit status codes listed in the source reference).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UnifiedInferenceApiResponse_e818998"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UnifiedInferenceRequest_e818998"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "model_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "x-response-expressions": [],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/inference/jobs/{job_id}": {
      "get": {
        "operationId": "get_v1_inference_jobs_job_id",
        "summary": "Inference job status",
        "tags": [
          "inference"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_inference.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 5208
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 5165
        },
        "x-registration-condition": "config.enable_inference",
        "x-runtime-service": "inference",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn inference_job_status(\n    State(state): State<AppState>,\n    Path(job_id): Path<String>,\n) -> Result<Json<JobStatus>, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          },
          "200": {
            "description": "Typed JSON success response (handler may use other explicit status codes listed in the source reference).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JobStatus_e818998"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "x-response-expressions": [],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/inference/models": {
      "get": {
        "operationId": "get_v1_inference_models",
        "summary": "Inference list models",
        "tags": [
          "inference"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_inference.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 5335
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 5166
        },
        "x-registration-condition": "config.enable_inference",
        "x-runtime-service": "inference",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn inference_list_models(\n    State(state): State<AppState>,\n    Query(query): Query<InferenceModelQuery>,\n) -> Result<Json<InferenceModelListResponse>, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          },
          "200": {
            "description": "Typed JSON success response (handler may use other explicit status codes listed in the source reference).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InferenceModelListResponse_fd991cc"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "tenant",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "backend",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "family",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "status",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "search",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          }
        ],
        "x-response-expressions": [
          {
            "expression": "InferenceModelListResponse {\n        models: service.list_models(&filter),\n    }",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 5341
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      },
      "post": {
        "operationId": "post_v1_inference_models",
        "summary": "Inference register model",
        "tags": [
          "inference"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_inference.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 5295
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 5166
        },
        "x-registration-condition": "config.enable_inference",
        "x-runtime-service": "inference",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn inference_register_model(\n    State(state): State<AppState>,\n    Json(request): Json<RegisterModelRequest>,\n) -> Result<StatusCode, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterModelRequest_fd991cc"
              }
            }
          }
        },
        "x-response-expressions": [],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/inference/models/{model_id}": {
      "get": {
        "operationId": "get_v1_inference_models_model_id",
        "summary": "Inference get model",
        "tags": [
          "inference"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_inference.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 5323
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 5170
        },
        "x-registration-condition": "config.enable_inference",
        "x-runtime-service": "inference",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn inference_get_model(\n    State(state): State<AppState>,\n    Path(model_id): Path<String>,\n) -> Result<Json<ModelMetadata>, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          },
          "200": {
            "description": "Typed JSON success response (handler may use other explicit status codes listed in the source reference).",
            "content": {
              "application/json": {
                "schema": {
                  "x-rust-type": "ModelMetadata",
                  "description": "Wire schema unresolved by the source extractor; no fields are invented."
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "model_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "x-response-expressions": [
          {
            "expression": "metadata",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 5332
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      },
      "delete": {
        "operationId": "delete_v1_inference_models_model_id",
        "summary": "Inference delete model",
        "tags": [
          "inference"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_inference.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 5358
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 5170
        },
        "x-registration-condition": "config.enable_inference",
        "x-runtime-service": "inference",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn inference_delete_model(\n    State(state): State<AppState>,\n    Path(model_id): Path<String>,\n) -> Result<StatusCode, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "parameters": [
          {
            "name": "model_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "x-response-expressions": [],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/inference/models/{model_id}/status": {
      "patch": {
        "operationId": "patch_v1_inference_models_model_id_status",
        "summary": "Inference update model status",
        "tags": [
          "inference"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_inference.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 5346
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 5174
        },
        "x-registration-condition": "config.enable_inference",
        "x-runtime-service": "inference",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn inference_update_model_status(\n    State(state): State<AppState>,\n    Path(model_id): Path<String>,\n    Json(body): Json<InferenceUpdateStatusRequest>,\n) -> Result<Json<ModelMetadata>, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          },
          "200": {
            "description": "Typed JSON success response (handler may use other explicit status codes listed in the source reference).",
            "content": {
              "application/json": {
                "schema": {
                  "x-rust-type": "ModelMetadata",
                  "description": "Wire schema unresolved by the source extractor; no fields are invented."
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InferenceUpdateStatusRequest_fd991cc"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "model_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "x-response-expressions": [
          {
            "expression": "updated",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 5355
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/inference/backends/summary": {
      "get": {
        "operationId": "get_v1_inference_backends_summary",
        "summary": "Inference backend summary",
        "tags": [
          "inference"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_inference.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 5369
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 5178
        },
        "x-registration-condition": "config.enable_inference",
        "x-runtime-service": "inference",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn inference_backend_summary(\n    State(state): State<AppState>,\n) -> Result<Json<Vec<BackendRuntimeReport>>, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          },
          "200": {
            "description": "Typed JSON success response (handler may use other explicit status codes listed in the source reference).",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BackendRuntimeReport_e818998"
                  }
                }
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "service.backend_reports()",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 5373
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/inference/jobs": {
      "get": {
        "operationId": "get_v1_inference_jobs",
        "summary": "Inference jobs snapshot",
        "tags": [
          "inference"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_inference.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 5376
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 5182
        },
        "x-registration-condition": "config.enable_inference",
        "x-runtime-service": "inference",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn inference_jobs_snapshot(\n    State(state): State<AppState>,\n    Query(query): Query<InferenceJobQuery>,\n) -> Result<Json<QueueSnapshot>, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          },
          "200": {
            "description": "Typed JSON success response (handler may use other explicit status codes listed in the source reference).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QueueSnapshot_e818998"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer",
                  "x-rust-type": "usize",
                  "minimum": 0
                },
                {
                  "type": "null"
                }
              ]
            }
          }
        ],
        "x-response-expressions": [
          {
            "expression": "service.queue_snapshot(resolve_job_limit(query.limit))",
            "source": {
              "file": "akasha-daemon/src/main.rs",
              "line": 5381
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/inference/health": {
      "get": {
        "operationId": "get_v1_inference_health",
        "summary": "Inference health",
        "tags": [
          "inference"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_inference.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 10313
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 5183
        },
        "x-registration-condition": "config.enable_inference",
        "x-runtime-service": "inference",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn inference_health(State(state): State<AppState>) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/inference/jobs/{job_id}/retry": {
      "post": {
        "operationId": "post_v1_inference_jobs_job_id_retry",
        "summary": "Inference retry job",
        "tags": [
          "inference"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_inference.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 5384
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 5184
        },
        "x-registration-condition": "config.enable_inference",
        "x-runtime-service": "inference",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn inference_retry_job(\n    State(state): State<AppState>,\n    Path(job_id): Path<String>,\n) -> Result<Json<UnifiedInferenceApiResponse>, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          },
          "200": {
            "description": "Typed JSON success response (handler may use other explicit status codes listed in the source reference).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UnifiedInferenceApiResponse_e818998"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "x-response-expressions": [],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/inference/jobs/{job_id}/cancel": {
      "post": {
        "operationId": "post_v1_inference_jobs_job_id_cancel",
        "summary": "Inference cancel job",
        "tags": [
          "inference"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_inference.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 5398
        },
        "x-registration": {
          "file": "akasha-daemon/src/main.rs",
          "line": 5188
        },
        "x-registration-condition": "config.enable_inference",
        "x-runtime-service": "inference",
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn inference_cancel_job(\n    State(state): State<AppState>,\n    Path(job_id): Path<String>,\n) -> Result<Json<JobStatus>, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          },
          "200": {
            "description": "Typed JSON success response (handler may use other explicit status codes listed in the source reference).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JobStatus_e818998"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "x-response-expressions": [],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/lineage/graph": {
      "post": {
        "operationId": "post_v1_lineage_graph",
        "summary": "Query the graph for a lineage subgraph starting from an optional root node. POST /v1/lineage/graph",
        "tags": [
          "lineage"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_graph.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/lineage.rs",
          "line": 100
        },
        "x-registration": {
          "file": "akasha-daemon/src/lineage.rs",
          "line": 367
        },
        "x-registration-condition": "config.enable_graph",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn lineage_graph(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<akasha::AkashaDB>>,\n    Json(req): Json<LineageGraphReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LineageGraphReq_677ff0e"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!(resp)",
            "source": {
              "file": "akasha-daemon/src/lineage.rs",
              "line": 166
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/lineage/nodes/{id}": {
      "get": {
        "operationId": "get_v1_lineage_nodes_id",
        "summary": "Get a single lineage node by its ID. GET /v1/lineage/nodes/:id",
        "tags": [
          "lineage"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_graph.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/lineage.rs",
          "line": 172
        },
        "x-registration": {
          "file": "akasha-daemon/src/lineage.rs",
          "line": 368
        },
        "x-registration-condition": "config.enable_graph",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn lineage_node_get(\n    Path(id): Path<String>,\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<akasha::AkashaDB>>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"node\": node})",
            "source": {
              "file": "akasha-daemon/src/lineage.rs",
              "line": 217
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/lineage/impact": {
      "post": {
        "operationId": "post_v1_lineage_impact",
        "summary": "Count downstream nodes affected by a given lineage node via graph traversal. POST /v1/lineage/impact",
        "tags": [
          "lineage"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_graph.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/lineage.rs",
          "line": 223
        },
        "x-registration": {
          "file": "akasha-daemon/src/lineage.rs",
          "line": 369
        },
        "x-registration-condition": "config.enable_graph",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn lineage_impact(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<akasha::AkashaDB>>,\n    Json(req): Json<LineageImpactReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LineageImpactReq_677ff0e"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!(resp)",
            "source": {
              "file": "akasha-daemon/src/lineage.rs",
              "line": 258
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/lineage/verify": {
      "post": {
        "operationId": "post_v1_lineage_verify",
        "summary": "Compute a SHA-256 hash of a lineage node's content for integrity verification. POST /v1/lineage/verify",
        "tags": [
          "lineage"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_graph.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/lineage.rs",
          "line": 264
        },
        "x-registration": {
          "file": "akasha-daemon/src/lineage.rs",
          "line": 370
        },
        "x-registration-condition": "config.enable_graph",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn lineage_verify(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<akasha::AkashaDB>>,\n    Json(req): Json<LineageVerifyReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LineageVerifyReq_677ff0e"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!(resp)",
            "source": {
              "file": "akasha-daemon/src/lineage.rs",
              "line": 315
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/lineage/stats": {
      "get": {
        "operationId": "get_v1_lineage_stats",
        "summary": "Aggregate counts of lineage nodes and edges from the graph. GET /v1/lineage/stats",
        "tags": [
          "lineage"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: config.enable_graph.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/lineage.rs",
          "line": 321
        },
        "x-registration": {
          "file": "akasha-daemon/src/lineage.rs",
          "line": 371
        },
        "x-registration-condition": "config.enable_graph",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn lineage_stats(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<akasha::AkashaDB>>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!(resp)",
            "source": {
              "file": "akasha-daemon/src/lineage.rs",
              "line": 358
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/forgetting/requests": {
      "get": {
        "operationId": "get_v1_forgetting_requests",
        "summary": "List all forgetting requests from the system keyspace. GET /v1/forgetting/requests",
        "tags": [
          "forgetting"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: always registered; requires database at runtime.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/forgetting.rs",
          "line": 210
        },
        "x-registration": {
          "file": "akasha-daemon/src/forgetting.rs",
          "line": 482
        },
        "x-registration-condition": "always registered; requires database at runtime",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn forgetting_list_requests(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<akasha::AkashaDB>>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\n        \"requests\": results,\n        \"count\": results.len()\n    })",
            "source": {
              "file": "akasha-daemon/src/forgetting.rs",
              "line": 224
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      },
      "post": {
        "operationId": "post_v1_forgetting_requests",
        "summary": "Create a new forgetting request with status \"pending\". POST /v1/forgetting/requests",
        "tags": [
          "forgetting"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: always registered; requires database at runtime.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/forgetting.rs",
          "line": 233
        },
        "x-registration": {
          "file": "akasha-daemon/src/forgetting.rs",
          "line": 482
        },
        "x-registration-condition": "always registered; requires database at runtime",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn forgetting_create_request(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<akasha::AkashaDB>>,\n    Json(req): Json<CreateForgettingRequest>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateForgettingRequest_4bbbc90"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\n            \"id\": record.id,\n            \"stored_key\": stored_id,\n            \"status\": \"pending\"\n        })",
            "source": {
              "file": "akasha-daemon/src/forgetting.rs",
              "line": 270
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/forgetting/requests/{id}/approve": {
      "post": {
        "operationId": "post_v1_forgetting_requests_id_approve",
        "summary": "Approve a forgetting request: execute the deletions and generate a proof. POST /v1/forgetting/requests/:id/approve",
        "tags": [
          "forgetting"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: always registered; requires database at runtime.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/forgetting.rs",
          "line": 281
        },
        "x-registration": {
          "file": "akasha-daemon/src/forgetting.rs",
          "line": 486
        },
        "x-registration-condition": "always registered; requires database at runtime",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn forgetting_approve_request(\n    Path(id): Path<String>,\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<akasha::AkashaDB>>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "x-response-expressions": [
          {
            "expression": "resp",
            "source": {
              "file": "akasha-daemon/src/forgetting.rs",
              "line": 348
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/forgetting/proof/{id}": {
      "get": {
        "operationId": "get_v1_forgetting_proof_id",
        "summary": "Get the deletion proof for a completed forgetting request. GET /v1/forgetting/proof/:id",
        "tags": [
          "forgetting"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: always registered; requires database at runtime.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/forgetting.rs",
          "line": 354
        },
        "x-registration": {
          "file": "akasha-daemon/src/forgetting.rs",
          "line": 490
        },
        "x-registration-condition": "always registered; requires database at runtime",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn forgetting_get_proof(\n    Path(id): Path<String>,\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<akasha::AkashaDB>>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\n        \"id\": record.id,\n        \"status\": record.status,\n        \"proof_hash\": proof_hash,\n        \"algorithm\": \"sha256-merkle\",\n        \"merkle_leaves\": record.merkle_leaves,\n        \"target_keyspace\": record.target_keyspace,\n        \"target_ids\": record.target_ids,\n        \"approved_at\": record.approved_at,\n    })",
            "source": {
              "file": "akasha-daemon/src/forgetting.rs",
              "line": 372
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/forgetting/policies": {
      "get": {
        "operationId": "get_v1_forgetting_policies",
        "summary": "Return default forgetting policies. GET /v1/forgetting/policies",
        "tags": [
          "forgetting"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: always registered; requires database at runtime.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/forgetting.rs",
          "line": 387
        },
        "x-registration": {
          "file": "akasha-daemon/src/forgetting.rs",
          "line": 491
        },
        "x-registration-condition": "always registered; requires database at runtime",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn forgetting_list_policies(\n    State(state): State<AppState>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\n        \"policies\": policies,\n        \"count\": policies.len()\n    })",
            "source": {
              "file": "akasha-daemon/src/forgetting.rs",
              "line": 392
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/forgetting/policies/{id}/toggle": {
      "post": {
        "operationId": "post_v1_forgetting_policies_id_toggle",
        "summary": "Toggle a policy's enabled status. POST /v1/forgetting/policies/:id/toggle",
        "tags": [
          "forgetting"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: always registered; requires database at runtime.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/forgetting.rs",
          "line": 401
        },
        "x-registration": {
          "file": "akasha-daemon/src/forgetting.rs",
          "line": 492
        },
        "x-registration-condition": "always registered; requires database at runtime",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn forgetting_toggle_policy(\n    Path(policy_id): Path<String>,\n    State(state): State<AppState>,\n    Json(req): Json<TogglePolicyReq>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TogglePolicyReq_4bbbc90"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\n                \"id\": p.id,\n                \"name\": p.name,\n                \"enabled\": p.enabled,\n                \"message\": \"Policy toggled successfully. Note: policy state is ephemeral in this release.\"\n            })",
            "source": {
              "file": "akasha-daemon/src/forgetting.rs",
              "line": 416
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/forgetting/stats": {
      "get": {
        "operationId": "get_v1_forgetting_stats",
        "summary": "Count forgetting requests by status. GET /v1/forgetting/stats",
        "tags": [
          "forgetting"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: always registered; requires database at runtime.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/forgetting.rs",
          "line": 433
        },
        "x-registration": {
          "file": "akasha-daemon/src/forgetting.rs",
          "line": 496
        },
        "x-registration-condition": "always registered; requires database at runtime",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn forgetting_stats(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<akasha::AkashaDB>>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!(resp)",
            "source": {
              "file": "akasha-daemon/src/forgetting.rs",
              "line": 473
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/quarantine/items": {
      "get": {
        "operationId": "get_v1_quarantine_items",
        "summary": "List quarantined items, optionally filtered by status. GET /v1/quarantine/items?status=pending&limit=100",
        "tags": [
          "learning-isolation"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: always registered; requires database at runtime.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/quarantine.rs",
          "line": 225
        },
        "x-registration": {
          "file": "akasha-daemon/src/quarantine.rs",
          "line": 445
        },
        "x-registration-condition": "always registered; requires database at runtime",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn quarantine_list_items(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<akasha::AkashaDB>>,\n    Query(params): Query<QuarantineListParams>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "parameters": [
          {
            "name": "status",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer",
                  "x-rust-type": "usize",
                  "minimum": 0
                },
                {
                  "type": "null"
                }
              ]
            }
          }
        ],
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\n        \"items\": results,\n        \"count\": results.len()\n    })",
            "source": {
              "file": "akasha-daemon/src/quarantine.rs",
              "line": 247
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/quarantine/items/{id}": {
      "get": {
        "operationId": "get_v1_quarantine_items_id",
        "summary": "Get a single quarantined item with its test gate results. GET /v1/quarantine/items/:id",
        "tags": [
          "learning-isolation"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: always registered; requires database at runtime.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/quarantine.rs",
          "line": 256
        },
        "x-registration": {
          "file": "akasha-daemon/src/quarantine.rs",
          "line": 446
        },
        "x-registration-condition": "always registered; requires database at runtime",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn quarantine_get_item(\n    Path(id): Path<String>,\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<akasha::AkashaDB>>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\"item\": item})",
            "source": {
              "file": "akasha-daemon/src/quarantine.rs",
              "line": 266
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/quarantine/items/{id}/approve": {
      "post": {
        "operationId": "post_v1_quarantine_items_id_approve",
        "summary": "Approve a quarantined item, setting its status to \"approved\". POST /v1/quarantine/items/:id/approve",
        "tags": [
          "learning-isolation"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: always registered; requires database at runtime.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/quarantine.rs",
          "line": 272
        },
        "x-registration": {
          "file": "akasha-daemon/src/quarantine.rs",
          "line": 447
        },
        "x-registration-condition": "always registered; requires database at runtime",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn quarantine_approve_item(\n    Path(id): Path<String>,\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<akasha::AkashaDB>>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\n        \"id\": item.id,\n        \"status\": \"approved\",\n        \"updated_at\": item.updated_at\n    })",
            "source": {
              "file": "akasha-daemon/src/quarantine.rs",
              "line": 294
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/quarantine/items/{id}/reject": {
      "post": {
        "operationId": "post_v1_quarantine_items_id_reject",
        "summary": "Reject a quarantined item, setting its status to \"rejected\". POST /v1/quarantine/items/:id/reject",
        "tags": [
          "learning-isolation"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: always registered; requires database at runtime.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/quarantine.rs",
          "line": 304
        },
        "x-registration": {
          "file": "akasha-daemon/src/quarantine.rs",
          "line": 451
        },
        "x-registration-condition": "always registered; requires database at runtime",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn quarantine_reject_item(\n    Path(id): Path<String>,\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<akasha::AkashaDB>>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\n        \"id\": item.id,\n        \"status\": \"rejected\",\n        \"updated_at\": item.updated_at\n    })",
            "source": {
              "file": "akasha-daemon/src/quarantine.rs",
              "line": 326
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/quarantine/test-gate": {
      "post": {
        "operationId": "post_v1_quarantine_test_gate",
        "summary": "Run a test gate on a quarantined item and record the result. POST /v1/quarantine/test-gate",
        "tags": [
          "learning-isolation"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: always registered; requires database at runtime.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/quarantine.rs",
          "line": 336
        },
        "x-registration": {
          "file": "akasha-daemon/src/quarantine.rs",
          "line": 455
        },
        "x-registration-condition": "always registered; requires database at runtime",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn quarantine_run_test_gate(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<akasha::AkashaDB>>,\n    Json(req): Json<TestGateRequest>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TestGateRequest_2e99200"
              }
            }
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\n        \"item_id\": req.item_id,\n        \"gate\": req.gate,\n        \"passed\": passed,\n        \"result\": result\n    })",
            "source": {
              "file": "akasha-daemon/src/quarantine.rs",
              "line": 371
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/quarantine/policies": {
      "get": {
        "operationId": "get_v1_quarantine_policies",
        "summary": "Return quarantine policies. GET /v1/quarantine/policies",
        "tags": [
          "learning-isolation"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: always registered; requires database at runtime.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/quarantine.rs",
          "line": 382
        },
        "x-registration": {
          "file": "akasha-daemon/src/quarantine.rs",
          "line": 456
        },
        "x-registration-condition": "always registered; requires database at runtime",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn quarantine_list_policies(\n    State(state): State<AppState>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!({\n        \"policies\": policies,\n        \"count\": policies.len()\n    })",
            "source": {
              "file": "akasha-daemon/src/quarantine.rs",
              "line": 387
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    },
    "/v1/quarantine/stats": {
      "get": {
        "operationId": "get_v1_quarantine_stats",
        "summary": "Count quarantined items by status. GET /v1/quarantine/stats",
        "tags": [
          "learning-isolation"
        ],
        "description": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.\nRegistration: always registered; requires database at runtime.\nThe source reference documents handler expressions when response serialization is dynamic.",
        "x-source": {
          "file": "akasha-daemon/src/quarantine.rs",
          "line": 396
        },
        "x-registration": {
          "file": "akasha-daemon/src/quarantine.rs",
          "line": 457
        },
        "x-registration-condition": "always registered; requires database at runtime",
        "x-runtime-service": null,
        "x-auth-policy": "Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.",
        "x-handler-signature": "async fn quarantine_stats(\n    State(state): State<AppState>,\n    Extension(db): Extension<Arc<akasha::AkashaDB>>,\n) -> Result<impl IntoResponse, DaemonError>",
        "responses": {
          "default": {
            "description": "Handler-specific response or error. See the exact return type and response expressions in the reference; no success schema is fabricated."
          }
        },
        "x-response-expressions": [
          {
            "expression": "serde_json::json!(resp)",
            "source": {
              "file": "akasha-daemon/src/quarantine.rs",
              "line": 436
            }
          }
        ],
        "security": [
          {
            "capability": []
          }
        ],
        "x-auth-mode-note": "Represents hosted dedicated mode. Configured legacy JWT verification can additionally require Authorization. Self-hosted policy may differ; see authentication reference.",
        "x-implementation-notes": []
      }
    }
  },
  "components": {
    "schemas": {
      "EnableServiceRequest_fd991cc": {
        "x-rust-type": "EnableServiceRequest",
        "description": "Custom or tagged serialization; see the exact source definition.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 194
        }
      },
      "EnableServiceResponse_fd991cc": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "updates": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ServiceMutationResponse_fd991cc"
            }
          },
          "failed_services": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FailedService_fd991cc"
            }
          }
        },
        "required": [
          "success",
          "updates",
          "failed_services"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 203
        }
      },
      "ServiceMutationResponse_fd991cc": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/RuntimeServiceStatus_e734465"
          },
          "lifecycle": {
            "$ref": "#/components/schemas/ServiceLifecycle_e734465"
          },
          "enabled": {
            "type": "boolean"
          },
          "provisioned": {
            "type": "boolean"
          },
          "applied": {
            "type": "boolean"
          },
          "message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "name",
          "status",
          "lifecycle",
          "enabled",
          "provisioned",
          "applied"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 249
        }
      },
      "RuntimeServiceStatus_e734465": {
        "type": "string",
        "enum": [
          "disabled",
          "running",
          "pending",
          "restart_required",
          "failed"
        ],
        "x-source": {
          "file": "akasha-daemon/src/service_runtime.rs",
          "line": 23
        }
      },
      "ServiceLifecycle_e734465": {
        "type": "string",
        "enum": [
          "hot_reload",
          "cold_restart"
        ],
        "x-source": {
          "file": "akasha-daemon/src/service_runtime.rs",
          "line": 16
        }
      },
      "FailedService_fd991cc": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "code": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "reason",
          "code"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 210
        }
      },
      "DisableServiceRequest_fd991cc": {
        "x-rust-type": "DisableServiceRequest",
        "description": "Custom or tagged serialization; see the exact source definition.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 229
        }
      },
      "DisableServiceResponse_fd991cc": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "updates": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ServiceMutationResponse_fd991cc"
            }
          },
          "failed_services": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FailedService_fd991cc"
            }
          }
        },
        "required": [
          "success",
          "updates",
          "failed_services"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 236
        }
      },
      "ServiceStatusResponse_fd991cc": {
        "type": "object",
        "properties": {
          "services": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RuntimeServiceEntry_e734465"
            }
          }
        },
        "required": [
          "services"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 244
        }
      },
      "RuntimeServiceEntry_e734465": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "provisioned": {
            "type": "boolean"
          },
          "lifecycle": {
            "$ref": "#/components/schemas/ServiceLifecycle_e734465"
          },
          "status": {
            "$ref": "#/components/schemas/RuntimeServiceStatus_e734465"
          },
          "dependencies": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "last_transition": {
            "x-rust-type": "DateTime<Utc>",
            "description": "Custom serde field; consult source."
          },
          "message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "name",
          "enabled",
          "provisioned",
          "lifecycle",
          "status",
          "dependencies",
          "last_transition"
        ],
        "x-source": {
          "file": "akasha-daemon/src/service_runtime.rs",
          "line": 32
        }
      },
      "CambiumProjectionEnvelope_8af6dfb": {
        "type": "object",
        "properties": {
          "projectionId": {
            "type": "string"
          },
          "target": {
            "type": "string"
          },
          "sinkId": {
            "type": "string"
          },
          "projectionClass": {
            "type": "string"
          },
          "sourceEventId": {
            "type": "string"
          },
          "streamId": {
            "type": "string"
          },
          "sequence": {
            "type": "integer",
            "x-rust-type": "u64",
            "minimum": 0
          },
          "globalSequence": {
            "type": "integer",
            "x-rust-type": "u64",
            "minimum": 0
          },
          "traceId": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "spanId": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "scope": {
            "description": "Arbitrary JSON; constrained further by handler logic.",
            "x-rust-type": "Value"
          },
          "lineage": {
            "description": "Arbitrary JSON; constrained further by handler logic.",
            "x-rust-type": "Value"
          },
          "dataClass": {
            "type": "string"
          },
          "redactionProfile": {
            "type": "string"
          },
          "sourcePayloadHash": {
            "type": "string"
          },
          "evidenceRefs": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "activitySummary": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "toolId": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "toolScoreSample": {
            "anyOf": [
              {
                "description": "Arbitrary JSON; constrained further by handler logic.",
                "x-rust-type": "Value"
              },
              {
                "type": "null"
              }
            ]
          },
          "derived": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string"
          }
        },
        "required": [
          "projectionId",
          "target",
          "sinkId",
          "projectionClass",
          "sourceEventId",
          "streamId",
          "sequence",
          "globalSequence",
          "scope",
          "lineage",
          "dataClass",
          "redactionProfile",
          "sourcePayloadHash",
          "derived",
          "createdAt"
        ],
        "x-source": {
          "file": "akasha-daemon/src/cambium.rs",
          "line": 21
        }
      },
      "ToolAdvisorRankRequest_8af6dfb": {
        "type": "object",
        "properties": {
          "taskClass": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "taskIntent": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "scope": {
            "description": "Arbitrary JSON; constrained further by handler logic.",
            "x-rust-type": "Value"
          },
          "sourceEventId": {
            "type": "string"
          },
          "runId": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "candidates": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "policySourceRef": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "scope",
          "sourceEventId"
        ],
        "x-source": {
          "file": "akasha-daemon/src/cambium.rs",
          "line": 74
        }
      },
      "CognitiveRunCycleReq_fd991cc": {
        "type": "object",
        "properties": {
          "input": {
            "description": "Arbitrary JSON; constrained further by handler logic.",
            "x-rust-type": "serde_json::Value"
          },
          "trigger": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "input"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 10599
        }
      },
      "WmSlotClearReq_fd991cc": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 11005
        }
      },
      "WmSlotInjectReq_fd991cc": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "value": {
            "description": "Arbitrary JSON; constrained further by handler logic.",
            "x-rust-type": "serde_json::Value"
          }
        },
        "required": [
          "id",
          "value"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 11038
        }
      },
      "ChunkTextRequest_fd991cc": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string"
          },
          "config": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ChunkingConfig_ebe9d24"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional per-request chunking configuration override."
          }
        },
        "required": [
          "text"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2790
        }
      },
      "ChunkingConfig_ebe9d24": {
        "type": "object",
        "properties": {
          "max_chunk_size": {
            "type": "integer",
            "x-rust-type": "usize",
            "minimum": 0,
            "description": "Maximum chunk size in characters (default: 2048)."
          },
          "overlap": {
            "type": "integer",
            "x-rust-type": "usize",
            "minimum": 0,
            "description": "Overlap between consecutive chunks in characters (default: 200)."
          },
          "strategy": {
            "$ref": "#/components/schemas/ChunkingStrategy_ebe9d24",
            "description": "Chunking strategy to use."
          }
        },
        "x-source": {
          "file": "akasha-daemon/src/chunking.rs",
          "line": 21
        }
      },
      "ChunkingStrategy_ebe9d24": {
        "type": "string",
        "enum": [
          "sliding_window",
          "sentence_based",
          "paragraph_based"
        ],
        "x-source": {
          "file": "akasha-daemon/src/chunking.rs",
          "line": 55
        }
      },
      "SqlRequest_fd991cc": {
        "type": "object",
        "properties": {
          "sql": {
            "type": "string"
          }
        },
        "required": [
          "sql"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2206
        }
      },
      "AnalyticsSourceCsv_fd991cc": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "path": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "path"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3845
        }
      },
      "AnalyticsSourceParquet_fd991cc": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "path": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "path"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3863
        }
      },
      "AnalyticsSourceCore_fd991cc": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "keyspace": {
            "type": "string"
          },
          "collection": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "keyspace",
          "collection"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3881
        }
      },
      "IngestRequest_fd991cc": {
        "type": "object",
        "properties": {
          "kind": {
            "$ref": "#/components/schemas/IngestKind_fd991cc"
          },
          "content_type": {
            "type": "string"
          }
        },
        "required": [
          "kind",
          "content_type"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2238
        }
      },
      "IngestKind_fd991cc": {
        "x-rust-type": "IngestKind",
        "description": "Custom or tagged serialization; see the exact source definition.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2226
        }
      },
      "AnalyticsViewCreateReq_fd991cc": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "query": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "query"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 11270
        }
      },
      "CypherRequest_fd991cc": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string"
          }
        },
        "required": [
          "query"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2267
        }
      },
      "CypherLiteRequest_fd991cc": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string"
          },
          "allow_updates": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          },
          "enforce_transactions": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          },
          "temporal": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/TemporalClauseRequest_fd991cc"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "query"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2285
        }
      },
      "TemporalClauseRequest_fd991cc": {
        "type": "object",
        "properties": {
          "valid_time": {
            "anyOf": [
              {
                "type": "integer",
                "x-rust-type": "i64"
              },
              {
                "type": "null"
              }
            ]
          },
          "transaction_time": {
            "anyOf": [
              {
                "type": "integer",
                "x-rust-type": "i64"
              },
              {
                "type": "null"
              }
            ]
          },
          "valid_range": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/TemporalRangeRequest_fd991cc"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2278
        }
      },
      "TemporalRangeRequest_fd991cc": {
        "type": "object",
        "properties": {
          "from": {
            "type": "integer",
            "x-rust-type": "i64"
          },
          "to": {
            "type": "integer",
            "x-rust-type": "i64"
          }
        },
        "required": [
          "from",
          "to"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2272
        }
      },
      "EnsurePropertyIndexRequest_fd991cc": {
        "type": "object",
        "properties": {
          "property_name": {
            "type": "string"
          }
        },
        "required": [
          "property_name"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2365
        }
      },
      "EnsureCompositeIndexRequest_fd991cc": {
        "type": "object",
        "properties": {
          "properties": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "properties"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2382
        }
      },
      "GraphFulltextRequest_fd991cc": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string"
          },
          "limit": {
            "anyOf": [
              {
                "type": "integer",
                "x-rust-type": "usize",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "query"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2412
        }
      },
      "SubdomainQueryReq_fd991cc": {
        "type": "object",
        "properties": {
          "namespace": {
            "type": "string"
          },
          "domain": {
            "type": "string"
          },
          "subdomain": {
            "type": "string"
          },
          "limit": {
            "anyOf": [
              {
                "type": "integer",
                "x-rust-type": "usize",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "namespace",
          "domain",
          "subdomain"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2452
        }
      },
      "PagerankRequest_fd991cc": {
        "type": "object",
        "properties": {
          "damping": {
            "anyOf": [
              {
                "type": "number",
                "x-rust-type": "f64"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2473
        }
      },
      "ShortestPathRequest_fd991cc": {
        "type": "object",
        "properties": {
          "source": {
            "type": "string"
          },
          "target": {
            "type": "string"
          }
        },
        "required": [
          "source",
          "target"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2492
        }
      },
      "ComponentsRequest_fd991cc": {
        "type": "object",
        "properties": {
          "strong": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2516
        }
      },
      "MicrotheorySwitchRequest_fd991cc": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2536
        }
      },
      "MicrotheoryKeyspaceRequest_fd991cc": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2554
        }
      },
      "GraphTxIdReq_fd991cc": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 9561
        }
      },
      "SnnBuildReq_fd991cc": {
        "x-rust-type": "SnnBuildReq",
        "description": "Custom or tagged serialization; see the exact source definition.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 8657
        }
      },
      "RejectedBodyAuthority_fd991cc": {
        "type": "object",
        "properties": {
          "capability": {
            "anyOf": [
              {
                "description": "Arbitrary JSON; constrained further by handler logic.",
                "x-rust-type": "serde_json::Value"
              },
              {
                "type": "null"
              }
            ]
          },
          "actions": {
            "anyOf": [
              {
                "description": "Arbitrary JSON; constrained further by handler logic.",
                "x-rust-type": "serde_json::Value"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 7898
        }
      },
      "SnnCompileReq_fd991cc": {
        "x-rust-type": "SnnCompileReq",
        "description": "Custom or tagged serialization; see the exact source definition.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 8674
        }
      },
      "SnnStepReq_fd991cc": {
        "x-rust-type": "SnnStepReq",
        "description": "Custom or tagged serialization; see the exact source definition.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 8700
        }
      },
      "SnnTrainBpttReq_fd991cc": {
        "x-rust-type": "SnnTrainBpttReq",
        "description": "Custom or tagged serialization; see the exact source definition.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 8715
        }
      },
      "SnnStateReq_fd991cc": {
        "x-rust-type": "SnnStateReq",
        "description": "Custom or tagged serialization; see the exact source definition.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 8731
        }
      },
      "SnnFederationRegisterReq_fd991cc": {
        "type": "object",
        "properties": {
          "token": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "agent_id": {
            "type": "string"
          },
          "host": {
            "type": "string"
          },
          "capabilities": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "ensembles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EnsembleInfo_61bd1d3"
            }
          },
          "visibility": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "trust_score": {
            "anyOf": [
              {
                "type": "number",
                "x-rust-type": "f32"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "agent_id",
          "host",
          "capabilities"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 8744
        }
      },
      "EnsembleInfo_61bd1d3": {
        "type": "object",
        "properties": {
          "ensemble_id": {
            "type": "string"
          },
          "n_neurons": {
            "type": "integer",
            "x-rust-type": "i32"
          },
          "dimensions": {
            "type": "integer",
            "x-rust-type": "i32"
          },
          "specializations": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "ensemble_id",
          "n_neurons",
          "dimensions"
        ],
        "x-source": {
          "file": "akasha-daemon/src/snn/federation.rs",
          "line": 24
        }
      },
      "SnnFederationContributeReq_fd991cc": {
        "type": "object",
        "properties": {
          "token": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "agent_id": {
            "type": "string"
          },
          "deltas": {
            "$ref": "#/components/schemas/WeightDeltas_30ca6f7"
          }
        },
        "required": [
          "agent_id",
          "deltas"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 8757
        }
      },
      "WeightDeltas_30ca6f7": {
        "type": "object",
        "properties": {
          "ensemble_deltas": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "number",
                "x-rust-type": "f32"
              }
            }
          },
          "connection_deltas": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "number",
                "x-rust-type": "f32"
              }
            }
          },
          "learning_rate_deltas": {
            "type": "object",
            "additionalProperties": {
              "type": "number",
              "x-rust-type": "f32"
            }
          }
        },
        "required": [
          "ensemble_deltas",
          "connection_deltas",
          "learning_rate_deltas"
        ],
        "x-source": {
          "file": "akasha/snn/src/cognitive.rs",
          "line": 265
        }
      },
      "SnnFederationTokenReq_fd991cc": {
        "type": "object",
        "properties": {
          "token": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 8764
        }
      },
      "SnnFederationSpikeReq_fd991cc": {
        "type": "object",
        "properties": {
          "token": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "event": {
            "$ref": "#/components/schemas/SpikeEventPayload_61bd1d3"
          }
        },
        "required": [
          "event"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 8769
        }
      },
      "SpikeEventPayload_61bd1d3": {
        "type": "object",
        "properties": {
          "source_agent_id": {
            "type": "string"
          },
          "ensemble_id": {
            "type": "string"
          },
          "neuron_indices": {
            "type": "array",
            "items": {
              "type": "integer",
              "x-rust-type": "i32"
            }
          },
          "spike_times": {
            "type": "array",
            "items": {
              "type": "number",
              "x-rust-type": "f32"
            }
          },
          "intensity": {
            "type": "number",
            "x-rust-type": "f32"
          }
        },
        "required": [
          "source_agent_id",
          "ensemble_id",
          "neuron_indices",
          "spike_times",
          "intensity"
        ],
        "x-source": {
          "file": "akasha-daemon/src/snn/federation.rs",
          "line": 33
        }
      },
      "SnnFederationCapabilitiesReq_fd991cc": {
        "type": "object",
        "properties": {
          "token": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "required": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 8775
        }
      },
      "SnnFederationAgentUpdateReq_fd991cc": {
        "type": "object",
        "properties": {
          "token": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "agent_id": {
            "type": "string"
          },
          "visibility": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "trust_score": {
            "anyOf": [
              {
                "type": "number",
                "x-rust-type": "f32"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "agent_id"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 8782
        }
      },
      "SnnFederationAgentRemoveReq_fd991cc": {
        "type": "object",
        "properties": {
          "token": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "agent_id": {
            "type": "string"
          }
        },
        "required": [
          "agent_id"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 8790
        }
      },
      "SnnNeuronsReq_fd991cc": {
        "type": "object",
        "properties": {
          "network_id": {
            "type": "string"
          }
        },
        "required": [
          "network_id"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 11169
        }
      },
      "NsRetrieveReq_fd991cc": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string"
          },
          "mode": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "k": {
            "anyOf": [
              {
                "type": "integer",
                "x-rust-type": "usize",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "text"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 9473
        }
      },
      "NsPathsFindReq_fd991cc": {
        "type": "object",
        "properties": {
          "start": {
            "type": "string"
          },
          "end": {
            "type": "string"
          }
        },
        "required": [
          "start",
          "end"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 9517
        }
      },
      "NsPrefetchReq_fd991cc": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string"
          }
        },
        "required": [
          "query"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 9540
        }
      },
      "NsRuleToggleReq_fd991cc": {
        "type": "object",
        "properties": {
          "rule_id": {
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          }
        },
        "required": [
          "rule_id",
          "enabled"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 11204
        }
      },
      "ContinualRecoverReq_fd991cc": {
        "type": "object",
        "properties": {
          "checkpoint_id": {
            "type": "string"
          }
        },
        "required": [
          "checkpoint_id"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 9629
        }
      },
      "ContinualComponentReq_fd991cc": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 9641
        }
      },
      "ContinualTaskNewReq_fd991cc": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "name"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 9660
        }
      },
      "ContinualTaskTrainReq_fd991cc": {
        "type": "object",
        "properties": {
          "task_id": {
            "type": "string"
          },
          "training_data": {
            "type": "array",
            "items": {
              "description": "Arbitrary JSON; constrained further by handler logic.",
              "x-rust-type": "serde_json::Value"
            }
          }
        },
        "required": [
          "task_id",
          "training_data"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 9691
        }
      },
      "ContinualTaskStatsReq_fd991cc": {
        "type": "object",
        "properties": {
          "namespace": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 9714
        }
      },
      "ContinualTaskEvaluateReq_fd991cc": {
        "type": "object",
        "properties": {
          "task_id": {
            "type": "string"
          },
          "test_data": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "description": "Arbitrary JSON; constrained further by handler logic.",
                  "x-rust-type": "serde_json::Value"
                }
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "task_id"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 9735
        }
      },
      "ContinualTaskDeleteReq_fd991cc": {
        "type": "object",
        "properties": {
          "task_id": {
            "type": "string"
          }
        },
        "required": [
          "task_id"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 9757
        }
      },
      "ContinualTaskConsolidateReq_fd991cc": {
        "type": "object",
        "properties": {
          "namespace": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 9775
        }
      },
      "ContinualTaskPauseReq_fd991cc": {
        "type": "object",
        "properties": {
          "task_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 11111
        }
      },
      "LoadModelRequest_fd991cc": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "model_type": {
            "type": "string"
          },
          "framework": {
            "type": "string"
          },
          "path": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "data_b64": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "name",
          "model_type",
          "framework"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2574
        }
      },
      "UnloadModelRequest_fd991cc": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2681
        }
      },
      "MlMetricsRequest_fd991cc": {
        "type": "object",
        "properties": {
          "model_id": {
            "type": "string"
          }
        },
        "required": [
          "model_id"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2708
        }
      },
      "EmbedRequest_fd991cc": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string"
          },
          "chunk": {
            "type": "boolean",
            "description": "When true, long text is automatically chunked and each chunk is embedded separately.  The response contains a `vectors` array instead of a single `vector`."
          },
          "chunking": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ChunkingConfig_ebe9d24"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional per-request chunking overrides."
          }
        },
        "required": [
          "text"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2726
        }
      },
      "MlGenerateRequest_fd991cc": {
        "type": "object",
        "properties": {
          "model_id": {
            "type": "string"
          },
          "prompt": {
            "type": "string"
          },
          "max_tokens": {
            "anyOf": [
              {
                "type": "integer",
                "x-rust-type": "usize",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          },
          "temperature": {
            "anyOf": [
              {
                "type": "number",
                "x-rust-type": "f32"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "model_id",
          "prompt"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2822
        }
      },
      "MlTokenizerLoadReq_fd991cc": {
        "type": "object",
        "properties": {
          "model_id": {
            "type": "string"
          }
        },
        "required": [
          "model_id"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2858
        }
      },
      "MlTrainSupervisedReq_fd991cc": {
        "type": "object",
        "properties": {
          "model_name": {
            "type": "string"
          },
          "input_dim": {
            "type": "integer",
            "x-rust-type": "usize",
            "minimum": 0
          },
          "num_classes": {
            "type": "integer",
            "x-rust-type": "usize",
            "minimum": 0
          },
          "samples": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MlSupervisedSample_fd991cc"
            }
          },
          "params": {
            "$ref": "#/components/schemas/MlTrainingParams_fd991cc"
          }
        },
        "required": [
          "model_name",
          "input_dim",
          "num_classes",
          "samples"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2597
        }
      },
      "MlSupervisedSample_fd991cc": {
        "type": "object",
        "properties": {
          "features": {
            "type": "array",
            "items": {
              "type": "number",
              "x-rust-type": "f32"
            }
          },
          "label": {
            "type": "integer",
            "x-rust-type": "usize",
            "minimum": 0
          }
        },
        "required": [
          "features",
          "label"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2583
        }
      },
      "MlTrainingParams_fd991cc": {
        "type": "object",
        "properties": {
          "learning_rate": {
            "anyOf": [
              {
                "type": "number",
                "x-rust-type": "f64"
              },
              {
                "type": "null"
              }
            ]
          },
          "weight_decay": {
            "anyOf": [
              {
                "type": "number",
                "x-rust-type": "f64"
              },
              {
                "type": "null"
              }
            ]
          },
          "epochs": {
            "anyOf": [
              {
                "type": "integer",
                "x-rust-type": "usize",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          },
          "batch_size": {
            "anyOf": [
              {
                "type": "integer",
                "x-rust-type": "usize",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2589
        }
      },
      "MlTrainHrmReq_fd991cc": {
        "type": "object",
        "properties": {
          "domain": {
            "type": "string"
          },
          "dataspace": {
            "type": "string"
          },
          "primitive_keyspace": {
            "type": "string"
          },
          "checkpoint_name": {
            "type": "string"
          },
          "reservoir_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "epochs": {
            "anyOf": [
              {
                "type": "integer",
                "x-rust-type": "usize",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          },
          "batch_size": {
            "anyOf": [
              {
                "type": "integer",
                "x-rust-type": "usize",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          },
          "model_config": {
            "description": "Arbitrary JSON; constrained further by handler logic.",
            "x-rust-type": "serde_json::Value"
          },
          "training_config": {
            "description": "Arbitrary JSON; constrained further by handler logic.",
            "x-rust-type": "serde_json::Value"
          },
          "inputs": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "description": "Arbitrary JSON; constrained further by handler logic.",
                  "x-rust-type": "serde_json::Value"
                }
              },
              {
                "type": "null"
              }
            ]
          },
          "targets": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "description": "Arbitrary JSON; constrained further by handler logic.",
                  "x-rust-type": "serde_json::Value"
                }
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "domain",
          "dataspace",
          "primitive_keyspace",
          "checkpoint_name",
          "model_config",
          "training_config"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2607
        }
      },
      "VectorCreateRequest_fd991cc": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "dims": {
            "type": "integer",
            "x-rust-type": "usize",
            "minimum": 0
          },
          "metric": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "dims",
          "metric"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2877
        }
      },
      "VectorAddRequest_fd991cc": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "vector": {
            "type": "array",
            "items": {
              "type": "number",
              "x-rust-type": "f32"
            }
          }
        },
        "required": [
          "name",
          "id",
          "vector"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2909
        }
      },
      "VectorSearchRequest_fd991cc": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "vector": {
            "type": "array",
            "items": {
              "type": "number",
              "x-rust-type": "f32"
            }
          },
          "k": {
            "type": "integer",
            "x-rust-type": "usize",
            "minimum": 0
          }
        },
        "required": [
          "name",
          "vector",
          "k"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2929
        }
      },
      "VectorSaveRequest_fd991cc": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2949
        }
      },
      "TxBeginReq_fd991cc": {
        "type": "object",
        "properties": {
          "actor": {
            "type": "string"
          },
          "isolation": {
            "type": "string"
          }
        },
        "required": [
          "actor",
          "isolation"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3393
        }
      },
      "TxIdReq_fd991cc": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3420
        }
      },
      "NamespaceSwitchReq_fd991cc": {
        "type": "object",
        "properties": {
          "tenant_id": {
            "type": "string"
          },
          "reservoir_id": {
            "type": "string"
          },
          "agent_id": {
            "type": "string"
          },
          "dataspace_id": {
            "type": "string"
          }
        },
        "required": [
          "tenant_id",
          "reservoir_id",
          "agent_id",
          "dataspace_id"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3477
        }
      },
      "ReplicationCreateReq_fd991cc": {
        "type": "object",
        "properties": {
          "dest_data_dir": {
            "type": "string"
          },
          "link_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "dest_data_dir"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3542
        }
      },
      "ReplicationIdReq_fd991cc": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3579
        }
      },
      "BackupCreateRequest_fd991cc": {
        "type": "object",
        "properties": {
          "backup_dir": {
            "type": "string"
          },
          "options": {
            "anyOf": [
              {
                "x-rust-type": "akasha::CoreBackupOptions",
                "description": "Wire schema unresolved by the source extractor; no fields are invented."
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "backup_dir"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3061
        }
      },
      "BackupListRequest_fd991cc": {
        "type": "object",
        "properties": {
          "backup_dir": {
            "type": "string"
          }
        },
        "required": [
          "backup_dir"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3084
        }
      },
      "BackupRestoreRequest_fd991cc": {
        "type": "object",
        "properties": {
          "backup_dir": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "options": {
            "anyOf": [
              {
                "x-rust-type": "akasha::CoreRestoreOptions",
                "description": "Wire schema unresolved by the source extractor; no fields are invented."
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "backup_dir",
          "id"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3104
        }
      },
      "BackupDeleteRequest_fd991cc": {
        "type": "object",
        "properties": {
          "backup_dir": {
            "type": "string"
          },
          "id": {
            "type": "string"
          }
        },
        "required": [
          "backup_dir",
          "id"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3125
        }
      },
      "ReindexRequest_fd991cc": {
        "type": "object",
        "properties": {
          "keyspace": {
            "type": "string"
          }
        },
        "required": [
          "keyspace"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3331
        }
      },
      "CoreTextSearchRequest_fd991cc": {
        "type": "object",
        "properties": {
          "keyspace": {
            "type": "string"
          },
          "query": {
            "type": "string"
          },
          "limit": {
            "anyOf": [
              {
                "type": "integer",
                "x-rust-type": "usize",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "keyspace",
          "query"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3374
        }
      },
      "CreateKeyspaceRequest_fd991cc": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "model": {
            "type": "string"
          },
          "dims": {
            "anyOf": [
              {
                "type": "integer",
                "x-rust-type": "usize",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          },
          "domain": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "schema_version": {
            "anyOf": [
              {
                "type": "integer",
                "x-rust-type": "u32",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          },
          "schema": {
            "anyOf": [
              {
                "description": "Arbitrary JSON; constrained further by handler logic.",
                "x-rust-type": "serde_json::Value"
              },
              {
                "type": "null"
              }
            ]
          },
          "strict": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          },
          "metadata": {
            "anyOf": [
              {
                "type": "object",
                "additionalProperties": {
                  "description": "Arbitrary JSON; constrained further by handler logic.",
                  "x-rust-type": "serde_json::Value"
                }
              },
              {
                "type": "null"
              }
            ]
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "name",
          "model"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2125
        }
      },
      "PrimitiveImportRequest_fd991cc": {
        "type": "object",
        "properties": {
          "keyspace": {
            "type": "string"
          },
          "records": {
            "type": "array",
            "items": {
              "description": "Arbitrary JSON; constrained further by handler logic.",
              "x-rust-type": "serde_json::Value"
            }
          },
          "schema_version": {
            "anyOf": [
              {
                "type": "integer",
                "x-rust-type": "u32",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          },
          "upsert": {
            "type": "boolean"
          }
        },
        "required": [
          "keyspace",
          "records"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2156
        }
      },
      "PrimitiveExportRequest_fd991cc": {
        "type": "object",
        "properties": {
          "keyspace": {
            "type": "string"
          },
          "schema_version": {
            "anyOf": [
              {
                "type": "integer",
                "x-rust-type": "u32",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "keyspace"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2165
        }
      },
      "PutRequest_fd991cc": {
        "type": "object",
        "properties": {
          "data": {
            "description": "Arbitrary JSON; constrained further by handler logic.",
            "x-rust-type": "serde_json::Value"
          }
        },
        "required": [
          "data"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2144
        }
      },
      "QueryRequest_fd991cc": {
        "type": "object",
        "properties": {
          "filter": {
            "type": "string"
          },
          "limit": {
            "anyOf": [
              {
                "type": "integer",
                "x-rust-type": "usize",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          },
          "offset": {
            "anyOf": [
              {
                "type": "integer",
                "x-rust-type": "usize",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "filter"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 2149
        }
      },
      "VolumeCreateRequest_fd991cc": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "purpose": {
            "type": "string"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "kms_key_version": {
            "anyOf": [
              {
                "type": "integer",
                "x-rust-type": "u64",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          },
          "provider": {
            "$ref": "#/components/schemas/VolumeProvider_e19f9aa"
          }
        },
        "required": [
          "name",
          "purpose",
          "provider"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3144
        }
      },
      "VolumeProvider_e19f9aa": {
        "x-rust-type": "VolumeProvider",
        "description": "Custom or tagged serialization; see the exact source definition.",
        "x-source": {
          "file": "akasha-daemon/src/storage_volumes.rs",
          "line": 11
        }
      },
      "VolumeAttachRequest_fd991cc": {
        "type": "object",
        "properties": {
          "volume_id": {
            "type": "string"
          },
          "namespace": {
            "type": "string"
          },
          "purpose": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "volume_id",
          "namespace"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3155
        }
      },
      "VolumeDetachRequest_fd991cc": {
        "type": "object",
        "properties": {
          "volume_id": {
            "type": "string"
          }
        },
        "required": [
          "volume_id"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3163
        }
      },
      "EmissionRecordRequest_bbf69db": {
        "type": "object",
        "properties": {
          "perception_id": {
            "type": "string"
          },
          "ir_id": {
            "type": "string"
          },
          "modality": {
            "$ref": "#/components/schemas/ModalityDto_bbf69db"
          },
          "signer": {
            "type": "string"
          },
          "embedding": {
            "$ref": "#/components/schemas/EmbeddingDto_bbf69db"
          }
        },
        "required": [
          "perception_id",
          "ir_id",
          "modality",
          "signer",
          "embedding"
        ],
        "x-source": {
          "file": "akasha-daemon/src/mind_receiver.rs",
          "line": 89
        }
      },
      "ModalityDto_bbf69db": {
        "x-rust-type": "ModalityDto",
        "description": "Custom or tagged serialization; see the exact source definition.",
        "x-source": {
          "file": "akasha-daemon/src/mind_receiver.rs",
          "line": 99
        }
      },
      "EmbeddingDto_bbf69db": {
        "type": "object",
        "properties": {
          "algorithm": {
            "type": "string"
          },
          "dim": {
            "type": "integer",
            "x-rust-type": "u32",
            "minimum": 0
          },
          "vector": {
            "type": "array",
            "items": {
              "type": "number",
              "x-rust-type": "f32"
            }
          }
        },
        "required": [
          "algorithm",
          "dim",
          "vector"
        ],
        "x-source": {
          "file": "akasha-daemon/src/mind_receiver.rs",
          "line": 124
        }
      },
      "EpisodicInsertRequest_fd991cc": {
        "type": "object",
        "properties": {
          "event": {
            "x-rust-type": "EpisodicEvent",
            "description": "Wire schema unresolved by the source extractor; no fields are invented."
          }
        },
        "required": [
          "event"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 7461
        }
      },
      "EpisodicUpdateRequest_fd991cc": {
        "type": "object",
        "properties": {
          "event": {
            "x-rust-type": "EpisodicEvent",
            "description": "Wire schema unresolved by the source extractor; no fields are invented."
          }
        },
        "required": [
          "event"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 7495
        }
      },
      "ProceduralStoreRequest_fd991cc": {
        "type": "object",
        "properties": {
          "procedure": {
            "$ref": "#/components/schemas/Procedure_0b67b69"
          }
        },
        "required": [
          "procedure"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 7529
        }
      },
      "Procedure_0b67b69": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "procedure_type": {
            "$ref": "#/components/schemas/ProcedureType_0b67b69"
          },
          "version": {
            "type": "string"
          },
          "author": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "execution_context": {
            "$ref": "#/components/schemas/ExecutionContext_0b67b69"
          },
          "steps": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProcedureStep_0b67b69"
            }
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "success_criteria": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "failure_conditions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "related_procedures": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            }
          },
          "approval_required": {
            "type": "boolean"
          },
          "compiled_wasm": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": "integer",
                  "x-rust-type": "u8",
                  "minimum": 0
                }
              },
              {
                "type": "null"
              }
            ]
          },
          "usage_count": {
            "type": "integer",
            "x-rust-type": "u32",
            "minimum": 0
          },
          "success_rate": {
            "type": "number",
            "x-rust-type": "f32"
          }
        },
        "required": [
          "id",
          "name",
          "description",
          "procedure_type",
          "version",
          "author",
          "created_at",
          "updated_at",
          "execution_context",
          "steps",
          "tags",
          "success_criteria",
          "failure_conditions",
          "related_procedures",
          "approval_required",
          "usage_count",
          "success_rate"
        ],
        "x-source": {
          "file": "akasha/memory/src/procedural.rs",
          "line": 129
        }
      },
      "ProcedureType_0b67b69": {
        "type": "string",
        "enum": [
          "Workflow",
          "Script",
          "Recipe",
          "Algorithm",
          "Protocol",
          "Deployment",
          "Troubleshooting",
          "Setup",
          "Migration",
          "Manual",
          "Automated",
          "Hybrid",
          "Emergency",
          "Standard"
        ],
        "x-source": {
          "file": "akasha/memory/src/procedural.rs",
          "line": 26
        }
      },
      "ExecutionContext_0b67b69": {
        "type": "object",
        "properties": {
          "environment": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "required_tools": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "permissions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "estimated_duration_mins": {
            "anyOf": [
              {
                "type": "integer",
                "x-rust-type": "u32",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          },
          "risk_level": {
            "$ref": "#/components/schemas/RiskLevel_0b67b69"
          },
          "prerequisites": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            }
          }
        },
        "required": [
          "required_tools",
          "permissions",
          "risk_level",
          "prerequisites"
        ],
        "x-source": {
          "file": "akasha/memory/src/procedural.rs",
          "line": 45
        }
      },
      "RiskLevel_0b67b69": {
        "x-rust-type": "RiskLevel",
        "description": "Data-carrying enum; consult source variants and serde attributes.",
        "x-source": {
          "file": "akasha/memory/src/procedural.rs",
          "line": 68
        }
      },
      "ProcedureStep_0b67b69": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "sequence": {
            "type": "integer",
            "x-rust-type": "u32",
            "minimum": 0
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "commands": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "expected_output": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "timeout_seconds": {
            "anyOf": [
              {
                "type": "integer",
                "x-rust-type": "u32",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          },
          "retry_count": {
            "type": "integer",
            "x-rust-type": "u32",
            "minimum": 0
          },
          "required_permissions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "dependencies": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            }
          },
          "validation_criteria": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "id",
          "sequence",
          "name",
          "description",
          "commands",
          "retry_count",
          "required_permissions",
          "dependencies",
          "validation_criteria"
        ],
        "x-source": {
          "file": "akasha/memory/src/procedural.rs",
          "line": 77
        }
      },
      "ProcedureIdReq_fd991cc": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 9813
        }
      },
      "ProcedureUpdateReq_fd991cc": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "procedure": {
            "$ref": "#/components/schemas/Procedure_0b67b69"
          }
        },
        "required": [
          "id",
          "procedure"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 9868
        }
      },
      "ProcedureSearchReq_fd991cc": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string"
          }
        },
        "required": [
          "query"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 9818
        }
      },
      "ResourceStoreRequest_fd991cc": {
        "type": "object",
        "properties": {
          "resource": {
            "$ref": "#/components/schemas/ResourceItem_237f978"
          },
          "data_b64": {
            "type": "string"
          }
        },
        "required": [
          "resource",
          "data_b64"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 7547
        }
      },
      "ResourceItem_237f978": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "resource_type": {
            "$ref": "#/components/schemas/ResourceType_237f978"
          },
          "mime_type": {
            "type": "string"
          },
          "size_bytes": {
            "type": "integer",
            "x-rust-type": "u64",
            "minimum": 0
          },
          "checksum": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "metadata": {
            "$ref": "#/components/schemas/ResourceMetadata_237f978"
          },
          "storage_key": {
            "type": "string",
            "description": "Path or key to the actual binary data in blob storage"
          },
          "available": {
            "type": "boolean",
            "description": "Whether the resource is available for access"
          }
        },
        "required": [
          "id",
          "name",
          "description",
          "resource_type",
          "mime_type",
          "size_bytes",
          "checksum",
          "created_at",
          "updated_at",
          "tags",
          "metadata",
          "storage_key",
          "available"
        ],
        "x-source": {
          "file": "akasha/memory/src/resource.rs",
          "line": 82
        }
      },
      "ResourceType_237f978": {
        "x-rust-type": "ResourceType",
        "description": "Data-carrying enum; consult source variants and serde attributes.",
        "x-source": {
          "file": "akasha/memory/src/resource.rs",
          "line": 26
        }
      },
      "ResourceMetadata_237f978": {
        "type": "object",
        "properties": {
          "file_name": {
            "type": "string"
          },
          "file_size": {
            "type": "integer",
            "x-rust-type": "u64",
            "minimum": 0
          },
          "mime_type": {
            "type": "string"
          },
          "checksum": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "accessed_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "custom_fields": {
            "type": "object",
            "additionalProperties": {
              "description": "Arbitrary JSON; constrained further by handler logic.",
              "x-rust-type": "serde_json::Value"
            }
          },
          "total_accesses": {
            "type": "integer",
            "x-rust-type": "u64",
            "minimum": 0
          }
        },
        "required": [
          "file_name",
          "file_size",
          "mime_type",
          "checksum",
          "created_at",
          "tags",
          "custom_fields",
          "total_accesses"
        ],
        "x-source": {
          "file": "akasha/memory/src/resource.rs",
          "line": 68
        }
      },
      "ResourceIdReq_fd991cc": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3613
        }
      },
      "ResourceTypeReq_fd991cc": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string"
          }
        },
        "required": [
          "kind"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3694
        }
      },
      "ResourceAccessReq_fd991cc": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "access": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "access"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3725
        }
      },
      "ResourceUsageReq_fd991cc": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 7604
        }
      },
      "VaultStoreRequest_fd991cc": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "data_b64": {
            "type": "string"
          },
          "sensitivity": {
            "type": "string"
          }
        },
        "required": [
          "key",
          "data_b64",
          "sensitivity"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 7569
        }
      },
      "VaultGetReq_fd991cc": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3763
        }
      },
      "VaultDeleteReq_fd991cc": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3803
        }
      },
      "VaultSearchReq_fd991cc": {
        "type": "object",
        "properties": {
          "pattern": {
            "type": "string"
          }
        },
        "required": [
          "pattern"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 3824
        }
      },
      "VaultUpdateReq_fd991cc": {
        "type": "object",
        "properties": {
          "entry": {
            "$ref": "#/components/schemas/VaultEntry_afe0991"
          }
        },
        "required": [
          "entry"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 7626
        }
      },
      "VaultEntry_afe0991": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "key": {
            "type": "string"
          },
          "encrypted_value": {
            "type": "array",
            "items": {
              "type": "integer",
              "x-rust-type": "u8",
              "minimum": 0
            }
          },
          "sensitivity_level": {
            "$ref": "#/components/schemas/SensitivityLevel_afe0991"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "accessed_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "metadata": {
            "type": "object",
            "additionalProperties": {
              "description": "Arbitrary JSON; constrained further by handler logic.",
              "x-rust-type": "serde_json::Value"
            }
          }
        },
        "required": [
          "id",
          "key",
          "encrypted_value",
          "sensitivity_level",
          "created_at",
          "updated_at",
          "tags",
          "metadata"
        ],
        "x-source": {
          "file": "akasha/memory/src/knowledge_vault.rs",
          "line": 92
        }
      },
      "SensitivityLevel_afe0991": {
        "type": "string",
        "enum": [
          "Public",
          "Internal",
          "Confidential",
          "Secret",
          "TopSecret",
          "High"
        ],
        "x-source": {
          "file": "akasha/memory/src/knowledge_vault.rs",
          "line": 74
        }
      },
      "CognitiveQueryReq_fd991cc": {
        "type": "object",
        "properties": {
          "query": {
            "description": "Arbitrary JSON; constrained further by handler logic.",
            "x-rust-type": "serde_json::Value"
          }
        },
        "required": [
          "query"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 7736
        }
      },
      "CognitiveThoughtReq_fd991cc": {
        "type": "object",
        "properties": {
          "thought": {
            "$ref": "#/components/schemas/CognitiveThought_7683c66"
          }
        },
        "required": [
          "thought"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 7659
        }
      },
      "CognitiveThought_7683c66": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "Unique identifier for this thought"
          },
          "agent_id": {
            "type": "string",
            "description": "The agent that generated this thought"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time",
            "description": "Timestamp when the thought occurred"
          },
          "thought_type": {
            "$ref": "#/components/schemas/ThoughtType_7683c66",
            "description": "Type of cognitive operation"
          },
          "content": {
            "type": "string",
            "description": "The actual thought content"
          },
          "confidence": {
            "type": "number",
            "x-rust-type": "f32",
            "description": "Confidence level (0.0 to 1.0)"
          },
          "parent_thought_id": {
            "anyOf": [
              {
                "type": "string",
                "format": "uuid"
              },
              {
                "type": "null"
              }
            ],
            "description": "Parent thought ID if this is a sub-thought"
          },
          "context": {
            "type": "object",
            "additionalProperties": {
              "description": "Arbitrary JSON; constrained further by handler logic.",
              "x-rust-type": "serde_json::Value"
            },
            "description": "Related context or evidence"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Tags for categorization"
          }
        },
        "required": [
          "id",
          "agent_id",
          "timestamp",
          "thought_type",
          "content",
          "confidence",
          "context",
          "tags"
        ],
        "x-source": {
          "file": "akasha/memory/src/cognitive_logging.rs",
          "line": 17
        }
      },
      "ThoughtType_7683c66": {
        "type": "string",
        "enum": [
          "ProblemAnalysis",
          "Hypothesis",
          "EvidenceEvaluation",
          "Reasoning",
          "Decision",
          "Planning",
          "Reflection",
          "ErrorDetection",
          "Learning",
          "Communication"
        ],
        "x-source": {
          "file": "akasha/memory/src/cognitive_logging.rs",
          "line": 40
        }
      },
      "CognitiveDecisionReq_fd991cc": {
        "type": "object",
        "properties": {
          "decision": {
            "$ref": "#/components/schemas/CognitiveDecision_7683c66"
          }
        },
        "required": [
          "decision"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 7678
        }
      },
      "CognitiveDecision_7683c66": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "Unique identifier"
          },
          "agent_id": {
            "type": "string",
            "description": "Agent that made the decision"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time",
            "description": "Timestamp of decision"
          },
          "decision": {
            "type": "string",
            "description": "The decision made"
          },
          "options_considered": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DecisionOption_7683c66"
            },
            "description": "Options that were considered"
          },
          "reasoning_trace": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "Reasoning that led to this decision"
          },
          "confidence": {
            "type": "number",
            "x-rust-type": "f32",
            "description": "Confidence in the decision"
          },
          "expected_outcomes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Expected outcomes"
          },
          "actual_outcomes": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              {
                "type": "null"
              }
            ],
            "description": "Actual outcomes (filled in later)"
          }
        },
        "required": [
          "id",
          "agent_id",
          "timestamp",
          "decision",
          "options_considered",
          "reasoning_trace",
          "confidence",
          "expected_outcomes"
        ],
        "x-source": {
          "file": "akasha/memory/src/cognitive_logging.rs",
          "line": 65
        }
      },
      "DecisionOption_7683c66": {
        "type": "object",
        "properties": {
          "option": {
            "type": "string"
          },
          "pros": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "cons": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "score": {
            "type": "number",
            "x-rust-type": "f32"
          },
          "rejected_reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "option",
          "pros",
          "cons",
          "score"
        ],
        "x-source": {
          "file": "akasha/memory/src/cognitive_logging.rs",
          "line": 88
        }
      },
      "CognitiveInteractionReq_fd991cc": {
        "type": "object",
        "properties": {
          "interaction": {
            "$ref": "#/components/schemas/AgentInteraction_7683c66"
          }
        },
        "required": [
          "interaction"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 7697
        }
      },
      "AgentInteraction_7683c66": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "from_agent": {
            "type": "string"
          },
          "to_agent": {
            "type": "string"
          },
          "interaction_type": {
            "$ref": "#/components/schemas/InteractionType_7683c66"
          },
          "message": {
            "type": "string"
          },
          "context": {
            "type": "object",
            "additionalProperties": {
              "description": "Arbitrary JSON; constrained further by handler logic.",
              "x-rust-type": "serde_json::Value"
            }
          },
          "response": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/InteractionResponse_7683c66"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "timestamp",
          "from_agent",
          "to_agent",
          "interaction_type",
          "message",
          "context"
        ],
        "x-source": {
          "file": "akasha/memory/src/cognitive_logging.rs",
          "line": 98
        }
      },
      "InteractionType_7683c66": {
        "type": "string",
        "enum": [
          "Query",
          "Request",
          "Inform",
          "Delegate",
          "Collaborate",
          "Negotiate",
          "Conflict",
          "Consensus"
        ],
        "x-source": {
          "file": "akasha/memory/src/cognitive_logging.rs",
          "line": 111
        }
      },
      "InteractionResponse_7683c66": {
        "type": "object",
        "properties": {
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "response": {
            "type": "string"
          },
          "success": {
            "type": "boolean"
          },
          "metadata": {
            "type": "object",
            "additionalProperties": {
              "description": "Arbitrary JSON; constrained further by handler logic.",
              "x-rust-type": "serde_json::Value"
            }
          }
        },
        "required": [
          "timestamp",
          "response",
          "success",
          "metadata"
        ],
        "x-source": {
          "file": "akasha/memory/src/cognitive_logging.rs",
          "line": 124
        }
      },
      "CognitiveSessionReq_fd991cc": {
        "type": "object",
        "properties": {
          "agent_id": {
            "type": "string"
          },
          "goal": {
            "type": "string"
          }
        },
        "required": [
          "agent_id",
          "goal"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 7716
        }
      },
      "RetrievalReq_fd991cc": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string"
          },
          "limit": {
            "anyOf": [
              {
                "type": "integer",
                "x-rust-type": "usize",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          },
          "chunk": {
            "type": "boolean"
          }
        },
        "required": [
          "text"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 7847
        }
      },
      "EpisodicSearchReq_fd991cc": {
        "type": "object",
        "properties": {
          "text": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "query": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "limit": {
            "anyOf": [
              {
                "type": "integer",
                "x-rust-type": "usize",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 8629
        }
      },
      "VaultAccessLogReq_fd991cc": {
        "type": "object",
        "properties": {
          "entry_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 10521
        }
      },
      "ResourceChunksReq_fd991cc": {
        "type": "object",
        "properties": {
          "resource_id": {
            "type": "string"
          }
        },
        "required": [
          "resource_id"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 10537
        }
      },
      "MhnNewReq_fd991cc": {
        "x-rust-type": "MhnNewReq",
        "description": "Custom or tagged serialization; see the exact source definition.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 7918
        }
      },
      "MhnStoreReq_fd991cc": {
        "x-rust-type": "MhnStoreReq",
        "description": "Custom or tagged serialization; see the exact source definition.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 7961
        }
      },
      "MhnRetrieveReq_fd991cc": {
        "x-rust-type": "MhnRetrieveReq",
        "description": "Custom or tagged serialization; see the exact source definition.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 8006
        }
      },
      "MhnRetrieveVectorReq_fd991cc": {
        "x-rust-type": "MhnRetrieveVectorReq",
        "description": "Custom or tagged serialization; see the exact source definition.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 8153
        }
      },
      "MhnRetrieveKeyReq_fd991cc": {
        "x-rust-type": "MhnRetrieveKeyReq",
        "description": "Custom or tagged serialization; see the exact source definition.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 8193
        }
      },
      "MhnClearReq_fd991cc": {
        "x-rust-type": "MhnClearReq",
        "description": "Custom or tagged serialization; see the exact source definition.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 8082
        }
      },
      "MhnStatsReq_fd991cc": {
        "x-rust-type": "MhnStatsReq",
        "description": "Custom or tagged serialization; see the exact source definition.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 8119
        }
      },
      "MhnConfigReq_fd991cc": {
        "x-rust-type": "MhnConfigReq",
        "description": "Custom or tagged serialization; see the exact source definition.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 8230
        }
      },
      "MhnSystemInfoReq_fd991cc": {
        "x-rust-type": "MhnSystemInfoReq",
        "description": "Custom or tagged serialization; see the exact source definition.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 8261
        }
      },
      "MhnListReq_fd991cc": {
        "x-rust-type": "MhnListReq",
        "description": "Custom or tagged serialization; see the exact source definition.",
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 11232
        }
      },
      "McpToolsListRequest_77c39c7": {
        "type": "object",
        "properties": {},
        "x-source": {
          "file": "akasha-daemon/src/mcp/handlers.rs",
          "line": 15
        }
      },
      "McpToolsCallRequest_77c39c7": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "The name of the tool to call"
          },
          "arguments": {
            "x-rust-type": "JsonValue",
            "description": "Arguments to pass to the tool"
          },
          "namespace": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional caller-supplied namespace used by Cambium recall augmentation."
          }
        },
        "required": [
          "name"
        ],
        "x-source": {
          "file": "akasha-daemon/src/mcp/handlers.rs",
          "line": 19
        }
      },
      "ModelsListResponse_fd991cc": {
        "type": "object",
        "properties": {
          "models": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModelInfoResponse_fd991cc"
            }
          },
          "total": {
            "type": "integer",
            "x-rust-type": "usize",
            "minimum": 0
          },
          "memory_used_bytes": {
            "type": "integer",
            "x-rust-type": "u64",
            "minimum": 0
          },
          "memory_budget_bytes": {
            "type": "integer",
            "x-rust-type": "u64",
            "minimum": 0
          }
        },
        "required": [
          "models",
          "total",
          "memory_used_bytes",
          "memory_budget_bytes"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4775
        }
      },
      "ModelInfoResponse_fd991cc": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "tier": {
            "type": "string"
          },
          "purpose": {
            "type": "string"
          },
          "capabilities": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "size_bytes": {
            "type": "integer",
            "x-rust-type": "u64",
            "minimum": 0
          },
          "size_human": {
            "type": "string"
          },
          "parameters_human": {
            "type": "string"
          },
          "memory_bytes": {
            "anyOf": [
              {
                "type": "integer",
                "x-rust-type": "u64",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          },
          "load_time_ms": {
            "anyOf": [
              {
                "type": "integer",
                "x-rust-type": "u64",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          },
          "path": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "description": {
            "type": "string"
          },
          "context_length": {
            "type": "integer",
            "x-rust-type": "usize",
            "minimum": 0
          },
          "thinking_mode": {
            "type": "boolean"
          },
          "downloaded_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "loaded_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "last_error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "name",
          "status",
          "tier",
          "purpose",
          "capabilities",
          "size_bytes",
          "size_human",
          "parameters_human",
          "description",
          "context_length",
          "thinking_mode"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4784
        }
      },
      "ModelLoadRequest_fd991cc": {
        "type": "object",
        "properties": {
          "model_id": {
            "type": "string"
          },
          "force_download": {
            "type": "boolean"
          }
        },
        "required": [
          "model_id"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4807
        }
      },
      "ModelOpResponse_fd991cc": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "model_id": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        },
        "required": [
          "success",
          "model_id",
          "status",
          "message"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4829
        }
      },
      "ModelDownloadRequest_fd991cc": {
        "type": "object",
        "properties": {
          "model_id": {
            "type": "string"
          },
          "force": {
            "type": "boolean"
          },
          "verify_hash": {
            "type": "boolean"
          }
        },
        "required": [
          "model_id"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4815
        }
      },
      "ModelsMemoryResponse_fd991cc": {
        "type": "object",
        "properties": {
          "memory_used_bytes": {
            "type": "integer",
            "x-rust-type": "u64",
            "minimum": 0
          },
          "memory_budget_bytes": {
            "type": "integer",
            "x-rust-type": "u64",
            "minimum": 0
          },
          "utilization_percent": {
            "type": "number",
            "x-rust-type": "f64"
          },
          "loaded_models": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LoadedModelInfo_fd991cc"
            }
          }
        },
        "required": [
          "memory_used_bytes",
          "memory_budget_bytes",
          "utilization_percent",
          "loaded_models"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4838
        }
      },
      "LoadedModelInfo_fd991cc": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "memory_bytes": {
            "type": "integer",
            "x-rust-type": "u64",
            "minimum": 0
          },
          "uptime_seconds": {
            "type": "integer",
            "x-rust-type": "u64",
            "minimum": 0
          }
        },
        "required": [
          "id",
          "name",
          "memory_bytes",
          "uptime_seconds"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 4846
        }
      },
      "UnifiedInferenceRequest_e818998": {
        "type": "object",
        "properties": {
          "tenant_id": {
            "type": "string"
          },
          "payloads": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InferencePayload_e818998"
            }
          },
          "config": {
            "anyOf": [
              {
                "description": "Arbitrary JSON; constrained further by handler logic.",
                "x-rust-type": "Value"
              },
              {
                "type": "null"
              }
            ]
          },
          "priority": {
            "anyOf": [
              {
                "type": "integer",
                "x-rust-type": "u8",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          },
          "deadline_ms": {
            "anyOf": [
              {
                "type": "integer",
                "x-rust-type": "u64",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "tenant_id"
        ],
        "x-source": {
          "file": "akasha/inference/src/types.rs",
          "line": 206
        }
      },
      "InferencePayload_e818998": {
        "x-rust-type": "InferencePayload",
        "description": "Custom or tagged serialization; see the exact source definition.",
        "x-source": {
          "file": "akasha/inference/src/types.rs",
          "line": 59
        }
      },
      "UnifiedInferenceApiResponse_e818998": {
        "type": "object",
        "properties": {
          "job_id": {
            "anyOf": [
              {
                "type": "string",
                "format": "uuid"
              },
              {
                "type": "null"
              }
            ]
          },
          "result": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/InferenceResultEnvelope_e818998"
              },
              {
                "type": "null"
              }
            ]
          },
          "backend": {
            "$ref": "#/components/schemas/BackendKind_e818998"
          },
          "telemetry": {
            "$ref": "#/components/schemas/BackendTelemetrySnapshot_e818998"
          },
          "metering": {
            "$ref": "#/components/schemas/MeteringSnapshot_e818998"
          }
        },
        "required": [
          "backend",
          "telemetry",
          "metering"
        ],
        "x-source": {
          "file": "akasha/inference/src/types.rs",
          "line": 219
        }
      },
      "InferenceResultEnvelope_e818998": {
        "type": "object",
        "properties": {
          "model_id": {
            "type": "string"
          },
          "tenant_id": {
            "type": "string"
          },
          "outputs": {
            "type": "array",
            "items": {
              "description": "Arbitrary JSON; constrained further by handler logic.",
              "x-rust-type": "Value"
            }
          },
          "latency_ms": {
            "type": "integer",
            "x-rust-type": "u64",
            "minimum": 0
          },
          "tokens_used": {
            "anyOf": [
              {
                "type": "integer",
                "x-rust-type": "u64",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          },
          "backend": {
            "$ref": "#/components/schemas/BackendKind_e818998"
          },
          "telemetry": {
            "$ref": "#/components/schemas/BackendTelemetrySnapshot_e818998"
          },
          "metadata": {
            "type": "object",
            "additionalProperties": {
              "description": "Arbitrary JSON; constrained further by handler logic.",
              "x-rust-type": "Value"
            }
          }
        },
        "required": [
          "model_id",
          "tenant_id",
          "outputs",
          "latency_ms",
          "backend",
          "telemetry"
        ],
        "x-source": {
          "file": "akasha/inference/src/types.rs",
          "line": 153
        }
      },
      "BackendKind_e818998": {
        "x-rust-type": "BackendKind",
        "description": "Custom or tagged serialization; see the exact source definition.",
        "x-source": {
          "file": "akasha/inference/src/types.rs",
          "line": 27
        }
      },
      "BackendTelemetrySnapshot_e818998": {
        "type": "object",
        "properties": {
          "backend": {
            "$ref": "#/components/schemas/BackendKind_e818998"
          },
          "attempts": {
            "type": "integer",
            "x-rust-type": "u8",
            "minimum": 0
          },
          "retries": {
            "type": "integer",
            "x-rust-type": "u8",
            "minimum": 0
          },
          "backend_latency_ms": {
            "type": "integer",
            "x-rust-type": "u64",
            "minimum": 0
          },
          "total_latency_ms": {
            "type": "integer",
            "x-rust-type": "u64",
            "minimum": 0
          },
          "emitted_at": {
            "type": "string",
            "format": "date-time"
          },
          "annotations": {
            "type": "object",
            "additionalProperties": {
              "description": "Arbitrary JSON; constrained further by handler logic.",
              "x-rust-type": "Value"
            }
          }
        },
        "required": [
          "backend",
          "attempts",
          "retries",
          "backend_latency_ms",
          "total_latency_ms",
          "emitted_at"
        ],
        "x-source": {
          "file": "akasha/inference/src/types.rs",
          "line": 121
        }
      },
      "MeteringSnapshot_e818998": {
        "type": "object",
        "properties": {
          "tenant_id": {
            "type": "string"
          },
          "model_id": {
            "type": "string"
          },
          "total_requests": {
            "type": "integer",
            "x-rust-type": "u64",
            "minimum": 0
          },
          "total_tokens": {
            "type": "integer",
            "x-rust-type": "u64",
            "minimum": 0
          },
          "total_latency_ms": {
            "type": "integer",
            "x-rust-type": "u64",
            "minimum": 0
          },
          "window_started_at": {
            "type": "string",
            "format": "date-time"
          },
          "extra": {
            "type": "object",
            "additionalProperties": {
              "description": "Arbitrary JSON; constrained further by handler logic.",
              "x-rust-type": "Value"
            }
          }
        },
        "required": [
          "tenant_id",
          "model_id",
          "total_requests",
          "total_tokens",
          "total_latency_ms",
          "window_started_at"
        ],
        "x-source": {
          "file": "akasha/inference/src/types.rs",
          "line": 230
        }
      },
      "JobStatus_e818998": {
        "x-rust-type": "JobStatus",
        "description": "Custom or tagged serialization; see the exact source definition.",
        "x-source": {
          "file": "akasha/inference/src/types.rs",
          "line": 185
        }
      },
      "InferenceModelQuery_fd991cc": {
        "type": "object",
        "properties": {
          "tenant": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "backend": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "family": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "search": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 5245
        }
      },
      "InferenceModelListResponse_fd991cc": {
        "type": "object",
        "properties": {
          "models": {
            "type": "array",
            "items": {
              "x-rust-type": "ModelMetadata",
              "description": "Wire schema unresolved by the source extractor; no fields are invented."
            }
          }
        },
        "required": [
          "models"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 5275
        }
      },
      "RegisterModelRequest_fd991cc": {
        "type": "object",
        "properties": {
          "model_id": {
            "type": "string"
          },
          "tenant_id": {
            "type": "string"
          },
          "owner": {
            "type": "string"
          },
          "family": {
            "$ref": "#/components/schemas/ModelFamily_e818998"
          },
          "backend": {
            "$ref": "#/components/schemas/BackendKind_e818998"
          },
          "version": {
            "type": "string"
          },
          "adapter_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "hrm_entrypoint": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "capabilities": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "extra": {
            "description": "Arbitrary JSON; constrained further by handler logic.",
            "x-rust-type": "Value"
          },
          "status": {
            "anyOf": [
              {
                "x-rust-type": "ModelStatus",
                "description": "Wire schema unresolved by the source extractor; no fields are invented."
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "model_id",
          "tenant_id",
          "owner",
          "family",
          "backend",
          "version"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 5223
        }
      },
      "ModelFamily_e818998": {
        "x-rust-type": "ModelFamily",
        "description": "Data-carrying enum; consult source variants and serde attributes.",
        "x-source": {
          "file": "akasha/inference/src/types.rs",
          "line": 9
        }
      },
      "InferenceUpdateStatusRequest_fd991cc": {
        "type": "object",
        "properties": {
          "status": {
            "x-rust-type": "ModelStatus",
            "description": "Wire schema unresolved by the source extractor; no fields are invented."
          }
        },
        "required": [
          "status"
        ],
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 5280
        }
      },
      "BackendRuntimeReport_e818998": {
        "type": "object",
        "properties": {
          "backend": {
            "$ref": "#/components/schemas/BackendKind_e818998"
          },
          "status": {
            "$ref": "#/components/schemas/BackendOperationalStatus_e818998"
          },
          "queue_depth": {
            "type": "integer",
            "x-rust-type": "usize",
            "minimum": 0
          },
          "avg_latency_ms": {
            "anyOf": [
              {
                "type": "number",
                "x-rust-type": "f64"
              },
              {
                "type": "null"
              }
            ]
          },
          "p95_latency_ms": {
            "anyOf": [
              {
                "type": "number",
                "x-rust-type": "f64"
              },
              {
                "type": "null"
              }
            ]
          },
          "throughput_per_min": {
            "type": "number",
            "x-rust-type": "f64"
          },
          "retry_rate": {
            "type": "number",
            "x-rust-type": "f64"
          },
          "sparkline": {
            "type": "array",
            "items": {
              "type": "integer",
              "x-rust-type": "u64",
              "minimum": 0
            }
          },
          "last_error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "last_error_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "last_updated": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "backend",
          "status",
          "throughput_per_min",
          "retry_rate"
        ],
        "x-source": {
          "file": "akasha/inference/src/types.rs",
          "line": 251
        }
      },
      "BackendOperationalStatus_e818998": {
        "type": "string",
        "enum": [
          "online",
          "degraded",
          "offline",
          "unknown"
        ],
        "x-source": {
          "file": "akasha/inference/src/types.rs",
          "line": 243
        }
      },
      "InferenceJobQuery_fd991cc": {
        "type": "object",
        "properties": {
          "limit": {
            "anyOf": [
              {
                "type": "integer",
                "x-rust-type": "usize",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "x-source": {
          "file": "akasha-daemon/src/main.rs",
          "line": 5285
        }
      },
      "QueueSnapshot_e818998": {
        "type": "object",
        "properties": {
          "queues": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QueueDepthEntry_e818998"
            }
          },
          "jobs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/JobOverview_e818998"
            }
          }
        },
        "required": [
          "queues",
          "jobs"
        ],
        "x-source": {
          "file": "akasha/inference/src/types.rs",
          "line": 297
        }
      },
      "QueueDepthEntry_e818998": {
        "type": "object",
        "properties": {
          "backend": {
            "$ref": "#/components/schemas/BackendKind_e818998"
          },
          "pending": {
            "type": "integer",
            "x-rust-type": "usize",
            "minimum": 0
          },
          "running": {
            "type": "integer",
            "x-rust-type": "usize",
            "minimum": 0
          },
          "failed": {
            "type": "integer",
            "x-rust-type": "usize",
            "minimum": 0
          },
          "cancelled": {
            "type": "integer",
            "x-rust-type": "usize",
            "minimum": 0
          }
        },
        "required": [
          "backend",
          "pending",
          "running",
          "failed",
          "cancelled"
        ],
        "x-source": {
          "file": "akasha/inference/src/types.rs",
          "line": 273
        }
      },
      "JobOverview_e818998": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "backend": {
            "$ref": "#/components/schemas/BackendKind_e818998"
          },
          "tenant_id": {
            "type": "string"
          },
          "model_id": {
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/JobStatus_e818998"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "last_error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "retryable": {
            "type": "boolean"
          },
          "cancellable": {
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "backend",
          "tenant_id",
          "model_id",
          "status",
          "created_at",
          "updated_at",
          "retryable",
          "cancellable"
        ],
        "x-source": {
          "file": "akasha/inference/src/types.rs",
          "line": 282
        }
      },
      "LineageGraphReq_677ff0e": {
        "type": "object",
        "properties": {
          "root_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "depth": {
            "anyOf": [
              {
                "type": "integer",
                "x-rust-type": "u32",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "x-source": {
          "file": "akasha-daemon/src/lineage.rs",
          "line": 23
        }
      },
      "LineageImpactReq_677ff0e": {
        "type": "object",
        "properties": {
          "node_id": {
            "type": "string"
          }
        },
        "required": [
          "node_id"
        ],
        "x-source": {
          "file": "akasha-daemon/src/lineage.rs",
          "line": 29
        }
      },
      "LineageVerifyReq_677ff0e": {
        "type": "object",
        "properties": {
          "node_id": {
            "type": "string"
          }
        },
        "required": [
          "node_id"
        ],
        "x-source": {
          "file": "akasha-daemon/src/lineage.rs",
          "line": 34
        }
      },
      "CreateForgettingRequest_4bbbc90": {
        "type": "object",
        "properties": {
          "reason": {
            "type": "string",
            "description": "Human-readable reason for the deletion request"
          },
          "target_keyspace": {
            "type": "string",
            "description": "The keyspace containing the target record(s)"
          },
          "target_ids": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "IDs of the records to be deleted"
          },
          "requester": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional requester identifier"
          }
        },
        "required": [
          "reason",
          "target_keyspace",
          "target_ids"
        ],
        "x-source": {
          "file": "akasha-daemon/src/forgetting.rs",
          "line": 33
        }
      },
      "TogglePolicyReq_4bbbc90": {
        "type": "object",
        "properties": {
          "enabled": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "x-source": {
          "file": "akasha-daemon/src/forgetting.rs",
          "line": 45
        }
      },
      "QuarantineListParams_2e99200": {
        "type": "object",
        "properties": {
          "status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "limit": {
            "anyOf": [
              {
                "type": "integer",
                "x-rust-type": "usize",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "x-source": {
          "file": "akasha-daemon/src/quarantine.rs",
          "line": 36
        }
      },
      "TestGateRequest_2e99200": {
        "type": "object",
        "properties": {
          "item_id": {
            "type": "string"
          },
          "gate": {
            "type": "string"
          },
          "threshold": {
            "anyOf": [
              {
                "type": "number",
                "x-rust-type": "f64"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional threshold override (defaults per gate type)"
          }
        },
        "required": [
          "item_id",
          "gate"
        ],
        "x-source": {
          "file": "akasha-daemon/src/quarantine.rs",
          "line": 42
        }
      }
    },
    "securitySchemes": {
      "bearer": {
        "type": "http",
        "scheme": "bearer",
        "description": "Configured daemon JWT, admin token, or dedicated channel token according to route. No universal token type."
      },
      "capability": {
        "type": "apiKey",
        "in": "header",
        "name": "x-akasha-capability",
        "description": "Signed capability when required; namespace and action restrictions are verified by configured daemon policy."
      },
      "adminToken": {
        "type": "apiKey",
        "in": "header",
        "name": "x-akasha-admin-token",
        "description": "Daemon operator token; IP allowlist also applies."
      }
    }
  }
}
