API referenceInstance API
GUIDE & REFERENCE

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.

MethodPathOperation
GET/v1/continual/checkpoints/statusContinual checkpoint status
POST/v1/continual/recoverContinual recover
POST/v1/continual/componentsContinual component register
POST/v1/continual/components/deleteContinual component unregister
POST/v1/continual/task/newContinual task new
POST/v1/continual/task/trainContinual task train
POST/v1/continual/task/statsContinual task stats
POST/v1/continual/task/evaluateContinual task evaluate
POST/v1/continual/task/deleteContinual task delete
POST/v1/continual/task/consolidateContinual task consolidate
GET/v1/continual/healthContinual health
POST/v1/continual/task/pauseContinual task pause
POST/v1/continual/task/resumeContinual task resume
GET/v1/continual/configContinual config get
PUT/v1/continual/configContinual config update

GET /v1/continual/checkpoints/status

Continual checkpoint status

AvailabilitySource contract
Registrationconfig.enable_continual
Runtime servicecontinual
Handler dependenciesSee 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

AvailabilitySource contract
Registrationconfig.enable_continual
Runtime servicecontinual
Handler dependenciesSee 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.

JsonContinualRecoverReq

FieldRust typeRequired on inputNotes
checkpoint_idStringYes
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

AvailabilitySource contract
Registrationconfig.enable_continual
Runtime servicecontinual
Handler dependenciesSee 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.

JsonContinualComponentReq

FieldRust typeRequired on inputNotes
idStringYes
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

AvailabilitySource contract
Registrationconfig.enable_continual
Runtime servicecontinual
Handler dependenciesSee 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.

JsonContinualComponentReq

FieldRust typeRequired on inputNotes
idStringYes
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

AvailabilitySource contract
Registrationconfig.enable_continual
Runtime servicecontinual
Handler dependenciesContinual Learning

Access: Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.

Request

JsonContinualTaskNewReq

FieldRust typeRequired on inputNotes
nameStringYes
descriptionOption<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

AvailabilitySource contract
Registrationconfig.enable_continual
Runtime servicecontinual
Handler dependenciesContinual Learning

Access: Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.

Request

JsonContinualTaskTrainReq

FieldRust typeRequired on inputNotes
task_idStringYes
training_dataVec<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

AvailabilitySource contract
Registrationconfig.enable_continual
Runtime servicecontinual
Handler dependenciesContinual Learning

Access: Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.

Request

JsonContinualTaskStatsReq

FieldRust typeRequired on inputNotes
namespaceOption<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

AvailabilitySource contract
Registrationconfig.enable_continual
Runtime servicecontinual
Handler dependenciesContinual Learning

Access: Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.

Request

JsonContinualTaskEvaluateReq

FieldRust typeRequired on inputNotes
task_idStringYes
test_dataOption<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

AvailabilitySource contract
Registrationconfig.enable_continual
Runtime servicecontinual
Handler dependenciesContinual Learning

Access: Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.

Request

JsonContinualTaskDeleteReq

FieldRust typeRequired on inputNotes
task_idStringYes
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

AvailabilitySource contract
Registrationconfig.enable_continual
Runtime servicecontinual
Handler dependenciesContinual Learning

Access: Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.

Request

JsonContinualTaskConsolidateReq

FieldRust typeRequired on inputNotes
namespaceOption<String>No; optional or defaultedSerde: 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

AvailabilitySource contract
Registrationconfig.enable_continual
Runtime servicecontinual
Handler dependenciesSee 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

AvailabilitySource contract
Registrationconfig.enable_continual
Runtime servicecontinual
Handler dependenciesSee handler source and return expressions.

Access: Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.

Request

JsonContinualTaskPauseReq

FieldRust typeRequired on inputNotes
task_idOption<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

AvailabilitySource contract
Registrationconfig.enable_continual
Runtime servicecontinual
Handler dependenciesSee handler source and return expressions.

Access: Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.

Request

JsonContinualTaskPauseReq

FieldRust typeRequired on inputNotes
task_idOption<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

AvailabilitySource contract
Registrationconfig.enable_continual
Runtime servicecontinual
Handler dependenciesSee 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

AvailabilitySource contract
Registrationconfig.enable_continual
Runtime servicecontinual
Handler dependenciesSee handler source and return expressions.

Access: Daemon authentication and capability namespace authority; memory-domain permissions apply where mapped.

Request

Jsonserde_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.

On this page