# Instance data types

Exact Rust DTO declarations referenced by the generated instance API schemas.

Source: https://docs.minds.sh/docs/api/instance/schemas



These declarations are extracted from the same source snapshot as the HTTP reference. Serde attributes govern the JSON field names and defaults. Types with custom serialization remain explicitly unresolved in OpenAPI rather than receiving invented fields.

## AgentInteraction\_7683c66 [#agentinteraction_7683c66]

```rust
struct AgentInteraction {
    pub id: Uuid,
    pub timestamp: DateTime<Utc>,
    pub from_agent: String,
    pub to_agent: String,
    pub interaction_type: InteractionType,
    pub message: String,
    pub context: HashMap<String, serde_json::Value>,
    pub response: Option<InteractionResponse>,
}
```

Source: `akasha/memory/src/cognitive_logging.rs:98`. Serde attributes: `none on the declaration`.

## AnalyticsSourceCore\_fd991cc [#analyticssourcecore_fd991cc]

```rust
struct AnalyticsSourceCore {
    name: String,
    keyspace: String,
    collection: String,
}
```

Source: `akasha-daemon/src/main.rs:3881`. Serde attributes: `none on the declaration`.

## AnalyticsSourceCsv\_fd991cc [#analyticssourcecsv_fd991cc]

```rust
struct AnalyticsSourceCsv {
    name: String,
    path: String,
}
```

Source: `akasha-daemon/src/main.rs:3845`. Serde attributes: `none on the declaration`.

## AnalyticsSourceParquet\_fd991cc [#analyticssourceparquet_fd991cc]

```rust
struct AnalyticsSourceParquet {
    name: String,
    path: String,
}
```

Source: `akasha-daemon/src/main.rs:3863`. Serde attributes: `none on the declaration`.

## AnalyticsViewCreateReq\_fd991cc [#analyticsviewcreatereq_fd991cc]

```rust
struct AnalyticsViewCreateReq {
    name: String,
    query: String,
}
```

Source: `akasha-daemon/src/main.rs:11270`. Serde attributes: `none on the declaration`.

## BackendKind\_e818998 [#backendkind_e818998]

```rust
enum BackendKind {
    Local,
    Modal,
    Baseten,
    External { name: String },
}
```

Source: `akasha/inference/src/types.rs:27`. Serde attributes: `tag = "type", rename_all = "snake_case"`.

## BackendOperationalStatus\_e818998 [#backendoperationalstatus_e818998]

```rust
enum BackendOperationalStatus {
    Online,
    Degraded,
    Offline,
    Unknown,
}
```

Source: `akasha/inference/src/types.rs:243`. Serde attributes: `rename_all = "snake_case"`.

## BackendRuntimeReport\_e818998 [#backendruntimereport_e818998]

```rust
struct BackendRuntimeReport {
    pub backend: BackendKind,
    pub status: BackendOperationalStatus,
    #[serde(default)]
    pub queue_depth: usize,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub avg_latency_ms: Option<f64>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub p95_latency_ms: Option<f64>,
    pub throughput_per_min: f64,
    pub retry_rate: f64,
    #[serde(default, skip_serializing_if = "Vec::is_empty")]
    pub sparkline: Vec<u64>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub last_error: Option<String>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub last_error_at: Option<DateTime<Utc>>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub last_updated: Option<DateTime<Utc>>,
}
```

Source: `akasha/inference/src/types.rs:251`. Serde attributes: `none on the declaration`.

## BackendTelemetrySnapshot\_e818998 [#backendtelemetrysnapshot_e818998]

```rust
struct BackendTelemetrySnapshot {
    pub backend: BackendKind,
    pub attempts: u8,
    pub retries: u8,
    pub backend_latency_ms: u64,
    pub total_latency_ms: u64,
    pub emitted_at: DateTime<Utc>,
    #[serde(default, skip_serializing_if = "HashMap::is_empty")]
    pub annotations: HashMap<String, Value>,
}
```

Source: `akasha/inference/src/types.rs:121`. Serde attributes: `none on the declaration`.

## BackupCreateRequest\_fd991cc [#backupcreaterequest_fd991cc]

```rust
struct BackupCreateRequest {
    backup_dir: String,
    #[serde(default)]
    options: Option<akasha::CoreBackupOptions>,
}
```

Source: `akasha-daemon/src/main.rs:3061`. Serde attributes: `none on the declaration`.

## BackupDeleteRequest\_fd991cc [#backupdeleterequest_fd991cc]

```rust
struct BackupDeleteRequest {
    backup_dir: String,
    id: String,
}
```

Source: `akasha-daemon/src/main.rs:3125`. Serde attributes: `none on the declaration`.

## BackupListRequest\_fd991cc [#backuplistrequest_fd991cc]

```rust
struct BackupListRequest {
    backup_dir: String,
}
```

Source: `akasha-daemon/src/main.rs:3084`. Serde attributes: `none on the declaration`.

## BackupRestoreRequest\_fd991cc [#backuprestorerequest_fd991cc]

```rust
struct BackupRestoreRequest {
    backup_dir: String,
    id: String,
    #[serde(default)]
    options: Option<akasha::CoreRestoreOptions>,
}
```

Source: `akasha-daemon/src/main.rs:3104`. Serde attributes: `none on the declaration`.

## CambiumProjectionEnvelope\_8af6dfb [#cambiumprojectionenvelope_8af6dfb]

```rust
struct CambiumProjectionEnvelope {
    projection_id: String,
    target: String,
    sink_id: String,
    projection_class: String,
    source_event_id: String,
    stream_id: String,
    sequence: u64,
    global_sequence: u64,
    trace_id: Option<String>,
    span_id: Option<String>,
    scope: Value,
    lineage: Value,
    data_class: String,
    redaction_profile: String,
    source_payload_hash: String,
    #[serde(default)]
    evidence_refs: Vec<String>,
    activity_summary: Option<String>,
    tool_id: Option<String>,
    #[serde(rename = "toolScoreSample", default)]
    _tool_score_sample: Option<Value>,
    derived: bool,
    created_at: String,
}
```

Source: `akasha-daemon/src/cambium.rs:21`. Serde attributes: `rename_all = "camelCase"`.

## ChunkTextRequest\_fd991cc [#chunktextrequest_fd991cc]

```rust
struct ChunkTextRequest {
    text: String,
    /// Optional per-request chunking configuration override.
    config: Option<chunking::ChunkingConfig>,
}
```

Source: `akasha-daemon/src/main.rs:2790`. Serde attributes: `none on the declaration`.

## ChunkingConfig\_ebe9d24 [#chunkingconfig_ebe9d24]

```rust
struct ChunkingConfig {
    /// Maximum chunk size in characters (default: 2048).
    #[serde(default = "default_max_chunk_size")]
    pub max_chunk_size: usize,
    /// Overlap between consecutive chunks in characters (default: 200).
    #[serde(default = "default_overlap")]
    pub overlap: usize,
    /// Chunking strategy to use.
    #[serde(default)]
    pub strategy: ChunkingStrategy,
}
```

Source: `akasha-daemon/src/chunking.rs:21`. Serde attributes: `none on the declaration`.

## ChunkingStrategy\_ebe9d24 [#chunkingstrategy_ebe9d24]

```rust
enum ChunkingStrategy {
    /// Fixed-size sliding window.
    SlidingWindow,
    /// Split on sentence boundaries.
    #[default]
    SentenceBased,
    /// Split on paragraph boundaries (falls back to sentence-based for
    /// paragraphs exceeding `max_chunk_size`).
    ParagraphBased,
}
```

Source: `akasha-daemon/src/chunking.rs:55`. Serde attributes: `rename_all = "snake_case"`.

## CognitiveDecisionReq\_fd991cc [#cognitivedecisionreq_fd991cc]

```rust
struct CognitiveDecisionReq {
    decision: CognitiveDecision,
}
```

Source: `akasha-daemon/src/main.rs:7678`. Serde attributes: `none on the declaration`.

## CognitiveDecision\_7683c66 [#cognitivedecision_7683c66]

```rust
struct CognitiveDecision {
    /// Unique identifier
    pub id: Uuid,
    /// Agent that made the decision
    pub agent_id: String,
    /// Timestamp of decision
    pub timestamp: DateTime<Utc>,
    /// The decision made
    pub decision: String,
    /// Options that were considered
    pub options_considered: Vec<DecisionOption>,
    /// Reasoning that led to this decision
    pub reasoning_trace: Vec<Uuid>, // References to CognitiveThought IDs
    /// Confidence in the decision
    pub confidence: f32,
    /// Expected outcomes
    pub expected_outcomes: Vec<String>,
    /// Actual outcomes (filled in later)
    pub actual_outcomes: Option<Vec<String>>,
}
```

Source: `akasha/memory/src/cognitive_logging.rs:65`. Serde attributes: `none on the declaration`.

## CognitiveInteractionReq\_fd991cc [#cognitiveinteractionreq_fd991cc]

```rust
struct CognitiveInteractionReq {
    interaction: AgentInteraction,
}
```

Source: `akasha-daemon/src/main.rs:7697`. Serde attributes: `none on the declaration`.

## CognitiveQueryReq\_fd991cc [#cognitivequeryreq_fd991cc]

