Skip to Content
Aionis v0.3.2 is the current Runtime baseline for SDK/API hosts, MCP clients, plugins, Substrate-backed recall, and self-managed agent loops.

Rehydrate

POST /v1/rehydrate

Expand compact evidence pointers when an Agent or operator needs more detail.

Aionis keeps routine Agent context short. Rehydrate gives the host a path back to raw or fuller evidence only when needed.

Request body

FieldTypeRequiredDescription
reasonstringYesWhy the host needs to expand evidence.
tenant_idstringNoTenant boundary.
scopestringNoProject or workspace boundary.
memory_ids / node_idsstring[]ConditionalIDs returned by guide context or Runtime records.
client_idsstring[]ConditionalClient-provided write IDs.
anchor_id / anchor_uristringConditionalAnchor reference to expand.
modesummary_only, partial, full, or differentialNoExpansion level.
include_linked_decisionsbooleanNoInclude linked guide and lifecycle decisions when available.

At least one memory, node, client, or anchor reference should be supplied.

Example

curl -s http://127.0.0.1:3001/v1/rehydrate \ -H 'content-type: application/json' \ -d '{ "tenant_id": "default", "scope": "checkout-migration", "reason": "Need the raw verifier note before applying the patch.", "memory_ids": ["mem_123"], "mode": "partial", "include_linked_decisions": true }'

SDK

const evidence = await aionis.rehydrate({ reason: "Need raw evidence before exact use.", memory_ids: ["mem_123"], mode: "partial", include_linked_decisions: true, });

Response

Important fields:

FieldMeaning
contract_versionaionis_rehydrate_result_v1.
operationrehydrate.
targetTarget class, usually memory or payload.
forget_effectLifecycle effect record for the rehydrate operation.
resultExpanded evidence, linked decisions, and source metadata when available.

Modes

ModeUse when
summary_onlyThe Agent only needs a compact explanation.
partialThe Agent needs the most relevant payload and linked decisions.
fullThe operator needs fuller raw evidence.
differentialThe host needs a comparison or delta.