API referenceInstance API
GUIDE & REFERENCE

Instance data types

Exact Rust DTO declarations referenced by the generated instance API 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

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

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

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

AnalyticsSourceCsv_fd991cc

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

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

AnalyticsSourceParquet_fd991cc

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

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

AnalyticsViewCreateReq_fd991cc

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

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

BackendKind_e818998

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

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

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

BackendRuntimeReport_e818998

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

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

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

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

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

BackupListRequest_fd991cc

struct BackupListRequest {
    backup_dir: String,
}

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

BackupRestoreRequest_fd991cc

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

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

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

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

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

struct CognitiveDecisionReq {
    decision: CognitiveDecision,
}

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

CognitiveDecision_7683c66

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

struct CognitiveInteractionReq {
    interaction: AgentInteraction,
}

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

CognitiveQueryReq_fd991cc

struct CognitiveQueryReq {
    query: serde_json::Value,
}

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

CognitiveRunCycleReq_fd991cc

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

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

CognitiveSessionReq_fd991cc

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

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

CognitiveThoughtReq_fd991cc

struct CognitiveThoughtReq {
    thought: CognitiveThought,
}

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

CognitiveThought_7683c66

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

struct ComponentsRequest {
    strong: Option<bool>,
}

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

ContinualComponentReq_fd991cc

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

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

ContinualRecoverReq_fd991cc

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

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

ContinualTaskConsolidateReq_fd991cc

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

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

ContinualTaskDeleteReq_fd991cc

struct ContinualTaskDeleteReq {
    task_id: String,
}

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

ContinualTaskEvaluateReq_fd991cc

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

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

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

ContinualTaskPauseReq_fd991cc

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

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

ContinualTaskStatsReq_fd991cc

struct ContinualTaskStatsReq {
    namespace: Option<String>,
}

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

ContinualTaskTrainReq_fd991cc

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

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

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

CreateForgettingRequest_4bbbc90

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

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

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

struct CypherRequest {
    query: String,
}

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

DecisionOption_7683c66

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

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

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

DisableServiceResponse_fd991cc

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

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

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

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

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

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

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

struct EnsureCompositeIndexRequest {
    properties: Vec<String>,
}

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

EnsurePropertyIndexRequest_fd991cc

struct EnsurePropertyIndexRequest {
    property_name: String,
}

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

EpisodicInsertRequest_fd991cc

struct EpisodicInsertRequest {
    event: EpisodicEvent,
}

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

EpisodicSearchReq_fd991cc

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

struct EpisodicUpdateRequest {
    event: EpisodicEvent,
}

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

ExecutionContext_0b67b69

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

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

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

GraphFulltextRequest_fd991cc

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

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

GraphTxIdReq_fd991cc

struct GraphTxIdReq {
    id: String,
}

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

InferenceJobQuery_fd991cc

struct InferenceJobQuery {
    limit: Option<usize>,
}

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

InferenceModelListResponse_fd991cc

struct InferenceModelListResponse {
    models: Vec<ModelMetadata>,
}

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

InferenceModelQuery_fd991cc

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

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

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

struct InferenceUpdateStatusRequest {
    status: ModelStatus,
}

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

IngestKind_fd991cc

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

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

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

InteractionResponse_7683c66

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

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

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

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

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

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

LineageImpactReq_677ff0e

struct LineageImpactReq {
    node_id: String,
}

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

LineageVerifyReq_677ff0e

struct LineageVerifyReq {
    node_id: String,
}

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

LoadModelRequest_fd991cc

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

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

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

struct McpToolsListRequest {}

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

MeteringSnapshot_e818998

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

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

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

MhnConfigReq_fd991cc

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

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

MhnListReq_fd991cc

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

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

MhnNewReq_fd991cc

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

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

MhnRetrieveKeyReq_fd991cc

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

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

MhnRetrieveReq_fd991cc

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

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

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

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

MhnStoreReq_fd991cc

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

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

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