```rust
struct CognitiveQueryReq {
    query: serde_json::Value,
}
```

Source: `akasha-daemon/src/main.rs:7736`. Serde attributes: `none on the declaration`.

## CognitiveRunCycleReq\_fd991cc [#cognitiveruncyclereq_fd991cc]

```rust
struct CognitiveRunCycleReq {
    input: serde_json::Value,
    trigger: Option<String>,
}
```

Source: `akasha-daemon/src/main.rs:10599`. Serde attributes: `none on the declaration`.

## CognitiveSessionReq\_fd991cc [#cognitivesessionreq_fd991cc]

```rust
struct CognitiveSessionReq {
    agent_id: String,
    goal: String,
}
```

Source: `akasha-daemon/src/main.rs:7716`. Serde attributes: `none on the declaration`.

## CognitiveThoughtReq\_fd991cc [#cognitivethoughtreq_fd991cc]

```rust
struct CognitiveThoughtReq {
    thought: CognitiveThought,
}
```

Source: `akasha-daemon/src/main.rs:7659`. Serde attributes: `none on the declaration`.

## CognitiveThought\_7683c66 [#cognitivethought_7683c66]

```rust
struct CognitiveThought {
    /// Unique identifier for this thought
    pub id: Uuid,
    /// The agent that generated this thought
    pub agent_id: String,
    /// Timestamp when the thought occurred
    pub timestamp: DateTime<Utc>,
    /// Type of cognitive operation
    pub thought_type: ThoughtType,
    /// The actual thought content
    pub content: String,
    /// Confidence level (0.0 to 1.0)
    pub confidence: f32,
    /// Parent thought ID if this is a sub-thought
    pub parent_thought_id: Option<Uuid>,
    /// Related context or evidence
    pub context: HashMap<String, serde_json::Value>,
    /// Tags for categorization
    pub tags: Vec<String>,
}
```

Source: `akasha/memory/src/cognitive_logging.rs:17`. Serde attributes: `none on the declaration`.

## ComponentsRequest\_fd991cc [#componentsrequest_fd991cc]

```rust
struct ComponentsRequest {
    strong: Option<bool>,
}
```

Source: `akasha-daemon/src/main.rs:2516`. Serde attributes: `none on the declaration`.

## ContinualComponentReq\_fd991cc [#continualcomponentreq_fd991cc]

```rust
struct ContinualComponentReq {
    #[allow(dead_code)]
    id: String,
}
```

Source: `akasha-daemon/src/main.rs:9641`. Serde attributes: `none on the declaration`.

## ContinualRecoverReq\_fd991cc [#continualrecoverreq_fd991cc]

```rust
struct ContinualRecoverReq {
    #[allow(dead_code)]
    checkpoint_id: String,
}
```

Source: `akasha-daemon/src/main.rs:9629`. Serde attributes: `none on the declaration`.

## ContinualTaskConsolidateReq\_fd991cc [#continualtaskconsolidatereq_fd991cc]

```rust
struct ContinualTaskConsolidateReq {
    #[serde(default)]
    namespace: Option<String>,
}
```

Source: `akasha-daemon/src/main.rs:9775`. Serde attributes: `none on the declaration`.

## ContinualTaskDeleteReq\_fd991cc [#continualtaskdeletereq_fd991cc]

```rust
struct ContinualTaskDeleteReq {
    task_id: String,
}
```

Source: `akasha-daemon/src/main.rs:9757`. Serde attributes: `none on the declaration`.

## ContinualTaskEvaluateReq\_fd991cc [#continualtaskevaluatereq_fd991cc]

```rust
struct ContinualTaskEvaluateReq {
    task_id: String,
    test_data: Option<Vec<serde_json::Value>>,
}
```

Source: `akasha-daemon/src/main.rs:9735`. Serde attributes: `none on the declaration`.

## ContinualTaskNewReq\_fd991cc [#continualtasknewreq_fd991cc]

```rust
struct ContinualTaskNewReq {
    name: String,
    description: Option<String>,
}
```

Source: `akasha-daemon/src/main.rs:9660`. Serde attributes: `none on the declaration`.

## ContinualTaskPauseReq\_fd991cc [#continualtaskpausereq_fd991cc]

```rust
struct ContinualTaskPauseReq {
    #[allow(dead_code)]
    task_id: Option<String>,
}
```

Source: `akasha-daemon/src/main.rs:11111`. Serde attributes: `none on the declaration`.

## ContinualTaskStatsReq\_fd991cc [#continualtaskstatsreq_fd991cc]

```rust
struct ContinualTaskStatsReq {
    namespace: Option<String>,
}
```

Source: `akasha-daemon/src/main.rs:9714`. Serde attributes: `none on the declaration`.

## ContinualTaskTrainReq\_fd991cc [#continualtasktrainreq_fd991cc]

```rust
struct ContinualTaskTrainReq {
    task_id: String,
    training_data: Vec<serde_json::Value>,
}
```

Source: `akasha-daemon/src/main.rs:9691`. Serde attributes: `none on the declaration`.

## CoreTextSearchRequest\_fd991cc [#coretextsearchrequest_fd991cc]

```rust
struct CoreTextSearchRequest {
    keyspace: String,
    query: String,
    limit: Option<usize>,
}
```

Source: `akasha-daemon/src/main.rs:3374`. Serde attributes: `none on the declaration`.

## CreateForgettingRequest\_4bbbc90 [#createforgettingrequest_4bbbc90]

```rust
struct CreateForgettingRequest {
    /// Human-readable reason for the deletion request
    reason: String,
    /// The keyspace containing the target record(s)
    target_keyspace: String,
    /// IDs of the records to be deleted
    target_ids: Vec<String>,
    /// Optional requester identifier
    requester: Option<String>,
}
```

Source: `akasha-daemon/src/forgetting.rs:33`. Serde attributes: `none on the declaration`.

## CreateKeyspaceRequest\_fd991cc [#createkeyspacerequest_fd991cc]

```rust
struct CreateKeyspaceRequest {
    name: String,
    model: String,
    dims: Option<usize>,
    #[serde(default)]
    domain: Option<String>,
    #[serde(default)]
    schema_version: Option<u32>,
    #[serde(default)]
    schema: Option<serde_json::Value>,
    #[serde(default)]
    strict: Option<bool>,
    #[serde(default)]
    metadata: Option<HashMap<String, serde_json::Value>>,
    #[serde(default)]
    description: Option<String>,
}
```

Source: `akasha-daemon/src/main.rs:2125`. Serde attributes: `none on the declaration`.

## CypherLiteRequest\_fd991cc [#cypherliterequest_fd991cc]

```rust
struct CypherLiteRequest {
    query: String,
    allow_updates: Option<bool>,
    enforce_transactions: Option<bool>,
    temporal: Option<TemporalClauseRequest>,
}
```

Source: `akasha-daemon/src/main.rs:2285`. Serde attributes: `none on the declaration`.

## CypherRequest\_fd991cc [#cypherrequest_fd991cc]

```rust
struct CypherRequest {
    query: String,
}
```

Source: `akasha-daemon/src/main.rs:2267`. Serde attributes: `none on the declaration`.

## DecisionOption\_7683c66 [#decisionoption_7683c66]

```rust
struct DecisionOption {
    pub option: String,
    pub pros: Vec<String>,
    pub cons: Vec<String>,
    pub score: f32,
    pub rejected_reason: Option<String>,
}
```

Source: `akasha/memory/src/cognitive_logging.rs:88`. Serde attributes: `none on the declaration`.

## DisableServiceRequest\_fd991cc [#disableservicerequest_fd991cc]

```rust
enum DisableServiceRequest {
    Single { service: String },
    Multiple { services: Vec<String> },
}
```

Source: `akasha-daemon/src/main.rs:229`. Serde attributes: `untagged`.

## DisableServiceResponse\_fd991cc [#disableserviceresponse_fd991cc]

```rust
struct DisableServiceResponse {
    success: bool,
    updates: Vec<ServiceMutationResponse>,
    failed_services: Vec<FailedService>,
}
```

Source: `akasha-daemon/src/main.rs:236`. Serde attributes: `none on the declaration`.

## EmbedRequest\_fd991cc [#embedrequest_fd991cc]

```rust
struct EmbedRequest {
    text: String,
    /// When true, long text is automatically chunked and each chunk is
    /// embedded separately.  The response contains a `vectors` array instead
    /// of a single `vector`.
    #[serde(default)]
    chunk: bool,
    /// Optional per-request chunking overrides.
    chunking: Option<chunking::ChunkingConfig>,
}
```

Source: `akasha-daemon/src/main.rs:2726`. Serde attributes: `none on the declaration`.

## EmbeddingDto\_bbf69db [#embeddingdto_bbf69db]

```rust
struct EmbeddingDto {
    pub algorithm: String,
    pub dim: u32,
    pub vector: Vec<f32>,
}
```

Source: `akasha-daemon/src/mind_receiver.rs:124`. Serde attributes: `none on the declaration`.

## EmissionRecordRequest\_bbf69db [#emissionrecordrequest_bbf69db]

