{"service":"0NF API","_grammar":{"concurrency":{"etag":"Every instance carries a signed _etag — a snapshot of the row you read. Send it back on edit; a stale one is refused with both your and the current value."},"introspection":{"potential":"POST \/potential\/potential\/{query_transitions, query_clients, query_accessible_instances, query_entities, query_objects, query_recipients}  (SPO: who\/what can do which transition on which object — the live gate)","contract":"GET \/model  (the full machine-readable contract)"},"search":{"vector":"GET \/{module}\/{entity}?near=<attribute>:<text>  (embedded attributes; see entity _search)","graph":"POST \/potential\/potential\/query_graph  {cypher: ...}  (ACL-scoped)"},"note":"Everything is a transition. The model is the map; OPTIONS any resource to see its affordances. Nothing here is hand-written documentation — it is projected from the live model and gate.","explore":{"transition":"OPTIONS \/{module}\/{entity}\/{transition}  (contract)","history":"GET \/{module}\/{entity}\/{id}\/log  (every change, newest first)","entity":"OPTIONS \/{module}\/{entity}  (descriptor + _search)","modules":"OPTIONS \/","instance":"OPTIONS \/{module}\/{entity}\/{id}  (state+ACL-aware menu)","entities":"OPTIONS \/{module}","time_travel":"GET \/{module}\/{entity}\/{id}\/at?timestamp=<ISO 8601>  (the instance as it was)"},"affordances":{"self":"the canonical URL of this instance","explain":"the transitions you may NOT fire, each with the ONE cause that withholds it, never a disjunction: `requires_pre_state` (the instance is not in a state this verb starts from — `requiresPreState` names the state to drive toward), `requires_access` (the state is satisfied, so a missing grant is the only blocker), or `requires_no_instance` (a creation verb: it is fired with NO instance in the address, so this instance can never offer it)","options":"pointer to the full affordance bundle","lens":"the same instance in its other facets: graph (query_graph) and vector (?near)","note":"Every instance (GET or OPTIONS) carries _links.","invoke":"the transitions you may fire NOW (state + your access), as POST\/PATCH links, each with its WRITE CONTRACT: `fields` (the body attributes it declares, with dataType\/isReference\/required) and `requires_etag` (send the _etag you read back with the call)"},"construct":{"note":"The `modules` list above is READ-ONLY — there is no POST \/modules or other REST collection endpoint to create a module, entity, attribute, or agenda. Schema is authored exclusively via GML statements sent to POST \/gml (e.g. 'create module fleet \"Fleet Management\"') — the full grammar is GET \/model `._engine.gml_commands`, the request shape is `._engine.gml_endpoint`. Once an entity exists, its own instances use the ordinary REST transitions above (create\/edit\/delete\/read).","gml":"POST \/gml — see GET \/model `._engine.gml_commands` and `._engine.gml_endpoint`"}},"modules":[{"url":"\/admission","entityCount":1,"_id":5326,"label":"Admission","description":"Onboarding workflow: a client requests an agenda (a voice); a registrar approves or rejects through the inbox.","name":"admission"},{"url":"\/ai","entityCount":20,"_id":4229,"label":"AI Cognitive Substrate","description":"Paper-3\/Paper-4 layered brain materialised as 9 layer-output entities (L0..L7 plus L5.5), plus ai.curriculum (graded examples with HNSW pgvector embeddings), ai.concept_binding (Paper-4 7-concept abstraction per context module), ai.config (global config), and poe_brain (transition-only namespace holding advance_turn).","name":"ai"},{"url":"\/async_job","entityCount":1,"_id":5268,"label":"Async Job","description":"Client-scheduled, result-bearing async jobs (submit → done|failed).","name":"async_job"},{"url":"\/constant","entityCount":11,"_id":72,"label":"Constant","description":"Fixed vocabulary tables","name":"constant"},{"url":"\/encephalos","entityCount":27,"_id":2558,"label":"Encephalos","description":"Nervous system — metrics collection and anomaly detection","name":"encephalos"},{"url":"\/knowledge","entityCount":1,"_id":5412,"label":"Knowledge","description":"Unified embedded corpus for the \/help semantic narrator — book sections, model descriptions, and API-contract facts, each a retrievable, citable chunk.","name":"knowledge"},{"url":"\/naming","entityCount":3,"_id":5147,"label":"Naming","description":"Name distance infrastructure — attribute naming axiom enforcement","name":"naming"},{"url":"\/poe_sessions","entityCount":3,"_id":4029,"label":"Poe Sessions","description":"Durable Poe conversations (sessions + turns) and user-addressed messages","name":"poe_sessions"},{"url":"\/potential","entityCount":1,"_id":4185,"label":"Potential","description":"ACL introspection primitives over the relation potential(S, P, O): SPO atoms, coordinate projections, and role-based slices. Namespace entity; no instances.","name":"potential"},{"url":"\/system","entityCount":23,"_id":73,"label":"System","description":"Metamodel tables","name":"system"},{"url":"\/ui","entityCount":1,"_id":5519,"label":"UI","description":"Designer-authored UI captions for the translation locale - one row is one key with its default text; translations of the text are ordinary system.translation rows.","name":"ui"},{"url":"\/vde_safety","entityCount":113,"_id":5901,"label":"vde_safety","description":"VDE Electrical Safety Testing Module","name":"vde_safety"}]}
