CYA Agent

Get persisted Zwiebelmodus context state for a CYA session (v0.37.0)

Returns the serialized CyaContextManager zoom-state for session resumption. Enables refine calls to continue with identical onion context. Object Store namespace: cya_context_states.

get/api/cya/sessions/:id/context-state

Request

  • Base URL: https://api.cernion.de
  • URL: https://api.cernion.de/api/cya/sessions/:id/context-state
  • Auth: none declared

Path parameters

idstring required
Example:cya_1713110400000

CYA Session ID

Query parameters

tokenstring

Optional Cernion MCP token as URL query parameter. If provided, it overrides CERNION_TOKEN for this request. Prefer Authorization Bearer header in production to reduce token exposure in URLs/logs.

Response

Persisted context state

sessionIdstring
currentDepthinteger
breadcrumbstring[]
iterationLogobject[]
maxIterationsinteger
zoomStackstring[]

nodeId history for zoomIn operations

savedAtstring date-time

Example response

{
  "currentDepth": 1,
  "maxIterations": 3
}

Changes

No recorded changes to this operation across all 2 revisions of this API.