```rust
struct EmissionRecordRequest {
    pub perception_id: String,
    pub ir_id: String,
    pub modality: ModalityDto,
    pub signer: String,
    pub embedding: EmbeddingDto,
}
```

Source: `akasha-daemon/src/mind_receiver.rs:89`. Serde attributes: `none on the declaration`.

## EnableServiceRequest\_fd991cc [#enableservicerequest_fd991cc]

```rust
enum EnableServiceRequest {
    /// Enable single service: {"service": "analytics"}
    Single { service: String },
    /// Enable multiple services: {"services": ["analytics", "graph"]}
    Multiple { services: Vec<String> },
}
```

Source: `akasha-daemon/src/main.rs:194`. Serde attributes: `untagged`.

## EnableServiceResponse\_fd991cc [#enableserviceresponse_fd991cc]

```rust
struct EnableServiceResponse {
    success: bool,
    updates: Vec<ServiceMutationResponse>,
    failed_services: Vec<FailedService>,
}
```

Source: `akasha-daemon/src/main.rs:203`. Serde attributes: `none on the declaration`.

## EnsembleInfo\_61bd1d3 [#ensembleinfo_61bd1d3]

```rust
struct EnsembleInfo {
    pub ensemble_id: String,
    pub n_neurons: i32,
    pub dimensions: i32,
    #[serde(default)]
    pub specializations: Vec<String>,
}
```

Source: `akasha-daemon/src/snn/federation.rs:24`. Serde attributes: `none on the declaration`.

## EnsureCompositeIndexRequest\_fd991cc [#ensurecompositeindexrequest_fd991cc]

```rust
struct EnsureCompositeIndexRequest {
    properties: Vec<String>,
}
```

Source: `akasha-daemon/src/main.rs:2382`. Serde attributes: `none on the declaration`.

## EnsurePropertyIndexRequest\_fd991cc [#ensurepropertyindexrequest_fd991cc]

```rust
struct EnsurePropertyIndexRequest {
    property_name: String,
}
```

Source: `akasha-daemon/src/main.rs:2365`. Serde attributes: `none on the declaration`.

## EpisodicInsertRequest\_fd991cc [#episodicinsertrequest_fd991cc]

```rust
struct EpisodicInsertRequest {
    event: EpisodicEvent,
}
```

Source: `akasha-daemon/src/main.rs:7461`. Serde attributes: `none on the declaration`.

## EpisodicSearchReq\_fd991cc [#episodicsearchreq_fd991cc]

```rust
struct EpisodicSearchReq {
    text: Option<String>,
    query: Option<String>,
    limit: Option<usize>,
}
```

Source: `akasha-daemon/src/main.rs:8629`. Serde attributes: `none on the declaration`.

## EpisodicUpdateRequest\_fd991cc [#episodicupdaterequest_fd991cc]

```rust
struct EpisodicUpdateRequest {
    event: EpisodicEvent,
}
```

Source: `akasha-daemon/src/main.rs:7495`. Serde attributes: `none on the declaration`.

## ExecutionContext\_0b67b69 [#executioncontext_0b67b69]

```rust
struct ExecutionContext {
    pub environment: Option<String>, // dev, staging, prod
    pub required_tools: Vec<String>, // Required tools or dependencies
    pub permissions: Vec<String>,    // Required permissions
    pub estimated_duration_mins: Option<u32>,
    pub risk_level: RiskLevel,
    pub prerequisites: Vec<Uuid>, // Other procedures that must be run first
}
```

Source: `akasha/memory/src/procedural.rs:45`. Serde attributes: `none on the declaration`.

## FailedService\_fd991cc [#failedservice_fd991cc]

```rust
struct FailedService {
    name: String,
    reason: String,
    code: String,
}
```

Source: `akasha-daemon/src/main.rs:210`. Serde attributes: `none on the declaration`.

## GraphFulltextRequest\_fd991cc [#graphfulltextrequest_fd991cc]

```rust
struct GraphFulltextRequest {
    query: String,
    limit: Option<usize>,
}
```

Source: `akasha-daemon/src/main.rs:2412`. Serde attributes: `none on the declaration`.

## GraphTxIdReq\_fd991cc [#graphtxidreq_fd991cc]

```rust
struct GraphTxIdReq {
    id: String,
}
```

Source: `akasha-daemon/src/main.rs:9561`. Serde attributes: `none on the declaration`.

## InferenceJobQuery\_fd991cc [#inferencejobquery_fd991cc]

```rust
struct InferenceJobQuery {
    limit: Option<usize>,
}
```

Source: `akasha-daemon/src/main.rs:5285`. Serde attributes: `none on the declaration`.

## InferenceModelListResponse\_fd991cc [#inferencemodellistresponse_fd991cc]

```rust
struct InferenceModelListResponse {
    models: Vec<ModelMetadata>,
}
```

Source: `akasha-daemon/src/main.rs:5275`. Serde attributes: `none on the declaration`.

## InferenceModelQuery\_fd991cc [#inferencemodelquery_fd991cc]

```rust
struct InferenceModelQuery {
    tenant: Option<String>,
    backend: Option<String>,
    family: Option<String>,
    status: Option<String>,
    search: Option<String>,
}
```

Source: `akasha-daemon/src/main.rs:5245`. Serde attributes: `none on the declaration`.

## InferencePayload\_e818998 [#inferencepayload_e818998]

```rust
enum InferencePayload {
    Text {
        prompt: String,
    },
    Json {
        value: Value,
    },
    Tensor {
        shape: Vec<usize>,
        values: Vec<f32>,
    },
    #[serde(with = "serde_bytes")]
    Binary {
        data: Vec<u8>,
    },
}
```

Source: `akasha/inference/src/types.rs:59`. Serde attributes: `tag = "type", rename_all = "snake_case"`.

## InferenceResultEnvelope\_e818998 [#inferenceresultenvelope_e818998]

```rust
struct InferenceResultEnvelope {
    pub model_id: String,
    pub tenant_id: String,
    pub outputs: Vec<Value>,
    pub latency_ms: u64,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub tokens_used: Option<u64>,
    pub backend: BackendKind,
    pub telemetry: BackendTelemetrySnapshot,
    #[serde(default)]
    pub metadata: HashMap<String, Value>,
}
```

Source: `akasha/inference/src/types.rs:153`. Serde attributes: `none on the declaration`.

## InferenceUpdateStatusRequest\_fd991cc [#inferenceupdatestatusrequest_fd991cc]

```rust
struct InferenceUpdateStatusRequest {
    status: ModelStatus,
}
```

Source: `akasha-daemon/src/main.rs:5280`. Serde attributes: `none on the declaration`.

## IngestKind\_fd991cc [#ingestkind_fd991cc]

```rust
enum IngestKind {
    #[serde(rename = "triples")]
    Triples {
        triples: Vec<akasha::adapters::Triple>,
    },
    #[serde(rename = "document")]
    Document { document: serde_json::Value },
    #[serde(rename = "entities")]
    Entities { entities: Vec<serde_json::Value> },
}
```

Source: `akasha-daemon/src/main.rs:2226`. Serde attributes: `tag = "type"`.

## IngestRequest\_fd991cc [#ingestrequest_fd991cc]

```rust
struct IngestRequest {
    kind: IngestKind,
    content_type: String,
}
```

Source: `akasha-daemon/src/main.rs:2238`. Serde attributes: `none on the declaration`.

## InteractionResponse\_7683c66 [#interactionresponse_7683c66]

```rust
struct InteractionResponse {
    pub timestamp: DateTime<Utc>,
    pub response: String,
    pub success: bool,
    pub metadata: HashMap<String, serde_json::Value>,
}
```

Source: `akasha/memory/src/cognitive_logging.rs:124`. Serde attributes: `none on the declaration`.

## InteractionType\_7683c66 [#interactiontype_7683c66]

```rust
enum InteractionType {
    Query,
    Request,
    Inform,
    Delegate,
    Collaborate,
    Negotiate,
    Conflict,
    Consensus,
}
```

Source: `akasha/memory/src/cognitive_logging.rs:111`. Serde attributes: `none on the declaration`.

## JobOverview\_e818998 [#joboverview_e818998]

```rust
struct JobOverview {
    pub id: Uuid,
    pub backend: BackendKind,
    pub tenant_id: String,
    pub model_id: String,
    pub status: JobStatus,
    pub created_at: DateTime<Utc>,
    pub updated_at: DateTime<Utc>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub last_error: Option<String>,
    pub retryable: bool,
    pub cancellable: bool,
}
```

Source: `akasha/inference/src/types.rs:282`. Serde attributes: `none on the declaration`.

## JobStatus\_e818998 [#jobstatus_e818998]

```rust
enum JobStatus {
    Pending {
        queued_at: DateTime<Utc>,
    },
    Running {
        started_at: DateTime<Utc>,
    },
    Completed {
        finished_at: DateTime<Utc>,
        result: Box<InferenceResultEnvelope>,
    },
    Failed {
        finished_at: DateTime<Utc>,
        error: String,
    },
    Cancelled {
        finished_at: DateTime<Utc>,
    },
}
```

Source: `akasha/inference/src/types.rs:185`. Serde attributes: `tag = "status", rename_all = "snake_case"`.

