assetcore_read_health
AssetCore is a deterministic structured memory substrate. It stores all world state explicitly in containers and modifies that state through atomic, replayable transactions. Query the read daemon to confirm projections are available before answering memory reads.
Details
AssetCore is a deterministic structured memory substrate. It stores all world state explicitly in containers and modifies that state through atomic, replayable transactions. Query the read daemon to confirm projections are available before answering memory reads.
Reads /v1/read/health from the read daemon. Response fields: status (starting|ready|degraded) and freshness {namespace, world_seq, commit_log_world_seq, lag, lag_ms}. Useful for gating read traffic and detecting projection lag before responding to clients. Requires namespace_id (forwarded as the x-assetcore-namespace header).
Protocols
- MCP
- OpenAI
- Gemini
Input Schema
{
"properties": {
"namespace_id": {
"description": "Required namespace identifier for all namespaced operations.",
"minimum": 1,
"type": "integer"
}
},
"required": [
"namespace_id"
],
"type": "object"
}
Examples
MCP Example
Request
{
"id": 2,
"jsonrpc": "2.0",
"method": "assetcore_read_health",
"params": {
"namespace_id": 1
}
}
Response
{
"id": 2,
"jsonrpc": "2.0",
"result": {
"freshness": {
"commit_log_world_seq": 0,
"lag": 0,
"lag_ms": 0,
"namespace": 1,
"world_seq": 0
},
"status": "ready"
}
}
OpenAI Example
Request
{
"function": {
"arguments": "{\"namespace_id\":1}",
"name": "assetcore_read_health"
},
"type": "function"
}
Response
{
"result": {
"freshness": {
"commit_log_world_seq": 0,
"lag": 0,
"lag_ms": 0,
"namespace": 1,
"world_seq": 0
},
"status": "ready"
}
}
Gemini Example
Request
{
"arguments": {
"namespace_id": 1
},
"name": "assetcore_read_health"
}
Response
{
"result": {
"freshness": {
"commit_log_world_seq": 0,
"lag": 0,
"lag_ms": 0,
"namespace": 1,
"world_seq": 0
},
"status": "ready"
}
}