MicrotheoryKeyspaceRequest_fd991cc

struct MicrotheoryKeyspaceRequest {
    name: String,
}

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

MicrotheorySwitchRequest_fd991cc

struct MicrotheorySwitchRequest {
    name: String,
}

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

MlGenerateRequest_fd991cc

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

struct MlMetricsRequest {
    model_id: String,
}

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

MlSupervisedSample_fd991cc

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

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

MlTokenizerLoadReq_fd991cc

struct MlTokenizerLoadReq {
    model_id: String,
}

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

MlTrainHrmReq_fd991cc

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

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

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

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

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

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

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

ModelInfoResponse_fd991cc

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

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

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

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

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

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

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

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

NsPrefetchReq_fd991cc

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

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

NsRetrieveReq_fd991cc

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

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

struct PagerankRequest {
    damping: Option<f64>,
}

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

PrimitiveExportRequest_fd991cc

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

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

PrimitiveImportRequest_fd991cc

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

struct ProceduralStoreRequest {
    procedure: Procedure,
}

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

ProcedureIdReq_fd991cc

struct ProcedureIdReq {
    id: String,
}

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

ProcedureSearchReq_fd991cc

struct ProcedureSearchReq {
    query: String,
}

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

ProcedureStep_0b67b69

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

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

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

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

Procedure_0b67b69

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

struct PutRequest {
    data: serde_json::Value,
}

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

QuarantineListParams_2e99200

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

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

QueryRequest_fd991cc

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

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

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

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

struct ReindexRequest {
    keyspace: String,
}

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

RejectedBodyAuthority_fd991cc

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

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

struct ReplicationIdReq {
    id: String,
}

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

ResourceAccessReq_fd991cc

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

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

ResourceChunksReq_fd991cc

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

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

ResourceIdReq_fd991cc

struct ResourceIdReq {
    id: String,
}

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

ResourceItem_237f978

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

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

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

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

ResourceTypeReq_fd991cc

struct ResourceTypeReq {
    kind: String,
}

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

ResourceType_237f978

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

struct ResourceUsageReq {
    id: String,
}

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

RetrievalReq_fd991cc

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

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

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

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

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

SensitivityLevel_afe0991

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

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

ServiceLifecycle_e734465

enum ServiceLifecycle {
    HotReload,
    ColdRestart,
}

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

ServiceMutationResponse_fd991cc

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

struct ServiceStatusResponse {
    services: Vec<RuntimeServiceEntry>,
}

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

ShortestPathRequest_fd991cc

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

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

SnnBuildReq_fd991cc

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

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

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

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

SnnFederationAgentUpdateReq_fd991cc

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

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

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

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

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

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

SnnFederationTokenReq_fd991cc

struct SnnFederationTokenReq {
    token: Option<String>,
}

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

SnnNeuronsReq_fd991cc

struct SnnNeuronsReq {
    network_id: String,
}

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

SnnStateReq_fd991cc

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

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

SnnStepReq_fd991cc

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

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

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

struct SqlRequest {
    sql: String,
}

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

SubdomainQueryReq_fd991cc

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

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

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

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

TestGateRequest_2e99200

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

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

struct TogglePolicyReq {
    enabled: Option<bool>,
}

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

ToolAdvisorRankRequest_8af6dfb

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

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

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

TxIdReq_fd991cc

struct TxIdReq {
    id: String,
}

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

UnifiedInferenceApiResponse_e818998

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

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

struct UnloadModelRequest {
    id: String,
}

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

VaultAccessLogReq_fd991cc

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

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

VaultDeleteReq_fd991cc

struct VaultDeleteReq {
    id: String,
}

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

VaultEntry_afe0991

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

struct VaultGetReq {
    id: String,
}

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

VaultSearchReq_fd991cc

struct VaultSearchReq {
    pattern: String,
}

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

VaultStoreRequest_fd991cc

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

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

VaultUpdateReq_fd991cc