## LineageGraphReq\_677ff0e [#lineagegraphreq_677ff0e]

```rust
struct LineageGraphReq {
    root_id: Option<String>,
    depth: Option<u32>,
}
```

Source: `akasha-daemon/src/lineage.rs:23`. Serde attributes: `none on the declaration`.

## LineageImpactReq\_677ff0e [#lineageimpactreq_677ff0e]

```rust
struct LineageImpactReq {
    node_id: String,
}
```

Source: `akasha-daemon/src/lineage.rs:29`. Serde attributes: `none on the declaration`.

## LineageVerifyReq\_677ff0e [#lineageverifyreq_677ff0e]

```rust
struct LineageVerifyReq {
    node_id: String,
}
```

Source: `akasha-daemon/src/lineage.rs:34`. Serde attributes: `none on the declaration`.

## LoadModelRequest\_fd991cc [#loadmodelrequest_fd991cc]

```rust
struct LoadModelRequest {
    name: String,
    model_type: String,
    framework: String,
    path: Option<String>,
    data_b64: Option<String>,
}
```

Source: `akasha-daemon/src/main.rs:2574`. Serde attributes: `none on the declaration`.

## LoadedModelInfo\_fd991cc [#loadedmodelinfo_fd991cc]

```rust
struct LoadedModelInfo {
    id: String,
    name: String,
    memory_bytes: u64,
    uptime_seconds: u64,
}
```

Source: `akasha-daemon/src/main.rs:4846`. Serde attributes: `none on the declaration`.

## McpToolsCallRequest\_77c39c7 [#mcptoolscallrequest_77c39c7]

```rust
struct McpToolsCallRequest {
    /// The name of the tool to call
    pub name: String,
    /// Arguments to pass to the tool
    #[serde(default)]
    pub arguments: JsonValue,
    /// Optional caller-supplied namespace used by Cambium recall augmentation.
    #[serde(default)]
    pub namespace: Option<String>,
}
```

Source: `akasha-daemon/src/mcp/handlers.rs:19`. Serde attributes: `none on the declaration`.

## McpToolsListRequest\_77c39c7 [#mcptoolslistrequest_77c39c7]

```rust
struct McpToolsListRequest {}
```

Source: `akasha-daemon/src/mcp/handlers.rs:15`. Serde attributes: `none on the declaration`.

## MeteringSnapshot\_e818998 [#meteringsnapshot_e818998]

```rust
struct MeteringSnapshot {
    pub tenant_id: String,
    pub model_id: String,
    pub total_requests: u64,
    pub total_tokens: u64,
    pub total_latency_ms: u64,
    pub window_started_at: DateTime<Utc>,
    #[serde(skip_serializing_if = "HashMap::is_empty", default)]
    pub extra: HashMap<String, Value>,
}
```

Source: `akasha/inference/src/types.rs:230`. Serde attributes: `none on the declaration`.

## MhnClearReq\_fd991cc [#mhnclearreq_fd991cc]

```rust
struct MhnClearReq {
    #[serde(flatten)]
    body_authority: RejectedBodyAuthority,
}
```

Source: `akasha-daemon/src/main.rs:8082`. Serde attributes: `none on the declaration`.

## MhnConfigReq\_fd991cc [#mhnconfigreq_fd991cc]

```rust
struct MhnConfigReq {
    #[serde(flatten)]
    body_authority: RejectedBodyAuthority,
}
```

Source: `akasha-daemon/src/main.rs:8230`. Serde attributes: `none on the declaration`.

## MhnListReq\_fd991cc [#mhnlistreq_fd991cc]

```rust
struct MhnListReq {
    #[serde(flatten)]
    body_authority: RejectedBodyAuthority,
}
```

Source: `akasha-daemon/src/main.rs:11232`. Serde attributes: `none on the declaration`.

## MhnNewReq\_fd991cc [#mhnnewreq_fd991cc]

```rust
struct MhnNewReq {
    dimensions: usize,
    #[serde(flatten)]
    body_authority: RejectedBodyAuthority,
}
```

Source: `akasha-daemon/src/main.rs:7918`. Serde attributes: `none on the declaration`.

## MhnRetrieveKeyReq\_fd991cc [#mhnretrievekeyreq_fd991cc]

```rust
struct MhnRetrieveKeyReq {
    id: String,
    #[serde(flatten)]
    body_authority: RejectedBodyAuthority,
}
```

Source: `akasha-daemon/src/main.rs:8193`. Serde attributes: `none on the declaration`.

## MhnRetrieveReq\_fd991cc [#mhnretrievereq_fd991cc]

```rust
struct MhnRetrieveReq {
    vector: Vec<f32>,
    k: Option<usize>,
    #[serde(flatten)]
    body_authority: RejectedBodyAuthority,
}
```

Source: `akasha-daemon/src/main.rs:8006`. Serde attributes: `none on the declaration`.

## MhnRetrieveVectorReq\_fd991cc [#mhnretrievevectorreq_fd991cc]

```rust
struct MhnRetrieveVectorReq {
    vector: Vec<f32>,
    k: Option<usize>,
    #[serde(flatten)]
    body_authority: RejectedBodyAuthority,
}
```

Source: `akasha-daemon/src/main.rs:8153`. Serde attributes: `none on the declaration`.

## MhnStatsReq\_fd991cc [#mhnstatsreq_fd991cc]

```rust
struct MhnStatsReq {
    #[serde(flatten)]
    body_authority: RejectedBodyAuthority,
}
```

Source: `akasha-daemon/src/main.rs:8119`. Serde attributes: `none on the declaration`.

## MhnStoreReq\_fd991cc [#mhnstorereq_fd991cc]

```rust
struct MhnStoreReq {
    id: String,
    vector: Vec<f32>,
    #[serde(flatten)]
    body_authority: RejectedBodyAuthority,
}
```

Source: `akasha-daemon/src/main.rs:7961`. Serde attributes: `none on the declaration`.

## MhnSystemInfoReq\_fd991cc [#mhnsysteminforeq_fd991cc]

```rust
struct MhnSystemInfoReq {
    #[serde(flatten)]
    body_authority: RejectedBodyAuthority,
}
```

Source: `akasha-daemon/src/main.rs:8261`. Serde attributes: `none on the declaration`.

## MicrotheoryKeyspaceRequest\_fd991cc [#microtheorykeyspacerequest_fd991cc]

```rust
struct MicrotheoryKeyspaceRequest {
    name: String,
}
```

Source: `akasha-daemon/src/main.rs:2554`. Serde attributes: `none on the declaration`.

## MicrotheorySwitchRequest\_fd991cc [#microtheoryswitchrequest_fd991cc]

```rust
struct MicrotheorySwitchRequest {
    name: String,
}
```

Source: `akasha-daemon/src/main.rs:2536`. Serde attributes: `none on the declaration`.

## MlGenerateRequest\_fd991cc [#mlgeneraterequest_fd991cc]

```rust
struct MlGenerateRequest {
    model_id: String,
    prompt: String,
    max_tokens: Option<usize>,
    temperature: Option<f32>,
}
```

Source: `akasha-daemon/src/main.rs:2822`. Serde attributes: `none on the declaration`.

## MlMetricsRequest\_fd991cc [#mlmetricsrequest_fd991cc]

```rust
struct MlMetricsRequest {
    model_id: String,
}
```

Source: `akasha-daemon/src/main.rs:2708`. Serde attributes: `none on the declaration`.

## MlSupervisedSample\_fd991cc [#mlsupervisedsample_fd991cc]

```rust
struct MlSupervisedSample {
    features: Vec<f32>,
    label: usize,
}
```

Source: `akasha-daemon/src/main.rs:2583`. Serde attributes: `none on the declaration`.

## MlTokenizerLoadReq\_fd991cc [#mltokenizerloadreq_fd991cc]

```rust
struct MlTokenizerLoadReq {
    model_id: String,
}
```

Source: `akasha-daemon/src/main.rs:2858`. Serde attributes: `none on the declaration`.

## MlTrainHrmReq\_fd991cc [#mltrainhrmreq_fd991cc]

```rust
struct MlTrainHrmReq {
    domain: String,
    dataspace: String,
    primitive_keyspace: String,
    checkpoint_name: String,
    #[serde(default)]
    reservoir_id: Option<String>,
    #[serde(default)]
    epochs: Option<usize>,
    #[serde(default)]
    batch_size: Option<usize>,
    model_config: serde_json::Value,
    training_config: serde_json::Value,
    #[serde(default)]
    #[allow(dead_code)]
    inputs: Option<Vec<serde_json::Value>>,
    #[serde(default)]
    #[allow(dead_code)]
    targets: Option<Vec<serde_json::Value>>,
}
```

Source: `akasha-daemon/src/main.rs:2607`. Serde attributes: `none on the declaration`.

## MlTrainSupervisedReq\_fd991cc [#mltrainsupervisedreq_fd991cc]

```rust
struct MlTrainSupervisedReq {
    model_name: String,
    input_dim: usize,
    num_classes: usize,
    samples: Vec<MlSupervisedSample>,
    #[serde(default)]
    params: MlTrainingParams,
}
```

Source: `akasha-daemon/src/main.rs:2597`. Serde attributes: `none on the declaration`.

