API reference
Every HTTP route, MCP tool, query op, semurg command, SDK call and refusal of the Semurg node, read from the code of the published release r11.173.20261116.3006727, never hand-written. The blog's how-to guides show them in use.
HTTP routes
Route descriptions are not generated yet: docs/openapi.json is not in the published release r11.173.20261116.3006727 yet (mix semurg.openapi).
/.well-known/oauth-authorization-server
| Method | Path | MCP tool |
|---|---|---|
GET | /.well-known/oauth-authorization-server |
/.well-known/oauth-protected-resource
| Method | Path | MCP tool |
|---|---|---|
GET | /.well-known/oauth-protected-resource | |
GET | /.well-known/oauth-protected-resource/v1/mcp |
/api/contact
| Method | Path | MCP tool |
|---|---|---|
POST | /api/contact |
/api/health
| Method | Path | MCP tool |
|---|---|---|
GET | /api/health |
/api/version
| Method | Path | MCP tool |
|---|---|---|
GET | /api/version |
/oauth/authorize
| Method | Path | MCP tool |
|---|---|---|
GET | /oauth/authorize | |
POST | /oauth/authorize |
/oauth/register
| Method | Path | MCP tool |
|---|---|---|
POST | /oauth/register |
/oauth/token
| Method | Path | MCP tool |
|---|---|---|
POST | /oauth/token |
/v1/analytics
| Method | Path | MCP tool |
|---|---|---|
GET | /v1/analytics/catalog | |
POST | /v1/analytics/run |
/v1/chat
| Method | Path | MCP tool |
|---|---|---|
POST | /v1/chat/completions |
/v1/cluster
| Method | Path | MCP tool |
|---|---|---|
GET | /v1/cluster/agents | |
GET | /v1/cluster/conveyor | |
GET | /v1/cluster/customs | |
POST | /v1/cluster/customs/land | |
POST | /v1/cluster/dr | |
POST | /v1/cluster/model_pull | |
GET | /v1/cluster/nodes | |
POST | /v1/cluster/nodes/join-token | |
POST | /v1/cluster/nodes/reinstate | |
POST | /v1/cluster/nodes/remove | |
GET | /v1/cluster/nodes/{fp} | |
POST | /v1/cluster/reconcile | |
GET | /v1/cluster/update | |
POST | /v1/cluster/update | |
GET | /v1/cluster/update/status | |
GET | /v1/cluster/util | |
GET | /v1/cluster/witness |
/v1/comms
| Method | Path | MCP tool |
|---|---|---|
POST | /v1/comms/bind_address | |
POST | /v1/comms/inbox | |
POST | /v1/comms/read | |
POST | /v1/comms/send | |
POST | /v1/comms/thread |
/v1/embeddings
| Method | Path | MCP tool |
|---|---|---|
POST | /v1/embeddings |
/v1/ingest
| Method | Path | MCP tool |
|---|---|---|
POST | /v1/ingest |
/v1/keys
| Method | Path | MCP tool |
|---|---|---|
POST | /v1/keys/models |
/v1/licence
| Method | Path | MCP tool |
|---|---|---|
GET | /v1/licence | |
POST | /v1/licence/activate | |
POST | /v1/licence/buy | |
POST | /v1/licence/fetch |
/v1/marketplace
| Method | Path | MCP tool |
|---|---|---|
GET | /v1/marketplace/{kinds}/{key} |
/v1/mcp
| Method | Path | MCP tool |
|---|---|---|
DELETE | /v1/mcp | |
GET | /v1/mcp | |
POST | /v1/mcp |
/v1/memory
| Method | Path | MCP tool |
|---|---|---|
POST | /v1/memory/audit | |
POST | /v1/memory/context | |
POST | /v1/memory/delete_user | |
POST | /v1/memory/document | |
POST | /v1/memory/export | |
POST | /v1/memory/forget | |
POST | /v1/memory/import | |
POST | /v1/memory/recall | |
POST | /v1/memory/relate | |
POST | /v1/memory/remember | |
GET | /v1/memory/status |
/v1/messages
| Method | Path | MCP tool |
|---|---|---|
POST | /v1/messages | |
POST | /v1/messages/count_tokens |
/v1/models
| Method | Path | MCP tool |
|---|---|---|
GET | /v1/models | |
GET | /v1/models/{id} |
/v1/objects
| Method | Path | MCP tool |
|---|---|---|
DELETE | /v1/objects/{id} | |
GET | /v1/objects/{id} | |
PUT | /v1/objects/{id} |
/v1/provider
| Method | Path | MCP tool |
|---|---|---|
GET | /v1/provider/openrouter/models |
/v1/query
| Method | Path | MCP tool |
|---|---|---|
POST | /v1/query |
/v1/rag
| Method | Path | MCP tool |
|---|---|---|
POST | /v1/rag/chat | |
GET | /v1/rag/health |
/v1/rerank
| Method | Path | MCP tool |
|---|---|---|
POST | /v1/rerank |
/v1/status
| Method | Path | MCP tool |
|---|---|---|
GET | /v1/status |
/v1/trial
| Method | Path | MCP tool |
|---|---|---|
GET | /v1/trial | |
POST | /v1/trial |
/v1/unlock
| Method | Path | MCP tool |
|---|---|---|
POST | /v1/unlock/verify |
/v1/whoami
| Method | Path | MCP tool |
|---|---|---|
GET | /v1/whoami |
MCP tools
memory_context:memory_document:memory_export:memory_forget:memory_import:memory_recall:memory_relate:memory_remember:memory_status:
Query ops (POST /v1/query, the op field)
aggregate, connector_egress, connector_ingest, connectors, credential_delete, credential_list, credential_put, delete_documents, delete_passages, delete_rows, fetch, geo_put, geo_within, histogram, hybrid_ingest, hybrid_query, index_documents, insert_rows, job, job_cancel, keys_reset, keys_status, licence_verify, marketplace_catalogue, marketplace_install, marketplace_remove, marketplace_show, marketplace_status, marketplace_update, neighbour_ids, oauth_grants, oauth_revoke, object_delete, object_get, object_put, read_rows, resolve, search, similar, stream_count, stream_produce, stream_read, term_docs, term_postings, traverse, ts_ingest, ts_latest, vector_search, vector_top_k
The semurg command on a node
semurg adminsemurg arenasemurg benchsemurg clustersemurg joinsemurg licencesemurg licensesemurg marketplacesemurg modelsemurg seedsemurg stopsemurg uninstallsemurg update
SDK calls, per client
- Python (
clients/python/semurg/client.py):audit,close,cluster_util,comms_bind_address,comms_inbox,comms_read,comms_send,comms_thread,context,conveyor_report,delete_user,document,export,export_all,fetch,fetch_batch,forget,health,histogram,import_records,ingest,ingest_vectors,licence,memory_status,node_status,nodes,query,recall,relate,remember,resolve,search,similar,status,vector_search,vector_top_k,version,witness - Go (
clients/go/semurg/client.go):ClusterUtil,CommsBindAddress,CommsInbox,CommsRead,CommsSend,CommsThread,Context,ConveyorReport,DeleteUser,Document,Export,Fetch,FetchBatch,Forget,Health,Histogram,ImportRecords,Ingest,IngestVectors,IngestWith,Licence,MemoryStatus,NodeStatus,Nodes,Query,Recall,Relate,Remember,Resolve,Search,Similar,Status,VectorSearch,VectorTopK,Version,Witness - Java (
clients/java/src/main/java/io/semurg/client/SemurgClient.java):atp,baseUrl,context,deleteUser,document,export,fetch,fetchBatch,forget,health,histogram,importRecords,ingest,ingestVectors,memoryStatus,query,recall,relate,remember,resolve,search,similar,status,transport,vectorSearch,vectorTopK,version,ws - C# (
clients/csharp/Semurg.Client/SemurgClient.cs):Atp,ClusterUtil,Context,ConveyorReport,DeleteUser,Document,Export,Fetch,FetchBatch,Forget,Health,Histogram,ImportRecords,Ingest,IngestVectors,Licence,MemoryStatus,NodeStatus,Nodes,Query,Recall,Relate,Remember,Resolve,Search,SemurgClient,Similar,Status,VectorSearch,VectorTopK,Version,Witness,Ws - F# (
clients/fsharp/Semurg.Client.FSharp/Client.fs):answeredIndexed,arr,atpEndpoint,baseUrl,bits,body,config,connect,connectAuth,context,create,d,deleteUser,dispose,document,export,fetch,fetchBatch,forget,health,histogram,importRecords,ingest,ingestVectors,ingestWith,joinMessage,memoryStatus,node,o,off,ok,packed,payload,private,query,raw,recall,relate,remember,resolve,search,similar,socketUrl,status,svc,transport,vectorSearch,vectorTopK,vectorTopKEf,version,withTimeout,withToken,withTransport,withUser - Elixir (
clients/elixir/lib/semurg/client.ex):agents,aggregate,aggregate_column,cluster_util,comms_bind_address,comms_inbox,comms_read,comms_send,comms_thread,connector_egress,connector_ingest,connectors,context,conveyor_report,credential_delete,credential_list,credential_put,customs_land,customs_status,delete_documents,delete_passages,delete_rows,delete_user,document,dr,error,export,fetch,fetch_batch,forget,geo_put,geo_within,health,histogram,hybrid_ingest,hybrid_query,import_records,index_documents,ingest,ingest_containers,ingest_vectors,insert_rows,job,job_cancel,keys_reset,keys_status,licence,licence_verify,marketplace_catalogue,marketplace_install,marketplace_remove,marketplace_show,marketplace_status,marketplace_update,memory_status,model_keys_list,model_keys_mint,model_keys_revoke,model_keys_usage,neighbour_ids,new,node_status,nodes,oauth_grants,oauth_revoke,object_delete,object_get,object_put,object_values,query,read_rows,recall,reconcile_local_copies,relate,remember,require_indexed,resolve,search,similar,status,stream_count,stream_produce,stream_read,term_docs,term_postings,ts_ingest,ts_latest,vector_search,vector_top_k,version,with_transport,witness - Erlang (
clients/erlang/src/semurg_client.erl):context,delete_user,document,edge,fetch,fetch_batch,forget,health,histogram,import_records,ingest,ingest_containers,ingest_vectors,memory_export,memory_status,new,query,recall,relate,remember,resolve,result,search,similar,status,vector_search,vector_top_k,version,with_transport - Rust (
clients/rust/src/client.rs):aggregate,aggregate_column,atp_addr,comms_bind_address,comms_inbox,comms_send,comms_send_with,comms_thread,connector_egress,connector_ingest,connectors,credential_delete,credential_list,credential_put,customs_land,customs_status,decode,delete_documents,delete_passages,delete_rows,delete_user,document,dr,encode,export,fetch,fetch_batch,forget,geo_put,geo_within,health,histogram,http_connections_opened,hybrid_ingest,hybrid_query,import_records,index_documents,ingest,ingest_containers,ingest_containers_with,ingest_vectors,insecure,insert_rows,job,job_cancel,keys_reset,keys_status,licence_verify,marketplace_catalogue,marketplace_install,marketplace_remove,marketplace_show,marketplace_status,marketplace_update,memory_context,memory_status,model_keys_list,model_keys_mint,model_keys_revoke,model_keys_usage,neighbour_ids,new,oauth_grants,oauth_revoke,object_delete,object_get,object_put,prefer_atp,query,read_rows,recall,relate,remember,resolve,search,similar,status,stream_count,stream_produce,stream_read,term_docs,term_postings,transport,ts_ingest,ts_latest,vector_search,vector_top_k,vector_top_k_ef,version,with_atp_addr,with_timeout,with_token,with_transport,with_user
Still in this client, but they call routes this release does not serve:comms_read - Julia (
clients/julia/src/client.jl):context,document,fetch_batch,ingest,ingest_vectors,memory_export,query,recall,remember,vector_search,vector_top_k,version - C++ (
clients/cpp/src/client.cpp):decode_json,ensure_http,fetch,fetch_batch,get_json,health,histogram,ingest,ingest_containers,ingest_vectors,memory_export,memory_import,post_json,post_json_bin,query,resolve,search,similar,status,vector_search,vector_top_k,version - OCaml (
clients/ocaml/lib/client.ml):base_url,close,context,create,decode_json_response,delete_user,document,export,fetch,fetch_batch,forget,get,health,histogram,http_connections_opened,ids_json,import_records,ingest,ingest_vectors,memory_status,pct,post_json,query,recall,relate,remember,require_indexed,resolve,run_bin,run_json,sdk_version,search,similar,status,transport,trim_trailing_slash,vector_search,vector_top_k,version,with_transport,with_user
For pack developers: the Tier-3 path, not open yet (209 facade verbs)
The node's internal API for extension packs. It is listed so nothing is hidden; it is not yet a path a customer can use, so no guide covers it yet.
The 209 facade verbs
agents/0(read)append/2append_edges/2append_resolved/3(write)append_resolved/4(write)ask_node/5(control)belt_group_cap/0(read)belt_group_cap/1(write)belt_release/1(write)belt_reserve/1(write)belt_reserved/0(read)bind_verified/1(open)bind_verified/2(open)cell_chunk/2cell_chunk/3chain_blocks/3(read)chain_blocks/4(read)chunk/2chunk/3claim_keys/1(read)cluster_maintenance_begin/1cluster_maintenance_end/0cluster_state/0(read)cluster_store_open/1(open)cluster_store_open/2(open)coaccess_commit/2(write)commit_block/4(write)connector_check/3(write)connectors/0(read)credential_delete/2(write)credential_list/1(read)credential_put/2(write)customs_land/2(write)customs_read/2(read)customs_status/0(read)customs_write/3(write)derive_edge_id/3destroy/1(admin)dr/2(write)durability_class/1(read)edge/4edge/5edge/6edge_dst/1edge_id/1edge_src/1edge_value/1edge_weight/1egress_connector/3(read)embed_code/1(read)engine_health/0(read)engine_loaded/0(read)engine_state/1(read)engine_vmlck_kb/0(read)fetch/2fetch_batch/2footprint/1(read)generation/1get_layer/5(read)get_layers/5(read)graph_engine_set/1(read)graph_image_outcome/1grid_engine_set/1(read)grid_lend_entry/0(read)grid_node_uses_entry/0(read)grid_read/3(read)group_by_owner/2(read)hardware_conveyor_report/0(read)hardware_core_util/0(read)hardware_disk_count/0(read)hardware_per_disk_bytes/0(read)hardware_physical_disk_bases/0(admin)hardware_stripe_roots/0(admin)hybrid_query/2(read)identity_id/2(read)ingest_connector/3(write)integrations_booted/1(write)job/1(read)job_cancel/1(write)job_subscribe/1(read)keys_reset/1(admin)keys_status/0(admin)knn_top_k/6(read)licence_activate/1(write)licence_fetch/2(admin)licence_fetch/3(admin)licence_fingerprint/0(read)licence_order/1(admin)licence_order/2(admin)licence_status/0(read)licence_verify/1(read)map_reduce_owned/4map_reduce_owned/5marketplace_catalogue/2(read)marketplace_install/4(write)marketplace_remove/2(write)marketplace_show/3(read)marketplace_status/4(read)marketplace_update/4(write)measured_suite_report/1(read)measured_suite_run/1(admin)memory_headroom_bytes/0mesh_issue_join_token/0(write)mesh_issue_join_token/1(write)mesh_list_nodes/0(read)mesh_node_status/1(read)mesh_reinstate_node/1(write)mesh_remove_node/1(write)mesh_remove_node/2(write)mesh_status/0(read)model_pull/2neighbour_ids/3(read)neighbours/2(read)node/4node/5node/6node_attr/1node_first_chunk/1node_gen/1node_inline/1node_type_tag/1node_uses/2(read)object_cells_read/2(read)object_delete/2(write)object_get/2(read)object_get/3(read)object_put/2(write)object_put/3(write)object_put_begin/4(write)object_put_begin/5(write)object_put_commit/1(write)object_put_write/2(write)object_stat/2(read)open/1(open)open/2(open)out_edges/2(read)out_edges/3(read)pack_graph/1pool_entry/0(read)pool_nodes/0(read)prefix_key_lifetime_words/0present_blocks/3(read)probe_blocks/3(read)put_layer/5(write)put_values/2(write)put_vectors/4(write)put_vectors/5(write)rank_node_id/3(read)rank_nodes/1(read)reachable/3(read)read_value/2(read)reconcile_local_copies/1(write)reconcile_local_copies/2(write)register_column/3(write)relocate_batch_stats/2(write)replication_pending/0reset_write_timing_map/0(write)runtime_census/0(read)scan_count_cmp/4scan_histogram/3scan_pattern/2(read)scan_search/2(read)scan_sum_cmp/4(read)scan_text/2(read)scan_value_histogram/3shard_free_bytes/1stats/1(read)store_key/1(read)tail_blocks/4(read)tail_blocks/5(read)tier_stats/1(read)tombstone/2(write)tombstone_edges/2(write)top_k_hamming/3top_k_hamming/4top_k_l2/5(read)tp_entry/0(read)tp_exchange_all/5(write)tp_link_close/1(write)tp_link_open/2(write)tp_link_status/0(read)tp_owner/3(read)tp_owner/4(read)tp_prepare/1(write)tp_window/2(write)update_check/1update_check/2util_cached/0(read)util_snapshot/0(read)util_snapshot/1(read)vec/2vec/3vector_pieces/2vector_scope/2(read)vector_slots/1(read)vector_then_walk/4vector_then_walk/5vectors_stored/3(read)walk/3walk/4walk_collect_mixed_release_refusals/0(read)walk_packed/3walk_packed/4write_annotate/2write_annotate_degraded/2write_collect/1write_settle/1write_settle_edgelist/1write_timing_map/0(read)
Refusals
api_v1_controller
| Refusal | HTTP / JSON-RPC, or the exit code | What it means | What to do | Since |
|---|---|---|---|---|
cluster_node_could_not_judge | 503 | cluster node did not answer in time | Retry; if it repeats, read that node's utilisation row: it is connected, but its share is slow. | r11.77 or earlier |
cluster_node_unavailable | 503 | cluster node unavailable | Bring the named roster node back: its shards answer again once it rejoins (each shard has one copy today). | r11.77 or earlier |
ids_empty | 422 | ids must not be empty | Send at least one id in "ids". | r11.77 or earlier |
missing_op | 422 | missing 'op' | Send "op" naming the operation (fetch, resolve, search, histogram, traverse, or another op the reference lists). | r11.77 or earlier |
op_args_malformed | 422 | the op is missing arguments or has arguments of the wrong type | Send the arguments the detail names for this op, with the types it names. | r11.77 or earlier |
op_failed | 422 | the op failed | Retry once; if it repeats, report it with the detail, which quotes what the engine answered. | r11.77 or earlier |
param_not_integer | 422 | a numeric parameter must be an integer | Send the named parameter as an integer (a JSON number or a decimal string). | r11.77 or earlier |
queries_b64_invalid | 422 | queries_b64 is not valid base64 | Base64-encode the row-major q x d little-endian f32 query matrix. | r11.77 or earlier |
similar_id_missing | 422 | similar needs a node id | Send "id" (a u64 node id that has a stored vector) and an optional "k". | r11.77 or earlier |
store_process_down | 503 | store unavailable | Retry shortly: the store process is restarting. | r11.77 or earlier |
store_timeout | 503 | store timeout | Retry; a store call ran past its bound. If it repeats, send fewer ids or seeds per call. | r11.77 or earlier |
store_unavailable | 503 | customer-data store unavailable | Read the open failure the detail quotes and the node log's [UserStore] lines before changing SEMURG_DATA_DIR. | r11.77 or earlier |
too_many_ids | 413 | too many ids | Split the ids into requests of at most the maximum the detail names. | r11.77 or earlier |
traverse_seeds_missing | 422 | traverse needs a seeds list | Send "seeds" (a list of u64 node ids) and "hops". | r11.77 or earlier |
unknown_op | 422 | unknown op | Use one of the ops the detail lists; it suggests the nearest. | r11.77 or earlier |
vector_search_query_missing | 422 | vector_search needs a query string | Send "query" (the text to search for) and an optional "k". | r11.77 or earlier |
vector_top_k_args_missing | 422 | vector_top_k needs queries_b64, q, d and k | Send queries_b64, q, d and k (and ef for the indexed answer). | r11.77 or earlier |
cluster_facade
| Refusal | HTTP / JSON-RPC, or the exit code | What it means | What to do | Since |
|---|---|---|---|---|
admin_capability_required | 403 | needs the admin capability (the instance owner) | Call it as the instance owner (the owner's token, or on the box); a per-user token or the public sandbox cannot. | r11.77 or earlier |
verb_undeclared | 404 | no facade verb of this name and arity is declared, so its capability is unknown and it is not called | Call a verb the facade declares (its catalogue lists each verb with its arity and capability). | r11.77 or earlier |
code_door
| Refusal | HTTP / JSON-RPC, or the exit code | What it means | What to do | Since |
|---|---|---|---|---|
after_out_of_range | 422 / -32602 | `after` is not an ingested ordinal | pass the `next_after` of the previous page | next |
argument_invalid | 422 / -32602 | an argument has the wrong type | see the tool's inputSchema | next |
before_out_of_range | 422 / -32602 | `before` is not an ingested ordinal | pass the `next_before` of the previous page | next |
blob_address_mismatch | 500 / -32603 | a stored file does not rehash to its recorded address; it is NOT served | run `mix semurg.code.verify` on the node | next |
blob_length_mismatch | 500 / -32603 | a stored file is not the recorded length; it is NOT served | run `mix semurg.code.verify` on the node | next |
code_owner_only | 403 / -32001 | the code history of this node is read with the node's own key, not an end-user key | call with the node's API token | next |
code_read_failed | 500 / -32603 | the code store could not answer; the reason is in `detail` | retry; if it repeats, run `mix semurg.code.verify` on the node | next |
diff_binary | 422 / -32602 | that path is binary: no patch is built | read it with code_at | next |
diff_too_large | 422 / -32602 | that path is too large for a patch: at most 256 KiB and 5,000 lines | read it with code_at in windows | next |
limit_out_of_range | 422 / -32602 | `limit` is outside what this verb pages | see the tool text for its bounds | next |
line_blame_not_built | 422 / -32602 | line-level blame is not built; blame answers per file | drop `lines` | next |
max_bytes_out_of_range | 422 / -32602 | `max_bytes` is outside what one call returns | 1 to 262,144 | next |
nothing_ingested | 404 / -32602 | the repository's store exists but that branch was never ingested | pass the `branch` that was ingested (the default is main) | next |
offset_out_of_range | 422 / -32602 | `offset` is not a byte offset | a non-negative integer | next |
patch_invalid | 422 / -32602 | `patch` must be one path | pass the path whose before / after blocks you want | next |
patch_path_unchanged | 422 / -32602 | `patch` names a path that does not change in that range | pick a path listed in `changes` | next |
path_invalid | 422 / -32602 | `path` is not a path this door reads | a repository-relative path, no NUL byte, at most 4,096 bytes | next |
path_prefix_invalid | 422 / -32602 | `path_prefix` is not a path prefix this door reads | a repository-relative prefix | next |
range_reversed | 422 / -32602 | `from` is not before `to` | swap them | next |
range_too_large | 422 / -32602 | more than 2,000 commits lie between `from` and `to` | narrow the range | next |
repo_id_invalid | 422 / -32602 | `repo` is not a repository id | a repository id is [a-z0-9][a-z0-9._-]{0,62} | next |
repo_not_ingested | 404 / -32602 | this node holds no code store for that repository; nothing was created | ingest it first on an installed node: sudo semurg admin code ingest --repo <id> --path <git dir> (a node running in Docker cannot ingest: it has no git and no semurg command) | next |
repo_required | 422 / -32602 | `repo` is required: the repository id this node ingested | pass `repo` (lower-case letters, digits, '.', '_', '-') | next |
rev_ambiguous | 422 / -32602 | that commit id prefix matches more than one commit | give more hex digits | next |
rev_before_history | 404 / -32602 | that time is before the first ingested commit | pass a later time | next |
rev_invalid | 422 / -32602 | `rev` is not a revision this door reads: a commit id (8 hex or more), a branch, a tag, HEAD, or an ISO 8601 time | pass one of those | next |
rev_unknown | 404 / -32602 | no ingested commit matches that revision | check the spelling; `code_status` shows the tip ingested | next |
unknown_argument | 422 / -32602 | the tool does not take that argument | send only the arguments the tool's inputSchema names | next |
unknown_verb | 422 / -32602 | this door has no such verb | call one of the verbs it lists | next |
comms_door
| Refusal | HTTP / JSON-RPC, or the exit code | What it means | What to do | Since |
|---|---|---|---|---|
address_invalid | 422 | the address is not a valid name@domain | Use ASCII letters, digits, `.`, `-`, `_`, `+` in the name, a plain ASCII domain, exactly one `@`, at most 254 bytes; case folds. | next |
address_missing | 422 | no address was sent | Send `address` as `name@<cluster domain>`. | next |
address_taken | 409 | the address is bound to another identity | Choose another address; an address binds to ONE identity and is never silently re-pointed. | next |
address_unknown | 422 | a recipient address is not bound on this cluster | Send only to addresses bound here (the detail names the unknown ones); the recipient binds with comms_bind_address first. Nothing was sent. | next |
admission_could_not_judge | 503 | the write admission could not judge the node's room | Repeat the call; if it persists, read /api/health on the node. | next |
agent_foreign_send_needs_approval | 403 | an agent's mail to an address outside this cluster needs a person's approval, and that flow is not built yet | Ask a person on this cluster to send it, or send to addresses on this cluster's own domains. | next |
body_missing | 422 | no message body was sent | Send `body` as a non-empty string. | next |
body_too_large | 413 | the body is larger than one message takes | Keep a body under 16 MiB; send a larger document as an attachment (a later release). | next |
comms_read_failed | 503 | a comms read could not be completed | Repeat the call; if it persists, read /api/health on the node (the detail carries the engine's reason). | next |
comms_store_unavailable | 503 | the comms store could not be opened | Repeat the call; if it persists, read /api/health on the node (the detail carries the refusal). | next |
comms_write_failed | 503 | the write could not be completed | Repeat the call (binds and sends with the same content are idempotent); if it persists, read /api/health on the node. | next |
conversation_not_found | 404 | no conversation with this id | Use a conversation id your inbox or a send answered. | next |
directory_unreadable | 503 | the address directory could not be read | Repeat the call; if it persists, read /api/health on the node (the detail carries the engine's reason). | next |
domain_not_ours | 422 | the domain is not one this cluster answers for | Bind an address on one of the cluster's own domains (the detail lists them; the operator sets them with SEMURG_COMMS_DOMAINS, comma-separated, in the node env file; the public host PHX_HOST is the default). | next |
foreign_recipient_gateway_off | 422 | this node does not send mail to addresses outside its own domains | Send only to addresses on this cluster's domains, or ask the operator to switch the outbound gateway on (SEMURG_MAIL_OUT=on, once DNS, reverse DNS, port 25 and the DKIM key are ready). | next |
foreign_recipients_too_many | 422 | more outside addresses than one send takes | Send to at most 50 addresses outside this cluster per message (a per-sender quota for larger sends is a later release). | next |
from_missing | 422 | a send to an address outside this cluster names no sender address | Send `from` as one of YOUR addresses on this cluster (the name@domain you bound with comms_bind_address). | next |
from_not_yours | 403 | `from` is not an address bound to you | Send from an address you bound with comms_bind_address; an address binds to one identity, and mail is never sent as someone else. | next |
id_missing | 422 | a required id was not sent | Send the id the detail names, as the decimal string an earlier answer gave you. | next |
id_not_string | 422 | an id is not a decimal string | Send ids exactly as they were answered: decimal strings, never numbers (a JSON number loses ids above 2^53). | next |
identity_unknown | 401 | the caller's identity could not be named | Present an API token (Authorization: Bearer <token>). | next |
kind_conflict | 409 | this identity is already bound as the other kind | An identity is a user or an agent, never both; bind with the kind it already has (the detail names it). | next |
kind_invalid | 422 | kind is not user or agent | Send `kind` as "user" (the default) or "agent". | next |
limit_out_of_range | 422 | limit is outside 1 to 4096 | Send `limit` as an integer from 1 to 4096, or omit it for the default. | next |
message_not_found | 404 | no message with this id | Use a message id a send or a thread page answered. | next |
no_room | 507 | the data volume has no room for a write | Free space on the node's data volume (or add a disk), then repeat the call. | next |
not_a_member | 403 | you are not a member of this conversation | Read only conversations you were sent to; the ids in your inbox are yours. | next |
page_cursor_invalid | 422 | after is not a page's next | Send `after` as the `next` the previous page answered, or omit it for the first page. | next |
recipients_missing | 422 | no recipient was sent | Send `to` as a list of one to 4096 addresses. | next |
recipients_too_many | 422 | more recipients than one send takes | Send to at most 4096 recipients per message (a group above that is a named conversation, a later release). | next |
sandbox_no_write | 403 | the public sandbox does not write comms | Present an API token (Authorization: Bearer <token>) to bind an address or send as your own identity. | next |
subject_too_long | 422 | the subject is not a string of at most 1024 bytes | Shorten the subject to 1024 bytes, or omit it. | next |
unknown_argument | 422 | an argument this tool does not take | Send only the keys the tool's inputSchema lists; the detail names the unknown ones and the accepted list. | next |
unknown_verb | 422 | unknown comms verb | Use one of this door's verbs: bind_address, send, inbox, thread, read. | next |
user_id_invalid | 422 | user_id is not a string | Send `user_id` as a string, or omit it to act as your own identity. | next |
memory_door
| Refusal | HTTP / JSON-RPC, or the exit code | What it means | What to do | Since |
|---|---|---|---|---|
admission_could_not_judge | 503 / -32603 | the write admission could not judge the node's room | Send the call again in a moment; nothing was written. | r11.77 |
attribute_invalid | 422 / -32602 | an attribute is not valid | Send each attribute as key: value (a string, whole number, decimal, true/false, ISO 8601 date, or date-time with its offset), {value, type} to declare it, or a list for several; the detail names the entity, the key and why. Nothing was stored. | next |
attribute_not_found | 404 / -32602 | attribute not found on that entity in this scope | Send the exact entity name and an attribute key it holds now (recall shows its attributes); nothing was forgotten. | next |
audit_owner_only | 403 / -32001 | the change log is read by the node's owner only | Read it with the node's owner token: it names every caller, so a per-person token, an end user and the public sandbox cannot read it. | next |
call_deadline_exceeded | 503 / -32603 | the call did not finish inside its deadline | Send it again in a moment: remember, relate and forget are idempotent, so a repeat is safe whether or not the first was applied; split a large call; the node is busy. | next |
call_too_large | 422 / -32602 | one call carries more than its limit | Send the items in several calls; each tool's description prints the limits. | r11.77 |
compact_invalid | 422 / -32602 | compact must be true or false | Send "compact": true for each item once with only its answer fields, or leave it out for the full reply. | next |
content_beside_passages | 422 / -32602 | "content" and "passages" cannot ride in one call | Send the raw text as "content" (with "facts" beside it if you have them) in one call and the passages in another. | r11.77 |
content_refused | 422 / -32602 | content was refused, nothing was stored | Correct what the detail names and send the call again. | r11.77 |
conversion_failed | 500 / -32603 | conversion_failed: the document could not be converted | Send it again; if it repeats, report the detail to the node's operator. | next |
could_not_judge | 503 / -32603 | could not judge | Send the call again; the detail names what could not be read. | r11.77 |
customs_could_not_judge | 503 / -32603 | customs could not judge the document | Send it again in a minute. | next |
customs_over_quota | 507 / -32603 | customs_over_quota: customs on this node is full | Wait for the running ingests to finish, or free space on the node's data volume, then send it again. | next |
customs_refused | 409 / -32602 | customs refused the document | Correct what the detail names (the step and the reason) and send it again. | next |
date_invalid | 422 / -32602 | date is not an ISO 8601 date | Send a date such as "2026-10-01" or a date and time such as "2026-10-01T09:30:00Z". | r11.77 |
document_bad_base64 | 422 / -32602 | content_base64 is not valid base64 | Send standard base64 (RFC 4648 section 4); nothing was stored. | next |
document_bytes_missing | 422 / -32602 | missing 'content_base64' | Send the document's bytes as standard base64 in content_base64 (REST also takes them as the raw request body). | next |
document_corrupt | 422 / -32602 | document_corrupt: the file is damaged | Export the file again and send the new copy. | next |
document_empty | 422 / -32602 | the document is empty | Send its bytes as content_base64; nothing was stored. | next |
document_not_readable | 422 / -32602 | document_not_readable: the file could not be read | Send it again; if it repeats, convert it to plain UTF-8 text first. | next |
document_readback_mismatch | 500 / -32603 | readback_mismatch: the stored text is not the parsed text | Send the document again; if it repeats, report the detail to the node's operator. | next |
document_too_large | 413 / -32602 | the document is larger than this node accepts | Send a smaller document; the detail names the limit. | next |
document_unsupported_kind | 415 / -32602 | unsupported_kind: not a PDF, DOCX, HTML or UTF-8 text document (judged by its first bytes) | Convert the file to PDF, DOCX, HTML or UTF-8 text and send it again. | next |
export_cursor_invalid | 422 / -32602 | cursor is not the next value an export page returned | Send the previous page's next unchanged, or leave cursor out for the first page. | next |
export_unreadable | 503 / -32603 | a part of the scope could not be read, so no page was returned | Ask for the same page again in a moment; nothing partial was returned as complete. | next |
fact_not_found | 404 / -32602 | fact not found in this scope | Spell the relationship exactly as it was stored: from, to and type. | next |
facts_empty | 422 / -32602 | nothing to remember from "facts" | Send {"facts":{"entities":[{"name":"Paris","type":"city"}],"relations":[{"source":"Paris","target":"France","type":"IN"}]}}, or the short form {"facts":{"subject":"Paris","kind":"city"}}. | r11.77 |
facts_shape | 422 / -32602 | bad 'facts' | Send {"facts":{"entities":[{"name":"Paris","type":"city"}],"relations":[{"source":"Paris","target":"France","type":"IN"}]}}: an object, its entities and relations lists, each relation naming both ends (from / to are accepted for source / target); nothing was stored. | next |
field_has_nul | 422 / -32602 | a name, mention, query or text contains a NUL byte | Send names, mentions, queries and text without NUL; nothing was written. | next |
field_missing | 422 / -32602 | a required field is missing | Send the field the detail names; each tool's description lists the required ones. | r11.77 |
field_not_string | 422 / -32602 | a text field is not a JSON string | Send it as a JSON string; nothing was written. | next |
field_not_utf8 | 422 / -32602 | a text field is not UTF-8 | Send it as a JSON string of UTF-8 text; nothing was written. | next |
field_too_long | 422 / -32602 | a field is longer than its limit | Shorten the field or split the call; each tool's description prints the limits. | r11.77 |
forget_fact_shape | 422 / -32602 | bad 'fact' | Send {"fact":{"from":"Paris","to":"France","type":"IN"}}. | next |
forget_needs_native_engine | 501 / -32603 | forget needs the native engine | Run the node on the native engine; this store runs on the replica clutch, which cannot tombstone. | r11.77 |
forget_one_form | 422 / -32602 | send exactly one thing to forget | Send one of subject, fact, passage, source, or all (the whole scope). | next |
forget_passage_shape | 422 / -32602 | bad 'passage' | Send the passage's doc_id as a string. | next |
forget_scope_shape | 422 / -32602 | bad 'all' | Send "all": true to forget the whole scope. | next |
forget_source_shape | 422 / -32602 | bad 'source' | Send the source label as a string. | next |
hops_out_of_range | 422 / -32602 | hops is outside the range context takes | Send hops as an integer from 0 to 3, or omit it for the default (2); a value outside the range is refused, never clamped. | next |
id_not_string | 422 / -32602 | an id arrived as a JSON number above 2^53 | Send every id as its decimal string, exactly as the reply gave it: a JSON number that large has already lost digits in most clients. | next |
import_refused | 422 / -32602 | a record could not be stored; the import stopped there | Correct or remove the record the detail names and send the page again: the records before it are stored, and storing them again stores nothing twice. | next |
instant_invalid | 422 / -32602 | as_of or valid_at is not an ISO 8601 date or date-time | Send a date such as "2026-10-01" (the end of that day UTC) or a date and time such as "2026-10-01T09:30:00Z", or leave it out to read the present. | next |
k_out_of_range | 422 / -32602 | k is outside the range this verb takes | Send k as an integer inside the range the detail names (recall 1 to 1000, context 1 to 100), or omit it for the default; a value outside the range is refused, never clamped. | next |
known_names_unreadable | 503 / -32603 | the stored names could not be read, nothing was stored | Send the same call again; it is safe to retry. | r11.77 |
limit_out_of_range | 422 / -32602 | limit is outside the range this verb takes | Send limit as an integer from 1 to 1024, or omit it for the default (256); a value outside the range is refused, never clamped. | next |
memory_off | 503 / -32603 | memory capability is off on this node | Docker: add -e SEMURG_MEMORY=1. Installed service: set SEMURG_MEMORY=1 in /etc/semurg/semurg.env and restart. | r11.77 |
memory_waits_for_peers | 503 / -32603 | the memory store waits for its cluster peers | Start or reconnect the nodes the detail names; the store opens on its own once every node in the roster is connected, and nothing was written meanwhile. | next |
messages_beside_text | 422 / -32602 | "messages" cannot ride beside "content" or "passages" | Send the conversation as "messages" alone (with "facts" beside it if you have them); a conversation is one source. | next |
messages_refused | 422 / -32602 | messages were refused, nothing was stored | Correct the message the detail names and send the call again. | next |
no_room | 507 / -32603 | the node's data volume has no room for this write | Free space on the node's data volume, or add a node; nothing was written. | r11.77 |
not_replicated | 503 / -32603 | the write was stored on its node but its second copy could not be made | Treat the write as unconfirmed, like a timeout: it may already be readable. remember, relate and forget are idempotent, so sending the call again is safe; the node is making the second copy by itself. | next |
nothing_to_remember | 422 / -32602 | nothing to remember | Send "content" (raw text), "messages" (a conversation), "facts" (entities and relations) or "passages" ([{"text":"Lena works at Acme.","mentions":["Lena","Acme"]}]). | r11.77 |
operation_failed | 500 / -32603 | memory operation failed | Send the call again; if it repeats, report the detail to the node's operator. | r11.77 |
owner_absent | 503 / -32603 | the node that stores this write is away | Send the call again in a moment; nothing was written. | next |
passage_not_found | 404 / -32602 | passage not found in this scope | Send the doc_id memory_remember returned for that passage. | next |
passages_refused | 422 / -32602 | a passage was refused, nothing was stored | Correct the passage the detail names and send the call again. | r11.77 |
passages_stopped | 500 / -32603 | storing the passages stopped before any new passage was marked stored | Send the same call again: it stores the rest and answers `already` for the passages earlier calls stored. | r11.77 |
query_missing | 422 / -32602 | missing 'query' | Send "query": a question or a few words for context. | r11.77 |
quota_exceeded | 429 / -32602 | this trial identity's quota is spent | A trial identity holds a fixed storage and call quota (memory_status prints it): forget what you no longer need, wait for the window named in the detail, or run a node of your own. | r11.136 |
relation_endpoint_unknown | 422 / -32602 | a relation names an entity this call does not list and the store does not hold; nothing was stored | List the entities the detail names in this call's "entities", or remember them first; entities stored by an earlier call link without being listed again. | next |
relation_ends_unreadable | 503 / -32603 | the stored relation ends could not be read, nothing was stored | Send the same call again; it is safe to retry. | next |
replaces_invalid | 422 / -32602 | replaces is not true or false | Send "replaces": true on a relation that replaces its subject's other targets of that type, or leave it out; nothing was stored. | next |
replaces_unreadable | 503 / -32603 | the relationships a replace would end could not be read, nothing was stored | Send the same call again in a moment; it is safe to repeat. | next |
replica_maintenance | 503 / -32603 | the node that holds the second copy of this write is being updated | Send the call again in a moment (the window closes when the node is back and caught up); nothing was written. | next |
replica_unavailable | 503 / -32603 | a second copy of this write cannot be made right now: the node that holds it is away or not answering | Send the call again in a moment; nothing was written. This memory is STRICT: a write is acknowledged only when two nodes hold it. | next |
sandbox_no_delete | 403 / -32001 | the public sandbox does not delete memory | Present an API token (Authorization: Bearer <token>); a key deletes only the end users it holds. | next |
sandbox_no_write | 403 / -32001 | the public sandbox does not write memory | Present an API token (Authorization: Bearer <token>) to write memory in your own namespace. | r11.77 |
scope_comms_write_refused | 422 / -32602 | a conversation scope is written only by comms_send | Send a message with comms_send; the body becomes the conversation's memory once. memory_remember / relate / forget / document do not write a comms:<conversation> scope. | next |
scope_missing | 422 / -32602 | missing 'scope' | Pass "scope": a scope is a named, separate memory, and agents that share one share what they learn. | r11.77 |
scope_not_a_member | 403 / -32001 | the conversation scope is not yours | A comms:<conversation> scope is read by its members only; send to the conversation (comms_send) or read your own inbox (comms_inbox). Your own recall and context already search the conversations you are in. | next |
scope_not_found | 404 / -32602 | scope not found | Send a scope this key holds; a scope already forgotten answers 200 already_forgotten. | next |
scope_qualified | 422 / -32602 | scope carries an identity qualifier | Send the bare scope name; the scope is derived from the identity your token proves, never one beginning with 'u:' or 'user:'. | r11.77 |
source_label_unreadable | 503 / -32603 | the source label could not be read, nothing was stored | Send the same call again; the store did not change. | next |
source_not_found | 404 / -32602 | source not found in this scope | Send the exact source label the documents were stored under. | next |
store_not_replicated | 503 / -32603 | this memory was created before the cluster formed and has no second copy yet | Send the call again in a moment: it is widened to a second copy as soon as every node of the cluster is connected; nothing was written. | next |
store_widening | 503 / -32603 | this memory is being copied to its second node and takes no writes until that copy is caught up | Send the call again in a moment (a minute or two for a large memory); nothing was written, and reads are served as before. | next |
subject_missing | 422 / -32602 | missing 'subject' | Send "subject": the name of the stored entity to recall (exact, or a close spelling). | r11.86 |
subject_not_found | 404 / -32602 | subject not found in this scope | Send the exact stored name; forget acts only on an exact name, and the detail lists close names to check. | r11.77 |
token_missing | 401 / -32001 | memory writes require an API token | Set SEMURG_API_TOKEN on this node (or ship a licence api_token capability), then send it as 'Authorization: Bearer <token>' or 'x-api-key: <token>'. | r11.77 |
unknown_argument | 422 / -32602 | an argument this verb does not take | Send only the arguments the tool's inputSchema (tools/list) names; the detail lists the unknown ones and the accepted ones. A verb that is not shipped yet is refused this way, never silently ignored. | next |
unknown_verb | 422 / -32602 | unknown memory verb | Use one of this door's verbs: status, remember, recall, relate, forget, context, document, delete_user. | r11.77 |
user_id_invalid | 422 / -32602 | user_id is not a usable end user id | Send the end user's id as a non empty UTF-8 string without ':' and within the limit, or omit user_id for the caller's own scopes. | next |
user_id_missing | 422 / -32602 | missing 'user_id' | Name the end user with user_id: delete_user removes one end user's memory. | next |
user_id_pinned_mismatch | 422 / -32602 | user_id differs from the connection's X-Semurg-User | This connection is pinned to one end user by its X-Semurg-User header: omit user_id, or send exactly that end user. | next |
user_not_deleted | 503 / -32603 | delete-user stopped before it finished | Run delete_user again for the same user_id; the end user is not deleted until it answers ok. | next |
user_not_found | 404 / -32602 | no such end user | Send a user_id this key holds memory for; nothing was deleted. | next |
Every reply that refuses carries refusal (the name above) and fix.