struct VaultUpdateReq {
    entry: VaultEntry,
}

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

VectorAddRequest_fd991cc

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

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

VectorCreateRequest_fd991cc

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

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

VectorSaveRequest_fd991cc

struct VectorSaveRequest {
    name: String,
}

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

VectorSearchRequest_fd991cc

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

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

VolumeAttachRequest_fd991cc

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

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

struct VolumeDetachRequest {
    volume_id: String,
}

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

VolumeProvider_e19f9aa

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

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

struct WmSlotClearReq {
    id: String,
}

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

WmSlotInjectReq_fd991cc

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

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

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

On this page

AgentInteraction_7683c66AnalyticsSourceCore_fd991ccAnalyticsSourceCsv_fd991ccAnalyticsSourceParquet_fd991ccAnalyticsViewCreateReq_fd991ccBackendKind_e818998BackendOperationalStatus_e818998BackendRuntimeReport_e818998BackendTelemetrySnapshot_e818998BackupCreateRequest_fd991ccBackupDeleteRequest_fd991ccBackupListRequest_fd991ccBackupRestoreRequest_fd991ccCambiumProjectionEnvelope_8af6dfbChunkTextRequest_fd991ccChunkingConfig_ebe9d24ChunkingStrategy_ebe9d24CognitiveDecisionReq_fd991ccCognitiveDecision_7683c66CognitiveInteractionReq_fd991ccCognitiveQueryReq_fd991ccCognitiveRunCycleReq_fd991ccCognitiveSessionReq_fd991ccCognitiveThoughtReq_fd991ccCognitiveThought_7683c66ComponentsRequest_fd991ccContinualComponentReq_fd991ccContinualRecoverReq_fd991ccContinualTaskConsolidateReq_fd991ccContinualTaskDeleteReq_fd991ccContinualTaskEvaluateReq_fd991ccContinualTaskNewReq_fd991ccContinualTaskPauseReq_fd991ccContinualTaskStatsReq_fd991ccContinualTaskTrainReq_fd991ccCoreTextSearchRequest_fd991ccCreateForgettingRequest_4bbbc90CreateKeyspaceRequest_fd991ccCypherLiteRequest_fd991ccCypherRequest_fd991ccDecisionOption_7683c66DisableServiceRequest_fd991ccDisableServiceResponse_fd991ccEmbedRequest_fd991ccEmbeddingDto_bbf69dbEmissionRecordRequest_bbf69dbEnableServiceRequest_fd991ccEnableServiceResponse_fd991ccEnsembleInfo_61bd1d3EnsureCompositeIndexRequest_fd991ccEnsurePropertyIndexRequest_fd991ccEpisodicInsertRequest_fd991ccEpisodicSearchReq_fd991ccEpisodicUpdateRequest_fd991ccExecutionContext_0b67b69FailedService_fd991ccGraphFulltextRequest_fd991ccGraphTxIdReq_fd991ccInferenceJobQuery_fd991ccInferenceModelListResponse_fd991ccInferenceModelQuery_fd991ccInferencePayload_e818998InferenceResultEnvelope_e818998InferenceUpdateStatusRequest_fd991ccIngestKind_fd991ccIngestRequest_fd991ccInteractionResponse_7683c66InteractionType_7683c66JobOverview_e818998JobStatus_e818998LineageGraphReq_677ff0eLineageImpactReq_677ff0eLineageVerifyReq_677ff0eLoadModelRequest_fd991ccLoadedModelInfo_fd991ccMcpToolsCallRequest_77c39c7McpToolsListRequest_77c39c7MeteringSnapshot_e818998MhnClearReq_fd991ccMhnConfigReq_fd991ccMhnListReq_fd991ccMhnNewReq_fd991ccMhnRetrieveKeyReq_fd991ccMhnRetrieveReq_fd991ccMhnRetrieveVectorReq_fd991ccMhnStatsReq_fd991ccMhnStoreReq_fd991ccMhnSystemInfoReq_fd991ccMicrotheoryKeyspaceRequest_fd991ccMicrotheorySwitchRequest_fd991ccMlGenerateRequest_fd991ccMlMetricsRequest_fd991ccMlSupervisedSample_fd991ccMlTokenizerLoadReq_fd991ccMlTrainHrmReq_fd991ccMlTrainSupervisedReq_fd991ccMlTrainingParams_fd991ccModalityDto_bbf69dbModelDownloadRequest_fd991ccModelFamily_e818998ModelInfoResponse_fd991ccModelLoadRequest_fd991ccModelOpResponse_fd991ccModelsListResponse_fd991ccModelsMemoryResponse_fd991ccNamespaceSwitchReq_fd991ccNsPathsFindReq_fd991ccNsPrefetchReq_fd991ccNsRetrieveReq_fd991ccNsRuleToggleReq_fd991ccPagerankRequest_fd991ccPrimitiveExportRequest_fd991ccPrimitiveImportRequest_fd991ccProceduralStoreRequest_fd991ccProcedureIdReq_fd991ccProcedureSearchReq_fd991ccProcedureStep_0b67b69ProcedureType_0b67b69ProcedureUpdateReq_fd991ccProcedure_0b67b69PutRequest_fd991ccQuarantineListParams_2e99200QueryRequest_fd991ccQueueDepthEntry_e818998QueueSnapshot_e818998RegisterModelRequest_fd991ccReindexRequest_fd991ccRejectedBodyAuthority_fd991ccReplicationCreateReq_fd991ccReplicationIdReq_fd991ccResourceAccessReq_fd991ccResourceChunksReq_fd991ccResourceIdReq_fd991ccResourceItem_237f978ResourceMetadata_237f978ResourceStoreRequest_fd991ccResourceTypeReq_fd991ccResourceType_237f978ResourceUsageReq_fd991ccRetrievalReq_fd991ccRiskLevel_0b67b69RuntimeServiceEntry_e734465RuntimeServiceStatus_e734465SensitivityLevel_afe0991ServiceLifecycle_e734465ServiceMutationResponse_fd991ccServiceStatusResponse_fd991ccShortestPathRequest_fd991ccSnnBuildReq_fd991ccSnnCompileReq_fd991ccSnnFederationAgentRemoveReq_fd991ccSnnFederationAgentUpdateReq_fd991ccSnnFederationCapabilitiesReq_fd991ccSnnFederationContributeReq_fd991ccSnnFederationRegisterReq_fd991ccSnnFederationSpikeReq_fd991ccSnnFederationTokenReq_fd991ccSnnNeuronsReq_fd991ccSnnStateReq_fd991ccSnnStepReq_fd991ccSnnTrainBpttReq_fd991ccSpikeEventPayload_61bd1d3SqlRequest_fd991ccSubdomainQueryReq_fd991ccTemporalClauseRequest_fd991ccTemporalRangeRequest_fd991ccTestGateRequest_2e99200ThoughtType_7683c66TogglePolicyReq_4bbbc90ToolAdvisorRankRequest_8af6dfbTxBeginReq_fd991ccTxIdReq_fd991ccUnifiedInferenceApiResponse_e818998UnifiedInferenceRequest_e818998UnloadModelRequest_fd991ccVaultAccessLogReq_fd991ccVaultDeleteReq_fd991ccVaultEntry_afe0991VaultGetReq_fd991ccVaultSearchReq_fd991ccVaultStoreRequest_fd991ccVaultUpdateReq_fd991ccVectorAddRequest_fd991ccVectorCreateRequest_fd991ccVectorSaveRequest_fd991ccVectorSearchRequest_fd991ccVolumeAttachRequest_fd991ccVolumeCreateRequest_fd991ccVolumeDetachRequest_fd991ccVolumeProvider_e19f9aaWeightDeltas_30ca6f7WmSlotClearReq_fd991ccWmSlotInjectReq_fd991ccUnresolved wire types