## MlTrainingParams\_fd991cc [#mltrainingparams_fd991cc]

```rust
struct MlTrainingParams {
    learning_rate: Option<f64>,
    weight_decay: Option<f64>,
    epochs: Option<usize>,
    batch_size: Option<usize>,
}
```

Source: `akasha-daemon/src/main.rs:2589`. Serde attributes: `none on the declaration`.

## ModalityDto\_bbf69db [#modalitydto_bbf69db]

```rust
enum ModalityDto {
    Audio,
    Vision,
    Video,
    Text,
    Ocr,
    Sensor(SensorKindDto),
}
```

Source: `akasha-daemon/src/mind_receiver.rs:99`. Serde attributes: `tag = "kind", content = "value", rename_all = "snake_case"`.

## ModelDownloadRequest\_fd991cc [#modeldownloadrequest_fd991cc]

```rust
struct ModelDownloadRequest {
    model_id: String,
    #[serde(default)]
    force: bool,
    #[serde(default = "default_verify_hash")]
    verify_hash: bool,
}
```

Source: `akasha-daemon/src/main.rs:4815`. Serde attributes: `none on the declaration`.

## ModelFamily\_e818998 [#modelfamily_e818998]

```rust
enum ModelFamily {
    Hrm,
    Snn,
    Llm,
    Multimodal,
    Custom(String),
}
```

Source: `akasha/inference/src/types.rs:9`. Serde attributes: `rename_all = "snake_case"`.

## ModelInfoResponse\_fd991cc [#modelinforesponse_fd991cc]

```rust
struct ModelInfoResponse {
    id: String,
    name: String,
    status: String,
    tier: String,
    purpose: String,
    capabilities: Vec<String>,
    size_bytes: u64,
    size_human: String,
    parameters_human: String,
    memory_bytes: Option<u64>,
    load_time_ms: Option<u64>,
    path: Option<String>,
    description: String,
    context_length: usize,
    thinking_mode: bool,
    downloaded_at: Option<String>,
    loaded_at: Option<String>,
    last_error: Option<String>,
}
```

Source: `akasha-daemon/src/main.rs:4784`. Serde attributes: `none on the declaration`.

## ModelLoadRequest\_fd991cc [#modelloadrequest_fd991cc]

```rust
struct ModelLoadRequest {
    model_id: String,
    #[serde(default)]
    force_download: bool,
}
```

Source: `akasha-daemon/src/main.rs:4807`. Serde attributes: `none on the declaration`.

## ModelOpResponse\_fd991cc [#modelopresponse_fd991cc]

```rust
struct ModelOpResponse {
    success: bool,
    model_id: String,
    status: String,
    message: String,
}
```

Source: `akasha-daemon/src/main.rs:4829`. Serde attributes: `none on the declaration`.

## ModelsListResponse\_fd991cc [#modelslistresponse_fd991cc]

```rust
struct ModelsListResponse {
    models: Vec<ModelInfoResponse>,
    total: usize,
    memory_used_bytes: u64,
    memory_budget_bytes: u64,
}
```

Source: `akasha-daemon/src/main.rs:4775`. Serde attributes: `none on the declaration`.

## ModelsMemoryResponse\_fd991cc [#modelsmemoryresponse_fd991cc]

```rust
struct ModelsMemoryResponse {
    memory_used_bytes: u64,
    memory_budget_bytes: u64,
    utilization_percent: f64,
    loaded_models: Vec<LoadedModelInfo>,
}
```

Source: `akasha-daemon/src/main.rs:4838`. Serde attributes: `none on the declaration`.

## NamespaceSwitchReq\_fd991cc [#namespaceswitchreq_fd991cc]

```rust
struct NamespaceSwitchReq {
    tenant_id: String,
    reservoir_id: String,
    agent_id: String,
    dataspace_id: String,
}
```

Source: `akasha-daemon/src/main.rs:3477`. Serde attributes: `none on the declaration`.

## NsPathsFindReq\_fd991cc [#nspathsfindreq_fd991cc]

```rust
struct NsPathsFindReq {
    start: String,
    end: String,
}
```

Source: `akasha-daemon/src/main.rs:9517`. Serde attributes: `none on the declaration`.

## NsPrefetchReq\_fd991cc [#nsprefetchreq_fd991cc]

```rust
struct NsPrefetchReq {
    #[allow(dead_code)]
    query: String,
}
```

Source: `akasha-daemon/src/main.rs:9540`. Serde attributes: `none on the declaration`.

## NsRetrieveReq\_fd991cc [#nsretrievereq_fd991cc]

```rust
struct NsRetrieveReq {
    text: String,
    mode: Option<String>,
    k: Option<usize>,
}
```

Source: `akasha-daemon/src/main.rs:9473`. Serde attributes: `none on the declaration`.

## NsRuleToggleReq\_fd991cc [#nsruletogglereq_fd991cc]

```rust
struct NsRuleToggleReq {
    #[allow(dead_code)]
    rule_id: String,
    #[allow(dead_code)]
    enabled: bool,
}
```

Source: `akasha-daemon/src/main.rs:11204`. Serde attributes: `none on the declaration`.

## PagerankRequest\_fd991cc [#pagerankrequest_fd991cc]

```rust
struct PagerankRequest {
    damping: Option<f64>,
}
```

Source: `akasha-daemon/src/main.rs:2473`. Serde attributes: `none on the declaration`.

## PrimitiveExportRequest\_fd991cc [#primitiveexportrequest_fd991cc]

```rust
struct PrimitiveExportRequest {
    keyspace: String,
    schema_version: Option<u32>,
}
```

Source: `akasha-daemon/src/main.rs:2165`. Serde attributes: `none on the declaration`.

## PrimitiveImportRequest\_fd991cc [#primitiveimportrequest_fd991cc]

```rust
struct PrimitiveImportRequest {
    keyspace: String,
    records: Vec<serde_json::Value>,
    schema_version: Option<u32>,
    #[serde(default)]
    upsert: bool,
}
```

Source: `akasha-daemon/src/main.rs:2156`. Serde attributes: `none on the declaration`.

## ProceduralStoreRequest\_fd991cc [#proceduralstorerequest_fd991cc]

```rust
struct ProceduralStoreRequest {
    procedure: Procedure,
}
```

Source: `akasha-daemon/src/main.rs:7529`. Serde attributes: `none on the declaration`.

## ProcedureIdReq\_fd991cc [#procedureidreq_fd991cc]

```rust
struct ProcedureIdReq {
    id: String,
}
```

Source: `akasha-daemon/src/main.rs:9813`. Serde attributes: `none on the declaration`.

## ProcedureSearchReq\_fd991cc [#proceduresearchreq_fd991cc]

```rust
struct ProcedureSearchReq {
    query: String,
}
```

Source: `akasha-daemon/src/main.rs:9818`. Serde attributes: `none on the declaration`.

## ProcedureStep\_0b67b69 [#procedurestep_0b67b69]

```rust
struct ProcedureStep {
    pub id: Uuid,
    pub sequence: u32,
    pub name: String,
    pub description: String,
    pub commands: Vec<String>,
    pub expected_output: Option<String>,
    pub timeout_seconds: Option<u32>,
    pub retry_count: u32,
    pub required_permissions: Vec<String>,
    pub dependencies: Vec<Uuid>,
    pub validation_criteria: Vec<String>,
}
```

Source: `akasha/memory/src/procedural.rs:77`. Serde attributes: `none on the declaration`.

## ProcedureType\_0b67b69 [#proceduretype_0b67b69]

```rust
enum ProcedureType {
    Workflow,        // Business process workflows
    Script,          // Executable scripts
    Recipe,          // Step-by-step instructions
    Algorithm,       // Mathematical/computational procedures
    Protocol,        // Communication or API protocols
    Deployment,      // Deployment procedures
    Troubleshooting, // Diagnostic and fixing procedures
    Setup,           // Installation or configuration procedures
    Migration,       // Data or system migration procedures
    Manual,
    Automated,
    Hybrid,
    Emergency,
    Standard,
}
```

Source: `akasha/memory/src/procedural.rs:26`. Serde attributes: `none on the declaration`.

## ProcedureUpdateReq\_fd991cc [#procedureupdatereq_fd991cc]

```rust
struct ProcedureUpdateReq {
    id: String,
    procedure: Procedure,
}
```

Source: `akasha-daemon/src/main.rs:9868`. Serde attributes: `none on the declaration`.

## Procedure\_0b67b69 [#procedure_0b67b69]

```rust
struct Procedure {
    pub id: Uuid,
    pub name: String,
    pub description: String,
    pub procedure_type: ProcedureType,
    pub version: String,
    pub author: String,
    pub created_at: DateTime<Utc>,
    pub updated_at: DateTime<Utc>,
    pub execution_context: ExecutionContext,
    pub steps: Vec<ProcedureStep>,
    pub tags: Vec<String>,
    pub success_criteria: Vec<String>,
    pub failure_conditions: Vec<String>,
    pub related_procedures: Vec<Uuid>,
    pub approval_required: bool,
    pub compiled_wasm: Option<Vec<u8>>, // Optional compiled WASM module
    pub usage_count: u32,
    pub success_rate: f32, // 0.0 to 1.0
}
```

