Continual Learning
Every registered continual learning instance operation, with source-derived inputs, outputs, access policy, and errors.
This reference covers 15 HTTP operations registered by the Akasha daemon. Call these paths on your instance base URL. See authentication, errors, and coverage before integrating.
| Method | Path | Operation |
|---|---|---|
GET | /v1/continual/checkpoints/status | Continual checkpoint status |
POST | /v1/continual/recover | Continual recover |
POST | /v1/continual/components | Continual component register |
POST | /v1/continual/components/delete | Continual component unregister |
POST | /v1/continual/task/new | Continual task new |
POST | /v1/continual/task/train | Continual task train |
POST | /v1/continual/task/stats | Continual task stats |
POST | /v1/continual/task/evaluate | Continual task evaluate |
POST | /v1/continual/task/delete | Continual task delete |
POST | /v1/continual/task/consolidate | Continual task consolidate |
GET | /v1/continual/health | Continual health |
POST | /v1/continual/task/pause | Continual task pause |
POST | /v1/continual/task/resume | Continual task resume |
GET | /v1/continual/config | Continual config get |
PUT | /v1/continual/config | Continual config update |
GET /v1/continual/checkpoints/status
Continual checkpoint status
| Availability | Source contract |
|---|---|
| Registration | config.enable_continual |
| Runtime service | continual |
| Handler dependencies | See handler source and return expressions. |
Access: Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.
Request
Implementation limit: Acknowledgement-only implementation: returns {ok:true}; no checkpoint persistence, recovery, or component registration occurs in this handler.
No typed JSON, query, or path extractor is declared in the handler signature. Headers or request objects may still be consumed; the signature below is authoritative.
Response
Declared return: Result<impl IntoResponse, DaemonError>
The following are the exact JSON construction expressions in the handler. Values such as rows, result, and delegated types are runtime values, not literal example payloads.
serde_json::json!({"ok": true})Errors and validation
Directly referenced error variants: none in the handler body. Middleware and delegated services can return additional errors described in the shared error reference.
Source: akasha-daemon/src/main.rs:9624. Registration: akasha-daemon/src/main.rs:4521.
POST /v1/continual/recover
Continual recover
| Availability | Source contract |
|---|---|
| Registration | config.enable_continual |
| Runtime service | continual |
| Handler dependencies | See handler source and return expressions. |
Access: Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.
Request
Implementation limit: Acknowledgement-only implementation: returns {ok:true}; no checkpoint persistence, recovery, or component registration occurs in this handler.
Json — ContinualRecoverReq
| Field | Rust type | Required on input | Notes |
|---|---|---|---|
checkpoint_id | String | Yes |
struct ContinualRecoverReq {
#[allow(dead_code)]
checkpoint_id: String,
}Response
Declared return: Result<impl IntoResponse, DaemonError>
The following are the exact JSON construction expressions in the handler. Values such as rows, result, and delegated types are runtime values, not literal example payloads.
serde_json::json!({"ok": true})Errors and validation
Directly referenced error variants: none in the handler body. Middleware and delegated services can return additional errors described in the shared error reference.
Source: akasha-daemon/src/main.rs:9634. Registration: akasha-daemon/src/main.rs:4525.
POST /v1/continual/components
Continual component register
| Availability | Source contract |
|---|---|
| Registration | config.enable_continual |
| Runtime service | continual |
| Handler dependencies | See handler source and return expressions. |
Access: Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.
Request
Implementation limit: Acknowledgement-only implementation: returns {ok:true}; no checkpoint persistence, recovery, or component registration occurs in this handler.
Json — ContinualComponentReq
| Field | Rust type | Required on input | Notes |
|---|---|---|---|
id | String | Yes |
struct ContinualComponentReq {
#[allow(dead_code)]
id: String,
}Response
Declared return: Result<impl IntoResponse, DaemonError>
The following are the exact JSON construction expressions in the handler. Values such as rows, result, and delegated types are runtime values, not literal example payloads.
serde_json::json!({"ok": true})Errors and validation
Directly referenced error variants: none in the handler body. Middleware and delegated services can return additional errors described in the shared error reference.
Source: akasha-daemon/src/main.rs:9646. Registration: akasha-daemon/src/main.rs:4526.
POST /v1/continual/components/delete
Continual component unregister
| Availability | Source contract |
|---|---|
| Registration | config.enable_continual |
| Runtime service | continual |
| Handler dependencies | See handler source and return expressions. |
Access: Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.
Request
Implementation limit: Acknowledgement-only implementation: returns {ok:true}; no checkpoint persistence, recovery, or component registration occurs in this handler.
Json — ContinualComponentReq
| Field | Rust type | Required on input | Notes |
|---|---|---|---|
id | String | Yes |
struct ContinualComponentReq {
#[allow(dead_code)]
id: String,
}Response
Declared return: Result<impl IntoResponse, DaemonError>
The following are the exact JSON construction expressions in the handler. Values such as rows, result, and delegated types are runtime values, not literal example payloads.
serde_json::json!({"ok": true})Errors and validation
Directly referenced error variants: none in the handler body. Middleware and delegated services can return additional errors described in the shared error reference.
Source: akasha-daemon/src/main.rs:9651. Registration: akasha-daemon/src/main.rs:4530.
POST /v1/continual/task/new
Continual task new
| Availability | Source contract |
|---|---|
| Registration | config.enable_continual |
| Runtime service | continual |
| Handler dependencies | Continual Learning |
Access: Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.
Request
Json — ContinualTaskNewReq
| Field | Rust type | Required on input | Notes |
|---|---|---|---|
name | String | Yes | |
description | Option<String> | No; optional or defaulted |
struct ContinualTaskNewReq {
name: String,
description: Option<String>,
}Response
Declared return: Result<impl IntoResponse, DaemonError>
The following are the exact JSON construction expressions in the handler. Values such as rows, result, and delegated types are runtime values, not literal example payloads.
serde_json::to_value(task_metadata).unwrap_or_default(),Errors and validation
Directly referenced error variants: Internal, InvalidRequest. Middleware and delegated services can return additional errors described in the shared error reference.
Source: akasha-daemon/src/main.rs:9665. Registration: akasha-daemon/src/main.rs:4535.
POST /v1/continual/task/train
Continual task train
| Availability | Source contract |
|---|---|
| Registration | config.enable_continual |
| Runtime service | continual |
| Handler dependencies | Continual Learning |
Access: Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.
Request
Json — ContinualTaskTrainReq
| Field | Rust type | Required on input | Notes |
|---|---|---|---|
task_id | String | Yes | |
training_data | Vec<serde_json::Value> | Yes |
struct ContinualTaskTrainReq {
task_id: String,
training_data: Vec<serde_json::Value>,
}Response
Declared return: Result<impl IntoResponse, DaemonError>
The following are the exact JSON construction expressions in the handler. Values such as rows, result, and delegated types are runtime values, not literal example payloads.
serde_json::to_value(result).unwrap_or_default()Errors and validation
Directly referenced error variants: Internal. Middleware and delegated services can return additional errors described in the shared error reference.
Source: akasha-daemon/src/main.rs:9696. Registration: akasha-daemon/src/main.rs:4536.
POST /v1/continual/task/stats
Continual task stats
| Availability | Source contract |
|---|---|
| Registration | config.enable_continual |
| Runtime service | continual |
| Handler dependencies | Continual Learning |
Access: Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.
Request
Json — ContinualTaskStatsReq
| Field | Rust type | Required on input | Notes |
|---|---|---|---|
namespace | Option<String> | No; optional or defaulted |
struct ContinualTaskStatsReq {
namespace: Option<String>,
}Response
Declared return: Result<impl IntoResponse, DaemonError>
The following are the exact JSON construction expressions in the handler. Values such as rows, result, and delegated types are runtime values, not literal example payloads.
serde_json::to_value(stats).unwrap_or_default()Errors and validation
Directly referenced error variants: Internal. Middleware and delegated services can return additional errors described in the shared error reference.
Source: akasha-daemon/src/main.rs:9718. Registration: akasha-daemon/src/main.rs:4537.
POST /v1/continual/task/evaluate
Continual task evaluate
| Availability | Source contract |
|---|---|
| Registration | config.enable_continual |
| Runtime service | continual |
| Handler dependencies | Continual Learning |
Access: Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.
Request
Json — ContinualTaskEvaluateReq
| Field | Rust type | Required on input | Notes |
|---|---|---|---|
task_id | String | Yes | |
test_data | Option<Vec<serde_json::Value>> | No; optional or defaulted |
struct ContinualTaskEvaluateReq {
task_id: String,
test_data: Option<Vec<serde_json::Value>>,
}Response
Declared return: Result<impl IntoResponse, DaemonError>
The following are the exact JSON construction expressions in the handler. Values such as rows, result, and delegated types are runtime values, not literal example payloads.
serde_json::to_value(result).unwrap_or_default()Errors and validation
Directly referenced error variants: Internal. Middleware and delegated services can return additional errors described in the shared error reference.
Source: akasha-daemon/src/main.rs:9740. Registration: akasha-daemon/src/main.rs:4538.
POST /v1/continual/task/delete
Continual task delete
| Availability | Source contract |
|---|---|
| Registration | config.enable_continual |
| Runtime service | continual |
| Handler dependencies | Continual Learning |
Access: Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.
Request
Json — ContinualTaskDeleteReq
| Field | Rust type | Required on input | Notes |
|---|---|---|---|
task_id | String | Yes |
struct ContinualTaskDeleteReq {
task_id: String,
}Response
Declared return: Result<impl IntoResponse, DaemonError>
The following are the exact JSON construction expressions in the handler. Values such as rows, result, and delegated types are runtime values, not literal example payloads.
serde_json::json!({"ok": true})Errors and validation
Directly referenced error variants: Internal. Middleware and delegated services can return additional errors described in the shared error reference.
Source: akasha-daemon/src/main.rs:9761. Registration: akasha-daemon/src/main.rs:4539.
POST /v1/continual/task/consolidate
Continual task consolidate
| Availability | Source contract |
|---|---|
| Registration | config.enable_continual |
| Runtime service | continual |
| Handler dependencies | Continual Learning |
Access: Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.
Request
Json — ContinualTaskConsolidateReq
| Field | Rust type | Required on input | Notes |
|---|---|---|---|
namespace | Option<String> | No; optional or defaulted | Serde: default |
struct ContinualTaskConsolidateReq {
#[serde(default)]
namespace: Option<String>,
}Response
Declared return: Result<impl IntoResponse, DaemonError>
The following are the exact JSON construction expressions in the handler. Values such as rows, result, and delegated types are runtime values, not literal example payloads.
serde_json::to_value(result).unwrap_or_default()Errors and validation
Directly referenced error variants: Internal, InvalidRequest. Middleware and delegated services can return additional errors described in the shared error reference.
Source: akasha-daemon/src/main.rs:9780. Registration: akasha-daemon/src/main.rs:4540.
GET /v1/continual/health
Continual health
| Availability | Source contract |
|---|---|
| Registration | config.enable_continual |
| Runtime service | continual |
| Handler dependencies | See handler source and return expressions. |
Access: Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.
Request
No typed JSON, query, or path extractor is declared in the handler signature. Headers or request objects may still be consumed; the signature below is authoritative.
Response
Declared return: Result<impl IntoResponse, DaemonError>
Serialization is delegated or the handler returns a raw response. Consult the exact handler below; the OpenAPI response intentionally remains unconstrained.
Errors and validation
Directly referenced error variants: none in the handler body. Middleware and delegated services can return additional errors described in the shared error reference.
Source: akasha-daemon/src/main.rs:10297. Registration: akasha-daemon/src/main.rs:4544.
POST /v1/continual/task/pause
Continual task pause
| Availability | Source contract |
|---|---|
| Registration | config.enable_continual |
| Runtime service | continual |
| Handler dependencies | See handler source and return expressions. |
Access: Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.
Request
Json — ContinualTaskPauseReq
| Field | Rust type | Required on input | Notes |
|---|---|---|---|
task_id | Option<String> | No; optional or defaulted |
struct ContinualTaskPauseReq {
#[allow(dead_code)]
task_id: Option<String>,
}Response
Declared return: Result<impl IntoResponse, DaemonError>
The following are the exact JSON construction expressions in the handler. Values such as rows, result, and delegated types are runtime values, not literal example payloads.
serde_json::json!({"ok": true, "status": "paused"})Errors and validation
Directly referenced error variants: none in the handler body. Middleware and delegated services can return additional errors described in the shared error reference.
Source: akasha-daemon/src/main.rs:11116. Registration: akasha-daemon/src/main.rs:4545.
POST /v1/continual/task/resume
Continual task resume
| Availability | Source contract |
|---|---|
| Registration | config.enable_continual |
| Runtime service | continual |
| Handler dependencies | See handler source and return expressions. |
Access: Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.
Request
Json — ContinualTaskPauseReq
| Field | Rust type | Required on input | Notes |
|---|---|---|---|
task_id | Option<String> | No; optional or defaulted |
struct ContinualTaskPauseReq {
#[allow(dead_code)]
task_id: Option<String>,
}Response
Declared return: Result<impl IntoResponse, DaemonError>
The following are the exact JSON construction expressions in the handler. Values such as rows, result, and delegated types are runtime values, not literal example payloads.
serde_json::json!({"ok": true, "status": "active"})Errors and validation
Directly referenced error variants: none in the handler body. Middleware and delegated services can return additional errors described in the shared error reference.
Source: akasha-daemon/src/main.rs:11124. Registration: akasha-daemon/src/main.rs:4546.
GET /v1/continual/config
Continual config get
| Availability | Source contract |
|---|---|
| Registration | config.enable_continual |
| Runtime service | continual |
| Handler dependencies | See handler source and return expressions. |
Access: Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.
Request
No typed JSON, query, or path extractor is declared in the handler signature. Headers or request objects may still be consumed; the signature below is authoritative.
Response
Declared return: Result<impl IntoResponse, DaemonError>
The following are the exact JSON construction expressions in the handler. Values such as rows, result, and delegated types are runtime values, not literal example payloads.
cfg.clone()Errors and validation
Directly referenced error variants: none in the handler body. Middleware and delegated services can return additional errors described in the shared error reference.
Source: akasha-daemon/src/main.rs:11132. Registration: akasha-daemon/src/main.rs:4547.
PUT /v1/continual/config
Continual config update
| Availability | Source contract |
|---|---|
| Registration | config.enable_continual |
| Runtime service | continual |
| Handler dependencies | See handler source and return expressions. |
Access: Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.
Request
Json — serde_json::Value
This handler accepts dynamic JSON. The field accesses below are source observations, not a fabricated required-field schema.
Response
Declared return: Result<impl IntoResponse, DaemonError>
The following are the exact JSON construction expressions in the handler. Values such as rows, result, and delegated types are runtime values, not literal example payloads.
serde_json::json!({"ok": true, "config": *cfg})Errors and validation
Directly referenced error variants: none in the handler body. Middleware and delegated services can return additional errors described in the shared error reference.
Source: akasha-daemon/src/main.rs:11140. Registration: akasha-daemon/src/main.rs:4547.