Source: `akasha/memory/src/procedural.rs:129`. Serde attributes: `none on the declaration`.

## PutRequest\_fd991cc [#putrequest_fd991cc]

```rust
struct PutRequest {
    data: serde_json::Value,
}
```

Source: `akasha-daemon/src/main.rs:2144`. Serde attributes: `none on the declaration`.

## QuarantineListParams\_2e99200 [#quarantinelistparams_2e99200]

```rust
struct QuarantineListParams {
    status: Option<String>,
    limit: Option<usize>,
}
```

Source: `akasha-daemon/src/quarantine.rs:36`. Serde attributes: `none on the declaration`.

## QueryRequest\_fd991cc [#queryrequest_fd991cc]

```rust
struct QueryRequest {
    filter: String,
    limit: Option<usize>,
    offset: Option<usize>,
}
```

Source: `akasha-daemon/src/main.rs:2149`. Serde attributes: `none on the declaration`.

## QueueDepthEntry\_e818998 [#queuedepthentry_e818998]

```rust
struct QueueDepthEntry {
    pub backend: BackendKind,
    pub pending: usize,
    pub running: usize,
    pub failed: usize,
    pub cancelled: usize,
}
```

Source: `akasha/inference/src/types.rs:273`. Serde attributes: `none on the declaration`.

## QueueSnapshot\_e818998 [#queuesnapshot_e818998]

```rust
struct QueueSnapshot {
    pub queues: Vec<QueueDepthEntry>,
    pub jobs: Vec<JobOverview>,
}
```

Source: `akasha/inference/src/types.rs:297`. Serde attributes: `none on the declaration`.

## RegisterModelRequest\_fd991cc [#registermodelrequest_fd991cc]

```rust
struct RegisterModelRequest {
    model_id: String,
    tenant_id: String,
    owner: String,
    family: ModelFamily,
    backend: BackendKind,
    version: String,
    #[serde(default)]
    adapter_id: Option<String>,
    #[serde(default)]
    hrm_entrypoint: Option<String>,
    #[serde(default)]
    tags: Vec<String>,
    #[serde(default)]
    capabilities: Vec<String>,
    #[serde(default)]
    extra: Value,
    #[serde(default)]
    status: Option<ModelStatus>,
}
```

Source: `akasha-daemon/src/main.rs:5223`. Serde attributes: `none on the declaration`.

## ReindexRequest\_fd991cc [#reindexrequest_fd991cc]

```rust
struct ReindexRequest {
    keyspace: String,
}
```

Source: `akasha-daemon/src/main.rs:3331`. Serde attributes: `none on the declaration`.

## RejectedBodyAuthority\_fd991cc [#rejectedbodyauthority_fd991cc]

```rust
struct RejectedBodyAuthority {
    #[serde(default)]
    capability: Option<serde_json::Value>,
    #[serde(default)]
    actions: Option<serde_json::Value>,
}
```

Source: `akasha-daemon/src/main.rs:7898`. Serde attributes: `none on the declaration`.

## ReplicationCreateReq\_fd991cc [#replicationcreatereq_fd991cc]

```rust
struct ReplicationCreateReq {
    dest_data_dir: String,
    link_id: Option<String>,
}
```

Source: `akasha-daemon/src/main.rs:3542`. Serde attributes: `none on the declaration`.

## ReplicationIdReq\_fd991cc [#replicationidreq_fd991cc]

```rust
struct ReplicationIdReq {
    id: String,
}
```

Source: `akasha-daemon/src/main.rs:3579`. Serde attributes: `none on the declaration`.

## ResourceAccessReq\_fd991cc [#resourceaccessreq_fd991cc]

```rust
struct ResourceAccessReq {
    id: String,
    access: String,
}
```

Source: `akasha-daemon/src/main.rs:3725`. Serde attributes: `none on the declaration`.

## ResourceChunksReq\_fd991cc [#resourcechunksreq_fd991cc]

```rust
struct ResourceChunksReq {
    #[allow(dead_code)]
    resource_id: String,
}
```

Source: `akasha-daemon/src/main.rs:10537`. Serde attributes: `none on the declaration`.

## ResourceIdReq\_fd991cc [#resourceidreq_fd991cc]

```rust
struct ResourceIdReq {
    id: String,
}
```

Source: `akasha-daemon/src/main.rs:3613`. Serde attributes: `none on the declaration`.

## ResourceItem\_237f978 [#resourceitem_237f978]

```rust
struct ResourceItem {
    pub id: Uuid,
    pub name: String,
    pub description: String,
    pub resource_type: ResourceType,
    pub mime_type: String,
    pub size_bytes: u64,
    pub checksum: String,
    pub created_at: DateTime<Utc>,
    pub updated_at: DateTime<Utc>,
    pub tags: Vec<String>,
    pub metadata: ResourceMetadata,
    /// Path or key to the actual binary data in blob storage
    pub storage_key: String,
    /// Whether the resource is available for access
    pub available: bool,
}
```

Source: `akasha/memory/src/resource.rs:82`. Serde attributes: `none on the declaration`.

## ResourceMetadata\_237f978 [#resourcemetadata_237f978]

```rust
struct ResourceMetadata {
    pub file_name: String,
    pub file_size: u64,
    pub mime_type: String,
    pub checksum: String,
    pub created_at: chrono::DateTime<chrono::Utc>,
    pub accessed_at: Option<chrono::DateTime<chrono::Utc>>,
    pub tags: Vec<String>,
    pub custom_fields: std::collections::HashMap<String, serde_json::Value>,
    pub total_accesses: u64,
}
```

Source: `akasha/memory/src/resource.rs:68`. Serde attributes: `none on the declaration`.

## ResourceStoreRequest\_fd991cc [#resourcestorerequest_fd991cc]

```rust
struct ResourceStoreRequest {
    resource: ResourceItem,
    data_b64: String,
}
```

Source: `akasha-daemon/src/main.rs:7547`. Serde attributes: `none on the declaration`.

## ResourceTypeReq\_fd991cc [#resourcetypereq_fd991cc]

```rust
struct ResourceTypeReq {
    kind: String,
}
```

Source: `akasha-daemon/src/main.rs:3694`. Serde attributes: `none on the declaration`.

## ResourceType\_237f978 [#resourcetype_237f978]

```rust
enum ResourceType {
    Document,
    Image,
    Video,
    Audio,
    Archive,
    Code,
    Data,
    Model,
    Other(String),
}
```

Source: `akasha/memory/src/resource.rs:26`. Serde attributes: `none on the declaration`.

## ResourceUsageReq\_fd991cc [#resourceusagereq_fd991cc]

```rust
struct ResourceUsageReq {
    id: String,
}
```

Source: `akasha-daemon/src/main.rs:7604`. Serde attributes: `none on the declaration`.

## RetrievalReq\_fd991cc [#retrievalreq_fd991cc]

```rust
struct RetrievalReq {
    text: String,
    limit: Option<usize>,
    #[serde(default)]
    chunk: bool,
}
```

Source: `akasha-daemon/src/main.rs:7847`. Serde attributes: `none on the declaration`.

## RiskLevel\_0b67b69 [#risklevel_0b67b69]

```rust
enum RiskLevel {
    Low,      // Safe operations, no risk of data loss
    Medium,   // Some risk, requires review
    High,     // High risk, requires approval and backup
    Critical, // Extremely dangerous, requires multiple approvals
}
```

Source: `akasha/memory/src/procedural.rs:68`. Serde attributes: `none on the declaration`.

## RuntimeServiceEntry\_e734465 [#runtimeserviceentry_e734465]

```rust
struct RuntimeServiceEntry {
    pub name: String,
    pub enabled: bool,
    pub provisioned: bool,
    pub lifecycle: ServiceLifecycle,
    pub status: RuntimeServiceStatus,
    pub dependencies: Vec<String>,
    #[serde(with = "chrono::serde::ts_seconds")]
    pub last_transition: DateTime<Utc>,
    pub message: Option<String>,
}
```

Source: `akasha-daemon/src/service_runtime.rs:32`. Serde attributes: `none on the declaration`.

## RuntimeServiceStatus\_e734465 [#runtimeservicestatus_e734465]

```rust
enum RuntimeServiceStatus {
    Disabled,
    Running,
    Pending,
    RestartRequired,
    Failed,
}
```

Source: `akasha-daemon/src/service_runtime.rs:23`. Serde attributes: `rename_all = "snake_case"`.

## SensitivityLevel\_afe0991 [#sensitivitylevel_afe0991]

```rust
enum SensitivityLevel {
    Public,
    Internal,
    Confidential,
    Secret,
    TopSecret,
    High,
}
```

Source: `akasha/memory/src/knowledge_vault.rs:74`. Serde attributes: `none on the declaration`.

## ServiceLifecycle\_e734465 [#servicelifecycle_e734465]

```rust
enum ServiceLifecycle {
    HotReload,
    ColdRestart,
}
```

Source: `akasha-daemon/src/service_runtime.rs:16`. Serde attributes: `rename_all = "snake_case"`.

## ServiceMutationResponse\_fd991cc [#servicemutationresponse_fd991cc]

```rust
struct ServiceMutationResponse {
    name: String,
    status: RuntimeServiceStatus,
    lifecycle: ServiceLifecycle,
    enabled: bool,
    provisioned: bool,
    applied: bool,
    message: Option<String>,
}
```

Source: `akasha-daemon/src/main.rs:249`. Serde attributes: `none on the declaration`.

## ServiceStatusResponse\_fd991cc [#servicestatusresponse_fd991cc]

```rust
struct ServiceStatusResponse {
    services: Vec<RuntimeServiceEntry>,
}
```

Source: `akasha-daemon/src/main.rs:244`. Serde attributes: `none on the declaration`.

## ShortestPathRequest\_fd991cc [#shortestpathrequest_fd991cc]

```rust
struct ShortestPathRequest {
    source: String,
    target: String,
}
```

Source: `akasha-daemon/src/main.rs:2492`. Serde attributes: `none on the declaration`.

## SnnBuildReq\_fd991cc [#snnbuildreq_fd991cc]

```rust
struct SnnBuildReq {
    network_id: Option<String>,
    namespace: Option<String>,
    version: Option<String>,
    spec: Option<serde_json::Value>,
    #[serde(flatten)]
    body_authority: RejectedBodyAuthority,
}
```

Source: `akasha-daemon/src/main.rs:8657`. Serde attributes: `none on the declaration`.

## SnnCompileReq\_fd991cc [#snncompilereq_fd991cc]

```rust
struct SnnCompileReq {
    network_id: String,
    namespace: String,
    version: Option<String>,
    #[serde(flatten)]
    body_authority: RejectedBodyAuthority,
}
```

Source: `akasha-daemon/src/main.rs:8674`. Serde attributes: `none on the declaration`.

## SnnFederationAgentRemoveReq\_fd991cc [#snnfederationagentremovereq_fd991cc]

```rust
struct SnnFederationAgentRemoveReq {
    token: Option<String>,
    agent_id: String,
}
```

Source: `akasha-daemon/src/main.rs:8790`. Serde attributes: `none on the declaration`.

## SnnFederationAgentUpdateReq\_fd991cc [#snnfederationagentupdatereq_fd991cc]

```rust
struct SnnFederationAgentUpdateReq {
    token: Option<String>,
    agent_id: String,
    visibility: Option<String>,
    trust_score: Option<f32>,
}
```

Source: `akasha-daemon/src/main.rs:8782`. Serde attributes: `none on the declaration`.

## SnnFederationCapabilitiesReq\_fd991cc [#snnfederationcapabilitiesreq_fd991cc]

```rust
struct SnnFederationCapabilitiesReq {
    token: Option<String>,
    #[serde(default)]
    required: Option<Vec<String>>,
}
```

Source: `akasha-daemon/src/main.rs:8775`. Serde attributes: `none on the declaration`.

## SnnFederationContributeReq\_fd991cc [#snnfederationcontributereq_fd991cc]

```rust
struct SnnFederationContributeReq {
    token: Option<String>,
    agent_id: String,
    deltas: WeightDeltas,
}
```

Source: `akasha-daemon/src/main.rs:8757`. Serde attributes: `none on the declaration`.

## SnnFederationRegisterReq\_fd991cc [#snnfederationregisterreq_fd991cc]

```rust
struct SnnFederationRegisterReq {
    token: Option<String>,
    agent_id: String,
    host: String,
    capabilities: Vec<String>,
    #[serde(default)]
    ensembles: Vec<EnsembleInfo>,
    visibility: Option<String>,
    #[serde(default)]
    trust_score: Option<f32>,
}
```

Source: `akasha-daemon/src/main.rs:8744`. Serde attributes: `none on the declaration`.

## SnnFederationSpikeReq\_fd991cc [#snnfederationspikereq_fd991cc]

```rust
struct SnnFederationSpikeReq {
    token: Option<String>,
    event: SpikeEventPayload,
}
```

Source: `akasha-daemon/src/main.rs:8769`. Serde attributes: `none on the declaration`.

## SnnFederationTokenReq\_fd991cc [#snnfederationtokenreq_fd991cc]

```rust
struct SnnFederationTokenReq {
    token: Option<String>,
}
```

Source: `akasha-daemon/src/main.rs:8764`. Serde attributes: `none on the declaration`.

## SnnNeuronsReq\_fd991cc [#snnneuronsreq_fd991cc]

```rust
struct SnnNeuronsReq {
    network_id: String,
}
```

Source: `akasha-daemon/src/main.rs:11169`. Serde attributes: `none on the declaration`.

## SnnStateReq\_fd991cc [#snnstatereq_fd991cc]

```rust
struct SnnStateReq {
    namespace: String,
    #[serde(flatten)]
    body_authority: RejectedBodyAuthority,
}
```

Source: `akasha-daemon/src/main.rs:8731`. Serde attributes: `none on the declaration`.

## SnnStepReq\_fd991cc [#snnstepreq_fd991cc]

```rust
struct SnnStepReq {
    network_id: String,
    namespace: String,
    version: Option<String>,
    input: Vec<f32>,
    #[serde(flatten)]
    body_authority: RejectedBodyAuthority,
}
```

Source: `akasha-daemon/src/main.rs:8700`. Serde attributes: `none on the declaration`.

## SnnTrainBpttReq\_fd991cc [#snntrainbpttreq_fd991cc]

```rust
struct SnnTrainBpttReq {
    network_id: String,
    namespace: String,
    version: Option<String>,
    steps: usize,
    #[serde(flatten)]
    body_authority: RejectedBodyAuthority,
}
```

Source: `akasha-daemon/src/main.rs:8715`. Serde attributes: `none on the declaration`.

## SpikeEventPayload\_61bd1d3 [#spikeeventpayload_61bd1d3]

```rust
struct SpikeEventPayload {
    pub source_agent_id: String,
    pub ensemble_id: String,
    pub neuron_indices: Vec<i32>,
    pub spike_times: Vec<f32>,
    pub intensity: f32,
}
```

Source: `akasha-daemon/src/snn/federation.rs:33`. Serde attributes: `none on the declaration`.

## SqlRequest\_fd991cc [#sqlrequest_fd991cc]

```rust
struct SqlRequest {
    sql: String,
}
```

Source: `akasha-daemon/src/main.rs:2206`. Serde attributes: `none on the declaration`.

## SubdomainQueryReq\_fd991cc [#subdomainqueryreq_fd991cc]

```rust
struct SubdomainQueryReq {
    namespace: String,
    domain: String,
    subdomain: String,
    limit: Option<usize>,
}
```

Source: `akasha-daemon/src/main.rs:2452`. Serde attributes: `none on the declaration`.

## TemporalClauseRequest\_fd991cc [#temporalclauserequest_fd991cc]

```rust
struct TemporalClauseRequest {
    valid_time: Option<i64>,
    transaction_time: Option<i64>,
    valid_range: Option<TemporalRangeRequest>,
}
```

Source: `akasha-daemon/src/main.rs:2278`. Serde attributes: `none on the declaration`.

## TemporalRangeRequest\_fd991cc [#temporalrangerequest_fd991cc]

```rust
struct TemporalRangeRequest {
    from: i64,
    to: i64,
}
```

Source: `akasha-daemon/src/main.rs:2272`. Serde attributes: `none on the declaration`.

## TestGateRequest\_2e99200 [#testgaterequest_2e99200]

```rust
struct TestGateRequest {
    item_id: String,
    gate: String, // "confidence-score" or "anomaly-detection"
    /// Optional threshold override (defaults per gate type)
    threshold: Option<f64>,
}
```

Source: `akasha-daemon/src/quarantine.rs:42`. Serde attributes: `none on the declaration`.

## ThoughtType\_7683c66 [#thoughttype_7683c66]

```rust
enum ThoughtType {
    /// Initial problem understanding
    ProblemAnalysis,
    /// Hypothesis generation
    Hypothesis,
    /// Evidence evaluation
    EvidenceEvaluation,
    /// Reasoning step
    Reasoning,
    /// Decision point
    Decision,
    /// Action planning
    Planning,
    /// Reflection on outcomes
    Reflection,
    /// Error or contradiction detection
    ErrorDetection,
    /// Learning or insight
    Learning,
    /// Communication with other agents
    Communication,
}
```

Source: `akasha/memory/src/cognitive_logging.rs:40`. Serde attributes: `none on the declaration`.

## TogglePolicyReq\_4bbbc90 [#togglepolicyreq_4bbbc90]

```rust
struct TogglePolicyReq {
    enabled: Option<bool>,
}
```

Source: `akasha-daemon/src/forgetting.rs:45`. Serde attributes: `none on the declaration`.

## ToolAdvisorRankRequest\_8af6dfb [#tooladvisorrankrequest_8af6dfb]

```rust
struct ToolAdvisorRankRequest {
    task_class: Option<String>,
    task_intent: Option<String>,
    scope: Value,
    source_event_id: String,
    run_id: Option<String>,
    #[serde(default)]
    candidates: Vec<String>,
    policy_source_ref: Option<String>,
}
```

Source: `akasha-daemon/src/cambium.rs:74`. Serde attributes: `rename_all = "camelCase"`.

## TxBeginReq\_fd991cc [#txbeginreq_fd991cc]

```rust
struct TxBeginReq {
    actor: String,
    isolation: String,
}
```

Source: `akasha-daemon/src/main.rs:3393`. Serde attributes: `none on the declaration`.

## TxIdReq\_fd991cc [#txidreq_fd991cc]

```rust
struct TxIdReq {
    id: String,
}
```

Source: `akasha-daemon/src/main.rs:3420`. Serde attributes: `none on the declaration`.

## UnifiedInferenceApiResponse\_e818998 [#unifiedinferenceapiresponse_e818998]

```rust
struct UnifiedInferenceApiResponse {
    #[serde(skip_serializing_if = "Option::is_none")]
    pub job_id: Option<Uuid>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub result: Option<InferenceResultEnvelope>,
    pub backend: BackendKind,
    pub telemetry: BackendTelemetrySnapshot,
    pub metering: MeteringSnapshot,
}
```

Source: `akasha/inference/src/types.rs:219`. Serde attributes: `none on the declaration`.

## UnifiedInferenceRequest\_e818998 [#unifiedinferencerequest_e818998]

```rust
struct UnifiedInferenceRequest {
    pub tenant_id: String,
    #[serde(default)]
    pub payloads: Vec<InferencePayload>,
    #[serde(default)]
    pub config: Option<Value>,
    #[serde(default)]
    pub priority: Option<u8>,
    #[serde(default)]
    pub deadline_ms: Option<u64>,
}
```

Source: `akasha/inference/src/types.rs:206`. Serde attributes: `none on the declaration`.

## UnloadModelRequest\_fd991cc [#unloadmodelrequest_fd991cc]

```rust
struct UnloadModelRequest {
    id: String,
}
```

Source: `akasha-daemon/src/main.rs:2681`. Serde attributes: `none on the declaration`.

## VaultAccessLogReq\_fd991cc [#vaultaccesslogreq_fd991cc]

```rust
struct VaultAccessLogReq {
    #[allow(dead_code)]
    entry_id: Option<String>,
}
```

Source: `akasha-daemon/src/main.rs:10521`. Serde attributes: `none on the declaration`.

## VaultDeleteReq\_fd991cc [#vaultdeletereq_fd991cc]

```rust
struct VaultDeleteReq {
    id: String,
}
```

Source: `akasha-daemon/src/main.rs:3803`. Serde attributes: `none on the declaration`.

## VaultEntry\_afe0991 [#vaultentry_afe0991]

```rust
struct VaultEntry {
    pub id: Uuid,
    pub key: String,
    pub encrypted_value: Vec<u8>,
    pub sensitivity_level: SensitivityLevel,
    pub created_at: DateTime<Utc>,
    pub updated_at: DateTime<Utc>,
    pub accessed_at: Option<DateTime<Utc>>,
    pub tags: Vec<String>,
    pub metadata: HashMap<String, serde_json::Value>,
}
```

Source: `akasha/memory/src/knowledge_vault.rs:92`. Serde attributes: `none on the declaration`.

## VaultGetReq\_fd991cc [#vaultgetreq_fd991cc]

```rust
struct VaultGetReq {
    id: String,
}
```

Source: `akasha-daemon/src/main.rs:3763`. Serde attributes: `none on the declaration`.

## VaultSearchReq\_fd991cc [#vaultsearchreq_fd991cc]

```rust
struct VaultSearchReq {
    pattern: String,
}
```

Source: `akasha-daemon/src/main.rs:3824`. Serde attributes: `none on the declaration`.

## VaultStoreRequest\_fd991cc [#vaultstorerequest_fd991cc]

```rust
struct VaultStoreRequest {
    key: String,
    data_b64: String,
    sensitivity: String,
}
```

Source: `akasha-daemon/src/main.rs:7569`. Serde attributes: `none on the declaration`.

## VaultUpdateReq\_fd991cc [#vaultupdatereq_fd991cc]

```rust
struct VaultUpdateReq {
    entry: VaultEntry,
}
```

Source: `akasha-daemon/src/main.rs:7626`. Serde attributes: `none on the declaration`.

## VectorAddRequest\_fd991cc [#vectoraddrequest_fd991cc]

```rust
struct VectorAddRequest {
    name: String,
    id: String,
    vector: Vec<f32>,
}
```

Source: `akasha-daemon/src/main.rs:2909`. Serde attributes: `none on the declaration`.

## VectorCreateRequest\_fd991cc [#vectorcreaterequest_fd991cc]

```rust
struct VectorCreateRequest {
    name: String,
    dims: usize,
    metric: String,
}
```

Source: `akasha-daemon/src/main.rs:2877`. Serde attributes: `none on the declaration`.

## VectorSaveRequest\_fd991cc [#vectorsaverequest_fd991cc]

```rust
struct VectorSaveRequest {
    name: String,
}
```

Source: `akasha-daemon/src/main.rs:2949`. Serde attributes: `none on the declaration`.

## VectorSearchRequest\_fd991cc [#vectorsearchrequest_fd991cc]

```rust
struct VectorSearchRequest {
    name: String,
    vector: Vec<f32>,
    k: usize,
}
```

Source: `akasha-daemon/src/main.rs:2929`. Serde attributes: `none on the declaration`.

## VolumeAttachRequest\_fd991cc [#volumeattachrequest_fd991cc]

```rust
struct VolumeAttachRequest {
    volume_id: String,
    namespace: String,
    #[serde(default)]
    purpose: Option<String>,
}
```

Source: `akasha-daemon/src/main.rs:3155`. Serde attributes: `none on the declaration`.

## VolumeCreateRequest\_fd991cc [#volumecreaterequest_fd991cc]

```rust
struct VolumeCreateRequest {
    name: String,
    purpose: String,
    #[serde(default)]
    description: Option<String>,
    #[serde(default)]
    kms_key_version: Option<u64>,
    provider: VolumeProvider,
}
```

Source: `akasha-daemon/src/main.rs:3144`. Serde attributes: `none on the declaration`.

## VolumeDetachRequest\_fd991cc [#volumedetachrequest_fd991cc]

```rust
struct VolumeDetachRequest {
    volume_id: String,
}
```

Source: `akasha-daemon/src/main.rs:3163`. Serde attributes: `none on the declaration`.

## VolumeProvider\_e19f9aa [#volumeprovider_e19f9aa]

```rust
enum VolumeProvider {
    /// S3 or S3-compatible object storage backend.
    S3 {
        bucket: String,
        #[serde(default)]
        prefix: Option<String>,
        #[serde(default)]
        region: Option<String>,
        #[serde(default)]
        endpoint: Option<String>,
        #[serde(default)]
        profile: Option<String>,
        #[serde(default)]
        credentials_ref: Option<String>,
        #[serde(default)]
        storage_class: Option<String>,
        #[serde(default)]
        force_path_style: bool,
    },
    /// Filesystem-backed volume (e.g., mounted NAS).
    Filesystem { path: PathBuf },
}
```

Source: `akasha-daemon/src/storage_volumes.rs:11`. Serde attributes: `tag = "type", rename_all = "snake_case"`.

## WeightDeltas\_30ca6f7 [#weightdeltas_30ca6f7]

```rust
struct WeightDeltas {
    pub ensemble_deltas: HashMap<String, Vec<f32>>,
    pub connection_deltas: HashMap<String, Vec<f32>>,
    pub learning_rate_deltas: HashMap<String, f32>,
}
```

Source: `akasha/snn/src/cognitive.rs:265`. Serde attributes: `none on the declaration`.

## WmSlotClearReq\_fd991cc [#wmslotclearreq_fd991cc]

```rust
struct WmSlotClearReq {
    id: String,
}
```

Source: `akasha-daemon/src/main.rs:11005`. Serde attributes: `none on the declaration`.

## WmSlotInjectReq\_fd991cc [#wmslotinjectreq_fd991cc]

```rust
struct WmSlotInjectReq {
    id: String,
    value: serde_json::Value,
}
```

Source: `akasha-daemon/src/main.rs:11038`. Serde attributes: `none on the declaration`.

## Unresolved wire types [#unresolved-wire-types]

These names require a compiler-aware serializer or manual contract work to establish an exact wire schema. Endpoint handler source remains available for every operation.

* `(String, String)`
* `BackendKind`
* `DisableServiceRequest`
* `EnableServiceRequest`
* `EpisodicEvent`
* `InferencePayload`
* `IngestKind`
* `JobStatus`
* `JsonValue`
* `MhnClearReq`
* `MhnConfigReq`
* `MhnListReq`
* `MhnNewReq`
* `MhnRetrieveKeyReq`
* `MhnRetrieveReq`
* `MhnRetrieveVectorReq`
* `MhnStatsReq`
* `MhnStoreReq`
* `MhnSystemInfoReq`
* `ModalityDto`
* `ModelFamily`
* `ModelMetadata`
* `ModelStatus`
* `ResourceType`
* `RiskLevel`
* `RuntimeServiceEntry.last_transition`
* `SnnBuildReq`
* `SnnCompileReq`
* `SnnStateReq`
* `SnnStepReq`
* `SnnTrainBpttReq`
* `VolumeProvider`
* `akasha::CoreBackupOptions`
* `akasha::CoreRestoreOptions`
