API reference
Minds
Owned Minds and their dedicated, persisted memory.
- Operations
- 233
- Base path
https://os.one.ml/api/v1/minds- Scopes
minds:manageminds:readminds:writeminds:write minds:service_only- API keys
- 13 failed with an API key · 24 refused to API keys · 2 untested · 152 tested with an API key
- SDK
genesis.call('minds_listMindAttachments', …)· helpers undergenesis.minds- MCP
- 85 tools; the other 148 through
genesis_call
Operations
| Operation | Endpoint | API key |
|---|---|---|
| List canonical Mind attachments including tombstones | GET/{mind_id}/attachments | API keys refused |
| Attach an existing agent or group to a Mind | POST/{mind_id}/attachments | API keys refused |
| Detach a canonical Mind attachment and retain its revision | DELETE/{mind_id}/attachments/{attachment_id} | API keys refused |
| Issue the agent credential an attachment grants | POST/{mind_id}/attachments/{attachment_id}/credentials | — |
| List canonical owner agent groups | GET/agent-groups | API keys refused |
| Create a canonical owner agent group | POST/agent-groups | API keys refused |
| List canonical group members including tombstones | GET/agent-groups/{group_id}/members | API keys refused |
| Add a canonical agent to a group with an explicit revision | POST/agent-groups/{group_id}/members | API keys refused |
| Remove a group member and retain its revision | DELETE/agent-groups/{group_id}/members/{agent_id} | API keys refused |
| Create a Free/F1 Sandbox Mind as an approved agent | POST/agent/create | API keys refused |
| Read an agent Mind creation operation | GET/agent/create/{operation_id} | API keys refused |
| Insert memory using an existing agent credential | POST/agent/memory/episodic | API keys refused |
| Read persisted agent memory by storage UUID | GET/agent/memory/episodic/{storage_id} | API keys refused |
| Update an agent memory event in place | PUT/agent/memory/episodic/{storage_id} | — |
| Delete an agent memory event | DELETE/agent/memory/episodic/{storage_id} | — |
| Search private or explicitly authorized group memory | POST/agent/search | API keys refused |
| Persist an episodic event in an explicit ready Mind; never automatically replay | POST/memory/episodic | Tested with an API key |
| Read a persisted memory by storage UUID in an explicit ready Mind | GET/memory/episodic/{storage_id} | Tested with an API key |
| Update content of a stored episodic event; event_id must equal storage_id | PUT/memory/episodic/{storage_id} | Tested with an API key |
| Attach the caller's embedding to a stored episodic event (backfill) | POST/memory/episodic/{storage_id}/embedding | — |
| List the Mind instance profiles, with the plans and environments each is offered in | GET/profiles | — |
| Search actual episodic memory in an explicit ready Mind | POST/search | Tested with an API key |
| List owned Minds and the verified creation-context fingerprint | GET/services | Tested with an API key |
| Create one capped Mind in the selected environment; retain the same operation key after uncertainty | POST/services | Tested with an API key |
| Read one Mind owned by the verified organization and project | GET/services/{mind_id} | Tested with an API key |
| Delete an owned Mind (controller lifecycle action delete) without an automatic retry | DELETE/services/{mind_id} | Tested with an API key |
| Set who a Mind is served to (standard or service_only) | POST/services/{mind_id}/access | — |
| key-value: POST /v1/:keyspace | POST/services/{mind_id}/engine/v1/{keyspace} | Tested with an API key |
| key-value: GET /v1/:keyspace/:id | GET/services/{mind_id}/engine/v1/{keyspace}/{id} | Tested with an API key |
| key-value: DELETE /v1/:keyspace/:id | DELETE/services/{mind_id}/engine/v1/{keyspace}/{id} | Tested with an API key |
| key-value: POST /v1/:keyspace/query | POST/services/{mind_id}/engine/v1/{keyspace}/query | Tested with an API key |
| analytics: POST /v1/analytics/sources/core | POST/services/{mind_id}/engine/v1/analytics/sources/core | Failed with an API key |
| analytics: POST /v1/analytics/sql | POST/services/{mind_id}/engine/v1/analytics/sql | Tested with an API key |
| analytics: GET /v1/analytics/views | GET/services/{mind_id}/engine/v1/analytics/views | Tested with an API key |
| analytics: POST /v1/analytics/views | POST/services/{mind_id}/engine/v1/analytics/views | Tested with an API key |
| analytics: DELETE /v1/analytics/views/:name | DELETE/services/{mind_id}/engine/v1/analytics/views/{name} | Tested with an API key |
| associative-memory: POST /v1/assoc/mhn/clear | POST/services/{mind_id}/engine/v1/assoc/mhn/clear | Tested with an API key |
| associative-memory: POST /v1/assoc/mhn/config | POST/services/{mind_id}/engine/v1/assoc/mhn/config | Tested with an API key |
| associative-memory: POST /v1/assoc/mhn/list | POST/services/{mind_id}/engine/v1/assoc/mhn/list | Tested with an API key |
| associative-memory: POST /v1/assoc/mhn/new | POST/services/{mind_id}/engine/v1/assoc/mhn/new | Tested with an API key |
| associative-memory: POST /v1/assoc/mhn/retrieve | POST/services/{mind_id}/engine/v1/assoc/mhn/retrieve | Tested with an API key |
| associative-memory: POST /v1/assoc/mhn/retrieve_by_key | POST/services/{mind_id}/engine/v1/assoc/mhn/retrieve_by_key | Tested with an API key |
| associative-memory: POST /v1/assoc/mhn/retrieve_by_vector | POST/services/{mind_id}/engine/v1/assoc/mhn/retrieve_by_vector | Tested with an API key |
| associative-memory: POST /v1/assoc/mhn/stats | POST/services/{mind_id}/engine/v1/assoc/mhn/stats | Tested with an API key |
| associative-memory: POST /v1/assoc/mhn/store | POST/services/{mind_id}/engine/v1/assoc/mhn/store | Tested with an API key |
| associative-memory: POST /v1/assoc/mhn/system_info | POST/services/{mind_id}/engine/v1/assoc/mhn/system_info | Tested with an API key |
| cognitive-cycle: GET /v1/cognitive/cycles | GET/services/{mind_id}/engine/v1/cognitive/cycles | Tested with an API key |
| cognitive-cycle: POST /v1/cognitive/cycles | POST/services/{mind_id}/engine/v1/cognitive/cycles | Tested with an API key |
| cognitive-cycle: GET /v1/cognitive/cycles/:id | GET/services/{mind_id}/engine/v1/cognitive/cycles/{id} | Tested with an API key |
| cognitive-cycle: GET /v1/cognitive/stats | GET/services/{mind_id}/engine/v1/cognitive/stats | Tested with an API key |
| continual-learning: GET /v1/continual/checkpoints/status | GET/services/{mind_id}/engine/v1/continual/checkpoints/status | Tested with an API key |
| continual-learning: POST /v1/continual/components | POST/services/{mind_id}/engine/v1/continual/components | Tested with an API key |
| continual-learning: POST /v1/continual/components/delete | POST/services/{mind_id}/engine/v1/continual/components/delete | Tested with an API key |
| continual-learning: POST /v1/continual/task/consolidate | POST/services/{mind_id}/engine/v1/continual/task/consolidate | Tested with an API key |
| continual-learning: POST /v1/continual/task/delete | POST/services/{mind_id}/engine/v1/continual/task/delete | Tested with an API key |
| continual-learning: POST /v1/continual/task/evaluate | POST/services/{mind_id}/engine/v1/continual/task/evaluate | Tested with an API key |
| continual-learning: POST /v1/continual/task/new | POST/services/{mind_id}/engine/v1/continual/task/new | Tested with an API key |
| continual-learning: POST /v1/continual/task/pause | POST/services/{mind_id}/engine/v1/continual/task/pause | Tested with an API key |
| continual-learning: POST /v1/continual/task/resume | POST/services/{mind_id}/engine/v1/continual/task/resume | Tested with an API key |
| continual-learning: POST /v1/continual/task/stats | POST/services/{mind_id}/engine/v1/continual/task/stats | Tested with an API key |
| continual-learning: POST /v1/continual/task/train | POST/services/{mind_id}/engine/v1/continual/task/train | Tested with an API key |
| forgetting: GET /v1/forgetting/policies | GET/services/{mind_id}/engine/v1/forgetting/policies | Tested with an API key |
| forgetting: POST /v1/forgetting/policies/:id/toggle | POST/services/{mind_id}/engine/v1/forgetting/policies/{id}/toggle | Tested with an API key |
| forgetting: GET /v1/forgetting/proof/:id | GET/services/{mind_id}/engine/v1/forgetting/proof/{id} | Failed with an API key |
| forgetting: GET /v1/forgetting/requests | GET/services/{mind_id}/engine/v1/forgetting/requests | Tested with an API key |
| forgetting: POST /v1/forgetting/requests | POST/services/{mind_id}/engine/v1/forgetting/requests | Tested with an API key |
| forgetting: POST /v1/forgetting/requests/:id/approve | POST/services/{mind_id}/engine/v1/forgetting/requests/{id}/approve | Failed with an API key |
| forgetting: GET /v1/forgetting/stats | GET/services/{mind_id}/engine/v1/forgetting/stats | Tested with an API key |
| knowledge-graph: POST /v1/graph/alg/components | POST/services/{mind_id}/engine/v1/graph/alg/components | Tested with an API key |
| knowledge-graph: POST /v1/graph/alg/pagerank | POST/services/{mind_id}/engine/v1/graph/alg/pagerank | Tested with an API key |
| knowledge-graph: POST /v1/graph/alg/shortest_path | POST/services/{mind_id}/engine/v1/graph/alg/shortest_path | Tested with an API key |
| knowledge-graph: POST /v1/graph/cypher | POST/services/{mind_id}/engine/v1/graph/cypher | Tested with an API key |
| knowledge-graph: POST /v1/graph/cypher-lite | POST/services/{mind_id}/engine/v1/graph/cypher-lite | Tested with an API key |
| knowledge-graph: POST /v1/graph/fulltext/search | POST/services/{mind_id}/engine/v1/graph/fulltext/search | Tested with an API key |
| knowledge-graph: POST /v1/graph/index/ensure/composite | POST/services/{mind_id}/engine/v1/graph/index/ensure/composite | Tested with an API key |
| knowledge-graph: POST /v1/graph/index/ensure/property | POST/services/{mind_id}/engine/v1/graph/index/ensure/property | Tested with an API key |
| knowledge-graph: GET /v1/graph/index/stats | GET/services/{mind_id}/engine/v1/graph/index/stats | Tested with an API key |
| knowledge-graph: GET /v1/graph/microtheory | GET/services/{mind_id}/engine/v1/graph/microtheory | — |
| knowledge-graph: POST /v1/graph/microtheory/keyspace | POST/services/{mind_id}/engine/v1/graph/microtheory/keyspace | Tested with an API key |
| knowledge-graph: POST /v1/graph/microtheory/switch | POST/services/{mind_id}/engine/v1/graph/microtheory/switch | Tested with an API key |
| knowledge-graph: GET /v1/graph/schema | GET/services/{mind_id}/engine/v1/graph/schema | Tested with an API key |
| knowledge-graph: POST /v1/graph/subdomain/query | POST/services/{mind_id}/engine/v1/graph/subdomain/query | Failed with an API key |
| knowledge-graph: POST /v1/graph/tx/begin | POST/services/{mind_id}/engine/v1/graph/tx/begin | Tested with an API key |
| knowledge-graph: POST /v1/graph/tx/commit | POST/services/{mind_id}/engine/v1/graph/tx/commit | Tested with an API key |
| knowledge-graph: POST /v1/graph/tx/rollback | POST/services/{mind_id}/engine/v1/graph/tx/rollback | Tested with an API key |
| inference: POST /v1/inference/:model_id | POST/services/{mind_id}/engine/v1/inference/{model_id} | API keys refused |
| inference: GET /v1/inference/jobs | GET/services/{mind_id}/engine/v1/inference/jobs | Tested with an API key |
| inference: GET /v1/inference/jobs/:job_id | GET/services/{mind_id}/engine/v1/inference/jobs/{job_id} | API keys refused |
| inference: POST /v1/inference/jobs/:job_id/cancel | POST/services/{mind_id}/engine/v1/inference/jobs/{job_id}/cancel | API keys refused |
| inference: POST /v1/inference/jobs/:job_id/retry | POST/services/{mind_id}/engine/v1/inference/jobs/{job_id}/retry | API keys refused |
| analytics: POST /v1/ingest | POST/services/{mind_id}/engine/v1/ingest | Tested with an API key |
| key-value: GET /v1/keyspaces | GET/services/{mind_id}/engine/v1/keyspaces | Tested with an API key |
| key-value: POST /v1/keyspaces | POST/services/{mind_id}/engine/v1/keyspaces | Tested with an API key |
| key-value: GET /v1/keyspaces/:name | GET/services/{mind_id}/engine/v1/keyspaces/{name} | Tested with an API key |
| key-value: DELETE /v1/keyspaces/:name | DELETE/services/{mind_id}/engine/v1/keyspaces/{name} | Tested with an API key |
| lineage: POST /v1/lineage/graph | POST/services/{mind_id}/engine/v1/lineage/graph | Tested with an API key |
| lineage: POST /v1/lineage/impact | POST/services/{mind_id}/engine/v1/lineage/impact | Tested with an API key |
| lineage: GET /v1/lineage/nodes/:id | GET/services/{mind_id}/engine/v1/lineage/nodes/{id} | Tested with an API key |
| lineage: GET /v1/lineage/stats | GET/services/{mind_id}/engine/v1/lineage/stats | Tested with an API key |
| lineage: POST /v1/lineage/verify | POST/services/{mind_id}/engine/v1/lineage/verify | Tested with an API key |
| mcp: POST /v1/mcp/tools/call | POST/services/{mind_id}/engine/v1/mcp/tools/call | Tested with an API key |
| mcp: POST /v1/mcp/tools/list | POST/services/{mind_id}/engine/v1/mcp/tools/list | Tested with an API key |
| cognitive-memory: POST /v1/memory/cognitive/decision | POST/services/{mind_id}/engine/v1/memory/cognitive/decision | Tested with an API key |
| cognitive-memory: POST /v1/memory/cognitive/interaction | POST/services/{mind_id}/engine/v1/memory/cognitive/interaction | Tested with an API key |
| cognitive-memory: POST /v1/memory/cognitive/query | POST/services/{mind_id}/engine/v1/memory/cognitive/query | Tested with an API key |
| cognitive-memory: POST /v1/memory/cognitive/resource | POST/services/{mind_id}/engine/v1/memory/cognitive/resource | Tested with an API key |
| cognitive-memory: POST /v1/memory/cognitive/resources | POST/services/{mind_id}/engine/v1/memory/cognitive/resources | Tested with an API key |
| cognitive-memory: POST /v1/memory/cognitive/resources/usage | POST/services/{mind_id}/engine/v1/memory/cognitive/resources/usage | Tested with an API key |
| cognitive-memory: POST /v1/memory/cognitive/session | POST/services/{mind_id}/engine/v1/memory/cognitive/session | Tested with an API key |
| cognitive-memory: POST /v1/memory/cognitive/thought | POST/services/{mind_id}/engine/v1/memory/cognitive/thought | Tested with an API key |
| cognitive-memory: POST /v1/memory/cognitive/usage | POST/services/{mind_id}/engine/v1/memory/cognitive/usage | Tested with an API key |
| episodic-memory: POST /v1/memory/episodic | POST/services/{mind_id}/engine/v1/memory/episodic | Tested with an API key |
| episodic-memory: GET /v1/memory/episodic/:id | GET/services/{mind_id}/engine/v1/memory/episodic/{id} | Tested with an API key |
| episodic-memory: PUT /v1/memory/episodic/:id | PUT/services/{mind_id}/engine/v1/memory/episodic/{id} | Tested with an API key |
| episodic-memory: DELETE /v1/memory/episodic/:id | DELETE/services/{mind_id}/engine/v1/memory/episodic/{id} | Tested with an API key |
| episodic-memory: POST /v1/memory/episodic/search | POST/services/{mind_id}/engine/v1/memory/episodic/search | Tested with an API key |
| procedural-memory: POST /v1/memory/procedures | POST/services/{mind_id}/engine/v1/memory/procedures | Tested with an API key |
| procedural-memory: POST /v1/memory/procedures/delete | POST/services/{mind_id}/engine/v1/memory/procedures/delete | Tested with an API key |
| procedural-memory: POST /v1/memory/procedures/get | POST/services/{mind_id}/engine/v1/memory/procedures/get | Tested with an API key |
| procedural-memory: GET /v1/memory/procedures/list | GET/services/{mind_id}/engine/v1/memory/procedures/list | Tested with an API key |
| procedural-memory: POST /v1/memory/procedures/search | POST/services/{mind_id}/engine/v1/memory/procedures/search | Tested with an API key |
| procedural-memory: POST /v1/memory/procedures/update | POST/services/{mind_id}/engine/v1/memory/procedures/update | Tested with an API key |
| memory: GET /v1/memory/reindex/status | GET/services/{mind_id}/engine/v1/memory/reindex/status | Tested with an API key |
| resource-memory: POST /v1/memory/resources | POST/services/{mind_id}/engine/v1/memory/resources | Tested with an API key |
| resource-memory: POST /v1/memory/resources/access | POST/services/{mind_id}/engine/v1/memory/resources/access | Failed with an API key |
| resource-memory: POST /v1/memory/resources/chunks | POST/services/{mind_id}/engine/v1/memory/resources/chunks | Tested with an API key |
| resource-memory: POST /v1/memory/resources/data | POST/services/{mind_id}/engine/v1/memory/resources/data | Tested with an API key |
| resource-memory: POST /v1/memory/resources/data/exists | POST/services/{mind_id}/engine/v1/memory/resources/data/exists | Tested with an API key |
| resource-memory: POST /v1/memory/resources/data/size | POST/services/{mind_id}/engine/v1/memory/resources/data/size | Tested with an API key |
| resource-memory: POST /v1/memory/resources/get | POST/services/{mind_id}/engine/v1/memory/resources/get | Tested with an API key |
| resource-memory: GET /v1/memory/resources/list | GET/services/{mind_id}/engine/v1/memory/resources/list | Tested with an API key |
| resource-memory: POST /v1/memory/resources/type | POST/services/{mind_id}/engine/v1/memory/resources/type | Tested with an API key |
| resource-memory: POST /v1/memory/resources/usage | POST/services/{mind_id}/engine/v1/memory/resources/usage | Tested with an API key |
| memory: POST /v1/memory/retrieval/hybrid | POST/services/{mind_id}/engine/v1/memory/retrieval/hybrid | Tested with an API key |
| memory: GET /v1/memory/stats | GET/services/{mind_id}/engine/v1/memory/stats | Tested with an API key |
| vault: POST /v1/memory/vault | POST/services/{mind_id}/engine/v1/memory/vault | Failed with an API key |
| vault: POST /v1/memory/vault/access-log | POST/services/{mind_id}/engine/v1/memory/vault/access-log | Failed with an API key |
| vault: POST /v1/memory/vault/delete | POST/services/{mind_id}/engine/v1/memory/vault/delete | Tested with an API key |
| vault: POST /v1/memory/vault/get | POST/services/{mind_id}/engine/v1/memory/vault/get | Failed with an API key |
| vault: POST /v1/memory/vault/search | POST/services/{mind_id}/engine/v1/memory/vault/search | Failed with an API key |
| vault: GET /v1/memory/vault/stats | GET/services/{mind_id}/engine/v1/memory/vault/stats | Tested with an API key |
| vault: POST /v1/memory/vault/update | POST/services/{mind_id}/engine/v1/memory/vault/update | Failed with an API key |
| machine-learning: POST /v1/ml/embed | POST/services/{mind_id}/engine/v1/ml/embed | API keys refused |
| machine-learning: POST /v1/ml/generate | POST/services/{mind_id}/engine/v1/ml/generate | API keys refused |
| machine-learning: POST /v1/ml/metrics | POST/services/{mind_id}/engine/v1/ml/metrics | Tested with an API key |
| machine-learning: GET /v1/ml/models | GET/services/{mind_id}/engine/v1/ml/models | Tested with an API key |
| machine-learning: POST /v1/ml/models/load | POST/services/{mind_id}/engine/v1/ml/models/load | Tested with an API key |
| machine-learning: POST /v1/ml/models/unload | POST/services/{mind_id}/engine/v1/ml/models/unload | Tested with an API key |
| machine-learning: POST /v1/ml/tokenizers/load | POST/services/{mind_id}/engine/v1/ml/tokenizers/load | Tested with an API key |
| machine-learning: POST /v1/ml/train/hrm | POST/services/{mind_id}/engine/v1/ml/train/hrm | API keys refused |
| machine-learning: POST /v1/ml/train/supervised | POST/services/{mind_id}/engine/v1/ml/train/supervised | API keys refused |
| vectors: GET /v1/ml/vector | GET/services/{mind_id}/engine/v1/ml/vector | Tested with an API key |
| vectors: POST /v1/ml/vector/add | POST/services/{mind_id}/engine/v1/ml/vector/add | Tested with an API key |
| vectors: POST /v1/ml/vector/create | POST/services/{mind_id}/engine/v1/ml/vector/create | Tested with an API key |
| vectors: POST /v1/ml/vector/save | POST/services/{mind_id}/engine/v1/ml/vector/save | Tested with an API key |
| vectors: POST /v1/ml/vector/search | POST/services/{mind_id}/engine/v1/ml/vector/search | Tested with an API key |
| reasoning: GET /v1/ns/cache/stats | GET/services/{mind_id}/engine/v1/ns/cache/stats | Tested with an API key |
| reasoning: GET /v1/ns/history | GET/services/{mind_id}/engine/v1/ns/history | Failed with an API key |
| reasoning: POST /v1/ns/paths/find | POST/services/{mind_id}/engine/v1/ns/paths/find | Tested with an API key |
| reasoning: POST /v1/ns/prefetch/start | POST/services/{mind_id}/engine/v1/ns/prefetch/start | Tested with an API key |
| reasoning: POST /v1/ns/prefetch/stop | POST/services/{mind_id}/engine/v1/ns/prefetch/stop | Tested with an API key |
| reasoning: POST /v1/ns/retrieve | POST/services/{mind_id}/engine/v1/ns/retrieve | Tested with an API key |
| reasoning: POST /v1/ns/retrieve_with_mode | POST/services/{mind_id}/engine/v1/ns/retrieve_with_mode | Tested with an API key |
| reasoning: GET /v1/ns/rules | GET/services/{mind_id}/engine/v1/ns/rules | Tested with an API key |
| reasoning: GET /v1/ns/stats | GET/services/{mind_id}/engine/v1/ns/stats | Tested with an API key |
| key-value: POST /v1/primitives/export | POST/services/{mind_id}/engine/v1/primitives/export | Tested with an API key |
| key-value: POST /v1/primitives/import | POST/services/{mind_id}/engine/v1/primitives/import | Tested with an API key |
| learning-isolation: GET /v1/quarantine/items | GET/services/{mind_id}/engine/v1/quarantine/items | Tested with an API key |
| learning-isolation: GET /v1/quarantine/items/:id | GET/services/{mind_id}/engine/v1/quarantine/items/{id} | Failed with an API key |
| learning-isolation: POST /v1/quarantine/items/:id/approve | POST/services/{mind_id}/engine/v1/quarantine/items/{id}/approve | — |
| learning-isolation: POST /v1/quarantine/items/:id/reject | POST/services/{mind_id}/engine/v1/quarantine/items/{id}/reject | — |
| learning-isolation: GET /v1/quarantine/policies | GET/services/{mind_id}/engine/v1/quarantine/policies | Tested with an API key |
| learning-isolation: GET /v1/quarantine/stats | GET/services/{mind_id}/engine/v1/quarantine/stats | Tested with an API key |
| learning-isolation: POST /v1/quarantine/test-gate | POST/services/{mind_id}/engine/v1/quarantine/test-gate | Failed with an API key |
| maintenance: POST /v1/search/text | POST/services/{mind_id}/engine/v1/search/text | Tested with an API key |
| spiking-networks: POST /v1/snn/network/build | POST/services/{mind_id}/engine/v1/snn/network/build | Tested with an API key |
| spiking-networks: POST /v1/snn/network/compile | POST/services/{mind_id}/engine/v1/snn/network/compile | Tested with an API key |
| spiking-networks: POST /v1/snn/network/state | POST/services/{mind_id}/engine/v1/snn/network/state | Tested with an API key |
| spiking-networks: POST /v1/snn/network/step | POST/services/{mind_id}/engine/v1/snn/network/step | API keys refused |
| spiking-networks: POST /v1/snn/neurons | POST/services/{mind_id}/engine/v1/snn/neurons | Tested with an API key |
| spiking-networks: GET /v1/snn/stats | GET/services/{mind_id}/engine/v1/snn/stats | Tested with an API key |
| spiking-networks: POST /v1/snn/train/bptt | POST/services/{mind_id}/engine/v1/snn/train/bptt | API keys refused |
| key-value: GET /v1/stats | GET/services/{mind_id}/engine/v1/stats | Tested with an API key |
| text-chunking: POST /v1/text/chunk | POST/services/{mind_id}/engine/v1/text/chunk | Tested with an API key |
| text-chunking: GET /v1/text/chunk/config | GET/services/{mind_id}/engine/v1/text/chunk/config | Tested with an API key |
| transactions: GET /v1/tx/:id/read | GET/services/{mind_id}/engine/v1/tx/{id}/read | — |
| transactions: POST /v1/tx/:id/write | POST/services/{mind_id}/engine/v1/tx/{id}/write | — |
| transactions: POST /v1/tx/abort | POST/services/{mind_id}/engine/v1/tx/abort | Tested with an API key |
| transactions: POST /v1/tx/begin | POST/services/{mind_id}/engine/v1/tx/begin | Tested with an API key |
| transactions: POST /v1/tx/commit | POST/services/{mind_id}/engine/v1/tx/commit | Tested with an API key |
| working-memory: GET /v1/working-memory/slots | GET/services/{mind_id}/engine/v1/working-memory/slots | Tested with an API key |
| working-memory: POST /v1/working-memory/slots/clear | POST/services/{mind_id}/engine/v1/working-memory/slots/clear | Tested with an API key |
| working-memory: POST /v1/working-memory/slots/inject | POST/services/{mind_id}/engine/v1/working-memory/slots/inject | Tested with an API key |
| working-memory: GET /v1/working-memory/stats | GET/services/{mind_id}/engine/v1/working-memory/stats | Tested with an API key |
| List audiences | GET/services/{mind_id}/memory/audiences | — |
| Read an audience | GET/services/{mind_id}/memory/audiences/{name} | — |
| Create or replace an audience | PUT/services/{mind_id}/memory/audiences/{name} | — |
| Delete an audience | DELETE/services/{mind_id}/memory/audiences/{name} | — |
| Recompute an audience | POST/services/{mind_id}/memory/audiences/{name}/recompute | — |
| Compress a tool result | POST/services/{mind_id}/memory/compress | — |
| Estimate an ingest | POST/services/{mind_id}/memory/estimate | — |
| List identities | GET/services/{mind_id}/memory/identities | — |
| Read an identity | GET/services/{mind_id}/memory/identities/{id} | — |
| Set an identity's traits | PUT/services/{mind_id}/memory/identities/{id} | — |
| Delete an identity | DELETE/services/{mind_id}/memory/identities/{id} | — |
| Merge an identity's traits | PATCH/services/{mind_id}/memory/identities/{id} | — |
| Replace identities in bulk | POST/services/{mind_id}/memory/identities/bulk | — |
| Ingest timestamped data points (one, or up to 1000 in order) | POST/services/{mind_id}/memory/ingest | — |
| Read a data point's ingest status | GET/services/{mind_id}/memory/ingest/{id} | — |
| Ingestion status and explanation | GET/services/{mind_id}/memory/ingestions/{id} | — |
| Delete what an ingestion wrote | DELETE/services/{mind_id}/memory/ingestions/{id} | — |
| Retry an ingestion's failed derivation | POST/services/{mind_id}/memory/ingestions/{id}/retry | — |
| Read a data point | GET/services/{mind_id}/memory/points/{id} | — |
| Delete a data point and everything derived from it | DELETE/services/{mind_id}/memory/points/{id} | — |
| A data point's timeline | GET/services/{mind_id}/memory/points/{id}/timeline | — |
| Delete data points in bulk | POST/services/{mind_id}/memory/points/delete | — |
| Recall dated, sourced evidence within a token budget | POST/services/{mind_id}/memory/recall | — |
| Apply the plan's retention now | POST/services/{mind_id}/memory/retention | — |
| Trace a memory or source row | GET/services/{mind_id}/memory/trace/{id} | — |
| Trace lineage | GET/services/{mind_id}/memory/trace/{id}/lineage | — |
| Memory usage | GET/services/{mind_id}/memory/usage | — |
| List memory webhooks | GET/services/{mind_id}/memory/webhooks | — |
| Create a memory webhook | POST/services/{mind_id}/memory/webhooks | — |
| Delete a memory webhook | DELETE/services/{mind_id}/memory/webhooks/{id} | — |
| Resize an owned Mind to an existing Pro profile (controller lifecycle action resize) | POST/services/{mind_id}/resize | API keys refused |
| Resume an owned Mind on its retained volume without an automatic retry | POST/services/{mind_id}/resume | Tested with an API key |
| Read a Mind's scaling policy and current scaling state | GET/services/{mind_id}/scaling | — |
| Set a Mind's scaling policy (idle window, scale to zero), guarded by its policy generation | PUT/services/{mind_id}/scaling | — |
| List a Mind's scaling decisions, newest first | GET/services/{mind_id}/scaling/events | — |
| Stop an owned Mind while retaining its volume without an automatic retry | POST/services/{mind_id}/stop | Tested with an API key |
| Record a webhook delivery for an owned Mind; a stopped-idle Mind is woken | POST/services/{mind_id}/webhook-deliveries | Tested with an API key |
| Read a webhook delivery receipt issued by the caller | GET/services/{mind_id}/webhook-deliveries/{delivery_id} | Tested with an API key |
| Read native operational usage for the selected project (default: the last 24 hours) | GET/usage | Tested with an API key |
{mind id}
List canonical Mind attachments including tombstones
GET/v1/minds/{mind_id}/attachments
Two callers, the same for every tenant: the organization owner's own Console session (pf_console, verified online with its current organization, project, workspace and Sandbox selection), or an organization API key with minds:read (reads) or minds:manage (reads and writes). A key is exchanged at Auth for a short-lived IAM token and never reaches IAM itself; records stay owned by the organization owner and IAM journals the key as the actor. No agent credential, caller tenant headers or automatic retry. All bodies use camelCase. Sandbox only: a Live selection answers 409 ENVIRONMENT_NOT_AVAILABLE before Auth or IAM is asked, even where Minds is Live.
Parameters
mind_idpath · string (uuid)required
Responses
- 200Canonical IAM metadata, including any retained revocation tombstone.
Response fields
attachmentsobject[]requiredattachments[].[].idstringrequiredpattern
^mat_[0-7][0-9A-HJKMNP-TV-Z]{25}$attachments[].[].versionintegerrequiredmin 1 · max 9007199254740991
attachments[].[].organizationIdstringrequiredattachments[].[].projectIdstringrequiredattachments[].[].mindIdstring (uuid)requiredpattern
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$attachments[].[].subjectobject | objectrequiredattachments[].[].permissions["minds.agent_data.read"] | ["minds.agent_data.read","minds.agent_data.write"]requiredattachments[].[].sharedNamespacestring | nullrequiredServer-derived group:<agp ID> for group subjects; null for an individual agent.
attachments[].[].expiresAtintegerrequiredmin 1 · max 9007199254740991
attachments[].[].revokedAtinteger | nullrequired
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/$MIND_ID/attachments" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_listMindAttachments', {
mind_id: '<mind_id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_listMindAttachments",
"arguments": {
"mind_id": "<mind_id>"
}
}
}Attach an existing agent or group to a Mind
POST/v1/minds/{mind_id}/attachments
Two callers, the same for every tenant: the organization owner's own Console session (pf_console, verified online with its current organization, project, workspace and Sandbox selection), or an organization API key with minds:read (reads) or minds:manage (reads and writes). A key is exchanged at Auth for a short-lived IAM token and never reaches IAM itself; records stay owned by the organization owner and IAM journals the key as the actor. No agent credential, caller tenant headers or automatic retry. All bodies use camelCase. Sandbox only: a Live selection answers 409 ENVIRONMENT_NOT_AVAILABLE before Auth or IAM is asked, even where Minds is Live.
Parameters
mind_idpath · string (uuid)required
Request body application/json
operationIdstring (uuid)requiredpattern
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$expectedVersionintegerrequiredmin 0 · max 9007199254740990
subjectobject | objectrequiredpermissions["minds.agent_data.read"] | ["minds.agent_data.read","minds.agent_data.write"]requiredexpiresAtintegerrequiredExplicit Unix milliseconds, future and at most30days from current server time. min 1 · max 9007199254740991
Responses
- 200Canonical IAM metadata, including any retained revocation tombstone.
Response fields
idstringrequiredpattern
^mat_[0-7][0-9A-HJKMNP-TV-Z]{25}$versionintegerrequiredmin 1 · max 9007199254740991
organizationIdstringrequiredprojectIdstringrequiredmindIdstring (uuid)requiredpattern
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$subjectobject | objectrequiredpermissions["minds.agent_data.read"] | ["minds.agent_data.read","minds.agent_data.write"]requiredsharedNamespacestring | nullrequiredServer-derived group:<agp ID> for group subjects; null for an individual agent.
expiresAtintegerrequiredmin 1 · max 9007199254740991
revokedAtinteger | nullrequired
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/$MIND_ID/attachments" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"operationId": "00000000-0000-4000-8000-000000000000",
"expectedVersion": 0,
"subject": {
"kind": "agent",
"agentId": "string"
},
"permissions": [
"minds.agent_data.read"
],
"expiresAt": 1
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_attachMind', {
mind_id: '<mind_id>',
body: {
operationId: '00000000-0000-4000-8000-000000000000',
expectedVersion: 0,
subject: {
kind: 'agent',
agentId: 'string',
},
permissions: [
'minds.agent_data.read',
],
expiresAt: 1,
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_attachMind",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"operationId": "00000000-0000-4000-8000-000000000000",
"expectedVersion": 0,
"subject": {
"kind": "agent",
"agentId": "string"
},
"permissions": [
"minds.agent_data.read"
],
"expiresAt": 1
}
}
}
}Detach a canonical Mind attachment and retain its revision
DELETE/v1/minds/{mind_id}/attachments/{attachment_id}
Two callers, the same for every tenant: the organization owner's own Console session (pf_console, verified online with its current organization, project, workspace and Sandbox selection), or an organization API key with minds:read (reads) or minds:manage (reads and writes). A key is exchanged at Auth for a short-lived IAM token and never reaches IAM itself; records stay owned by the organization owner and IAM journals the key as the actor. No agent credential, caller tenant headers or automatic retry. All bodies use camelCase. Sandbox only: a Live selection answers 409 ENVIRONMENT_NOT_AVAILABLE before Auth or IAM is asked, even where Minds is Live.
Parameters
mind_idpath · string (uuid)requiredattachment_idpath · stringrequired
Request body application/json
operationIdstring (uuid)requiredpattern
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$expectedVersionintegerrequiredmin 0 · max 9007199254740990
Responses
- 200Canonical IAM metadata, including any retained revocation tombstone.
Response fields
idstringrequiredpattern
^mat_[0-7][0-9A-HJKMNP-TV-Z]{25}$versionintegerrequiredmin 1 · max 9007199254740991
organizationIdstringrequiredprojectIdstringrequiredmindIdstring (uuid)requiredpattern
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$subjectobject | objectrequiredpermissions["minds.agent_data.read"] | ["minds.agent_data.read","minds.agent_data.write"]requiredsharedNamespacestring | nullrequiredServer-derived group:<agp ID> for group subjects; null for an individual agent.
expiresAtintegerrequiredmin 1 · max 9007199254740991
revokedAtinteger | nullrequired
- 4xx 5xxThe error envelope.
curl -X DELETE "https://os.one.ml/api/v1/minds/$MIND_ID/attachments/$ATTACHMENT_ID" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"operationId": "00000000-0000-4000-8000-000000000000",
"expectedVersion": 0
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_detachMind', {
mind_id: '<mind_id>',
attachment_id: '<attachment_id>',
body: {
operationId: '00000000-0000-4000-8000-000000000000',
expectedVersion: 0,
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_detachMind",
"arguments": {
"mind_id": "<mind_id>",
"attachment_id": "<attachment_id>",
"body": {
"operationId": "00000000-0000-4000-8000-000000000000",
"expectedVersion": 0
}
}
}
}Issue the agent credential an attachment grants
POST/v1/minds/{mind_id}/attachments/{attachment_id}/credentials
Issues one agent's credential (acr_) for a Mind attachment; for a group attachment the credential carries the shared namespace group:{agp}. The agent signs ["life:iam-minds-attachment-credential:v1", organization, project, attachment_id, expectedVersion, agentId, operationId, expiresAt, proofAt] with its enrolled key (signatureMultibase); proofAt within 5 seconds, expiresAt within 15 minutes and before the attachment's expiry. The secret (mak_acr_...) is returned once; a retry with the same operationId is 409. The organization owner's Console session (verified online) or an organization API key with minds:manage; Sandbox only.
Parameters
mind_idpath · string (uuid)requiredattachment_idpath · stringrequired
Request body application/json
operationIdstring (uuid)requiredexpectedVersionintegerrequiredmin 0
agentIdstringrequiredpattern
^a_[0-7][0-9A-HJKMNP-TV-Z]{25}$expiresAtintegerrequiredMilliseconds since the epoch, at most 15 minutes ahead
proofAtintegerrequiredMilliseconds since the epoch when the agent signed
signatureMultibasestringrequiredpattern
^z[1-9A-HJ-NP-Za-km-z]{40,200}$
Responses
- 200The credential and its secret, returned once.
Response fields
credentialobjectrequiredcredential.credentialIdstringrequiredpattern
^acr_[0-7][0-9A-HJKMNP-TV-Z]{25}$credential.expiresAtintegerrequiredsecretstringrequiredmak_acr_... returned once; use it as the agent's bearer on /v1/minds/agent/...
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/$MIND_ID/attachments/$ATTACHMENT_ID/credentials" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"operationId": "00000000-0000-4000-8000-000000000000",
"expectedVersion": 0,
"agentId": "string",
"expiresAt": 1,
"proofAt": 1,
"signatureMultibase": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_issueMindAttachmentCredential', {
mind_id: '<mind_id>',
attachment_id: '<attachment_id>',
body: {
operationId: '00000000-0000-4000-8000-000000000000',
expectedVersion: 0,
agentId: 'string',
expiresAt: 1,
proofAt: 1,
signatureMultibase: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_issueMindAttachmentCredential",
"arguments": {
"mind_id": "<mind_id>",
"attachment_id": "<attachment_id>",
"body": {
"operationId": "00000000-0000-4000-8000-000000000000",
"expectedVersion": 0,
"agentId": "string",
"expiresAt": 1,
"proofAt": 1,
"signatureMultibase": "string"
}
}
}
}
}Agent groups
List canonical owner agent groups
GET/v1/minds/agent-groups
Two callers, the same for every tenant: the organization owner's own Console session (pf_console, verified online with its current organization, project, workspace and Sandbox selection), or an organization API key with minds:read (reads) or minds:manage (reads and writes). A key is exchanged at Auth for a short-lived IAM token and never reaches IAM itself; records stay owned by the organization owner and IAM journals the key as the actor. No agent credential, caller tenant headers or automatic retry. All bodies use camelCase. Sandbox only: a Live selection answers 409 ENVIRONMENT_NOT_AVAILABLE before Auth or IAM is asked, even where Minds is Live.
Responses
- 200Canonical IAM metadata, including any retained revocation tombstone.
Response fields
groupsobject[]requiredgroups[].[].idstringrequiredpattern
^agp_[0-7][0-9A-HJKMNP-TV-Z]{25}$groups[].[].organizationIdstringrequiredgroups[].[].ownerIdstringrequiredgroups[].[].organizationGenerationintegerrequiredmin 1 · max 9007199254740991
groups[].[].namestringrequiredNon-whitespace label, at most128 UTF-8 bytes; original bytes retained. min length 1 · max length 128
groups[].[].versionintegerrequiredmin 1 · max 9007199254740991
groups[].[].revokedAtinteger | nullrequired
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/agent-groups" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_listAgentGroups'){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_listAgentGroups",
"arguments": {}
}
}Create a canonical owner agent group
POST/v1/minds/agent-groups
Two callers, the same for every tenant: the organization owner's own Console session (pf_console, verified online with its current organization, project, workspace and Sandbox selection), or an organization API key with minds:read (reads) or minds:manage (reads and writes). A key is exchanged at Auth for a short-lived IAM token and never reaches IAM itself; records stay owned by the organization owner and IAM journals the key as the actor. No agent credential, caller tenant headers or automatic retry. All bodies use camelCase. Sandbox only: a Live selection answers 409 ENVIRONMENT_NOT_AVAILABLE before Auth or IAM is asked, even where Minds is Live.
Request body application/json
operationIdstring (uuid)requiredpattern
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$namestringrequiredNon-whitespace and at most128 UTF-8 bytes. min length 1 · max length 128
Responses
- 200Canonical IAM metadata, including any retained revocation tombstone.
Response fields
idstringrequiredpattern
^agp_[0-7][0-9A-HJKMNP-TV-Z]{25}$organizationIdstringrequiredownerIdstringrequiredorganizationGenerationintegerrequiredmin 1 · max 9007199254740991
namestringrequiredNon-whitespace label, at most128 UTF-8 bytes; original bytes retained. min length 1 · max length 128
versionintegerrequiredmin 1 · max 9007199254740991
revokedAtinteger | nullrequired
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/agent-groups" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"operationId": "00000000-0000-4000-8000-000000000000",
"name": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_createAgentGroup', {
body: {
operationId: '00000000-0000-4000-8000-000000000000',
name: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_createAgentGroup",
"arguments": {
"body": {
"operationId": "00000000-0000-4000-8000-000000000000",
"name": "string"
}
}
}
}Members
List canonical group members including tombstones
GET/v1/minds/agent-groups/{group_id}/members
Two callers, the same for every tenant: the organization owner's own Console session (pf_console, verified online with its current organization, project, workspace and Sandbox selection), or an organization API key with minds:read (reads) or minds:manage (reads and writes). A key is exchanged at Auth for a short-lived IAM token and never reaches IAM itself; records stay owned by the organization owner and IAM journals the key as the actor. No agent credential, caller tenant headers or automatic retry. All bodies use camelCase. Sandbox only: a Live selection answers 409 ENVIRONMENT_NOT_AVAILABLE before Auth or IAM is asked, even where Minds is Live.
Parameters
group_idpath · stringrequired
Responses
- 200Canonical IAM metadata, including any retained revocation tombstone.
Response fields
membersobject[]requiredmembers[].[].groupIdstringrequiredpattern
^agp_[0-7][0-9A-HJKMNP-TV-Z]{25}$members[].[].agentIdstringrequiredpattern
^a_[0-7][0-9A-HJKMNP-TV-Z]{25}$members[].[].agentDidstringrequiredpattern
^did:[A-Za-z0-9:._%-]{1,512}$members[].[].agentCreatedAtintegerrequiredmin 1 · max 9007199254740991
members[].[].versionintegerrequiredmin 1 · max 9007199254740991
members[].[].revokedAtinteger | nullrequired
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/agent-groups/$GROUP_ID/members" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_listAgentGroupMembers', {
group_id: '<group_id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_listAgentGroupMembers",
"arguments": {
"group_id": "<group_id>"
}
}
}Add a canonical agent to a group with an explicit revision
POST/v1/minds/agent-groups/{group_id}/members
Two callers, the same for every tenant: the organization owner's own Console session (pf_console, verified online with its current organization, project, workspace and Sandbox selection), or an organization API key with minds:read (reads) or minds:manage (reads and writes). A key is exchanged at Auth for a short-lived IAM token and never reaches IAM itself; records stay owned by the organization owner and IAM journals the key as the actor. No agent credential, caller tenant headers or automatic retry. All bodies use camelCase. Sandbox only: a Live selection answers 409 ENVIRONMENT_NOT_AVAILABLE before Auth or IAM is asked, even where Minds is Live.
Parameters
group_idpath · stringrequired
Request body application/json
operationIdstring (uuid)requiredpattern
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$expectedVersionintegerrequiredmin 0 · max 9007199254740990
agentIdstringrequiredpattern
^a_[0-7][0-9A-HJKMNP-TV-Z]{25}$
Responses
- 200Canonical IAM metadata, including any retained revocation tombstone.
Response fields
groupIdstringrequiredpattern
^agp_[0-7][0-9A-HJKMNP-TV-Z]{25}$agentIdstringrequiredpattern
^a_[0-7][0-9A-HJKMNP-TV-Z]{25}$agentDidstringrequiredpattern
^did:[A-Za-z0-9:._%-]{1,512}$agentCreatedAtintegerrequiredmin 1 · max 9007199254740991
versionintegerrequiredmin 1 · max 9007199254740991
revokedAtinteger | nullrequired
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/agent-groups/$GROUP_ID/members" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"operationId": "00000000-0000-4000-8000-000000000000",
"expectedVersion": 0,
"agentId": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_addAgentGroupMember', {
group_id: '<group_id>',
body: {
operationId: '00000000-0000-4000-8000-000000000000',
expectedVersion: 0,
agentId: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_addAgentGroupMember",
"arguments": {
"group_id": "<group_id>",
"body": {
"operationId": "00000000-0000-4000-8000-000000000000",
"expectedVersion": 0,
"agentId": "string"
}
}
}
}Remove a group member and retain its revision
DELETE/v1/minds/agent-groups/{group_id}/members/{agent_id}
Two callers, the same for every tenant: the organization owner's own Console session (pf_console, verified online with its current organization, project, workspace and Sandbox selection), or an organization API key with minds:read (reads) or minds:manage (reads and writes). A key is exchanged at Auth for a short-lived IAM token and never reaches IAM itself; records stay owned by the organization owner and IAM journals the key as the actor. No agent credential, caller tenant headers or automatic retry. All bodies use camelCase. Sandbox only: a Live selection answers 409 ENVIRONMENT_NOT_AVAILABLE before Auth or IAM is asked, even where Minds is Live.
Parameters
group_idpath · stringrequiredagent_idpath · stringrequired
Request body application/json
operationIdstring (uuid)requiredpattern
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$expectedVersionintegerrequiredmin 0 · max 9007199254740990
Responses
- 200Canonical IAM metadata, including any retained revocation tombstone.
Response fields
groupIdstringrequiredpattern
^agp_[0-7][0-9A-HJKMNP-TV-Z]{25}$agentIdstringrequiredpattern
^a_[0-7][0-9A-HJKMNP-TV-Z]{25}$agentDidstringrequiredpattern
^did:[A-Za-z0-9:._%-]{1,512}$agentCreatedAtintegerrequiredmin 1 · max 9007199254740991
versionintegerrequiredmin 1 · max 9007199254740991
revokedAtinteger | nullrequired
- 4xx 5xxThe error envelope.
curl -X DELETE "https://os.one.ml/api/v1/minds/agent-groups/$GROUP_ID/members/$AGENT_ID" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"operationId": "00000000-0000-4000-8000-000000000000",
"expectedVersion": 0
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_removeAgentGroupMember', {
group_id: '<group_id>',
agent_id: '<agent_id>',
body: {
operationId: '00000000-0000-4000-8000-000000000000',
expectedVersion: 0,
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_removeAgentGroupMember",
"arguments": {
"group_id": "<group_id>",
"agent_id": "<agent_id>",
"body": {
"operationId": "00000000-0000-4000-8000-000000000000",
"expectedVersion": 0
}
}
}
}Agent
Create a Free/F1 Sandbox Mind as an approved agent
POST/v1/minds/agent/create
Uses an Auth agent token with kind agent, audience minds-agent-create and purpose minds.agent-create.v1, plus DPoP; the controller verifies the original token and proof. Human sessions, organization API keys and M2M tokens are refused. The gateway serves this route when MINDS_AGENT_CREATE_ENABLED=true; otherwise it answers 503 service_unavailable to a verified credential and 401 to an unverified one. The idempotency-key header must equal body.operationId; retain it and read the operation status after an uncertain outcome.
Parameters
dpopheader · stringrequiredCaller-signed DPoP proof bound to the agent token, for the canonical controller method and URL. Never generated or retried by Genesis.
idempotency-keyheader · string (uuid)requiredEquals body.operationId.
Request body application/json
schemaVersion1requiredapprovalIdstring (uuid)requiredOwner approval that admits this agent creation. pattern
^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$approvalVersionintegerrequiredmin 1 · max 9007199254740991
operationIdstring (uuid)requiredPersisted creation operation; equals the idempotency-key header and is the status lookup id. pattern
^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$specobjectrequiredspec.namestringrequiredmin length 7 · max length 80 · pattern
^Sandbox(?: .*)?$spec.region"us-central1-a"requiredspec.plan"free"requiredspec.capacityobjectrequiredspec.capacity.profile_id"F1"requiredspec.capacity.cpus1requiredspec.capacity.memory_mb512requiredspec.capacity.volume_size_gb1requiredspec.services"kv" | "memory"[]requiredExactly ["kv", "memory"].
Responses
- 202Creation accepted; the Mind is provisioning.
Response fields
mind_idstring (uuid)requiredpattern
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$statusstringrequired
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/agent/create" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
-H "Content-Type: application/json" \
-d '{
"schemaVersion": 1,
"approvalId": "00000000-0000-4000-8000-000000000000",
"approvalVersion": 1,
"operationId": "00000000-0000-4000-8000-000000000000",
"spec": {
"name": "string",
"region": "us-central1-a",
"plan": "free",
"capacity": {
"profile_id": "F1",
"cpus": 1,
"memory_mb": 512,
"volume_size_gb": 1
},
"services": [
"kv"
]
}
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const idempotencyKey = '<a stable key per change>'
const result = await genesis.call('minds_agentCreateMind', {
body: {
schemaVersion: 1,
approvalId: '00000000-0000-4000-8000-000000000000',
approvalVersion: 1,
operationId: '00000000-0000-4000-8000-000000000000',
spec: {
name: 'string',
region: 'us-central1-a',
plan: 'free',
capacity: {
profile_id: 'F1',
cpus: 1,
memory_mb: 512,
volume_size_gb: 1,
},
services: [
'kv',
],
},
},
}, {
headers: { 'Idempotency-Key': idempotencyKey }, // one key per change, reused on every retry
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_agentCreateMind",
"arguments": {
"body": {
"schemaVersion": 1,
"approvalId": "00000000-0000-4000-8000-000000000000",
"approvalVersion": 1,
"operationId": "00000000-0000-4000-8000-000000000000",
"spec": {
"name": "string",
"region": "us-central1-a",
"plan": "free",
"capacity": {
"profile_id": "F1",
"cpus": 1,
"memory_mb": 512,
"volume_size_gb": 1
},
"services": [
"kv"
]
}
},
"idempotency_key": "<a stable key per change>"
}
}
}Read an agent Mind creation operation
GET/v1/minds/agent/create/{operation_id}
Uses an Auth agent token with kind agent, audience minds-agent-create and purpose minds.agent-create.v1, plus DPoP; the controller verifies the original token and proof. Human sessions, organization API keys and M2M tokens are refused. The gateway serves this route when MINDS_AGENT_CREATE_ENABLED=true; otherwise it answers 503 service_unavailable to a verified credential and 401 to an unverified one.
Parameters
operation_idpath · string (uuid)requireddpopheader · stringrequiredCaller-signed DPoP proof bound to the agent token, for the canonical controller method and URL. Never generated or retried by Genesis.
Responses
- 200Current creation record.
Response fields
mind_idstring (uuid)requiredpattern
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$statusstringrequired
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/agent/create/$OPERATION_ID" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_agentGetCreateOperation', {
operation_id: '<operation_id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_agentGetCreateOperation",
"arguments": {
"operation_id": "<operation_id>"
}
}
}Insert memory using an existing agent credential
POST/v1/minds/agent/memory/episodic
Uses an existing mak_acr credential or Auth agent token, independently of the human Console selection. Requires explicit mind and optional authorized canonical group. No attachment, key creation, token exchange, human delegation or automatic retry. Producer admission is default off (MINDS_AGENT_MEMORY_ENABLED).
Parameters
mindquery · string (uuid)requiredgroupquery · stringdpopheader · stringCaller-signed proof for the controller capability endpoint: POST for insert, GET for read/search, canonical htu excluding query. Required only by sender-constrained agent tokens. No automatic nonce retry.
Request body application/json
eventobjectrequiredevent.idstring (uuid)requiredCaller event UUID; insertion returns a distinct storage UUID used by get. pattern
^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$event.contentstringrequiredNon-whitespace content; maximum 16,000 UTF-8 bytes. min length 1 · max length 16000
event.timestampstring (date-time)requiredmax length 128
event.event_type"Conversation" | "Command" | "Query" | "Document" | "Error" | "Success" | "Learning" | "Decision" | "Action" | "Context" | "Knowledge"event.summarystring | nullNullable summary; maximum 2,000 UTF-8 bytes. max length 2000
event.tagsstring[]embeddingobjectA vector the caller made from the text with its own encoder (One uses Foundry
openai/text-embedding-3-smallat 512 dims). A Mind pins the model and dim of its first vector; a different model or dim answers 422 embedding_mismatch from the Mind (a search falls back to keyword search instead).embedding.modelstringrequiredmin length 1 · max length 128
embedding.dimintegerrequiredmin 1 · max 4096
embedding.vectornumber[]requiredExactly
dimfinite numbers, not all zero.
Responses
- 200Actual persisted agent-memory result.
Response fields
idstring (uuid)requiredPersisted storage UUID; distinct from the caller event UUID. pattern
^[0-9a-f-]{36}$
- 401Existing credential rejected or DPOP_NONCE_REQUIRED. Sign a fresh proof explicitly; this call is never automatically repeated.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/agent/memory/episodic?mind=$MIND" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"event": {
"id": "00000000-0000-4000-8000-000000000000",
"content": "string",
"timestamp": "2026-10-20T00:00:00Z"
}
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_agentInsertEpisodicMemory', {
mind: '<mind>',
body: {
event: {
id: '00000000-0000-4000-8000-000000000000',
content: 'string',
timestamp: '2026-10-20T00:00:00Z',
},
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_agentInsertEpisodicMemory",
"arguments": {
"mind": "<mind>",
"body": {
"event": {
"id": "00000000-0000-4000-8000-000000000000",
"content": "string",
"timestamp": "2026-10-20T00:00:00Z"
}
}
}
}
}Read persisted agent memory by storage UUID
GET/v1/minds/agent/memory/episodic/{storage_id}
Uses an existing mak_acr credential or Auth agent token, independently of the human Console selection. Requires explicit mind and optional authorized canonical group. No attachment, key creation, token exchange, human delegation or automatic retry. Producer admission is default off (MINDS_AGENT_MEMORY_ENABLED).
Parameters
storage_idpath · string (uuid)requiredmindquery · string (uuid)requiredgroupquery · stringdpopheader · stringCaller-signed proof for the controller capability endpoint: POST for insert, GET for read/search, canonical htu excluding query. Required only by sender-constrained agent tokens. No automatic nonce retry.
Responses
- 200Actual persisted agent-memory result.
Response fields
itemobject | nullrequiredversionstringThe event's version (also the ETag); present when item is not null. pattern
^[0-9a-f]{32}$
- 401Existing credential rejected or DPOP_NONCE_REQUIRED. Sign a fresh proof explicitly; this call is never automatically repeated.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/agent/memory/episodic/$STORAGE_ID?mind=$MIND" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_agentGetEpisodicMemory', {
storage_id: '<storage_id>',
mind: '<mind>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_agentGetEpisodicMemory",
"arguments": {
"storage_id": "<storage_id>",
"mind": "<mind>"
}
}
}Update an agent memory event in place
PUT/v1/minds/agent/memory/episodic/{storage_id}
Replaces the event at storage_id for the calling agent (private, or the authorized canonical group). The event keeps its own id (the one chosen at insert); event.id may be left out, and if given must match it. Send If-Match or if_version with the version from a read to refuse lost updates: concurrent writers to one event are serialised and a stale version gets 409. Same credential rules as agentGetEpisodicMemory.
Parameters
storage_idpath · string (uuid)requiredmindquery · string (uuid)requiredgroupquery · stringif-matchheader · stringThe version from a read (the GET's ETag or its version field), or * for any existing version. The write applies only if the event still has that version; otherwise 409 MINDS_VERSION_CONFLICT with current_version. The body field if_version works the same way.
dpopheader · stringCaller-signed proof for the controller capability endpoint: POST for insert, GET for read/search, canonical htu excluding query. Required only by sender-constrained agent tokens. No automatic nonce retry.
Request body application/json
eventobjectrequiredif_versionstringpattern
^(?:[0-9a-f]{32}|\*)$embeddingnumber[]
Responses
- 200The event as stored after the change, with its new version (also the ETag header).
Response fields
idstring (uuid)requiredversionstringpattern
^[0-9a-f]{32}$
- 401Existing credential rejected or DPOP_NONCE_REQUIRED. Sign a fresh proof explicitly; this call is never automatically repeated.
- 409The event changed since that version (version_mismatch, with current_version), it no longer exists (not_found), or another writer holds it (write_in_progress, with retry-after). Read it again and retry.
- 4xx 5xxThe error envelope.
curl -X PUT "https://os.one.ml/api/v1/minds/agent/memory/episodic/$STORAGE_ID?mind=$MIND" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"event": {}
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_agentUpdateEpisodicMemory', {
storage_id: '<storage_id>',
mind: '<mind>',
body: {
event: {},
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_agentUpdateEpisodicMemory",
"arguments": {
"storage_id": "<storage_id>",
"mind": "<mind>",
"body": {
"event": {}
}
}
}
}
}Delete an agent memory event
DELETE/v1/minds/agent/memory/episodic/{storage_id}
Deletes the event at storage_id for the calling agent. With If-Match it deletes only that version (409 otherwise). Same credential rules as agentGetEpisodicMemory.
Parameters
storage_idpath · string (uuid)requiredmindquery · string (uuid)requiredgroupquery · stringif-matchheader · stringThe version from a read (the GET's ETag or its version field), or * for any existing version. The write applies only if the event still has that version; otherwise 409 MINDS_VERSION_CONFLICT with current_version.
dpopheader · stringCaller-signed proof for the controller capability endpoint: POST for insert, GET for read/search, canonical htu excluding query. Required only by sender-constrained agent tokens. No automatic nonce retry.
Responses
- 200The event was deleted.
Response fields
idstring (uuid)requiredversionstringpattern
^[0-9a-f]{32}$
- 401Existing credential rejected or DPOP_NONCE_REQUIRED. Sign a fresh proof explicitly; this call is never automatically repeated.
- 409The event changed since that version (version_mismatch, with current_version), it no longer exists (not_found), or another writer holds it (write_in_progress, with retry-after). Read it again and retry.
- 4xx 5xxThe error envelope.
curl -X DELETE "https://os.one.ml/api/v1/minds/agent/memory/episodic/$STORAGE_ID?mind=$MIND" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_agentDeleteEpisodicMemory', {
storage_id: '<storage_id>',
mind: '<mind>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_agentDeleteEpisodicMemory",
"arguments": {
"storage_id": "<storage_id>",
"mind": "<mind>"
}
}
}
}Search private or explicitly authorized group memory
POST/v1/minds/agent/search
Uses an existing mak_acr credential or Auth agent token, independently of the human Console selection. Requires explicit mind and optional authorized canonical group. No attachment, key creation, token exchange, human delegation or automatic retry. Producer admission is default off (MINDS_AGENT_MEMORY_ENABLED).
Parameters
mindquery · string (uuid)requiredgroupquery · stringdpopheader · stringCaller-signed proof for the controller capability endpoint: POST for insert, GET for read/search, canonical htu excluding query. Required only by sender-constrained agent tokens. No automatic nonce retry.
Request body application/json
textstringrequiredNon-whitespace search text; maximum 1,000 UTF-8 bytes. min length 1 · max length 1000
limitintegermin 1 · max 100 · default
20query_embeddingobjectA vector the caller made from the text with its own encoder (One uses Foundry
openai/text-embedding-3-smallat 512 dims). A Mind pins the model and dim of its first vector; a different model or dim answers 422 embedding_mismatch from the Mind (a search falls back to keyword search instead).query_embedding.modelstringrequiredmin length 1 · max length 128
query_embedding.dimintegerrequiredmin 1 · max 4096
query_embedding.vectornumber[]requiredExactly
dimfinite numbers, not all zero.
Responses
- 200Actual persisted agent-memory result.
Response fields
idstring (uuid)requiredCaller event UUID; insertion returns a distinct storage UUID used by get. pattern
^[0-9a-f-]{36}$contentstringrequiredmin length 1 · max length 16000
timestampstring (date-time)requiredevent_type"Conversation" | "Command" | "Query" | "Document" | "Error" | "Success" | "Learning" | "Decision" | "Action" | "Context" | "Knowledge"requiredsummarystring | nullmax length 2000
tagsstring[]required
- 401Existing credential rejected or DPOP_NONCE_REQUIRED. Sign a fresh proof explicitly; this call is never automatically repeated.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/agent/search?mind=$MIND" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"text": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_agentSearchMemory', {
mind: '<mind>',
body: {
text: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_agentSearchMemory",
"arguments": {
"mind": "<mind>",
"body": {
"text": "string"
}
}
}
}Memory
Persist an episodic event in an explicit ready Mind; never automatically replay
POST/v1/minds/memory/episodic
Requires an original human One account session with a verified pf_console selection (Sandbox, or Live). No caller tenant fields. Org API keys with a Sandbox or Live binding are admitted with minds:write. Live selections reach Live Minds only when the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); the verified environment is forwarded and never falls back to Sandbox. Until then a Live selection answers 409 ENVIRONMENT_NOT_AVAILABLE before any delegation.
Parameters
mindquery · string (uuid)required
Request body application/json
eventobjectrequiredevent.idstring (uuid)requiredCaller event UUID; insertion returns a distinct storage UUID used by get. pattern
^[0-9a-f-]{36}$event.contentstringrequiredmin length 1 · max length 16000
event.timestampstring (date-time)requiredevent.event_type"Conversation" | "Command" | "Query" | "Document" | "Error" | "Success" | "Learning" | "Decision" | "Action" | "Context" | "Knowledge"event.summarystring | nullmax length 2000
event.tagsstring[]embeddingobjectA vector the caller made from the text with its own encoder (One uses Foundry
openai/text-embedding-3-smallat 512 dims). A Mind pins the model and dim of its first vector; a different model or dim answers 422 embedding_mismatch from the Mind (a search falls back to keyword search instead).embedding.modelstringrequiredmin length 1 · max length 128
embedding.dimintegerrequiredmin 1 · max 4096
embedding.vectornumber[]requiredExactly
dimfinite numbers, not all zero.
Responses
- 200Actual persisted service response; creation 202 is provisioning, not Ready.
Response fields
idstring (uuid)requiredPersisted storage UUID; distinct from the caller event UUID. pattern
^[0-9a-f-]{36}$
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 410MIND_GONE: the Mind was deleted and released; its data is archived and it cannot be resumed or used. Not retryable. (Deleting or resizing an already deleted Mind answers 409 MIND_DELETED instead.)
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/memory/episodic?mind=$MIND" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"event": {
"id": "00000000-0000-4000-8000-000000000000",
"content": "string",
"timestamp": "2026-10-20T00:00:00Z"
}
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_insertEpisodicMemory', {
mind: '<mind>',
body: {
event: {
id: '00000000-0000-4000-8000-000000000000',
content: 'string',
timestamp: '2026-10-20T00:00:00Z',
},
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_insertEpisodicMemory",
"arguments": {
"mind": "<mind>",
"body": {
"event": {
"id": "00000000-0000-4000-8000-000000000000",
"content": "string",
"timestamp": "2026-10-20T00:00:00Z"
}
}
}
}
}Read a persisted memory by storage UUID in an explicit ready Mind
GET/v1/minds/memory/episodic/{storage_id}
Requires an original human One account session with a verified pf_console selection (Sandbox, or Live). No caller tenant fields. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). Live selections reach Live Minds only when the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); the verified environment is forwarded and never falls back to Sandbox. Until then a Live selection answers 409 ENVIRONMENT_NOT_AVAILABLE before any delegation.
Parameters
storage_idpath · string (uuid)requiredmindquery · string (uuid)required
Responses
- 200Actual persisted service response; creation 202 is provisioning, not Ready.
Response fields
itemobject | nullrequired
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 410MIND_GONE: the Mind was deleted and released; its data is archived and it cannot be resumed or used. Not retryable. (Deleting or resizing an already deleted Mind answers 409 MIND_DELETED instead.)
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/memory/episodic/$STORAGE_ID?mind=$MIND" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_getEpisodicMemory', {
storage_id: '<storage_id>',
mind: '<mind>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_getEpisodicMemory",
"arguments": {
"storage_id": "<storage_id>",
"mind": "<mind>"
}
}
}Update content of a stored episodic event; event_id must equal storage_id
PUT/v1/minds/memory/episodic/{storage_id}
Original human Console authorization only (Sandbox, or Live). Requires event_id equal to the path storage_id (the persisted storage UUID that insert returns as id, not the caller event UUID); any other value answers 409 EVENT_ID_MISMATCH. Preserves all other stored metadata. No delete/recreate, automatic retry or atomic compare-and-swap guarantee. Reconcile an unknown result with get. Org API keys with a Sandbox or Live binding are admitted with minds:write. Live selections reach Live Minds only when the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); the verified environment is forwarded and never falls back to Sandbox. Until then a Live selection answers 409 ENVIRONMENT_NOT_AVAILABLE before any delegation.
Parameters
storage_idpath · string (uuid)requiredmindquery · string (uuid)required
Request body application/json
event_idstring (uuid)requiredmin length 36 · max length 36
contentstringrequiredmin length 1 · max length 16000
Responses
- 200The existing event content was updated.
Response fields
oktruerequired
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 410MIND_GONE: the Mind was deleted and released; its data is archived and it cannot be resumed or used. Not retryable. (Deleting or resizing an already deleted Mind answers 409 MIND_DELETED instead.)
- 4xx 5xxThe error envelope.
curl -X PUT "https://os.one.ml/api/v1/minds/memory/episodic/$STORAGE_ID?mind=$MIND" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"event_id": "00000000-0000-4000-8000-000000000000",
"content": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_updateEpisodicMemory', {
storage_id: '<storage_id>',
mind: '<mind>',
body: {
event_id: '00000000-0000-4000-8000-000000000000',
content: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_updateEpisodicMemory",
"arguments": {
"storage_id": "<storage_id>",
"mind": "<mind>",
"body": {
"event_id": "00000000-0000-4000-8000-000000000000",
"content": "string"
}
}
}
}Attach the caller's embedding to a stored episodic event (backfill)
POST/v1/minds/memory/episodic/{storage_id}/embedding
Stores (or replaces) the vector of the stored event storage_id (the storage UUID insert returns as id), so hybrid recall can find it. Idempotent. 404 when the event does not exist; 422 embedding_mismatch when the model or dim differs from the Mind's pinned vectors. Requires the gateway flag MINDS_EMBEDDINGS_V1 (dark); without it the path answers 404 NOT_FOUND. Org API keys with a Sandbox or Live binding are admitted with minds:write. Live selections reach Live Minds only when the gateway lists Minds as Live (GENESIS_LIVE_SERVICES).
Parameters
storage_idpath · string (uuid)requiredmindquery · string (uuid)required
Request body application/json
embeddingobjectrequiredA vector the caller made from the text with its own encoder (One uses Foundry
openai/text-embedding-3-smallat 512 dims). A Mind pins the model and dim of its first vector; a different model or dim answers 422 embedding_mismatch from the Mind (a search falls back to keyword search instead).embedding.modelstringrequiredmin length 1 · max length 128
embedding.dimintegerrequiredmin 1 · max 4096
embedding.vectornumber[]requiredExactly
dimfinite numbers, not all zero.
Responses
- 200The vector is stored with the event.
Response fields
oktruerequiredidstring (uuid)required
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 410MIND_GONE: the Mind was deleted and released; its data is archived and it cannot be resumed or used. Not retryable. (Deleting or resizing an already deleted Mind answers 409 MIND_DELETED instead.)
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/memory/episodic/$STORAGE_ID/embedding?mind=$MIND" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"embedding": {
"model": "string",
"dim": 1,
"vector": [
1
]
}
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_setEpisodicEmbedding', {
storage_id: '<storage_id>',
mind: '<mind>',
body: {
embedding: {
model: 'string',
dim: 1,
vector: [
1,
],
},
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_setEpisodicEmbedding",
"arguments": {
"storage_id": "<storage_id>",
"mind": "<mind>",
"body": {
"embedding": {
"model": "string",
"dim": 1,
"vector": [
1
]
}
}
}
}
}List audiences
GET/v1/minds/services/{mind_id}/memory/audiences
Lists the default audience first (every data point sent without audiences), then each fixed or rule audience with its member count. Org API keys with a selected context (minds:read for reads, minds:write for writes; a Mind-scoped key only for its own Minds) or a Console session, admitted exactly as the engine routes they compose. Everything is stored in the caller's own Mind.
Parameters
mind_idpath · string (uuid)required
Responses
- 200OK
Response fields
audiencesobject[]audiences[].[].namestringaudiences[].[].membersstring[]audiences[].[].rulearray | nullaudiences[].[].deletedbooleanaudiences[].[].defaultbooleanaudiences[].[].kind"default" | "fixed" | "rule"audiences[].[].memberCountintegeraudiences[].[].resolvedMembersstring[]audiences[].[].memoryCountintegeraudiences[].[].memoryCountCappedboolean
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 404Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 410MIND_GONE: the Mind was deleted and released; its data is archived and it cannot be resumed or used. Not retryable. (Deleting or resizing an already deleted Mind answers 409 MIND_DELETED instead.)
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/memory/audiences" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_memoryListAudiences', {
mind_id: '<mind_id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_memoryListAudiences",
"arguments": {
"mind_id": "<mind_id>"
}
}
}Read an audience
GET/v1/minds/services/{mind_id}/memory/audiences/{name}
Org API keys with a selected context (minds:read for reads, minds:write for writes; a Mind-scoped key only for its own Minds) or a Console session, admitted exactly as the engine routes they compose. Everything is stored in the caller's own Mind.
Parameters
mind_idpath · string (uuid)requirednamepath · stringrequired
Responses
- 200OK
Response fields
namestringmembersstring[]rulearray | nulldeletedbooleandefaultbooleankind"default" | "fixed" | "rule"memberCountintegerresolvedMembersstring[]memoryCountintegermemoryCountCappedboolean
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 404Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 410MIND_GONE: the Mind was deleted and released; its data is archived and it cannot be resumed or used. Not retryable. (Deleting or resizing an already deleted Mind answers 409 MIND_DELETED instead.)
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/memory/audiences/$NAME" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_memoryGetAudience', {
mind_id: '<mind_id>',
name: '<name>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_memoryGetAudience",
"arguments": {
"mind_id": "<mind_id>",
"name": "<name>"
}
}
}Create or replace an audience
PUT/v1/minds/services/{mind_id}/memory/audiences/{name}
A fixed member list, a rule on identity traits, or both. Applies to recall within seconds. The default audience cannot be replaced or deleted (409, reason default_audience). Org API keys with a selected context (minds:read for reads, minds:write for writes; a Mind-scoped key only for its own Minds) or a Console session, admitted exactly as the engine routes they compose. Everything is stored in the caller's own Mind.
Parameters
mind_idpath · string (uuid)requirednamepath · stringrequired
Request body application/json
membersstring[]rulearray | nullEvery clause must match the identity's traits.
Responses
- 200OK
Response fields
namestringmembersstring[]rulearray | nulldeletedbooleandefaultbooleankind"default" | "fixed" | "rule"memberCountintegerresolvedMembersstring[]memoryCountintegermemoryCountCappedboolean
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 404Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 409Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 410MIND_GONE: the Mind was deleted and released; its data is archived and it cannot be resumed or used. Not retryable. (Deleting or resizing an already deleted Mind answers 409 MIND_DELETED instead.)
- 422Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 503Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 4xx 5xxThe error envelope.
curl -X PUT "https://os.one.ml/api/v1/minds/services/$MIND_ID/memory/audiences/$NAME" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_memorySetAudience', {
mind_id: '<mind_id>',
name: '<name>',
body: {},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_memorySetAudience",
"arguments": {
"mind_id": "<mind_id>",
"name": "<name>",
"body": {}
}
}
}Delete an audience
DELETE/v1/minds/services/{mind_id}/memory/audiences/{name}
The default audience cannot be replaced or deleted (409, reason default_audience). Org API keys with a selected context (minds:read for reads, minds:write for writes; a Mind-scoped key only for its own Minds) or a Console session, admitted exactly as the engine routes they compose. Everything is stored in the caller's own Mind.
Parameters
mind_idpath · string (uuid)requirednamepath · stringrequired
Responses
- 200OK
Response fields
namestringmembersstring[]rulearray | nulldeletedbooleandefaultbooleankind"default" | "fixed" | "rule"memberCountintegerresolvedMembersstring[]memoryCountintegermemoryCountCappedboolean
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 404Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 409Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 410MIND_GONE: the Mind was deleted and released; its data is archived and it cannot be resumed or used. Not retryable. (Deleting or resizing an already deleted Mind answers 409 MIND_DELETED instead.)
- 503Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 4xx 5xxThe error envelope.
curl -X DELETE "https://os.one.ml/api/v1/minds/services/$MIND_ID/memory/audiences/$NAME" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_memoryDeleteAudience', {
mind_id: '<mind_id>',
name: '<name>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_memoryDeleteAudience",
"arguments": {
"mind_id": "<mind_id>",
"name": "<name>"
}
}
}Recompute an audience
POST/v1/minds/services/{mind_id}/memory/audiences/{name}/recompute
Rule audiences are evaluated on every recall; this reads back who the audience reaches now. Org API keys with a selected context (minds:read for reads, minds:write for writes; a Mind-scoped key only for its own Minds) or a Console session, admitted exactly as the engine routes they compose. Everything is stored in the caller's own Mind.
Parameters
mind_idpath · string (uuid)requirednamepath · stringrequired
Request body application/json
A JSON object; see the description above.
Responses
- 200OK
Response fields
namestringrecomputedbooleanmembersstring[]memberCountintegerappliedAtstring (date-time)
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 404Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 410MIND_GONE: the Mind was deleted and released; its data is archived and it cannot be resumed or used. Not retryable. (Deleting or resizing an already deleted Mind answers 409 MIND_DELETED instead.)
- 422Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/memory/audiences/$NAME/recompute" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_memoryRecomputeAudience', {
mind_id: '<mind_id>',
name: '<name>',
body: {},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_memoryRecomputeAudience",
"arguments": {
"mind_id": "<mind_id>",
"name": "<name>",
"body": {}
}
}
}Compress a tool result
POST/v1/minds/services/{mind_id}/memory/compress
Deterministic: strips ANSI codes, empty fields and repeated items or lines, clips very long strings. No model call. Org API keys with a selected context (minds:read for reads, minds:write for writes; a Mind-scoped key only for its own Minds) or a Console session, admitted exactly as the engine routes they compose. Everything is stored in the caller's own Mind.
Parameters
mind_idpath · string (uuid)required
Request body application/json
contentstringrequiredmax length 60000
Responses
- 200OK
Response fields
contentstringtokensBeforeintegertokensAfterintegersavednumber
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 404Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 410MIND_GONE: the Mind was deleted and released; its data is archived and it cannot be resumed or used. Not retryable. (Deleting or resizing an already deleted Mind answers 409 MIND_DELETED instead.)
- 422Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/memory/compress" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"content": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_memoryCompress', {
mind_id: '<mind_id>',
body: {
content: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_memoryCompress",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"content": "string"
}
}
}
}Estimate an ingest
POST/v1/minds/services/{mind_id}/memory/estimate
The same body as ingest: points, model and embedding calls and tokens it would use. Nothing is stored and nothing is billed. Org API keys with a selected context (minds:read for reads, minds:write for writes; a Mind-scoped key only for its own Minds) or a Console session, admitted exactly as the engine routes they compose. Everything is stored in the caller's own Mind.
Parameters
mind_idpath · string (uuid)required
Request body application/json
Type: object | object
Responses
- 200OK
Response fields
pointsintegerderivingintegerbatchAllowedbooleanmodelCallsintegerminEmbeddingCallsintegermaxEmbeddingCallsintegercontentTokensintegerderivationModelstring | nullstoredfalsebilledfalseitemsobject[]items[].[].idstring | nullitems[].[].tokensintegeritems[].[].derivebooleanitems[].[].timestampstring (date-time)
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 404Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 410MIND_GONE: the Mind was deleted and released; its data is archived and it cannot be resumed or used. Not retryable. (Deleting or resizing an already deleted Mind answers 409 MIND_DELETED instead.)
- 422Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/memory/estimate" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"content": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_memoryEstimateIngest', {
mind_id: '<mind_id>',
body: {
content: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_memoryEstimateIngest",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"content": "string"
}
}
}
}List identities
GET/v1/minds/services/{mind_id}/memory/identities
Identities sorted by id, optionally filtered by one trait, a page at a time. Org API keys with a selected context (minds:read for reads, minds:write for writes; a Mind-scoped key only for its own Minds) or a Console session, admitted exactly as the engine routes they compose. Everything is stored in the caller's own Mind.
Parameters
mind_idpath · string (uuid)requiredtraitKeyquery · stringOnly identities with this trait (with traitValue).
traitValuequery · stringThe trait's value, compared as text.
limitquery · integercursorquery · stringnextCursor from the previous page.
Responses
- 200OK
Response fields
identitiesobject[]identities[].[].idstringidentities[].[].traitsobjectidentities[].[].audiencesstring[]identities[].[].deletedbooleantotalintegernextCursorstring | null
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 404Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 410MIND_GONE: the Mind was deleted and released; its data is archived and it cannot be resumed or used. Not retryable. (Deleting or resizing an already deleted Mind answers 409 MIND_DELETED instead.)
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/memory/identities" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_memoryListIdentities', {
mind_id: '<mind_id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_memoryListIdentities",
"arguments": {
"mind_id": "<mind_id>"
}
}
}Read an identity
GET/v1/minds/services/{mind_id}/memory/identities/{id}
Org API keys with a selected context (minds:read for reads, minds:write for writes; a Mind-scoped key only for its own Minds) or a Console session, admitted exactly as the engine routes they compose. Everything is stored in the caller's own Mind.
Parameters
mind_idpath · string (uuid)requiredidpath · stringrequiredIdentity
Responses
- 200OK
Response fields
idstringtraitsobjectaudiencesstring[]deletedboolean
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 404Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 410MIND_GONE: the Mind was deleted and released; its data is archived and it cannot be resumed or used. Not retryable. (Deleting or resizing an already deleted Mind answers 409 MIND_DELETED instead.)
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/memory/identities/$ID" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_memoryGetIdentity', {
mind_id: '<mind_id>',
id: '<id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_memoryGetIdentity",
"arguments": {
"mind_id": "<mind_id>",
"id": "<id>"
}
}
}Set an identity's traits
PUT/v1/minds/services/{mind_id}/memory/identities/{id}
Applies to recall within seconds. Org API keys with a selected context (minds:read for reads, minds:write for writes; a Mind-scoped key only for its own Minds) or a Console session, admitted exactly as the engine routes they compose. Everything is stored in the caller's own Mind.
Parameters
mind_idpath · string (uuid)requiredidpath · stringrequiredIdentity
Request body application/json
traitsobjectrequired
Responses
- 200OK
Response fields
idstringtraitsobjectaudiencesstring[]deletedboolean
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 404Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 409Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 410MIND_GONE: the Mind was deleted and released; its data is archived and it cannot be resumed or used. Not retryable. (Deleting or resizing an already deleted Mind answers 409 MIND_DELETED instead.)
- 422Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 503Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 4xx 5xxThe error envelope.
curl -X PUT "https://os.one.ml/api/v1/minds/services/$MIND_ID/memory/identities/$ID" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"traits": {}
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_memorySetIdentity', {
mind_id: '<mind_id>',
id: '<id>',
body: {
traits: {},
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_memorySetIdentity",
"arguments": {
"mind_id": "<mind_id>",
"id": "<id>",
"body": {
"traits": {}
}
}
}
}Delete an identity
DELETE/v1/minds/services/{mind_id}/memory/identities/{id}
Org API keys with a selected context (minds:read for reads, minds:write for writes; a Mind-scoped key only for its own Minds) or a Console session, admitted exactly as the engine routes they compose. Everything is stored in the caller's own Mind.
Parameters
mind_idpath · string (uuid)requiredidpath · stringrequiredIdentity
Responses
- 200OK
Response fields
idstringtraitsobjectaudiencesstring[]deletedboolean
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 404Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 409Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 410MIND_GONE: the Mind was deleted and released; its data is archived and it cannot be resumed or used. Not retryable. (Deleting or resizing an already deleted Mind answers 409 MIND_DELETED instead.)
- 503Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 4xx 5xxThe error envelope.
curl -X DELETE "https://os.one.ml/api/v1/minds/services/$MIND_ID/memory/identities/$ID" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_memoryDeleteIdentity', {
mind_id: '<mind_id>',
id: '<id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_memoryDeleteIdentity",
"arguments": {
"mind_id": "<mind_id>",
"id": "<id>"
}
}
}Merge an identity's traits
PATCH/v1/minds/services/{mind_id}/memory/identities/{id}
Sets the named traits and removes those sent as null; every other trait is kept. Applies to recall at once. Org API keys with a selected context (minds:read for reads, minds:write for writes; a Mind-scoped key only for its own Minds) or a Console session, admitted exactly as the engine routes they compose. Everything is stored in the caller's own Mind.
Parameters
mind_idpath · string (uuid)requiredidpath · stringrequiredIdentity
Request body application/json
traitsobjectrequiredTraits to set; null removes that trait. Traits not named are kept.
Responses
- 200OK
Response fields
idstringtraitsobjectaudiencesstring[]deletedboolean
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 404Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 409Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 410MIND_GONE: the Mind was deleted and released; its data is archived and it cannot be resumed or used. Not retryable. (Deleting or resizing an already deleted Mind answers 409 MIND_DELETED instead.)
- 422Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 503Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 4xx 5xxThe error envelope.
curl -X PATCH "https://os.one.ml/api/v1/minds/services/$MIND_ID/memory/identities/$ID" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"traits": {}
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_memoryUpdateIdentityTraits', {
mind_id: '<mind_id>',
id: '<id>',
body: {
traits: {},
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_memoryUpdateIdentityTraits",
"arguments": {
"mind_id": "<mind_id>",
"id": "<id>",
"body": {
"traits": {}
}
}
}
}Replace identities in bulk
POST/v1/minds/services/{mind_id}/memory/identities/bulk
Creates or replaces the full trait sets of 1 to 1000 identities in one write: all or nothing; a repeated id, the last row wins. Org API keys with a selected context (minds:read for reads, minds:write for writes; a Mind-scoped key only for its own Minds) or a Console session, admitted exactly as the engine routes they compose. Everything is stored in the caller's own Mind.
Parameters
mind_idpath · string (uuid)required
Request body application/json
itemsobject[]requireditems[].[].idstringrequiredpattern
^[A-Za-z0-9._:@-]{1,128}$items[].[].traitsobjectThe identity's full trait set; omitted or empty clears it.
Responses
- 200OK
Response fields
replacedinteger
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 404Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 409Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 410MIND_GONE: the Mind was deleted and released; its data is archived and it cannot be resumed or used. Not retryable. (Deleting or resizing an already deleted Mind answers 409 MIND_DELETED instead.)
- 422Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 503Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/memory/identities/bulk" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"items": [
{
"id": "string"
}
]
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_memoryReplaceIdentities', {
mind_id: '<mind_id>',
body: {
items: [
{
id: 'string',
},
],
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_memoryReplaceIdentities",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"items": [
{
"id": "string"
}
]
}
}
}
}Ingest timestamped data points (one, or up to 1000 in order)
POST/v1/minds/services/{mind_id}/memory/ingest
Stores content with timestamp, label and metadata, derives memory kinds with statuses, replaces by id and honours idempotencyKey. Org API keys with a selected context (minds:read for reads, minds:write for writes; a Mind-scoped key only for its own Minds) or a Console session, admitted exactly as the engine routes they compose. Everything is stored in the caller's own Mind. A batch holds up to 1000 points (written 8 at a time; a point that supersedes another, or is superseded in the batch, waits for every earlier point; a batch still writing after 40 s stops and is rolled back, 503 reason batch_time_budget: send it in smaller batches), or up to 10 points that derive (each runs a model call); a larger deriving batch is refused with 422 (field items, reason derive_batch_max). An omitted timestamp is not part of what an idempotencyKey binds, so a retry of the same body matches. Concurrent writes to one id (or one idempotencyKey) are applied one at a time on every gateway instance; a write still waiting after 20 s is 409 MINDS_MEMORY_BUSY with nothing written. An idempotencyKey write is refused (503, reason lock_unavailable) rather than risk a double write when the lock store does not answer. A repeated id or idempotencyKey in one batch is 422 naming the repeat (field items.<n>.id or items.<n>.idempotencyKey). A batch is all or nothing: if an item fails, the error names it (field items.<n>, or items.<n>.<field>), and everything the request wrote is removed again (idempotency answers included), every generation or point it replaced or superseded is current again, and no ingestion record is kept. The audience 'default' means everyone. Ingest and estimate accept bodies up to 8 MiB; other memory routes 64 KiB.
Parameters
mind_idpath · string (uuid)required
Request body application/json
Type: object | object
Responses
- 200OK
Response fields
Type:
object | object - 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 404Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 409Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 410MIND_GONE: the Mind was deleted and released; its data is archived and it cannot be resumed or used. Not retryable. (Deleting or resizing an already deleted Mind answers 409 MIND_DELETED instead.)
- 422Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 503Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/memory/ingest" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"content": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_memoryIngest', {
mind_id: '<mind_id>',
body: {
content: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_memoryIngest",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"content": "string"
}
}
}
}Read a data point's ingest status
GET/v1/minds/services/{mind_id}/memory/ingest/{id}
Status, generation, derivation outcome and supersession of one data point. Org API keys with a selected context (minds:read for reads, minds:write for writes; a Mind-scoped key only for its own Minds) or a Console session, admitted exactly as the engine routes they compose. Everything is stored in the caller's own Mind.
Parameters
mind_idpath · string (uuid)requiredidpath · stringrequiredData point id
Responses
- 200OK
Response fields
idstringpattern
^[A-Za-z0-9._:@-]{1,128}$statusstringlabelstring | nullmetadataobject | nullaudiencesstring[]generationintegeringestedAtstring (date-time)supersededAtstring | null (date-time)derivationstringderivedintegergenerationsobject[]
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 404Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 410MIND_GONE: the Mind was deleted and released; its data is archived and it cannot be resumed or used. Not retryable. (Deleting or resizing an already deleted Mind answers 409 MIND_DELETED instead.)
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/memory/ingest/$ID" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_memoryIngestStatus', {
mind_id: '<mind_id>',
id: '<id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_memoryIngestStatus",
"arguments": {
"mind_id": "<mind_id>",
"id": "<id>"
}
}
}Ingestion status and explanation
GET/v1/minds/services/{mind_id}/memory/ingestions/{id}
Per item: completed, failed or not started; searchable now; derivation; and the next step. Does not change anything. Org API keys with a selected context (minds:read for reads, minds:write for writes; a Mind-scoped key only for its own Minds) or a Console session, admitted exactly as the engine routes they compose. Everything is stored in the caller's own Mind.
Parameters
mind_idpath · string (uuid)requiredidpath · stringrequiredIngestion id (returned by ingest)
Responses
- 200OK
Response fields
idstringcreatedAtstring (date-time)status"completed" | "failed"completedintegerfailedintegernotStartedintegersearchableintegerderivationFailedintegeritemsobject[]items[].[].idstringitems[].[].state"completed" | "failed" | "not_started" | "rolled_back"items[].[].errorstringitems[].[].generationinteger | nullitems[].[].searchablebooleanitems[].[].derivationstring | nullitems[].[].derivedintegeritems[].[].supersededAtstring | nullitems[].[].deletedbooleanitems[].[].nextStepstringrolledBackintegerItems written and then removed again because a later item failed (the batch is all or nothing).
partialbooleanTrue when part of the record was erased with one of its data points: those items are no longer listed.
unlistedintegerItems of the ingestion the record no longer lists (erased with a part). Delete those points by id.
- 400Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 404Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 410MIND_GONE: the Mind was deleted and released; its data is archived and it cannot be resumed or used. Not retryable. (Deleting or resizing an already deleted Mind answers 409 MIND_DELETED instead.)
- 422Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/memory/ingestions/$ID" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_memoryGetIngestion', {
mind_id: '<mind_id>',
id: '<id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_memoryGetIngestion",
"arguments": {
"mind_id": "<mind_id>",
"id": "<id>"
}
}
}Delete what an ingestion wrote
DELETE/v1/minds/services/{mind_id}/memory/ingestions/{id}
Deletes each generation this ingestion created (source and derived rows); a data point left with no generation is deleted, and a replaced earlier generation becomes current again. The ingestion record (ids and states, no content) stays until a point it names is erased. Org API keys with a selected context (minds:read for reads, minds:write for writes; a Mind-scoped key only for its own Minds) or a Console session, admitted exactly as the engine routes they compose. Everything is stored in the caller's own Mind. When the record is partial (a part was erased with one of its points), the items it still lists are deleted and the response says partial with the count it no longer lists (deleted: false).
Parameters
mind_idpath · string (uuid)requiredidpath · stringrequiredIngestion id (returned by ingest)
Responses
- 200OK
Response fields
idstringdeletedbooleanFalse when the record is partial or an undo failed: see unlisted and failed.
generationsintegerdataPointsintegerrowsintegerpartialbooleanTrue when part of the record was erased with one of its data points: those items are no longer listed.
unlistedintegerItems of the ingestion the record no longer lists (erased with a part). Delete those points by id.
failedintegerGenerations that could not be undone (the engine refused); send the delete again.
- 400Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 404Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 409Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 410MIND_GONE: the Mind was deleted and released; its data is archived and it cannot be resumed or used. Not retryable. (Deleting or resizing an already deleted Mind answers 409 MIND_DELETED instead.)
- 422Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 503Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 4xx 5xxThe error envelope.
curl -X DELETE "https://os.one.ml/api/v1/minds/services/$MIND_ID/memory/ingestions/$ID" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_memoryDeleteIngestion', {
mind_id: '<mind_id>',
id: '<id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_memoryDeleteIngestion",
"arguments": {
"mind_id": "<mind_id>",
"id": "<id>"
}
}
}Retry an ingestion's failed derivation
POST/v1/minds/services/{mind_id}/memory/ingestions/{id}/retry
Re-runs derivation (a model call, billed to the caller) for each generation of this ingestion whose derivation failed, in place: no new generation. Org API keys with a selected context (minds:read for reads, minds:write for writes; a Mind-scoped key only for its own Minds) or a Console session, admitted exactly as the engine routes they compose. Everything is stored in the caller's own Mind.
Parameters
mind_idpath · string (uuid)requiredidpath · stringrequiredIngestion id (returned by ingest)
Request body application/json
A JSON object; see the description above.
Responses
- 200OK
Response fields
idstringretriedintegerderivedintegerstillFailedstring[]partialbooleanTrue when part of the record was erased with one of its data points: those items are no longer listed.
unlistedintegerItems of the ingestion the record no longer lists (erased with a part). Delete those points by id.
- 400Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 404Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 409Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 410MIND_GONE: the Mind was deleted and released; its data is archived and it cannot be resumed or used. Not retryable. (Deleting or resizing an already deleted Mind answers 409 MIND_DELETED instead.)
- 422Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 503Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/memory/ingestions/$ID/retry" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_memoryRetryIngestion', {
mind_id: '<mind_id>',
id: '<id>',
body: {},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_memoryRetryIngestion",
"arguments": {
"mind_id": "<mind_id>",
"id": "<id>",
"body": {}
}
}
}Read a data point
GET/v1/minds/services/{mind_id}/memory/points/{id}
Same answer as the ingest status. Org API keys with a selected context (minds:read for reads, minds:write for writes; a Mind-scoped key only for its own Minds) or a Console session, admitted exactly as the engine routes they compose. Everything is stored in the caller's own Mind.
Parameters
mind_idpath · string (uuid)requiredidpath · stringrequiredData point id
Responses
- 200OK
Response fields
idstringpattern
^[A-Za-z0-9._:@-]{1,128}$statusstringlabelstring | nullmetadataobject | nullaudiencesstring[]generationintegeringestedAtstring (date-time)supersededAtstring | null (date-time)derivationstringderivedintegergenerationsobject[]
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 404Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 410MIND_GONE: the Mind was deleted and released; its data is archived and it cannot be resumed or used. Not retryable. (Deleting or resizing an already deleted Mind answers 409 MIND_DELETED instead.)
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/memory/points/$ID" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_memoryGetDataPoint', {
mind_id: '<mind_id>',
id: '<id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_memoryGetDataPoint",
"arguments": {
"mind_id": "<mind_id>",
"id": "<id>"
}
}
}Delete a data point and everything derived from it
DELETE/v1/minds/services/{mind_id}/memory/points/{id}
Deletes every version of the data point and all memory derived from it, at once. Org API keys with a selected context (minds:read for reads, minds:write for writes; a Mind-scoped key only for its own Minds) or a Console session, admitted exactly as the engine routes they compose. Everything is stored in the caller's own Mind.
Parameters
mind_idpath · string (uuid)requiredidpath · stringrequiredData point id
Responses
- 200OK
Response fields
idstringpattern
^[A-Za-z0-9._:@-]{1,128}$deletedbooleanTrue only when every row of the data point is gone (same as complete).
rowsintegergenerationsintegercompletebooleanFalse when the data point has so many generations that one call could not erase them all: call again until true.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 404Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 409Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 410MIND_GONE: the Mind was deleted and released; its data is archived and it cannot be resumed or used. Not retryable. (Deleting or resizing an already deleted Mind answers 409 MIND_DELETED instead.)
- 503Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 4xx 5xxThe error envelope.
curl -X DELETE "https://os.one.ml/api/v1/minds/services/$MIND_ID/memory/points/$ID" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_memoryDeleteDataPoint', {
mind_id: '<mind_id>',
id: '<id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_memoryDeleteDataPoint",
"arguments": {
"mind_id": "<mind_id>",
"id": "<id>"
}
}
}A data point's timeline
GET/v1/minds/services/{mind_id}/memory/points/{id}/timeline
Each generation's ingest, derivation and supersession, oldest first. Org API keys with a selected context (minds:read for reads, minds:write for writes; a Mind-scoped key only for its own Minds) or a Console session, admitted exactly as the engine routes they compose. Everything is stored in the caller's own Mind.
Parameters
mind_idpath · string (uuid)requiredidpath · stringrequiredData point id
Responses
- 200OK
Response fields
idstringeventsobject[]events[].[].atstringevents[].[].type"ingested" | "derived" | "superseded"events[].[].generationintegerevents[].[].ingestionIdstring | null
- 400Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 404Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 410MIND_GONE: the Mind was deleted and released; its data is archived and it cannot be resumed or used. Not retryable. (Deleting or resizing an already deleted Mind answers 409 MIND_DELETED instead.)
- 422Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/memory/points/$ID/timeline" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_memoryPointTimeline', {
mind_id: '<mind_id>',
id: '<id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_memoryPointTimeline",
"arguments": {
"mind_id": "<mind_id>",
"id": "<id>"
}
}
}Delete data points in bulk
POST/v1/minds/services/{mind_id}/memory/points/delete
Deletes 1 to 100 data points and everything derived from them. Every id must exist first: one missing is 404 (field ids.<n>) and nothing is deleted. Org API keys with a selected context (minds:read for reads, minds:write for writes; a Mind-scoped key only for its own Minds) or a Console session, admitted exactly as the engine routes they compose. Everything is stored in the caller's own Mind.
Parameters
mind_idpath · string (uuid)required
Request body application/json
idsstring[]required
Responses
- 200OK
Response fields
deletedintegercompletebooleanincompletestring[]rowsinteger
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 404Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 409Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 410MIND_GONE: the Mind was deleted and released; its data is archived and it cannot be resumed or used. Not retryable. (Deleting or resizing an already deleted Mind answers 409 MIND_DELETED instead.)
- 422Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 503Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/memory/points/delete" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"ids": [
"string"
]
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_memoryDeletePoints', {
mind_id: '<mind_id>',
body: {
ids: [
'string',
],
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_memoryDeletePoints",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"ids": [
"string"
]
}
}
}
}Recall dated, sourced evidence within a token budget
POST/v1/minds/services/{mind_id}/memory/recall
Point-in-time recall (queryTimestamp, occurredFrom/occurredTo) with budgets of 8k, 16k, 24k or 32k tokens; returns asOf and tokensUsed. Org API keys with a selected context (minds:read for reads, minds:write for writes; a Mind-scoped key only for its own Minds) or a Console session, admitted exactly as the engine routes they compose. Everything is stored in the caller's own Mind.
Parameters
mind_idpath · string (uuid)required
Request body application/json
querystringrequiredmin length 1 · max length 4000
identitystringThe reader. Only memory for the audiences this identity belongs to (members or trait rules) is returned. Omitted: the whole Mind. pattern
^[A-Za-z0-9._:@-]{1,128}$budgetintegerToken budget for the evidence returned (256..32000). Not with level. min 256 · max 32000 · default
8000queryTimestampstring (date-time)Recall as of this moment: only memory ingested by then and not yet superseded then.
occurredFromstring (date-time)occurredTostring (date-time)kinds"source" | "event" | "observation" | "claim" | "rule" | "decision" | "membership" | "identity" | "mention" | "temporal-anchor"[]statuses"hypothetical" | "proposed" | "retracted" | null[]Default: every status except retracted.
includeSupersededbooleandefault
falselimitintegermin 1 · max 200
level"low" | "medium" | "high" | "extra-high"Named budget: low 8000, medium 16000, high 24000, extra-high 32000 tokens. Not with budget.
sort"relevance" | "chronological"chronological: the evidence chosen by relevance within the budget, oldest first. default
"relevance"
Responses
- 200OK
Response fields
asOfstring (date-time)budgetintegertokensUsedintegerevidenceobject[]evidence[].[].idstring (uuid)evidence[].[].kindstringevidence[].[].statusstring | nullevidence[].[].contentstringevidence[].[].occurredAtstring (date-time)evidence[].[].ingestedAtstring (date-time)evidence[].[].supersededAtstring | null (date-time)evidence[].[].sourceobjectevidence[].[].source.dataPointIdstring | nullevidence[].[].source.generationinteger | nullevidence[].[].source.labelstring | nullevidence[].[].source.sourceIdstringevidence[].[].metadataobjecttruncatedbooleanomittedintegerretentionDaysinteger | nullidentitystringaudiencesstring[]tookMsinteger
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 404Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 410MIND_GONE: the Mind was deleted and released; its data is archived and it cannot be resumed or used. Not retryable. (Deleting or resizing an already deleted Mind answers 409 MIND_DELETED instead.)
- 422Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/memory/recall" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_memoryRecall', {
mind_id: '<mind_id>',
body: {
query: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_memoryRecall",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"query": "string"
}
}
}
}Apply the plan's retention now
POST/v1/minds/services/{mind_id}/memory/retention
Deletes data points (and what was derived from them) ingested before the plan's retention: free 365 days, pro 3 years, enterprise unlimited. Recall already leaves them out. Each call scans up to 10 pages of data points, collects the expired ones and then deletes them; when more is true, call again with the returned cursor (null after deletions: start again from the first page). A Mind whose plan is unknown is never swept (503, reason plan_unknown). Org API keys with a selected context (minds:read for reads, minds:write for writes; a Mind-scoped key only for its own Minds) or a Console session, admitted exactly as the engine routes they compose. Everything is stored in the caller's own Mind.
Parameters
mind_idpath · string (uuid)required
Request body application/json
cursorstringThe cursor a previous call returned, to continue the sweep. min length 1 · max length 512
Responses
- 200OK
Response fields
retentionDaysinteger | nulldeletedintegerscannedintegerincompleteintegerExpired data points whose erase did not finish in this call;
moreis true and the next call continues them.cursorstring | nullmoreboolean
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 404Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 409Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 410MIND_GONE: the Mind was deleted and released; its data is archived and it cannot be resumed or used. Not retryable. (Deleting or resizing an already deleted Mind answers 409 MIND_DELETED instead.)
- 422Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 503Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/memory/retention" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_memoryRetentionSweep', {
mind_id: '<mind_id>',
body: {},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_memoryRetentionSweep",
"arguments": {
"mind_id": "<mind_id>",
"body": {}
}
}
}Trace a memory or source row
GET/v1/minds/services/{mind_id}/memory/trace/{id}
What the row is, its generation, validity, replacement and ingestion, and counts of what it was built from and what was built on it. Org API keys with a selected context (minds:read for reads, minds:write for writes; a Mind-scoped key only for its own Minds) or a Console session, admitted exactly as the engine routes they compose. Everything is stored in the caller's own Mind.
Parameters
mind_idpath · string (uuid)requiredidpath · string (uuid)requiredA source or memory row id (from recall evidence or lineage)
Responses
- 200OK
Response fields
idstringtype"source" | "memory"kindstringstatusstring | nullcontentstringoccurredAtstringingestedAtstringsupersededAtstring | nullvalidbooleandataPointIdstringgenerationintegeringestionIdstring | nulllabelstring | nullreplacedByobject | nullcountsobjectcounts.inputsintegercounts.outputsinteger
- 400Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 404Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 410MIND_GONE: the Mind was deleted and released; its data is archived and it cannot be resumed or used. Not retryable. (Deleting or resizing an already deleted Mind answers 409 MIND_DELETED instead.)
- 422Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/memory/trace/$ID" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_memoryTraceNode', {
mind_id: '<mind_id>',
id: '<id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_memoryTraceNode",
"arguments": {
"mind_id": "<mind_id>",
"id": "<id>"
}
}
}Trace lineage
GET/v1/minds/services/{mind_id}/memory/trace/{id}/lineage
The row, what it was derived from (inputs), what was derived from it (outputs), and every revision of its data point. Org API keys with a selected context (minds:read for reads, minds:write for writes; a Mind-scoped key only for its own Minds) or a Console session, admitted exactly as the engine routes they compose. Everything is stored in the caller's own Mind.
Parameters
mind_idpath · string (uuid)requiredidpath · string (uuid)requiredA source or memory row id (from recall evidence or lineage)
Responses
- 200OK
Response fields
nodeobjectnode.idstringnode.type"source" | "memory"node.kindstringnode.statusstring | nullnode.contentstringnode.occurredAtstringnode.ingestedAtstringnode.supersededAtstring | nullnode.validbooleannode.dataPointIdstringnode.generationintegernode.ingestionIdstring | nullnode.labelstring | nullnode.replacedByobject | nullnode.countsobjectnode.counts.inputsintegernode.counts.outputsintegerinputsobject[]inputs[].[].idstringinputs[].[].typestringinputs[].[].edgestringoutputsobject[]outputs[].[].idstringoutputs[].[].typestringoutputs[].[].edgestringrevisionsobject[]
- 400Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 404Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 410MIND_GONE: the Mind was deleted and released; its data is archived and it cannot be resumed or used. Not retryable. (Deleting or resizing an already deleted Mind answers 409 MIND_DELETED instead.)
- 422Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/memory/trace/$ID/lineage" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_memoryTraceLineage', {
mind_id: '<mind_id>',
id: '<id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_memoryTraceLineage",
"arguments": {
"mind_id": "<mind_id>",
"id": "<id>"
}
}
}Memory usage
GET/v1/minds/services/{mind_id}/memory/usage
Data points, generations, derived memories, audiences, identities and webhooks in this Mind, with its plan and retention. Org API keys with a selected context (minds:read for reads, minds:write for writes; a Mind-scoped key only for its own Minds) or a Console session, admitted exactly as the engine routes they compose. Everything is stored in the caller's own Mind.
Parameters
mind_idpath · string (uuid)required
Responses
- 200OK
Response fields
dataPointsintegerdataPointsCappedbooleangenerationsintegerderivedMemoriesintegeraudiencesintegeridentitiesintegerwebhooksintegerplanstring | nullretentionDaysinteger | nullatstring (date-time)
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 404Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 410MIND_GONE: the Mind was deleted and released; its data is archived and it cannot be resumed or used. Not retryable. (Deleting or resizing an already deleted Mind answers 409 MIND_DELETED instead.)
- 422Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/memory/usage" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_memoryUsage', {
mind_id: '<mind_id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_memoryUsage",
"arguments": {
"mind_id": "<mind_id>"
}
}
}List memory webhooks
GET/v1/minds/services/{mind_id}/memory/webhooks
Org API keys with a selected context (minds:read for reads, minds:write for writes; a Mind-scoped key only for its own Minds) or a Console session, admitted exactly as the engine routes they compose. Everything is stored in the caller's own Mind.
Parameters
mind_idpath · string (uuid)required
Responses
- 200OK
Response fields
webhooksobject[]webhooks[].[].idstringwebhooks[].[].urlstringwebhooks[].[].eventsstring[]webhooks[].[].createdAtstring (date-time)webhooks[].[].secretstringReturned once, at creation. Deliveries carry x-minds-signature: t=<unix>,v1=<hex HMAC-SHA256 of '<t>.<body>'>.
webhooks[].[].deletedboolean
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 404Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 410MIND_GONE: the Mind was deleted and released; its data is archived and it cannot be resumed or used. Not retryable. (Deleting or resizing an already deleted Mind answers 409 MIND_DELETED instead.)
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/memory/webhooks" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_memoryListWebhooks', {
mind_id: '<mind_id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_memoryListWebhooks",
"arguments": {
"mind_id": "<mind_id>"
}
}
}Create a memory webhook
POST/v1/minds/services/{mind_id}/memory/webhooks
Signed POSTs on ingest.completed and datapoint.deleted to a public https URL. The secret is returned once. Org API keys with a selected context (minds:read for reads, minds:write for writes; a Mind-scoped key only for its own Minds) or a Console session, admitted exactly as the engine routes they compose. Everything is stored in the caller's own Mind.
Parameters
mind_idpath · string (uuid)required
Request body application/json
urlstring (uri)requiredhttps on a public host.
events"ingest.completed" | "datapoint.deleted"[]
Responses
- 200OK
Response fields
idstringurlstringeventsstring[]createdAtstring (date-time)secretstringReturned once, at creation. Deliveries carry x-minds-signature: t=<unix>,v1=<hex HMAC-SHA256 of '<t>.<body>'>.
deletedboolean
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 404Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 409Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 410MIND_GONE: the Mind was deleted and released; its data is archived and it cannot be resumed or used. Not retryable. (Deleting or resizing an already deleted Mind answers 409 MIND_DELETED instead.)
- 422Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 503Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/memory/webhooks" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://example.com"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_memoryCreateWebhook', {
mind_id: '<mind_id>',
body: {
url: 'https://example.com',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_memoryCreateWebhook",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"url": "https://example.com"
}
}
}
}Delete a memory webhook
DELETE/v1/minds/services/{mind_id}/memory/webhooks/{id}
Org API keys with a selected context (minds:read for reads, minds:write for writes; a Mind-scoped key only for its own Minds) or a Console session, admitted exactly as the engine routes they compose. Everything is stored in the caller's own Mind.
Parameters
mind_idpath · string (uuid)requiredidpath · stringrequired
Responses
- 200OK
Response fields
idstringurlstringeventsstring[]createdAtstring (date-time)secretstringReturned once, at creation. Deliveries carry x-minds-signature: t=<unix>,v1=<hex HMAC-SHA256 of '<t>.<body>'>.
deletedboolean
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 404Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 409Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 410MIND_GONE: the Mind was deleted and released; its data is archived and it cannot be resumed or used. Not retryable. (Deleting or resizing an already deleted Mind answers 409 MIND_DELETED instead.)
- 503Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 4xx 5xxThe error envelope.
curl -X DELETE "https://os.one.ml/api/v1/minds/services/$MIND_ID/memory/webhooks/$ID" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_memoryDeleteWebhook', {
mind_id: '<mind_id>',
id: '<id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_memoryDeleteWebhook",
"arguments": {
"mind_id": "<mind_id>",
"id": "<id>"
}
}
}Profiles
List the Mind instance profiles, with the plans and environments each is offered in
GET/v1/minds/profiles
Served only when the gateway enables MINDS_SCALING_V1 (default off; until then this path answers 404 NOT_FOUND like any unknown Minds path) and the Minds controller enables MINDS_SCALING_POLICY. An original human One account session with a verified pf_console selection (Sandbox, or Live), or an org API key with a Sandbox or Live binding and minds:read (or minds:write). The fixed profiles a Mind can run (F1, D1, D2) with their vCPU, memory and disk, the plans and environments that may request each (Live is F1 only today), and whether changing it restarts the Mind. price is null until the profile is live-metered in that environment. P1 is not listed, because no plan can request it. Size changes stay on minds_resizeMind. Live selections reach Live Minds only when the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); the verified environment is forwarded and never falls back to Sandbox. Until then a Live selection answers 409 ENVIRONMENT_NOT_AVAILABLE before any delegation. A Mind in another organization, project or environment answers 404.
Responses
- 200The profile list.
Response fields
profilesobject[]requiredprofiles[].[].profile_id"F1" | "D1" | "D2"requiredprofiles[].[].vcpuintegerrequiredmin 1
profiles[].[].memory_mbintegerrequiredmin 1
profiles[].[].base_disk_gbintegerrequiredmin 1
profiles[].[].max_disk_gbintegerrequiredmin 1
profiles[].[].plans"free" | "pro"[]requiredprofiles[].[].environments"sandbox" | "live"[]requiredEnvironments where this profile may be requested.
profiles[].[].apply_classobjectrequiredWhether changing each dimension applies live or restarts the Mind.
profiles[].[].apply_class.vcpu"live" | "restart"requiredprofiles[].[].apply_class.memory"live" | "restart"requiredprofiles[].[].apply_class.disk"live" | "restart"requiredprofiles[].[].pricenullrequiredNull until the profile is live-metered in this environment.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/profiles" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_listProfiles'){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_listProfiles",
"arguments": {}
}
}Search
Search actual episodic memory in an explicit ready Mind
POST/v1/minds/search
Requires an original human One account session with a verified pf_console selection (Sandbox, or Live). No caller tenant fields. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). Live selections reach Live Minds only when the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); the verified environment is forwarded and never falls back to Sandbox. Until then a Live selection answers 409 ENVIRONMENT_NOT_AVAILABLE before any delegation.
Parameters
mindquery · string (uuid)required
Request body application/json
textstringrequiredmin length 1 · max length 1000
limitintegermin 1 · max 100 · default
20query_embeddingobjectA vector the caller made from the text with its own encoder (One uses Foundry
openai/text-embedding-3-smallat 512 dims). A Mind pins the model and dim of its first vector; a different model or dim answers 422 embedding_mismatch from the Mind (a search falls back to keyword search instead).query_embedding.modelstringrequiredmin length 1 · max length 128
query_embedding.dimintegerrequiredmin 1 · max 4096
query_embedding.vectornumber[]requiredExactly
dimfinite numbers, not all zero.
Responses
- 200Actual persisted service response; creation 202 is provisioning, not Ready.
Response fields
idstring (uuid)requiredCaller event UUID; insertion returns a distinct storage UUID used by get. pattern
^[0-9a-f-]{36}$contentstringrequiredmin length 1 · max length 16000
timestampstring (date-time)requiredevent_type"Conversation" | "Command" | "Query" | "Document" | "Error" | "Success" | "Learning" | "Decision" | "Action" | "Context" | "Knowledge"requiredsummarystring | nullmax length 2000
tagsstring[]required
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 410MIND_GONE: the Mind was deleted and released; its data is archived and it cannot be resumed or used. Not retryable. (Deleting or resizing an already deleted Mind answers 409 MIND_DELETED instead.)
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/search?mind=$MIND" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"text": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_searchMemory', {
mind: '<mind>',
body: {
text: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_searchMemory",
"arguments": {
"mind": "<mind>",
"body": {
"text": "string"
}
}
}
}Services
List owned Minds and the verified creation-context fingerprint
GET/v1/minds/services
Requires an original human One account session with a verified pf_console selection (Sandbox, or Live). No caller tenant fields. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). Live selections reach Live Minds only when the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); the verified environment is forwarded and never falls back to Sandbox. Until then a Live selection answers 409 ENVIRONMENT_NOT_AVAILABLE before any delegation.
Parameters
afterquery · string (uuid)limitquery · integer
Responses
- 200Actual persisted service response; creation 202 is provisioning, not Ready.
Response fields
schema_version"minds.controller.v1"requireditemsobject[]requireditems[].[].schema_version"minds.controller.v1"requireditems[].[].mind_idstring (uuid)requiredpattern
^[0-9a-f-]{36}$items[].[].organization_idstringrequireditems[].[].project_idstringrequireditems[].[].namestringrequireditems[].[].regionstringrequireditems[].[].plan"free" | "pro"requireditems[].[].capacityobjectrequireditems[].[].capacity.profile_idstringrequireditems[].[].capacity.cpusintegerrequiredmin 1
items[].[].capacity.memory_mbintegerrequiredmin 1
items[].[].capacity.volume_size_gbintegerrequiredmin 1
items[].[].observed_capacityobject | nullrequireditems[].[].servicesstring[]requireditems[].[].volume_idstring (uuid)requiredpattern
^[0-9a-f-]{36}$items[].[].base_urlstring (uri)requireditems[].[].desired_state"running" | "stopped" | "deleted"requireditems[].[].observed_state"pending" | "running" | "stopped" | "deleted" | "failed" | "uncertain"requireditems[].[].desired_generationintegerrequiredmin 1
items[].[].observed_generationintegerrequiredmin 0
items[].[].status"ready" | "provisioning" | "stopped" | "deleted" | "failed" | "uncertain"requireditems[].[].capacity_appliedbooleanrequireditems[].[].operation_idstring (uuid) | nullrequireditems[].[].error_codestring | nullrequireditems[].[].created_atstring (date-time)requireditems[].[].updated_atstring (date-time)requirednext_cursorstring (uuid) | nullrequiredcontext_sha256stringrequiredInformational fingerprint of the verified human full selection. Required assertion when creating; grants no authority. pattern
^[a-f0-9]{64}$
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_listMinds'){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_listMinds",
"arguments": {}
}
}Create one capped Mind in the selected environment; retain the same operation key after uncertainty
POST/v1/minds/services
Requires an original human One account session with a verified pf_console selection (Sandbox, or Live). No caller tenant fields. Org API keys with a Sandbox or Live binding are admitted with minds:write. Live selections reach Live Minds only when the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); the verified environment is forwarded and never falls back to Sandbox. Until then a Live selection answers 409 ENVIRONMENT_NOT_AVAILABLE before any delegation. A Live create is admitted per organization by the Minds controller (default off, with an instance cap); otherwise 403 MINDS_LIVE_NOT_ENABLED, or 403 MINDS_LIVE_CAP_REACHED at the cap, and nothing is created.
Parameters
idempotency-keyheader · string (uuid)requiredx-genesis-minds-creation-contextheader · stringrequired
Request body application/json
namestringrequiredSandbox: "Sandbox" or "Sandbox <label>". Live: any non-blank name. At most 80 bytes after trimming; capacity and tenant are server owned. min length 1 · max length 80
plan"free" | "pro"Optional explicit plan. Omitted/free selects F1; pro defaults to D1. Server-side funding and admission still apply.
profile_id"F1" | "D1" | "D2"Optional fixed native profile. Pro accepts F1, D1 or D2 and defaults to D1. Omitted/free plan accepts only F1. P1 is unavailable; arbitrary capacity is never accepted.
services"kv" | "memory" | "graph" | "analytics" | "ml" | "inference" | "vector" | "snn" | "continual" | "associative-memory" | "cognitive" | "cognitive-cycle" | "mcp"[]Optional engine service groups (the Akasha daemon groups). kv and memory always run; the stored selection is sorted and unique. Omitted means [kv, memory]. Unknown names (neurosymbolic, mhn, all) are refused.
access"standard" | "service_only"Optional. Who the Mind is served to.
standard(default): as every Mind.service_only: served only to org API keys that carryminds:service_only(withminds:read/minds:writefor what they do); every other caller, people's sessions included, gets 404 as if the Mind did not exist. Only such a key may create one.
Responses
- 202Actual persisted service response; creation 202 is provisioning, not Ready.
Response fields
schema_version"minds.controller.v1"requiredmind_idstring (uuid)requiredpattern
^[0-9a-f-]{36}$organization_idstringrequiredproject_idstringrequirednamestringrequiredregionstringrequiredplan"free" | "pro"requiredcapacityobjectrequiredcapacity.profile_idstringrequiredcapacity.cpusintegerrequiredmin 1
capacity.memory_mbintegerrequiredmin 1
capacity.volume_size_gbintegerrequiredmin 1
observed_capacityobject | nullrequiredservicesstring[]requiredvolume_idstring (uuid)requiredpattern
^[0-9a-f-]{36}$base_urlstring (uri)requireddesired_state"running" | "stopped" | "deleted"requiredobserved_state"pending" | "running" | "stopped" | "deleted" | "failed" | "uncertain"requireddesired_generationintegerrequiredmin 1
observed_generationintegerrequiredmin 0
status"ready" | "provisioning" | "stopped" | "deleted" | "failed" | "uncertain"requiredcapacity_appliedbooleanrequiredoperation_idstring (uuid) | nullrequirederror_codestring | nullrequiredcreated_atstring (date-time)requiredupdated_atstring (date-time)required
- 402MINDS_BILLING_ADMISSION_DENIED: Minds billing does not admit this work for the organization (for example a Pro Mind without a paid Minds Pro subscription). A settled refusal: nothing was created, started or changed; not retryable as is. A Free Mind is not affected.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const idempotencyKey = '<a stable key per change>'
const result = await genesis.call('minds_createMind', {
body: {
name: 'string',
},
}, {
headers: { 'Idempotency-Key': idempotencyKey }, // one key per change, reused on every retry
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_createMind",
"arguments": {
"body": {
"name": "string"
},
"idempotency_key": "<a stable key per change>"
}
}
}Read one Mind owned by the verified organization and project
GET/v1/minds/services/{mind_id}
Requires an original human One account session with a verified pf_console selection (Sandbox, or Live). No caller tenant fields. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). Live selections reach Live Minds only when the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); the verified environment is forwarded and never falls back to Sandbox. Until then a Live selection answers 409 ENVIRONMENT_NOT_AVAILABLE before any delegation.
Parameters
mind_idpath · string (uuid)required
Responses
- 200Actual persisted service response; creation 202 is provisioning, not Ready.
Response fields
schema_version"minds.controller.v1"requiredmind_idstring (uuid)requiredpattern
^[0-9a-f-]{36}$organization_idstringrequiredproject_idstringrequirednamestringrequiredregionstringrequiredplan"free" | "pro"requiredcapacityobjectrequiredcapacity.profile_idstringrequiredcapacity.cpusintegerrequiredmin 1
capacity.memory_mbintegerrequiredmin 1
capacity.volume_size_gbintegerrequiredmin 1
observed_capacityobject | nullrequiredservicesstring[]requiredvolume_idstring (uuid)requiredpattern
^[0-9a-f-]{36}$base_urlstring (uri)requireddesired_state"running" | "stopped" | "deleted"requiredobserved_state"pending" | "running" | "stopped" | "deleted" | "failed" | "uncertain"requireddesired_generationintegerrequiredmin 1
observed_generationintegerrequiredmin 0
status"ready" | "provisioning" | "stopped" | "deleted" | "failed" | "uncertain"requiredcapacity_appliedbooleanrequiredoperation_idstring (uuid) | nullrequirederror_codestring | nullrequiredcreated_atstring (date-time)requiredupdated_atstring (date-time)required
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 410MIND_GONE: the Mind was deleted and released; its data is archived and it cannot be resumed or used. Not retryable. (Deleting or resizing an already deleted Mind answers 409 MIND_DELETED instead.)
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_getMind', {
mind_id: '<mind_id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_getMind",
"arguments": {
"mind_id": "<mind_id>"
}
}
}Delete an owned Mind (controller lifecycle action delete) without an automatic retry
DELETE/v1/minds/services/{mind_id}
Requires the original human Console selection (Sandbox, or Live) and Minds delete permission (minds:instances:delete). Pass the desired_generation from a fresh owned read as expected_generation; retain the same key and generation after uncertainty. The controller resolves durable replay before checking generation. A Mind that is already deleted answers 409 MIND_DELETED. No body, capacity or tenant fields. Org API keys with a Sandbox or Live binding are admitted with minds:write. Live selections reach Live Minds only when the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); the verified environment is forwarded and never falls back to Sandbox. Until then a Live selection answers 409 ENVIRONMENT_NOT_AVAILABLE before any delegation.
Parameters
mind_idpath · string (uuid)requiredexpected_generationquery · integerrequiredOriginal desired_generation from a fresh owned read; keep unchanged with the idempotency key if outcome is unknown.
idempotency-keyheader · string (uuid)required
Responses
- 202Delete accepted; desired_state is deleted. Poll the owned read until observed.
Response fields
schema_version"minds.controller.v1"requiredmind_idstring (uuid)requiredpattern
^[0-9a-f-]{36}$organization_idstringrequiredproject_idstringrequirednamestringrequiredregionstringrequiredplan"free" | "pro"requiredcapacityobjectrequiredcapacity.profile_idstringrequiredcapacity.cpusintegerrequiredmin 1
capacity.memory_mbintegerrequiredmin 1
capacity.volume_size_gbintegerrequiredmin 1
observed_capacityobject | nullrequiredservicesstring[]requiredvolume_idstring (uuid)requiredpattern
^[0-9a-f-]{36}$base_urlstring (uri)requireddesired_state"running" | "stopped" | "deleted"requiredobserved_state"pending" | "running" | "stopped" | "deleted" | "failed" | "uncertain"requireddesired_generationintegerrequiredmin 1
observed_generationintegerrequiredmin 0
status"ready" | "provisioning" | "stopped" | "deleted" | "failed" | "uncertain"requiredcapacity_appliedbooleanrequiredoperation_idstring (uuid) | nullrequirederror_codestring | nullrequiredcreated_atstring (date-time)requiredupdated_atstring (date-time)required
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 4xx 5xxThe error envelope.
curl -X DELETE "https://os.one.ml/api/v1/minds/services/$MIND_ID?expected_generation=$EXPECTED_GENERATION" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Idempotency-Key: $IDEMPOTENCY_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const idempotencyKey = '<a stable key per change>'
const result = await genesis.call('minds_deleteMind', {
mind_id: '<mind_id>',
expected_generation: '<expected_generation>',
}, {
headers: { 'Idempotency-Key': idempotencyKey }, // one key per change, reused on every retry
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_deleteMind",
"arguments": {
"mind_id": "<mind_id>",
"expected_generation": "<expected_generation>",
"idempotency_key": "<a stable key per change>"
}
}
}Access
Set who a Mind is served to (standard or service_only)
POST/v1/minds/services/{mind_id}/access
Org API keys only, with minds:write and minds:service_only. service_only: the Mind is then served only to org API keys carrying minds:service_only; every other caller (people's sessions, Console, One app, agents, keys without the scope) gets 404 on every route, as if it did not exist. standard serves it as before. A person's Mind or a company Mind is never made service_only (409). Each change is recorded on the Mind as an access.changed event; an unchanged value records nothing. Sessions get 403 SCOPE_MISSING at the route, before any Mind lookup.
Parameters
mind_idpath · string (uuid)required
Request body application/json
access"standard" | "service_only"required
Responses
- 200The Mind's access now.
Response fields
mind_idstring (uuid)requiredaccess"standard" | "service_only"required
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 404No such Mind for this caller (also any session, and any key without minds:service_only).
- 409A person's or company Mind, or a shared tenant's key Mind set back to standard.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/access" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"access": "standard"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_setMindAccess', {
mind_id: '<mind_id>',
body: {
access: 'standard',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_setMindAccess",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"access": "standard"
}
}
}
}
}Engine
key-value: POST /v1/:keyspace
POST/v1/minds/services/{mind_id}/engine/v1/{keyspace}
Calls POST /v1/:keyspace on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions write on {path.keyspace} (minds:instances:update). Exists only on Minds created with enable_kv set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:write. A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)requiredkeyspacepath · stringrequired
Request body application/json
dataanyrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/$KEYSPACE" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"data": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineKeyValuePostKeyspace', {
mind_id: '<mind_id>',
keyspace: '<keyspace>',
body: {
data: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_engineKeyValuePostKeyspace",
"arguments": {
"mind_id": "<mind_id>",
"keyspace": "<keyspace>",
"body": {
"data": "string"
}
}
}
}key-value: GET /v1/:keyspace/:id
GET/v1/minds/services/{mind_id}/engine/v1/{keyspace}/{id}
Calls GET /v1/:keyspace/:id on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions read on {path.keyspace} (minds:instances:read). Exists only on Minds created with enable_kv set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)requiredkeyspacepath · stringrequiredidpath · stringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/$KEYSPACE/$ID" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineKeyValueGetKeyspaceId', {
mind_id: '<mind_id>',
keyspace: '<keyspace>',
id: '<id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_engineKeyValueGetKeyspaceId",
"arguments": {
"mind_id": "<mind_id>",
"keyspace": "<keyspace>",
"id": "<id>"
}
}
}key-value: DELETE /v1/:keyspace/:id
DELETE/v1/minds/services/{mind_id}/engine/v1/{keyspace}/{id}
Calls DELETE /v1/:keyspace/:id on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions delete on {path.keyspace} (minds:instances:update). Exists only on Minds created with enable_kv set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:write. A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)requiredkeyspacepath · stringrequiredidpath · stringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X DELETE "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/$KEYSPACE/$ID" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineKeyValueDeleteKeyspaceId', {
mind_id: '<mind_id>',
keyspace: '<keyspace>',
id: '<id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_engineKeyValueDeleteKeyspaceId",
"arguments": {
"mind_id": "<mind_id>",
"keyspace": "<keyspace>",
"id": "<id>"
}
}
}key-value: POST /v1/:keyspace/query
POST/v1/minds/services/{mind_id}/engine/v1/{keyspace}/query
Calls POST /v1/:keyspace/query on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions query on {path.keyspace} (minds:instances:read). Exists only on Minds created with enable_kv set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)requiredkeyspacepath · stringrequired
Request body application/json
filterstringrequiredlimitanyoffsetany
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/$KEYSPACE/query" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"filter": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineKeyValuePostKeyspaceQuery', {
mind_id: '<mind_id>',
keyspace: '<keyspace>',
body: {
filter: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_engineKeyValuePostKeyspaceQuery",
"arguments": {
"mind_id": "<mind_id>",
"keyspace": "<keyspace>",
"body": {
"filter": "string"
}
}
}
}analytics: POST /v1/analytics/sources/core
POST/v1/minds/services/{mind_id}/engine/v1/analytics/sources/core
Calls POST /v1/analytics/sources/core on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions write, update, read, query on {body.keyspace} (minds:instances:update; callers need minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_analytics set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
namestringrequiredkeyspacestringrequiredcollectionstringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/analytics/sources/core" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "string",
"keyspace": "string",
"collection": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineAnalyticsPostAnalyticsSourcesCore', {
mind_id: '<mind_id>',
body: {
name: 'string',
keyspace: 'string',
collection: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineAnalyticsPostAnalyticsSourcesCore",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"name": "string",
"keyspace": "string",
"collection": "string"
}
}
}
}
}analytics: POST /v1/analytics/sql
POST/v1/minds/services/{mind_id}/engine/v1/analytics/sql
Calls POST /v1/analytics/sql on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions query, read on * (minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_analytics set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
sqlstringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/analytics/sql" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"sql": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineAnalyticsPostAnalyticsSql', {
mind_id: '<mind_id>',
body: {
sql: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineAnalyticsPostAnalyticsSql",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"sql": "string"
}
}
}
}
}analytics: GET /v1/analytics/views
GET/v1/minds/services/{mind_id}/engine/v1/analytics/views
Calls GET /v1/analytics/views on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions read on genesis:none (minds:instances:read; callers need minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_analytics set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/analytics/views" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineAnalyticsGetAnalyticsViews', {
mind_id: '<mind_id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineAnalyticsGetAnalyticsViews",
"arguments": {
"mind_id": "<mind_id>"
}
}
}
}analytics: POST /v1/analytics/views
POST/v1/minds/services/{mind_id}/engine/v1/analytics/views
Calls POST /v1/analytics/views on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions write, update, read on genesis:none (minds:instances:update; callers need minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_analytics set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
namestringrequiredquerystringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/analytics/views" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "string",
"query": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineAnalyticsPostAnalyticsViews', {
mind_id: '<mind_id>',
body: {
name: 'string',
query: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineAnalyticsPostAnalyticsViews",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"name": "string",
"query": "string"
}
}
}
}
}analytics: DELETE /v1/analytics/views/:name
DELETE/v1/minds/services/{mind_id}/engine/v1/analytics/views/{name}
Calls DELETE /v1/analytics/views/:name on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions delete on genesis:none (minds:instances:update; callers need minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_analytics set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)requirednamepath · stringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X DELETE "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/analytics/views/$NAME" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineAnalyticsDeleteAnalyticsViewsName', {
mind_id: '<mind_id>',
name: '<name>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineAnalyticsDeleteAnalyticsViewsName",
"arguments": {
"mind_id": "<mind_id>",
"name": "<name>"
}
}
}
}associative-memory: POST /v1/assoc/mhn/clear
POST/v1/minds/services/{mind_id}/engine/v1/assoc/mhn/clear
Calls POST /v1/assoc/mhn/clear on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions mhn:admin, query, delete on memory:mhn, assoc_mem (minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_mhn set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
A JSON object; see the description above.
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/assoc/mhn/clear" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineAssociativeMemoryPostAssocMhnClear', {
mind_id: '<mind_id>',
body: {},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineAssociativeMemoryPostAssocMhnClear",
"arguments": {
"mind_id": "<mind_id>",
"body": {}
}
}
}
}associative-memory: POST /v1/assoc/mhn/config
POST/v1/minds/services/{mind_id}/engine/v1/assoc/mhn/config
Calls POST /v1/assoc/mhn/config on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions mhn:read, query on memory:mhn, assoc_mem (minds:instances:read). Exists only on Minds created with enable_mhn set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
A JSON object; see the description above.
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/assoc/mhn/config" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineAssociativeMemoryPostAssocMhnConfig', {
mind_id: '<mind_id>',
body: {},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineAssociativeMemoryPostAssocMhnConfig",
"arguments": {
"mind_id": "<mind_id>",
"body": {}
}
}
}
}associative-memory: POST /v1/assoc/mhn/list
POST/v1/minds/services/{mind_id}/engine/v1/assoc/mhn/list
Calls POST /v1/assoc/mhn/list on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions mhn:read, query on memory:mhn, assoc_mem (minds:instances:read). Exists only on Minds created with enable_mhn set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
A JSON object; see the description above.
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/assoc/mhn/list" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineAssociativeMemoryPostAssocMhnList', {
mind_id: '<mind_id>',
body: {},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineAssociativeMemoryPostAssocMhnList",
"arguments": {
"mind_id": "<mind_id>",
"body": {}
}
}
}
}associative-memory: POST /v1/assoc/mhn/new
POST/v1/minds/services/{mind_id}/engine/v1/assoc/mhn/new
Calls POST /v1/assoc/mhn/new on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions mhn:admin, mhn:write, query on memory:mhn, assoc_mem (minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_mhn set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
A JSON object; see the description above.
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/assoc/mhn/new" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineAssociativeMemoryPostAssocMhnNew', {
mind_id: '<mind_id>',
body: {},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineAssociativeMemoryPostAssocMhnNew",
"arguments": {
"mind_id": "<mind_id>",
"body": {}
}
}
}
}associative-memory: POST /v1/assoc/mhn/retrieve
POST/v1/minds/services/{mind_id}/engine/v1/assoc/mhn/retrieve
Calls POST /v1/assoc/mhn/retrieve on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions mhn:read, query on memory:mhn, assoc_mem (minds:instances:read). Exists only on Minds created with enable_mhn set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
A JSON object; see the description above.
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/assoc/mhn/retrieve" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineAssociativeMemoryPostAssocMhnRetrieve', {
mind_id: '<mind_id>',
body: {},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineAssociativeMemoryPostAssocMhnRetrieve",
"arguments": {
"mind_id": "<mind_id>",
"body": {}
}
}
}
}associative-memory: POST /v1/assoc/mhn/retrieve_by_key
POST/v1/minds/services/{mind_id}/engine/v1/assoc/mhn/retrieve_by_key
Calls POST /v1/assoc/mhn/retrieve_by_key on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions mhn:read, query on memory:mhn, assoc_mem (minds:instances:read). Exists only on Minds created with enable_mhn set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
A JSON object; see the description above.
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/assoc/mhn/retrieve_by_key" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineAssociativeMemoryPostAssocMhnRetrieveByKey', {
mind_id: '<mind_id>',
body: {},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineAssociativeMemoryPostAssocMhnRetrieveByKey",
"arguments": {
"mind_id": "<mind_id>",
"body": {}
}
}
}
}associative-memory: POST /v1/assoc/mhn/retrieve_by_vector
POST/v1/minds/services/{mind_id}/engine/v1/assoc/mhn/retrieve_by_vector
Calls POST /v1/assoc/mhn/retrieve_by_vector on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions mhn:read, query on memory:mhn, assoc_mem (minds:instances:read). Exists only on Minds created with enable_mhn set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
A JSON object; see the description above.
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/assoc/mhn/retrieve_by_vector" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineAssociativeMemoryPostAssocMhnRetrieveByVector', {
mind_id: '<mind_id>',
body: {},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineAssociativeMemoryPostAssocMhnRetrieveByVector",
"arguments": {
"mind_id": "<mind_id>",
"body": {}
}
}
}
}associative-memory: POST /v1/assoc/mhn/stats
POST/v1/minds/services/{mind_id}/engine/v1/assoc/mhn/stats
Calls POST /v1/assoc/mhn/stats on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions mhn:read, query on memory:mhn, assoc_mem (minds:instances:read). Exists only on Minds created with enable_mhn set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
A JSON object; see the description above.
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/assoc/mhn/stats" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineAssociativeMemoryPostAssocMhnStats', {
mind_id: '<mind_id>',
body: {},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineAssociativeMemoryPostAssocMhnStats",
"arguments": {
"mind_id": "<mind_id>",
"body": {}
}
}
}
}associative-memory: POST /v1/assoc/mhn/store
POST/v1/minds/services/{mind_id}/engine/v1/assoc/mhn/store
Calls POST /v1/assoc/mhn/store on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions mhn:write, query, read, update on memory:mhn, assoc_mem (minds:instances:update). Exists only on Minds created with enable_mhn set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:write. A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
A JSON object; see the description above.
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/assoc/mhn/store" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineAssociativeMemoryPostAssocMhnStore', {
mind_id: '<mind_id>',
body: {},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineAssociativeMemoryPostAssocMhnStore",
"arguments": {
"mind_id": "<mind_id>",
"body": {}
}
}
}
}associative-memory: POST /v1/assoc/mhn/system_info
POST/v1/minds/services/{mind_id}/engine/v1/assoc/mhn/system_info
Calls POST /v1/assoc/mhn/system_info on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions mhn:read, query on memory:mhn, assoc_mem (minds:instances:read). Exists only on Minds created with enable_mhn set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
A JSON object; see the description above.
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/assoc/mhn/system_info" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineAssociativeMemoryPostAssocMhnSystemInfo', {
mind_id: '<mind_id>',
body: {},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineAssociativeMemoryPostAssocMhnSystemInfo",
"arguments": {
"mind_id": "<mind_id>",
"body": {}
}
}
}
}cognitive-cycle: GET /v1/cognitive/cycles
GET/v1/minds/services/{mind_id}/engine/v1/cognitive/cycles
Calls GET /v1/cognitive/cycles on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions read, query on cognitive_cycle_history (minds:instances:read). Exists only on Minds created with enable_cognitive_cycle set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/cognitive/cycles" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineCognitiveCycleGetCognitiveCycles', {
mind_id: '<mind_id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineCognitiveCycleGetCognitiveCycles",
"arguments": {
"mind_id": "<mind_id>"
}
}
}
}cognitive-cycle: POST /v1/cognitive/cycles
POST/v1/minds/services/{mind_id}/engine/v1/cognitive/cycles
Calls POST /v1/cognitive/cycles on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions write, query, delete on cognitive_cycle_history (minds:instances:update). Exists only on Minds created with enable_cognitive_cycle set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:write. A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
inputanyrequiredtriggerany
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/cognitive/cycles" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineCognitiveCyclePostCognitiveCycles', {
mind_id: '<mind_id>',
body: {
input: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineCognitiveCyclePostCognitiveCycles",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"input": "string"
}
}
}
}
}cognitive-cycle: GET /v1/cognitive/cycles/:id
GET/v1/minds/services/{mind_id}/engine/v1/cognitive/cycles/{id}
Calls GET /v1/cognitive/cycles/:id on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions read on cognitive_cycle_history (minds:instances:read). Exists only on Minds created with enable_cognitive_cycle set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)requiredidpath · stringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/cognitive/cycles/$ID" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineCognitiveCycleGetCognitiveCyclesId', {
mind_id: '<mind_id>',
id: '<id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineCognitiveCycleGetCognitiveCyclesId",
"arguments": {
"mind_id": "<mind_id>",
"id": "<id>"
}
}
}
}cognitive-cycle: GET /v1/cognitive/stats
GET/v1/minds/services/{mind_id}/engine/v1/cognitive/stats
Calls GET /v1/cognitive/stats on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions read, query on cognitive_cycle_history (minds:instances:read). Exists only on Minds created with enable_cognitive_cycle set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/cognitive/stats" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineCognitiveCycleGetCognitiveStats', {
mind_id: '<mind_id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineCognitiveCycleGetCognitiveStats",
"arguments": {
"mind_id": "<mind_id>"
}
}
}
}continual-learning: GET /v1/continual/checkpoints/status
GET/v1/minds/services/{mind_id}/engine/v1/continual/checkpoints/status
Calls GET /v1/continual/checkpoints/status on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions read on genesis:none (minds:instances:read; callers need minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_continual set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/continual/checkpoints/status" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineContinualLearningGetContinualCheckpointsStatus', {
mind_id: '<mind_id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineContinualLearningGetContinualCheckpointsStatus",
"arguments": {
"mind_id": "<mind_id>"
}
}
}
}continual-learning: POST /v1/continual/components
POST/v1/minds/services/{mind_id}/engine/v1/continual/components
Calls POST /v1/continual/components on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions write, update, read on genesis:none (minds:instances:update; callers need minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_continual set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
idstringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/continual/components" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"id": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineContinualLearningPostContinualComponents', {
mind_id: '<mind_id>',
body: {
id: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineContinualLearningPostContinualComponents",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"id": "string"
}
}
}
}
}continual-learning: POST /v1/continual/components/delete
POST/v1/minds/services/{mind_id}/engine/v1/continual/components/delete
Calls POST /v1/continual/components/delete on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions write, update, read on genesis:none (minds:instances:update; callers need minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_continual set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
idstringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/continual/components/delete" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"id": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineContinualLearningPostContinualComponentsDelete', {
mind_id: '<mind_id>',
body: {
id: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineContinualLearningPostContinualComponentsDelete",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"id": "string"
}
}
}
}
}continual-learning: POST /v1/continual/task/consolidate
POST/v1/minds/services/{mind_id}/engine/v1/continual/task/consolidate
Calls POST /v1/continual/task/consolidate on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions write, update, read on genesis:none (minds:instances:update; callers need minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_continual set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
namespaceany
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/continual/task/consolidate" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineContinualLearningPostContinualTaskConsolidate', {
mind_id: '<mind_id>',
body: {},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineContinualLearningPostContinualTaskConsolidate",
"arguments": {
"mind_id": "<mind_id>",
"body": {}
}
}
}
}continual-learning: POST /v1/continual/task/delete
POST/v1/minds/services/{mind_id}/engine/v1/continual/task/delete
Calls POST /v1/continual/task/delete on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions write, update, read on genesis:none (minds:instances:update; callers need minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_continual set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
task_idstringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/continual/task/delete" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"task_id": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineContinualLearningPostContinualTaskDelete', {
mind_id: '<mind_id>',
body: {
task_id: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineContinualLearningPostContinualTaskDelete",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"task_id": "string"
}
}
}
}
}continual-learning: POST /v1/continual/task/evaluate
POST/v1/minds/services/{mind_id}/engine/v1/continual/task/evaluate
Calls POST /v1/continual/task/evaluate on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions query, read on genesis:none (minds:instances:read; callers need minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_continual set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
task_idstringrequiredtest_dataany
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/continual/task/evaluate" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"task_id": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineContinualLearningPostContinualTaskEvaluate', {
mind_id: '<mind_id>',
body: {
task_id: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineContinualLearningPostContinualTaskEvaluate",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"task_id": "string"
}
}
}
}
}continual-learning: POST /v1/continual/task/new
POST/v1/minds/services/{mind_id}/engine/v1/continual/task/new
Calls POST /v1/continual/task/new on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions write, update, read on genesis:none (minds:instances:update; callers need minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_continual set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
namestringrequireddescriptionany
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/continual/task/new" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineContinualLearningPostContinualTaskNew', {
mind_id: '<mind_id>',
body: {
name: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineContinualLearningPostContinualTaskNew",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"name": "string"
}
}
}
}
}continual-learning: POST /v1/continual/task/pause
POST/v1/minds/services/{mind_id}/engine/v1/continual/task/pause
Calls POST /v1/continual/task/pause on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions write, update, read on genesis:none (minds:instances:update; callers need minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_continual set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
task_idany
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/continual/task/pause" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineContinualLearningPostContinualTaskPause', {
mind_id: '<mind_id>',
body: {},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineContinualLearningPostContinualTaskPause",
"arguments": {
"mind_id": "<mind_id>",
"body": {}
}
}
}
}continual-learning: POST /v1/continual/task/resume
POST/v1/minds/services/{mind_id}/engine/v1/continual/task/resume
Calls POST /v1/continual/task/resume on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions write, update, read on genesis:none (minds:instances:update; callers need minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_continual set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
task_idany
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/continual/task/resume" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineContinualLearningPostContinualTaskResume', {
mind_id: '<mind_id>',
body: {},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineContinualLearningPostContinualTaskResume",
"arguments": {
"mind_id": "<mind_id>",
"body": {}
}
}
}
}continual-learning: POST /v1/continual/task/stats
POST/v1/minds/services/{mind_id}/engine/v1/continual/task/stats
Calls POST /v1/continual/task/stats on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions query, read on genesis:none (minds:instances:read; callers need minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_continual set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
namespaceany
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/continual/task/stats" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineContinualLearningPostContinualTaskStats', {
mind_id: '<mind_id>',
body: {},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineContinualLearningPostContinualTaskStats",
"arguments": {
"mind_id": "<mind_id>",
"body": {}
}
}
}
}continual-learning: POST /v1/continual/task/train
POST/v1/minds/services/{mind_id}/engine/v1/continual/task/train
Calls POST /v1/continual/task/train on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions write, update, read on genesis:none (minds:instances:update; callers need minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_continual set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
task_idstringrequiredtraining_dataany[]required
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/continual/task/train" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"task_id": "string",
"training_data": []
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineContinualLearningPostContinualTaskTrain', {
mind_id: '<mind_id>',
body: {
task_id: 'string',
training_data: [],
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineContinualLearningPostContinualTaskTrain",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"task_id": "string",
"training_data": []
}
}
}
}
}forgetting: GET /v1/forgetting/policies
GET/v1/minds/services/{mind_id}/engine/v1/forgetting/policies
Calls GET /v1/forgetting/policies on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions read on _system_forgetting_requests (minds:instances:read). Registered on every Mind with a storage service (kv, graph, analytics, ml, inference, vector or memory) enabled. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/forgetting/policies" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineForgettingGetForgettingPolicies', {
mind_id: '<mind_id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineForgettingGetForgettingPolicies",
"arguments": {
"mind_id": "<mind_id>"
}
}
}
}forgetting: POST /v1/forgetting/policies/:id/toggle
POST/v1/minds/services/{mind_id}/engine/v1/forgetting/policies/{id}/toggle
Calls POST /v1/forgetting/policies/:id/toggle on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions query, read, write on _system_forgetting_requests (minds:instances:update). Registered on every Mind with a storage service (kv, graph, analytics, ml, inference, vector or memory) enabled. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:write. A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)requiredidpath · stringrequired
Request body application/json
enabledany
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/forgetting/policies/$ID/toggle" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineForgettingPostForgettingPoliciesIdToggle', {
mind_id: '<mind_id>',
id: '<id>',
body: {},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineForgettingPostForgettingPoliciesIdToggle",
"arguments": {
"mind_id": "<mind_id>",
"id": "<id>",
"body": {}
}
}
}
}forgetting: GET /v1/forgetting/proof/:id
GET/v1/minds/services/{mind_id}/engine/v1/forgetting/proof/{id}
Calls GET /v1/forgetting/proof/:id on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions read on _system_forgetting_requests (minds:instances:read). Registered on every Mind with a storage service (kv, graph, analytics, ml, inference, vector or memory) enabled. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)requiredidpath · stringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/forgetting/proof/$ID" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineForgettingGetForgettingProofId', {
mind_id: '<mind_id>',
id: '<id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineForgettingGetForgettingProofId",
"arguments": {
"mind_id": "<mind_id>",
"id": "<id>"
}
}
}
}forgetting: GET /v1/forgetting/requests
GET/v1/minds/services/{mind_id}/engine/v1/forgetting/requests
Calls GET /v1/forgetting/requests on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions query, read on _system_forgetting_requests (minds:instances:read). Registered on every Mind with a storage service (kv, graph, analytics, ml, inference, vector or memory) enabled. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/forgetting/requests" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineForgettingGetForgettingRequests', {
mind_id: '<mind_id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineForgettingGetForgettingRequests",
"arguments": {
"mind_id": "<mind_id>"
}
}
}
}forgetting: POST /v1/forgetting/requests
POST/v1/minds/services/{mind_id}/engine/v1/forgetting/requests
Calls POST /v1/forgetting/requests on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions query, read, write on _system_forgetting_requests (minds:instances:update). Registered on every Mind with a storage service (kv, graph, analytics, ml, inference, vector or memory) enabled. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:write. A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
reasonstringrequiredtarget_keyspacestringrequiredtarget_idsstring[]requiredrequesterany
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/forgetting/requests" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"reason": "string",
"target_keyspace": "string",
"target_ids": []
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineForgettingPostForgettingRequests', {
mind_id: '<mind_id>',
body: {
reason: 'string',
target_keyspace: 'string',
target_ids: [],
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineForgettingPostForgettingRequests",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"reason": "string",
"target_keyspace": "string",
"target_ids": []
}
}
}
}
}forgetting: POST /v1/forgetting/requests/:id/approve
POST/v1/minds/services/{mind_id}/engine/v1/forgetting/requests/{id}/approve
Calls POST /v1/forgetting/requests/:id/approve on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions read, write, delete on * (minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Registered on every Mind with a storage service (kv, graph, analytics, ml, inference, vector or memory) enabled. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)requiredidpath · stringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/forgetting/requests/$ID/approve" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineForgettingPostForgettingRequestsIdApprove', {
mind_id: '<mind_id>',
id: '<id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineForgettingPostForgettingRequestsIdApprove",
"arguments": {
"mind_id": "<mind_id>",
"id": "<id>"
}
}
}
}forgetting: GET /v1/forgetting/stats
GET/v1/minds/services/{mind_id}/engine/v1/forgetting/stats
Calls GET /v1/forgetting/stats on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions query, read on _system_forgetting_requests (minds:instances:read). Registered on every Mind with a storage service (kv, graph, analytics, ml, inference, vector or memory) enabled. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/forgetting/stats" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineForgettingGetForgettingStats', {
mind_id: '<mind_id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineForgettingGetForgettingStats",
"arguments": {
"mind_id": "<mind_id>"
}
}
}
}knowledge-graph: POST /v1/graph/alg/components
POST/v1/minds/services/{mind_id}/engine/v1/graph/alg/components
Calls POST /v1/graph/alg/components on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions query, read on * (minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_graph set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
strongany
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/graph/alg/components" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineKnowledgeGraphPostGraphAlgComponents', {
mind_id: '<mind_id>',
body: {},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineKnowledgeGraphPostGraphAlgComponents",
"arguments": {
"mind_id": "<mind_id>",
"body": {}
}
}
}
}knowledge-graph: POST /v1/graph/alg/pagerank
POST/v1/minds/services/{mind_id}/engine/v1/graph/alg/pagerank
Calls POST /v1/graph/alg/pagerank on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions query, read on * (minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_graph set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
dampingany
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/graph/alg/pagerank" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineKnowledgeGraphPostGraphAlgPagerank', {
mind_id: '<mind_id>',
body: {},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineKnowledgeGraphPostGraphAlgPagerank",
"arguments": {
"mind_id": "<mind_id>",
"body": {}
}
}
}
}knowledge-graph: POST /v1/graph/alg/shortest_path
POST/v1/minds/services/{mind_id}/engine/v1/graph/alg/shortest_path
Calls POST /v1/graph/alg/shortest_path on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions query, read on * (minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_graph set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
sourcestringrequiredtargetstringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/graph/alg/shortest_path" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"source": "string",
"target": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineKnowledgeGraphPostGraphAlgShortestPath', {
mind_id: '<mind_id>',
body: {
source: 'string',
target: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineKnowledgeGraphPostGraphAlgShortestPath",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"source": "string",
"target": "string"
}
}
}
}
}knowledge-graph: POST /v1/graph/cypher
POST/v1/minds/services/{mind_id}/engine/v1/graph/cypher
Calls POST /v1/graph/cypher on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions query, read on * (minds:instances:manage). A write (allow_updates: true, or a CREATE, MERGE, DELETE, DETACH, SET or REMOVE clause anywhere in the query) is also minted write and update, plus delete for a DELETE or DETACH clause. SET, MERGE and REMOVE are not supported by the engine yet and answer 501 MINDS_CYPHER_CLAUSE_UNSUPPORTED (clause names it). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_graph set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
querystringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/graph/cypher" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineKnowledgeGraphPostGraphCypher', {
mind_id: '<mind_id>',
body: {
query: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineKnowledgeGraphPostGraphCypher",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"query": "string"
}
}
}
}
}knowledge-graph: POST /v1/graph/cypher-lite
POST/v1/minds/services/{mind_id}/engine/v1/graph/cypher-lite
Calls POST /v1/graph/cypher-lite on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions query, read on * (minds:instances:manage). A write (allow_updates: true, which cypher-lite needs before it runs a write clause, or a CREATE, MERGE, DELETE, DETACH, SET or REMOVE clause anywhere in the query) is also minted write and update, plus delete for a DELETE or DETACH clause. SET, MERGE and REMOVE are not supported by the engine yet and answer 501 MINDS_CYPHER_CLAUSE_UNSUPPORTED (clause names it). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_graph set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
querystringrequiredallow_updatesanyenforce_transactionsanytemporalany
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/graph/cypher-lite" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineKnowledgeGraphPostGraphCypherLite', {
mind_id: '<mind_id>',
body: {
query: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineKnowledgeGraphPostGraphCypherLite",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"query": "string"
}
}
}
}
}knowledge-graph: POST /v1/graph/fulltext/search
POST/v1/minds/services/{mind_id}/engine/v1/graph/fulltext/search
Calls POST /v1/graph/fulltext/search on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions query, read on * (minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_graph set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
querystringrequiredlimitany
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/graph/fulltext/search" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineKnowledgeGraphPostGraphFulltextSearch', {
mind_id: '<mind_id>',
body: {
query: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineKnowledgeGraphPostGraphFulltextSearch",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"query": "string"
}
}
}
}
}knowledge-graph: POST /v1/graph/index/ensure/composite
POST/v1/minds/services/{mind_id}/engine/v1/graph/index/ensure/composite
Calls POST /v1/graph/index/ensure/composite on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions write, update, read, query on * (minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_graph set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
propertiesstring[]required
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/graph/index/ensure/composite" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"properties": []
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineKnowledgeGraphPostGraphIndexEnsureComposite', {
mind_id: '<mind_id>',
body: {
properties: [],
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineKnowledgeGraphPostGraphIndexEnsureComposite",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"properties": []
}
}
}
}
}knowledge-graph: POST /v1/graph/index/ensure/property
POST/v1/minds/services/{mind_id}/engine/v1/graph/index/ensure/property
Calls POST /v1/graph/index/ensure/property on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions write, update, read, query on * (minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_graph set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
property_namestringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/graph/index/ensure/property" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"property_name": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineKnowledgeGraphPostGraphIndexEnsureProperty', {
mind_id: '<mind_id>',
body: {
property_name: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineKnowledgeGraphPostGraphIndexEnsureProperty",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"property_name": "string"
}
}
}
}
}knowledge-graph: GET /v1/graph/index/stats
GET/v1/minds/services/{mind_id}/engine/v1/graph/index/stats
Calls GET /v1/graph/index/stats on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions read, query on * (minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_graph set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/graph/index/stats" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineKnowledgeGraphGetGraphIndexStats', {
mind_id: '<mind_id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineKnowledgeGraphGetGraphIndexStats",
"arguments": {
"mind_id": "<mind_id>"
}
}
}
}knowledge-graph: GET /v1/graph/microtheory
GET/v1/minds/services/{mind_id}/engine/v1/graph/microtheory
Calls GET /v1/graph/microtheory on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions read, query on * (minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_graph set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/graph/microtheory" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineKnowledgeGraphGetGraphMicrotheory', {
mind_id: '<mind_id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineKnowledgeGraphGetGraphMicrotheory",
"arguments": {
"mind_id": "<mind_id>"
}
}
}
}knowledge-graph: POST /v1/graph/microtheory/keyspace
POST/v1/minds/services/{mind_id}/engine/v1/graph/microtheory/keyspace
Calls POST /v1/graph/microtheory/keyspace on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions write, update, read, query on * (minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_graph set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
namestringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/graph/microtheory/keyspace" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineKnowledgeGraphPostGraphMicrotheoryKeyspace', {
mind_id: '<mind_id>',
body: {
name: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineKnowledgeGraphPostGraphMicrotheoryKeyspace",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"name": "string"
}
}
}
}
}knowledge-graph: POST /v1/graph/microtheory/switch
POST/v1/minds/services/{mind_id}/engine/v1/graph/microtheory/switch
Calls POST /v1/graph/microtheory/switch on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions write, update, read, query on * (minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_graph set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
namestringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/graph/microtheory/switch" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineKnowledgeGraphPostGraphMicrotheorySwitch', {
mind_id: '<mind_id>',
body: {
name: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineKnowledgeGraphPostGraphMicrotheorySwitch",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"name": "string"
}
}
}
}
}knowledge-graph: GET /v1/graph/schema
GET/v1/minds/services/{mind_id}/engine/v1/graph/schema
Calls GET /v1/graph/schema on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions read, query on * (minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_graph set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/graph/schema" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineKnowledgeGraphGetGraphSchema', {
mind_id: '<mind_id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineKnowledgeGraphGetGraphSchema",
"arguments": {
"mind_id": "<mind_id>"
}
}
}
}knowledge-graph: POST /v1/graph/subdomain/query
POST/v1/minds/services/{mind_id}/engine/v1/graph/subdomain/query
Calls POST /v1/graph/subdomain/query on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions query, read on domain_primitives (minds:instances:read; callers need minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_graph set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
namespacestringrequireddomainstringrequiredsubdomainstringrequiredlimitany
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/graph/subdomain/query" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"namespace": "string",
"domain": "string",
"subdomain": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineKnowledgeGraphPostGraphSubdomainQuery', {
mind_id: '<mind_id>',
body: {
namespace: 'string',
domain: 'string',
subdomain: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineKnowledgeGraphPostGraphSubdomainQuery",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"namespace": "string",
"domain": "string",
"subdomain": "string"
}
}
}
}
}knowledge-graph: POST /v1/graph/tx/begin
POST/v1/minds/services/{mind_id}/engine/v1/graph/tx/begin
Calls POST /v1/graph/tx/begin on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions write, update, read, query on * (minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_graph set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/graph/tx/begin" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineKnowledgeGraphPostGraphTxBegin', {
mind_id: '<mind_id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineKnowledgeGraphPostGraphTxBegin",
"arguments": {
"mind_id": "<mind_id>"
}
}
}
}knowledge-graph: POST /v1/graph/tx/commit
POST/v1/minds/services/{mind_id}/engine/v1/graph/tx/commit
Calls POST /v1/graph/tx/commit on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions write, update, read, query on * (minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_graph set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
idstringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/graph/tx/commit" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"id": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineKnowledgeGraphPostGraphTxCommit', {
mind_id: '<mind_id>',
body: {
id: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineKnowledgeGraphPostGraphTxCommit",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"id": "string"
}
}
}
}
}knowledge-graph: POST /v1/graph/tx/rollback
POST/v1/minds/services/{mind_id}/engine/v1/graph/tx/rollback
Calls POST /v1/graph/tx/rollback on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions write, update, read, query on * (minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_graph set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
idstringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/graph/tx/rollback" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"id": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineKnowledgeGraphPostGraphTxRollback', {
mind_id: '<mind_id>',
body: {
id: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineKnowledgeGraphPostGraphTxRollback",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"id": "string"
}
}
}
}
}inference: POST /v1/inference/:model_id
POST/v1/minds/services/{mind_id}/engine/v1/inference/{model_id}
Calls POST /v1/inference/:model_id on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions write, update, read on memory:mhn (minds:instances:update; callers need minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_inference set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)requiredmodel_idpath · stringrequired
Request body application/json
tenant_idstringrequiredpayloadsany[]configanypriorityanydeadline_msany
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/inference/$MODEL_ID" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"tenant_id": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineInferencePostInferenceModelId', {
mind_id: '<mind_id>',
model_id: '<model_id>',
body: {
tenant_id: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineInferencePostInferenceModelId",
"arguments": {
"mind_id": "<mind_id>",
"model_id": "<model_id>",
"body": {
"tenant_id": "string"
}
}
}
}
}inference: GET /v1/inference/jobs
GET/v1/minds/services/{mind_id}/engine/v1/inference/jobs
Calls GET /v1/inference/jobs on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions read on genesis:none (minds:instances:read; callers need minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_inference set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)requiredlimitquery · integer
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/inference/jobs" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineInferenceGetInferenceJobs', {
mind_id: '<mind_id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineInferenceGetInferenceJobs",
"arguments": {
"mind_id": "<mind_id>"
}
}
}
}inference: GET /v1/inference/jobs/:job_id
GET/v1/minds/services/{mind_id}/engine/v1/inference/jobs/{job_id}
Calls GET /v1/inference/jobs/:job_id on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions read on genesis:none (minds:instances:read; callers need minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_inference set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)requiredjob_idpath · stringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/inference/jobs/$JOB_ID" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineInferenceGetInferenceJobsJobId', {
mind_id: '<mind_id>',
job_id: '<job_id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineInferenceGetInferenceJobsJobId",
"arguments": {
"mind_id": "<mind_id>",
"job_id": "<job_id>"
}
}
}
}inference: POST /v1/inference/jobs/:job_id/cancel
POST/v1/minds/services/{mind_id}/engine/v1/inference/jobs/{job_id}/cancel
Calls POST /v1/inference/jobs/:job_id/cancel on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions write, update, read on genesis:none (minds:instances:update; callers need minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_inference set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)requiredjob_idpath · stringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/inference/jobs/$JOB_ID/cancel" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineInferencePostInferenceJobsJobIdCancel', {
mind_id: '<mind_id>',
job_id: '<job_id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineInferencePostInferenceJobsJobIdCancel",
"arguments": {
"mind_id": "<mind_id>",
"job_id": "<job_id>"
}
}
}
}inference: POST /v1/inference/jobs/:job_id/retry
POST/v1/minds/services/{mind_id}/engine/v1/inference/jobs/{job_id}/retry
Calls POST /v1/inference/jobs/:job_id/retry on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions write, update, read on memory:mhn (minds:instances:update; callers need minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_inference set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)requiredjob_idpath · stringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/inference/jobs/$JOB_ID/retry" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineInferencePostInferenceJobsJobIdRetry', {
mind_id: '<mind_id>',
job_id: '<job_id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineInferencePostInferenceJobsJobIdRetry",
"arguments": {
"mind_id": "<mind_id>",
"job_id": "<job_id>"
}
}
}
}analytics: POST /v1/ingest
POST/v1/minds/services/{mind_id}/engine/v1/ingest
Calls POST /v1/ingest on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions write, update, read on ingest_documents, ingest_entities, ingest_triples (minds:instances:update; callers need minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_analytics set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
kindanyrequiredAkasha type IngestKind
content_typestringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/ingest" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"kind": "string",
"content_type": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineAnalyticsPostIngest', {
mind_id: '<mind_id>',
body: {
kind: 'string',
content_type: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineAnalyticsPostIngest",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"kind": "string",
"content_type": "string"
}
}
}
}
}key-value: GET /v1/keyspaces
GET/v1/minds/services/{mind_id}/engine/v1/keyspaces
Calls GET /v1/keyspaces on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions read on genesis:none (minds:instances:read). Exists only on Minds created with enable_kv set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/keyspaces" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineKeyValueGetKeyspaces', {
mind_id: '<mind_id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_engineKeyValueGetKeyspaces",
"arguments": {
"mind_id": "<mind_id>"
}
}
}key-value: POST /v1/keyspaces
POST/v1/minds/services/{mind_id}/engine/v1/keyspaces
Calls POST /v1/keyspaces on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions admin on {body.name} (minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_kv set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
namestringrequiredmodelstringrequireddimsanydomainanyschema_versionanyschemaanystrictanymetadataanydescriptionany
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/keyspaces" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "string",
"model": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineKeyValuePostKeyspaces', {
mind_id: '<mind_id>',
body: {
name: 'string',
model: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineKeyValuePostKeyspaces",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"name": "string",
"model": "string"
}
}
}
}
}key-value: GET /v1/keyspaces/:name
GET/v1/minds/services/{mind_id}/engine/v1/keyspaces/{name}
Calls GET /v1/keyspaces/:name on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions read on {path.name} (minds:instances:read). Exists only on Minds created with enable_kv set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)requirednamepath · stringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/keyspaces/$NAME" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineKeyValueGetKeyspacesName', {
mind_id: '<mind_id>',
name: '<name>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineKeyValueGetKeyspacesName",
"arguments": {
"mind_id": "<mind_id>",
"name": "<name>"
}
}
}
}key-value: DELETE /v1/keyspaces/:name
DELETE/v1/minds/services/{mind_id}/engine/v1/keyspaces/{name}
Calls DELETE /v1/keyspaces/:name on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions admin on {path.name} (minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_kv set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)requirednamepath · stringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X DELETE "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/keyspaces/$NAME" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineKeyValueDeleteKeyspacesName', {
mind_id: '<mind_id>',
name: '<name>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineKeyValueDeleteKeyspacesName",
"arguments": {
"mind_id": "<mind_id>",
"name": "<name>"
}
}
}
}lineage: POST /v1/lineage/graph
POST/v1/minds/services/{mind_id}/engine/v1/lineage/graph
Calls POST /v1/lineage/graph on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions query, read on * (minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_graph set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
root_idanydepthany
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/lineage/graph" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineLineagePostLineageGraph', {
mind_id: '<mind_id>',
body: {},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineLineagePostLineageGraph",
"arguments": {
"mind_id": "<mind_id>",
"body": {}
}
}
}
}lineage: POST /v1/lineage/impact
POST/v1/minds/services/{mind_id}/engine/v1/lineage/impact
Calls POST /v1/lineage/impact on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions query, read on * (minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_graph set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
node_idstringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/lineage/impact" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"node_id": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineLineagePostLineageImpact', {
mind_id: '<mind_id>',
body: {
node_id: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineLineagePostLineageImpact",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"node_id": "string"
}
}
}
}
}lineage: GET /v1/lineage/nodes/:id
GET/v1/minds/services/{mind_id}/engine/v1/lineage/nodes/{id}
Calls GET /v1/lineage/nodes/:id on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions read, query on * (minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_graph set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)requiredidpath · stringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/lineage/nodes/$ID" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineLineageGetLineageNodesId', {
mind_id: '<mind_id>',
id: '<id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineLineageGetLineageNodesId",
"arguments": {
"mind_id": "<mind_id>",
"id": "<id>"
}
}
}
}lineage: GET /v1/lineage/stats
GET/v1/minds/services/{mind_id}/engine/v1/lineage/stats
Calls GET /v1/lineage/stats on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions read, query on * (minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_graph set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/lineage/stats" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineLineageGetLineageStats', {
mind_id: '<mind_id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineLineageGetLineageStats",
"arguments": {
"mind_id": "<mind_id>"
}
}
}
}lineage: POST /v1/lineage/verify
POST/v1/minds/services/{mind_id}/engine/v1/lineage/verify
Calls POST /v1/lineage/verify on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions query, read on * (minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_graph set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
node_idstringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/lineage/verify" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"node_id": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineLineagePostLineageVerify', {
mind_id: '<mind_id>',
body: {
node_id: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineLineagePostLineageVerify",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"node_id": "string"
}
}
}
}
}mcp: POST /v1/mcp/tools/call
POST/v1/minds/services/{mind_id}/engine/v1/mcp/tools/call
Calls POST /v1/mcp/tools/call on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: per tool, from the daemon's MCP authority table (for example recall mints query and read on memory:episodic; forget adds query when arguments.query is given); configure_index and a vault export need minds:instances:manage. Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_mcp set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read plus the scope of the tool's grant (minds:write for writes, minds:manage for configure_index and a vault export). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
namestringrequiredargumentsanynamespaceany
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/mcp/tools/call" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineMcpPostMcpToolsCall', {
mind_id: '<mind_id>',
body: {
name: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineMcpPostMcpToolsCall",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"name": "string"
}
}
}
}
}mcp: POST /v1/mcp/tools/list
POST/v1/minds/services/{mind_id}/engine/v1/mcp/tools/list
Calls POST /v1/mcp/tools/list on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions read on genesis:none (minds:instances:read). Exists only on Minds created with enable_mcp set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
A JSON object; see the description above.
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/mcp/tools/list" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineMcpPostMcpToolsList', {
mind_id: '<mind_id>',
body: {},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineMcpPostMcpToolsList",
"arguments": {
"mind_id": "<mind_id>",
"body": {}
}
}
}
}cognitive-memory: POST /v1/memory/cognitive/decision
POST/v1/minds/services/{mind_id}/engine/v1/memory/cognitive/decision
Calls POST /v1/memory/cognitive/decision on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions write on memory:cognitive (minds:instances:update). Exists only on Minds created with enable_memory set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:write. A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
decisionanyrequiredAkasha type CognitiveDecision
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/memory/cognitive/decision" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"decision": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineCognitiveMemoryPostMemoryCognitiveDecision', {
mind_id: '<mind_id>',
body: {
decision: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineCognitiveMemoryPostMemoryCognitiveDecision",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"decision": "string"
}
}
}
}
}cognitive-memory: POST /v1/memory/cognitive/interaction
POST/v1/minds/services/{mind_id}/engine/v1/memory/cognitive/interaction
Calls POST /v1/memory/cognitive/interaction on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions write on memory:cognitive (minds:instances:update). Exists only on Minds created with enable_memory set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:write. A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
interactionanyrequiredAkasha type AgentInteraction
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/memory/cognitive/interaction" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"interaction": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineCognitiveMemoryPostMemoryCognitiveInteraction', {
mind_id: '<mind_id>',
body: {
interaction: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineCognitiveMemoryPostMemoryCognitiveInteraction",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"interaction": "string"
}
}
}
}
}cognitive-memory: POST /v1/memory/cognitive/query
POST/v1/minds/services/{mind_id}/engine/v1/memory/cognitive/query
Calls POST /v1/memory/cognitive/query on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions query on memory:cognitive (minds:instances:read). Exists only on Minds created with enable_memory set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
queryanyrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/memory/cognitive/query" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineCognitiveMemoryPostMemoryCognitiveQuery', {
mind_id: '<mind_id>',
body: {
query: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineCognitiveMemoryPostMemoryCognitiveQuery",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"query": "string"
}
}
}
}
}cognitive-memory: POST /v1/memory/cognitive/resource
POST/v1/minds/services/{mind_id}/engine/v1/memory/cognitive/resource
Calls POST /v1/memory/cognitive/resource on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions read on memory:cognitive (minds:instances:read). Exists only on Minds created with enable_memory set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
A JSON object; see the description above.
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/memory/cognitive/resource" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineCognitiveMemoryPostMemoryCognitiveResource', {
mind_id: '<mind_id>',
body: {},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineCognitiveMemoryPostMemoryCognitiveResource",
"arguments": {
"mind_id": "<mind_id>",
"body": {}
}
}
}
}cognitive-memory: POST /v1/memory/cognitive/resources
POST/v1/minds/services/{mind_id}/engine/v1/memory/cognitive/resources
Calls POST /v1/memory/cognitive/resources on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions write on memory:cognitive (minds:instances:update). Exists only on Minds created with enable_memory set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:write. A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
A JSON object; see the description above.
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/memory/cognitive/resources" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineCognitiveMemoryPostMemoryCognitiveResources', {
mind_id: '<mind_id>',
body: {},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineCognitiveMemoryPostMemoryCognitiveResources",
"arguments": {
"mind_id": "<mind_id>",
"body": {}
}
}
}
}cognitive-memory: POST /v1/memory/cognitive/resources/usage
POST/v1/minds/services/{mind_id}/engine/v1/memory/cognitive/resources/usage
Calls POST /v1/memory/cognitive/resources/usage on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions query on memory:cognitive (minds:instances:read). Exists only on Minds created with enable_memory set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
A JSON object; see the description above.
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/memory/cognitive/resources/usage" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineCognitiveMemoryPostMemoryCognitiveResourcesUsage', {
mind_id: '<mind_id>',
body: {},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineCognitiveMemoryPostMemoryCognitiveResourcesUsage",
"arguments": {
"mind_id": "<mind_id>",
"body": {}
}
}
}
}cognitive-memory: POST /v1/memory/cognitive/session
POST/v1/minds/services/{mind_id}/engine/v1/memory/cognitive/session
Calls POST /v1/memory/cognitive/session on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions write on memory:cognitive (minds:instances:update). Exists only on Minds created with enable_memory set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:write. A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
agent_idstringrequiredgoalstringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/memory/cognitive/session" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"agent_id": "string",
"goal": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineCognitiveMemoryPostMemoryCognitiveSession', {
mind_id: '<mind_id>',
body: {
agent_id: 'string',
goal: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineCognitiveMemoryPostMemoryCognitiveSession",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"agent_id": "string",
"goal": "string"
}
}
}
}
}cognitive-memory: POST /v1/memory/cognitive/thought
POST/v1/minds/services/{mind_id}/engine/v1/memory/cognitive/thought
Calls POST /v1/memory/cognitive/thought on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions write on memory:cognitive (minds:instances:update). Exists only on Minds created with enable_memory set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:write. A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
thoughtanyrequiredAkasha type CognitiveThought
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/memory/cognitive/thought" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"thought": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineCognitiveMemoryPostMemoryCognitiveThought', {
mind_id: '<mind_id>',
body: {
thought: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineCognitiveMemoryPostMemoryCognitiveThought",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"thought": "string"
}
}
}
}
}cognitive-memory: POST /v1/memory/cognitive/usage
POST/v1/minds/services/{mind_id}/engine/v1/memory/cognitive/usage
Calls POST /v1/memory/cognitive/usage on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions query on memory:cognitive (minds:instances:read). Exists only on Minds created with enable_memory set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
A JSON object; see the description above.
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/memory/cognitive/usage" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineCognitiveMemoryPostMemoryCognitiveUsage', {
mind_id: '<mind_id>',
body: {},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineCognitiveMemoryPostMemoryCognitiveUsage",
"arguments": {
"mind_id": "<mind_id>",
"body": {}
}
}
}
}episodic-memory: POST /v1/memory/episodic
POST/v1/minds/services/{mind_id}/engine/v1/memory/episodic
Calls POST /v1/memory/episodic on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions write on memory:episodic (minds:instances:update). Exists only on Minds created with enable_memory set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:write. A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
eventanyrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/memory/episodic" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"event": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineEpisodicMemoryPostMemoryEpisodic', {
mind_id: '<mind_id>',
body: {
event: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_engineEpisodicMemoryPostMemoryEpisodic",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"event": "string"
}
}
}
}episodic-memory: GET /v1/memory/episodic/:id
GET/v1/minds/services/{mind_id}/engine/v1/memory/episodic/{id}
Calls GET /v1/memory/episodic/:id on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions read on memory:episodic (minds:instances:read). Exists only on Minds created with enable_memory set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)requiredidpath · stringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/memory/episodic/$ID" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineEpisodicMemoryGetMemoryEpisodicId', {
mind_id: '<mind_id>',
id: '<id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_engineEpisodicMemoryGetMemoryEpisodicId",
"arguments": {
"mind_id": "<mind_id>",
"id": "<id>"
}
}
}episodic-memory: PUT /v1/memory/episodic/:id
PUT/v1/minds/services/{mind_id}/engine/v1/memory/episodic/{id}
Calls PUT /v1/memory/episodic/:id on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions read, update on memory:episodic (minds:instances:update). Exists only on Minds created with enable_memory set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:write. A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)requiredidpath · stringrequired
Request body application/json
eventanyrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X PUT "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/memory/episodic/$ID" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"event": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineEpisodicMemoryPutMemoryEpisodicId', {
mind_id: '<mind_id>',
id: '<id>',
body: {
event: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_engineEpisodicMemoryPutMemoryEpisodicId",
"arguments": {
"mind_id": "<mind_id>",
"id": "<id>",
"body": {
"event": "string"
}
}
}
}episodic-memory: DELETE /v1/memory/episodic/:id
DELETE/v1/minds/services/{mind_id}/engine/v1/memory/episodic/{id}
Calls DELETE /v1/memory/episodic/:id on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions delete on memory:episodic (minds:instances:update). Exists only on Minds created with enable_memory set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:write. A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)requiredidpath · stringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X DELETE "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/memory/episodic/$ID" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineEpisodicMemoryDeleteMemoryEpisodicId', {
mind_id: '<mind_id>',
id: '<id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_engineEpisodicMemoryDeleteMemoryEpisodicId",
"arguments": {
"mind_id": "<mind_id>",
"id": "<id>"
}
}
}episodic-memory: POST /v1/memory/episodic/search
POST/v1/minds/services/{mind_id}/engine/v1/memory/episodic/search
Calls POST /v1/memory/episodic/search on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions query, read on memory:episodic (minds:instances:read). Exists only on Minds created with enable_memory set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
textanyqueryanylimitany
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/memory/episodic/search" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineEpisodicMemoryPostMemoryEpisodicSearch', {
mind_id: '<mind_id>',
body: {},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_engineEpisodicMemoryPostMemoryEpisodicSearch",
"arguments": {
"mind_id": "<mind_id>",
"body": {}
}
}
}procedural-memory: POST /v1/memory/procedures
POST/v1/minds/services/{mind_id}/engine/v1/memory/procedures
Calls POST /v1/memory/procedures on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions write on memory:procedural (minds:instances:update). Exists only on Minds created with enable_memory set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:write. A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
procedureanyrequiredAkasha type Procedure
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/memory/procedures" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"procedure": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineProceduralMemoryPostMemoryProcedures', {
mind_id: '<mind_id>',
body: {
procedure: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_engineProceduralMemoryPostMemoryProcedures",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"procedure": "string"
}
}
}
}procedural-memory: POST /v1/memory/procedures/delete
POST/v1/minds/services/{mind_id}/engine/v1/memory/procedures/delete
Calls POST /v1/memory/procedures/delete on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions delete, read, query on memory:procedural (minds:instances:update). Exists only on Minds created with enable_memory set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:write. A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
idstringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/memory/procedures/delete" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"id": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineProceduralMemoryPostMemoryProceduresDelete', {
mind_id: '<mind_id>',
body: {
id: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_engineProceduralMemoryPostMemoryProceduresDelete",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"id": "string"
}
}
}
}procedural-memory: POST /v1/memory/procedures/get
POST/v1/minds/services/{mind_id}/engine/v1/memory/procedures/get
Calls POST /v1/memory/procedures/get on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions read, query on memory:procedural (minds:instances:read). Exists only on Minds created with enable_memory set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
idstringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/memory/procedures/get" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"id": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineProceduralMemoryPostMemoryProceduresGet', {
mind_id: '<mind_id>',
body: {
id: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_engineProceduralMemoryPostMemoryProceduresGet",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"id": "string"
}
}
}
}procedural-memory: GET /v1/memory/procedures/list
GET/v1/minds/services/{mind_id}/engine/v1/memory/procedures/list
Calls GET /v1/memory/procedures/list on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions query, read on memory:procedural (minds:instances:read). Exists only on Minds created with enable_memory set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/memory/procedures/list" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineProceduralMemoryGetMemoryProceduresList', {
mind_id: '<mind_id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_engineProceduralMemoryGetMemoryProceduresList",
"arguments": {
"mind_id": "<mind_id>"
}
}
}procedural-memory: POST /v1/memory/procedures/search
POST/v1/minds/services/{mind_id}/engine/v1/memory/procedures/search
Calls POST /v1/memory/procedures/search on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions query, read on memory:procedural (minds:instances:read). Exists only on Minds created with enable_memory set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
querystringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/memory/procedures/search" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineProceduralMemoryPostMemoryProceduresSearch', {
mind_id: '<mind_id>',
body: {
query: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_engineProceduralMemoryPostMemoryProceduresSearch",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"query": "string"
}
}
}
}procedural-memory: POST /v1/memory/procedures/update
POST/v1/minds/services/{mind_id}/engine/v1/memory/procedures/update
Calls POST /v1/memory/procedures/update on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions read, update, query on memory:procedural (minds:instances:update). Exists only on Minds created with enable_memory set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:write. A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
idstringrequiredprocedureanyrequiredAkasha type Procedure
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/memory/procedures/update" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"id": "string",
"procedure": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineProceduralMemoryPostMemoryProceduresUpdate', {
mind_id: '<mind_id>',
body: {
id: 'string',
procedure: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_engineProceduralMemoryPostMemoryProceduresUpdate",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"id": "string",
"procedure": "string"
}
}
}
}memory: GET /v1/memory/reindex/status
GET/v1/minds/services/{mind_id}/engine/v1/memory/reindex/status
Calls GET /v1/memory/reindex/status on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions read on memory:system (minds:instances:read). Exists only on Minds created with enable_memory set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/memory/reindex/status" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineMemoryGetMemoryReindexStatus', {
mind_id: '<mind_id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineMemoryGetMemoryReindexStatus",
"arguments": {
"mind_id": "<mind_id>"
}
}
}
}resource-memory: POST /v1/memory/resources
POST/v1/minds/services/{mind_id}/engine/v1/memory/resources
Calls POST /v1/memory/resources on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions write on memory:resource (minds:instances:update). Exists only on Minds created with enable_memory set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:write. A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
resourceanyrequiredAkasha type ResourceItem
data_b64stringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/memory/resources" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"resource": "string",
"data_b64": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineResourceMemoryPostMemoryResources', {
mind_id: '<mind_id>',
body: {
resource: 'string',
data_b64: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineResourceMemoryPostMemoryResources",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"resource": "string",
"data_b64": "string"
}
}
}
}
}resource-memory: POST /v1/memory/resources/access
POST/v1/minds/services/{mind_id}/engine/v1/memory/resources/access
Calls POST /v1/memory/resources/access on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions read, update, write on memory:resource (minds:instances:update). Exists only on Minds created with enable_memory set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:write. A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
idstringrequiredaccessstringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/memory/resources/access" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"id": "string",
"access": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineResourceMemoryPostMemoryResourcesAccess', {
mind_id: '<mind_id>',
body: {
id: 'string',
access: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineResourceMemoryPostMemoryResourcesAccess",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"id": "string",
"access": "string"
}
}
}
}
}resource-memory: POST /v1/memory/resources/chunks
POST/v1/minds/services/{mind_id}/engine/v1/memory/resources/chunks
Calls POST /v1/memory/resources/chunks on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions read, query on memory:resource (minds:instances:read). Exists only on Minds created with enable_memory set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
resource_idstringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/memory/resources/chunks" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"resource_id": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineResourceMemoryPostMemoryResourcesChunks', {
mind_id: '<mind_id>',
body: {
resource_id: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineResourceMemoryPostMemoryResourcesChunks",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"resource_id": "string"
}
}
}
}
}resource-memory: POST /v1/memory/resources/data
POST/v1/minds/services/{mind_id}/engine/v1/memory/resources/data
Calls POST /v1/memory/resources/data on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions read, query on memory:resource (minds:instances:read). Exists only on Minds created with enable_memory set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
idstringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/memory/resources/data" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"id": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineResourceMemoryPostMemoryResourcesData', {
mind_id: '<mind_id>',
body: {
id: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineResourceMemoryPostMemoryResourcesData",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"id": "string"
}
}
}
}
}resource-memory: POST /v1/memory/resources/data/exists
POST/v1/minds/services/{mind_id}/engine/v1/memory/resources/data/exists
Calls POST /v1/memory/resources/data/exists on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions read, query on memory:resource (minds:instances:read). Exists only on Minds created with enable_memory set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
idstringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/memory/resources/data/exists" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"id": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineResourceMemoryPostMemoryResourcesDataExists', {
mind_id: '<mind_id>',
body: {
id: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineResourceMemoryPostMemoryResourcesDataExists",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"id": "string"
}
}
}
}
}resource-memory: POST /v1/memory/resources/data/size
POST/v1/minds/services/{mind_id}/engine/v1/memory/resources/data/size
Calls POST /v1/memory/resources/data/size on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions read on memory:resource (minds:instances:read). Exists only on Minds created with enable_memory set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
idstringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/memory/resources/data/size" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"id": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineResourceMemoryPostMemoryResourcesDataSize', {
mind_id: '<mind_id>',
body: {
id: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineResourceMemoryPostMemoryResourcesDataSize",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"id": "string"
}
}
}
}
}resource-memory: POST /v1/memory/resources/get
POST/v1/minds/services/{mind_id}/engine/v1/memory/resources/get
Calls POST /v1/memory/resources/get on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions read on memory:resource (minds:instances:read). Exists only on Minds created with enable_memory set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
idstringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/memory/resources/get" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"id": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineResourceMemoryPostMemoryResourcesGet', {
mind_id: '<mind_id>',
body: {
id: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineResourceMemoryPostMemoryResourcesGet",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"id": "string"
}
}
}
}
}resource-memory: GET /v1/memory/resources/list
GET/v1/minds/services/{mind_id}/engine/v1/memory/resources/list
Calls GET /v1/memory/resources/list on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions query, read on memory:resource (minds:instances:read). Exists only on Minds created with enable_memory set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/memory/resources/list" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineResourceMemoryGetMemoryResourcesList', {
mind_id: '<mind_id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineResourceMemoryGetMemoryResourcesList",
"arguments": {
"mind_id": "<mind_id>"
}
}
}
}resource-memory: POST /v1/memory/resources/type
POST/v1/minds/services/{mind_id}/engine/v1/memory/resources/type
Calls POST /v1/memory/resources/type on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions query, read on memory:resource (minds:instances:read). Exists only on Minds created with enable_memory set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
kindstringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/memory/resources/type" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"kind": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineResourceMemoryPostMemoryResourcesType', {
mind_id: '<mind_id>',
body: {
kind: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineResourceMemoryPostMemoryResourcesType",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"kind": "string"
}
}
}
}
}resource-memory: POST /v1/memory/resources/usage
POST/v1/minds/services/{mind_id}/engine/v1/memory/resources/usage
Calls POST /v1/memory/resources/usage on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions query, read on memory:resource (minds:instances:read). Exists only on Minds created with enable_memory set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
idstringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/memory/resources/usage" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"id": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineResourceMemoryPostMemoryResourcesUsage', {
mind_id: '<mind_id>',
body: {
id: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineResourceMemoryPostMemoryResourcesUsage",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"id": "string"
}
}
}
}
}memory: POST /v1/memory/retrieval/hybrid
POST/v1/minds/services/{mind_id}/engine/v1/memory/retrieval/hybrid
Calls POST /v1/memory/retrieval/hybrid on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions query on memory:episodic (minds:instances:read). Exists only on Minds created with enable_memory set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
textstringrequiredlimitanychunkboolean
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/memory/retrieval/hybrid" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"text": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineMemoryPostMemoryRetrievalHybrid', {
mind_id: '<mind_id>',
body: {
text: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_engineMemoryPostMemoryRetrievalHybrid",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"text": "string"
}
}
}
}memory: GET /v1/memory/stats
GET/v1/minds/services/{mind_id}/engine/v1/memory/stats
Calls GET /v1/memory/stats on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions read, query on memory:system, memory:episodic, memory:procedural, memory:resource, memory:vault (minds:instances:read). Exists only on Minds created with enable_memory set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/memory/stats" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineMemoryGetMemoryStats', {
mind_id: '<mind_id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_engineMemoryGetMemoryStats",
"arguments": {
"mind_id": "<mind_id>"
}
}
}vault: POST /v1/memory/vault
POST/v1/minds/services/{mind_id}/engine/v1/memory/vault
Calls POST /v1/memory/vault on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions write, read, update on memory:vault (minds:instances:update). Exists only on Minds created with enable_memory set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:write. A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
keystringrequireddata_b64stringrequiredsensitivitystringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/memory/vault" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"key": "string",
"data_b64": "string",
"sensitivity": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineVaultPostMemoryVault', {
mind_id: '<mind_id>',
body: {
key: 'string',
data_b64: 'string',
sensitivity: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineVaultPostMemoryVault",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"key": "string",
"data_b64": "string",
"sensitivity": "string"
}
}
}
}
}vault: POST /v1/memory/vault/access-log
POST/v1/minds/services/{mind_id}/engine/v1/memory/vault/access-log
Calls POST /v1/memory/vault/access-log on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions admin, read, query on memory:vault (minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_memory set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
entry_idany
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/memory/vault/access-log" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineVaultPostMemoryVaultAccessLog', {
mind_id: '<mind_id>',
body: {},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineVaultPostMemoryVaultAccessLog",
"arguments": {
"mind_id": "<mind_id>",
"body": {}
}
}
}
}vault: POST /v1/memory/vault/delete
POST/v1/minds/services/{mind_id}/engine/v1/memory/vault/delete
Calls POST /v1/memory/vault/delete on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions delete, read, write, update on memory:vault (minds:instances:update). Exists only on Minds created with enable_memory set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:write. A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
idstringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/memory/vault/delete" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"id": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineVaultPostMemoryVaultDelete', {
mind_id: '<mind_id>',
body: {
id: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineVaultPostMemoryVaultDelete",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"id": "string"
}
}
}
}
}vault: POST /v1/memory/vault/get
POST/v1/minds/services/{mind_id}/engine/v1/memory/vault/get
Calls POST /v1/memory/vault/get on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions read, write, update on memory:vault (minds:instances:update). Exists only on Minds created with enable_memory set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:write. A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
idstringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/memory/vault/get" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"id": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineVaultPostMemoryVaultGet', {
mind_id: '<mind_id>',
body: {
id: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineVaultPostMemoryVaultGet",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"id": "string"
}
}
}
}
}vault: POST /v1/memory/vault/search
POST/v1/minds/services/{mind_id}/engine/v1/memory/vault/search
Calls POST /v1/memory/vault/search on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions query, read, write on memory:vault (minds:instances:update). Exists only on Minds created with enable_memory set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:write. A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
patternstringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/memory/vault/search" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"pattern": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineVaultPostMemoryVaultSearch', {
mind_id: '<mind_id>',
body: {
pattern: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineVaultPostMemoryVaultSearch",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"pattern": "string"
}
}
}
}
}vault: GET /v1/memory/vault/stats
GET/v1/minds/services/{mind_id}/engine/v1/memory/vault/stats
Calls GET /v1/memory/vault/stats on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions query, read on memory:vault (minds:instances:read). Exists only on Minds created with enable_memory set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/memory/vault/stats" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineVaultGetMemoryVaultStats', {
mind_id: '<mind_id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineVaultGetMemoryVaultStats",
"arguments": {
"mind_id": "<mind_id>"
}
}
}
}vault: POST /v1/memory/vault/update
POST/v1/minds/services/{mind_id}/engine/v1/memory/vault/update
Calls POST /v1/memory/vault/update on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions update, read, write on memory:vault (minds:instances:update). Exists only on Minds created with enable_memory set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:write. A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
idstringrequiredvalue_b64stringtagsstring[]metadataany
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/memory/vault/update" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"id": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineVaultPostMemoryVaultUpdate', {
mind_id: '<mind_id>',
body: {
id: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineVaultPostMemoryVaultUpdate",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"id": "string"
}
}
}
}
}machine-learning: POST /v1/ml/embed
POST/v1/minds/services/{mind_id}/engine/v1/ml/embed
Calls POST /v1/ml/embed on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions read, query on models (minds:instances:read; callers need minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_ml set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
textstringrequiredchunkbooleanchunkingany
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/ml/embed" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"text": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineMachineLearningPostMlEmbed', {
mind_id: '<mind_id>',
body: {
text: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineMachineLearningPostMlEmbed",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"text": "string"
}
}
}
}
}machine-learning: POST /v1/ml/generate
POST/v1/minds/services/{mind_id}/engine/v1/ml/generate
Calls POST /v1/ml/generate on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions read, query on models (minds:instances:read; callers need minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_ml set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
model_idstringrequiredpromptstringrequiredmax_tokensanytemperatureany
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/ml/generate" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model_id": "string",
"prompt": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineMachineLearningPostMlGenerate', {
mind_id: '<mind_id>',
body: {
model_id: 'string',
prompt: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineMachineLearningPostMlGenerate",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"model_id": "string",
"prompt": "string"
}
}
}
}
}machine-learning: POST /v1/ml/metrics
POST/v1/minds/services/{mind_id}/engine/v1/ml/metrics
Calls POST /v1/ml/metrics on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions read, query on models (minds:instances:read; callers need minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_ml set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
model_idstringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/ml/metrics" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model_id": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineMachineLearningPostMlMetrics', {
mind_id: '<mind_id>',
body: {
model_id: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineMachineLearningPostMlMetrics",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"model_id": "string"
}
}
}
}
}machine-learning: GET /v1/ml/models
GET/v1/minds/services/{mind_id}/engine/v1/ml/models
Calls GET /v1/ml/models on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions read, query on models (minds:instances:read; callers need minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_ml set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/ml/models" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineMachineLearningGetMlModels', {
mind_id: '<mind_id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineMachineLearningGetMlModels",
"arguments": {
"mind_id": "<mind_id>"
}
}
}
}machine-learning: POST /v1/ml/models/load
POST/v1/minds/services/{mind_id}/engine/v1/ml/models/load
Calls POST /v1/ml/models/load on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions write, read, query on models, models_blobs (minds:instances:update; callers need minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_ml set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
namestringrequiredmodel_typestringrequiredframeworkstringrequiredpathanydata_b64any
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/ml/models/load" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "string",
"model_type": "string",
"framework": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineMachineLearningPostMlModelsLoad', {
mind_id: '<mind_id>',
body: {
name: 'string',
model_type: 'string',
framework: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineMachineLearningPostMlModelsLoad",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"name": "string",
"model_type": "string",
"framework": "string"
}
}
}
}
}machine-learning: POST /v1/ml/models/unload
POST/v1/minds/services/{mind_id}/engine/v1/ml/models/unload
Calls POST /v1/ml/models/unload on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions delete, read, query on models, models_blobs (minds:instances:update; callers need minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_ml set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
idstringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/ml/models/unload" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"id": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineMachineLearningPostMlModelsUnload', {
mind_id: '<mind_id>',
body: {
id: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineMachineLearningPostMlModelsUnload",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"id": "string"
}
}
}
}
}machine-learning: POST /v1/ml/tokenizers/load
POST/v1/minds/services/{mind_id}/engine/v1/ml/tokenizers/load
Calls POST /v1/ml/tokenizers/load on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions write, read, query on models (minds:instances:update; callers need minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_ml set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
model_idstringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/ml/tokenizers/load" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model_id": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineMachineLearningPostMlTokenizersLoad', {
mind_id: '<mind_id>',
body: {
model_id: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineMachineLearningPostMlTokenizersLoad",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"model_id": "string"
}
}
}
}
}machine-learning: POST /v1/ml/train/hrm
POST/v1/minds/services/{mind_id}/engine/v1/ml/train/hrm
Calls POST /v1/ml/train/hrm on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions write, read, query on models (minds:instances:update; callers need minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_ml set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
domainstringrequireddataspacestringrequiredprimitive_keyspacestringrequiredcheckpoint_namestringrequiredreservoir_idanyepochsanybatch_sizeanymodel_configanyrequiredtraining_configanyrequiredinputsanytargetsany
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/ml/train/hrm" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"domain": "string",
"dataspace": "string",
"primitive_keyspace": "string",
"checkpoint_name": "string",
"model_config": "string",
"training_config": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineMachineLearningPostMlTrainHrm', {
mind_id: '<mind_id>',
body: {
domain: 'string',
dataspace: 'string',
primitive_keyspace: 'string',
checkpoint_name: 'string',
model_config: 'string',
training_config: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineMachineLearningPostMlTrainHrm",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"domain": "string",
"dataspace": "string",
"primitive_keyspace": "string",
"checkpoint_name": "string",
"model_config": "string",
"training_config": "string"
}
}
}
}
}machine-learning: POST /v1/ml/train/supervised
POST/v1/minds/services/{mind_id}/engine/v1/ml/train/supervised
Calls POST /v1/ml/train/supervised on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions write, read, query on models (minds:instances:update; callers need minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_ml set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
model_namestringrequiredinput_dimintegerrequirednum_classesintegerrequiredsamplesany[]requiredparamsanyAkasha type MlTrainingParams
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/ml/train/supervised" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model_name": "string",
"input_dim": 1,
"num_classes": 1,
"samples": []
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineMachineLearningPostMlTrainSupervised', {
mind_id: '<mind_id>',
body: {
model_name: 'string',
input_dim: 1,
num_classes: 1,
samples: [],
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineMachineLearningPostMlTrainSupervised",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"model_name": "string",
"input_dim": 1,
"num_classes": 1,
"samples": []
}
}
}
}
}vectors: GET /v1/ml/vector
GET/v1/minds/services/{mind_id}/engine/v1/ml/vector
Calls GET /v1/ml/vector on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions read, query on models (minds:instances:read; callers need minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_vector set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/ml/vector" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineVectorsGetMlVector', {
mind_id: '<mind_id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineVectorsGetMlVector",
"arguments": {
"mind_id": "<mind_id>"
}
}
}
}vectors: POST /v1/ml/vector/add
POST/v1/minds/services/{mind_id}/engine/v1/ml/vector/add
Calls POST /v1/ml/vector/add on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions write, update, read, query on models (minds:instances:update; callers need minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_vector set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
namestringrequiredidstringrequiredvectornumber[]required
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/ml/vector/add" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "string",
"id": "string",
"vector": []
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineVectorsPostMlVectorAdd', {
mind_id: '<mind_id>',
body: {
name: 'string',
id: 'string',
vector: [],
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineVectorsPostMlVectorAdd",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"name": "string",
"id": "string",
"vector": []
}
}
}
}
}vectors: POST /v1/ml/vector/create
POST/v1/minds/services/{mind_id}/engine/v1/ml/vector/create
Calls POST /v1/ml/vector/create on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions write, update, read, query on models (minds:instances:update; callers need minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_vector set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
namestringrequireddimsintegerrequiredmetricstringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/ml/vector/create" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "string",
"dims": 1,
"metric": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineVectorsPostMlVectorCreate', {
mind_id: '<mind_id>',
body: {
name: 'string',
dims: 1,
metric: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineVectorsPostMlVectorCreate",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"name": "string",
"dims": 1,
"metric": "string"
}
}
}
}
}vectors: POST /v1/ml/vector/save
POST/v1/minds/services/{mind_id}/engine/v1/ml/vector/save
Calls POST /v1/ml/vector/save on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions write, update, read, query on models (minds:instances:update; callers need minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_vector set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
namestringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/ml/vector/save" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineVectorsPostMlVectorSave', {
mind_id: '<mind_id>',
body: {
name: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineVectorsPostMlVectorSave",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"name": "string"
}
}
}
}
}vectors: POST /v1/ml/vector/search
POST/v1/minds/services/{mind_id}/engine/v1/ml/vector/search
Calls POST /v1/ml/vector/search on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions query, read on models (minds:instances:read; callers need minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_vector set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
namestringrequiredvectornumber[]requiredkintegerrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/ml/vector/search" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "string",
"vector": [],
"k": 1
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineVectorsPostMlVectorSearch', {
mind_id: '<mind_id>',
body: {
name: 'string',
vector: [],
k: 1,
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineVectorsPostMlVectorSearch",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"name": "string",
"vector": [],
"k": 1
}
}
}
}
}reasoning: GET /v1/ns/cache/stats
GET/v1/minds/services/{mind_id}/engine/v1/ns/cache/stats
Calls GET /v1/ns/cache/stats on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions read on genesis:none (minds:instances:read; callers need minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_neurosymbolic set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/ns/cache/stats" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineReasoningGetNsCacheStats', {
mind_id: '<mind_id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineReasoningGetNsCacheStats",
"arguments": {
"mind_id": "<mind_id>"
}
}
}
}reasoning: GET /v1/ns/history
GET/v1/minds/services/{mind_id}/engine/v1/ns/history
Calls GET /v1/ns/history on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions read on genesis:none (minds:instances:read; callers need minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_neurosymbolic set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/ns/history" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineReasoningGetNsHistory', {
mind_id: '<mind_id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineReasoningGetNsHistory",
"arguments": {
"mind_id": "<mind_id>"
}
}
}
}reasoning: POST /v1/ns/paths/find
POST/v1/minds/services/{mind_id}/engine/v1/ns/paths/find
Calls POST /v1/ns/paths/find on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions query, read on * (minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_neurosymbolic set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
startstringrequiredendstringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/ns/paths/find" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"start": "string",
"end": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineReasoningPostNsPathsFind', {
mind_id: '<mind_id>',
body: {
start: 'string',
end: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineReasoningPostNsPathsFind",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"start": "string",
"end": "string"
}
}
}
}
}reasoning: POST /v1/ns/prefetch/start
POST/v1/minds/services/{mind_id}/engine/v1/ns/prefetch/start
Calls POST /v1/ns/prefetch/start on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions write, update, read on genesis:none (minds:instances:update; callers need minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_neurosymbolic set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
querystringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/ns/prefetch/start" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineReasoningPostNsPrefetchStart', {
mind_id: '<mind_id>',
body: {
query: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineReasoningPostNsPrefetchStart",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"query": "string"
}
}
}
}
}reasoning: POST /v1/ns/prefetch/stop
POST/v1/minds/services/{mind_id}/engine/v1/ns/prefetch/stop
Calls POST /v1/ns/prefetch/stop on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions write, update, read on genesis:none (minds:instances:update; callers need minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_neurosymbolic set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/ns/prefetch/stop" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineReasoningPostNsPrefetchStop', {
mind_id: '<mind_id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineReasoningPostNsPrefetchStop",
"arguments": {
"mind_id": "<mind_id>"
}
}
}
}reasoning: POST /v1/ns/retrieve
POST/v1/minds/services/{mind_id}/engine/v1/ns/retrieve
Calls POST /v1/ns/retrieve on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions query, read on memory:episodic (minds:instances:read; callers need minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_neurosymbolic set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
textstringrequiredmodeanykany
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/ns/retrieve" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"text": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineReasoningPostNsRetrieve', {
mind_id: '<mind_id>',
body: {
text: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineReasoningPostNsRetrieve",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"text": "string"
}
}
}
}
}reasoning: POST /v1/ns/retrieve_with_mode
POST/v1/minds/services/{mind_id}/engine/v1/ns/retrieve_with_mode
Calls POST /v1/ns/retrieve_with_mode on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions query, read on memory:episodic (minds:instances:read; callers need minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_neurosymbolic set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
textstringrequiredmodeanykany
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/ns/retrieve_with_mode" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"text": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineReasoningPostNsRetrieveWithMode', {
mind_id: '<mind_id>',
body: {
text: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineReasoningPostNsRetrieveWithMode",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"text": "string"
}
}
}
}
}reasoning: GET /v1/ns/rules
GET/v1/minds/services/{mind_id}/engine/v1/ns/rules
Calls GET /v1/ns/rules on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions read on genesis:none (minds:instances:read; callers need minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_neurosymbolic set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/ns/rules" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineReasoningGetNsRules', {
mind_id: '<mind_id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineReasoningGetNsRules",
"arguments": {
"mind_id": "<mind_id>"
}
}
}
}reasoning: GET /v1/ns/stats
GET/v1/minds/services/{mind_id}/engine/v1/ns/stats
Calls GET /v1/ns/stats on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions read on genesis:none (minds:instances:read; callers need minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_neurosymbolic set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/ns/stats" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineReasoningGetNsStats', {
mind_id: '<mind_id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineReasoningGetNsStats",
"arguments": {
"mind_id": "<mind_id>"
}
}
}
}key-value: POST /v1/primitives/export
POST/v1/minds/services/{mind_id}/engine/v1/primitives/export
Calls POST /v1/primitives/export on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions query on {body.keyspace} (minds:instances:read). Exists only on Minds created with enable_kv set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
keyspacestringrequiredschema_versionany
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/primitives/export" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"keyspace": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineKeyValuePostPrimitivesExport', {
mind_id: '<mind_id>',
body: {
keyspace: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineKeyValuePostPrimitivesExport",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"keyspace": "string"
}
}
}
}
}key-value: POST /v1/primitives/import
POST/v1/minds/services/{mind_id}/engine/v1/primitives/import
Calls POST /v1/primitives/import on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions write on {body.keyspace} (minds:instances:update). Exists only on Minds created with enable_kv set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:write. A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
keyspacestringrequiredrecordsany[]requiredschema_versionanyupsertboolean
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/primitives/import" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"keyspace": "string",
"records": []
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineKeyValuePostPrimitivesImport', {
mind_id: '<mind_id>',
body: {
keyspace: 'string',
records: [],
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineKeyValuePostPrimitivesImport",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"keyspace": "string",
"records": []
}
}
}
}
}learning-isolation: GET /v1/quarantine/items
GET/v1/minds/services/{mind_id}/engine/v1/quarantine/items
Calls GET /v1/quarantine/items on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions query, read on _system_quarantine (minds:instances:read). Registered on every Mind with a storage service (kv, graph, analytics, ml, inference, vector or memory) enabled. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)requiredstatusquery · stringlimitquery · integer
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/quarantine/items" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineLearningIsolationGetQuarantineItems', {
mind_id: '<mind_id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineLearningIsolationGetQuarantineItems",
"arguments": {
"mind_id": "<mind_id>"
}
}
}
}learning-isolation: GET /v1/quarantine/items/:id
GET/v1/minds/services/{mind_id}/engine/v1/quarantine/items/{id}
Calls GET /v1/quarantine/items/:id on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions read on _system_quarantine (minds:instances:read). Registered on every Mind with a storage service (kv, graph, analytics, ml, inference, vector or memory) enabled. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)requiredidpath · stringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/quarantine/items/$ID" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineLearningIsolationGetQuarantineItemsId', {
mind_id: '<mind_id>',
id: '<id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineLearningIsolationGetQuarantineItemsId",
"arguments": {
"mind_id": "<mind_id>",
"id": "<id>"
}
}
}
}learning-isolation: POST /v1/quarantine/items/:id/approve
POST/v1/minds/services/{mind_id}/engine/v1/quarantine/items/{id}/approve
Calls POST /v1/quarantine/items/:id/approve on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions write, update, read on _system_quarantine (minds:instances:update). Registered on every Mind with a storage service (kv, graph, analytics, ml, inference, vector or memory) enabled. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:write. A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)requiredidpath · stringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/quarantine/items/$ID/approve" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineLearningIsolationPostQuarantineItemsIdApprove', {
mind_id: '<mind_id>',
id: '<id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineLearningIsolationPostQuarantineItemsIdApprove",
"arguments": {
"mind_id": "<mind_id>",
"id": "<id>"
}
}
}
}learning-isolation: POST /v1/quarantine/items/:id/reject
POST/v1/minds/services/{mind_id}/engine/v1/quarantine/items/{id}/reject
Calls POST /v1/quarantine/items/:id/reject on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions write, update, read on _system_quarantine (minds:instances:update). Registered on every Mind with a storage service (kv, graph, analytics, ml, inference, vector or memory) enabled. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:write. A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)requiredidpath · stringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/quarantine/items/$ID/reject" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineLearningIsolationPostQuarantineItemsIdReject', {
mind_id: '<mind_id>',
id: '<id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineLearningIsolationPostQuarantineItemsIdReject",
"arguments": {
"mind_id": "<mind_id>",
"id": "<id>"
}
}
}
}learning-isolation: GET /v1/quarantine/policies
GET/v1/minds/services/{mind_id}/engine/v1/quarantine/policies
Calls GET /v1/quarantine/policies on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions read on _system_quarantine (minds:instances:read). Registered on every Mind with a storage service (kv, graph, analytics, ml, inference, vector or memory) enabled. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/quarantine/policies" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineLearningIsolationGetQuarantinePolicies', {
mind_id: '<mind_id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineLearningIsolationGetQuarantinePolicies",
"arguments": {
"mind_id": "<mind_id>"
}
}
}
}learning-isolation: GET /v1/quarantine/stats
GET/v1/minds/services/{mind_id}/engine/v1/quarantine/stats
Calls GET /v1/quarantine/stats on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions query, read on _system_quarantine (minds:instances:read). Registered on every Mind with a storage service (kv, graph, analytics, ml, inference, vector or memory) enabled. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/quarantine/stats" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineLearningIsolationGetQuarantineStats', {
mind_id: '<mind_id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineLearningIsolationGetQuarantineStats",
"arguments": {
"mind_id": "<mind_id>"
}
}
}
}learning-isolation: POST /v1/quarantine/test-gate
POST/v1/minds/services/{mind_id}/engine/v1/quarantine/test-gate
Calls POST /v1/quarantine/test-gate on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions query, read, write on _system_quarantine (minds:instances:update). Registered on every Mind with a storage service (kv, graph, analytics, ml, inference, vector or memory) enabled. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:write. A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
item_idstringrequiredgatestringrequiredthresholdany
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/quarantine/test-gate" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"item_id": "string",
"gate": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineLearningIsolationPostQuarantineTestGate', {
mind_id: '<mind_id>',
body: {
item_id: 'string',
gate: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineLearningIsolationPostQuarantineTestGate",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"item_id": "string",
"gate": "string"
}
}
}
}
}maintenance: POST /v1/search/text
POST/v1/minds/services/{mind_id}/engine/v1/search/text
Calls POST /v1/search/text on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions query, read on {body.keyspace} (minds:instances:read; callers need minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_kv or enable_analytics set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
keyspacestringrequiredquerystringrequiredlimitany
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/search/text" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"keyspace": "string",
"query": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineMaintenancePostSearchText', {
mind_id: '<mind_id>',
body: {
keyspace: 'string',
query: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineMaintenancePostSearchText",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"keyspace": "string",
"query": "string"
}
}
}
}
}spiking-networks: POST /v1/snn/network/build
POST/v1/minds/services/{mind_id}/engine/v1/snn/network/build
Calls POST /v1/snn/network/build on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions snn:admin, snn:write, snn:query on memory:snn, snn_networks, snn_compiled, snn_runs (minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_snn set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
A JSON object; see the description above.
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/snn/network/build" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineSpikingNetworksPostSnnNetworkBuild', {
mind_id: '<mind_id>',
body: {},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineSpikingNetworksPostSnnNetworkBuild",
"arguments": {
"mind_id": "<mind_id>",
"body": {}
}
}
}
}spiking-networks: POST /v1/snn/network/compile
POST/v1/minds/services/{mind_id}/engine/v1/snn/network/compile
Calls POST /v1/snn/network/compile on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions snn:execute, snn:write on memory:snn, snn_networks, snn_compiled, snn_runs (minds:instances:update). Exists only on Minds created with enable_snn set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:write. A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
A JSON object; see the description above.
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/snn/network/compile" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineSpikingNetworksPostSnnNetworkCompile', {
mind_id: '<mind_id>',
body: {},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineSpikingNetworksPostSnnNetworkCompile",
"arguments": {
"mind_id": "<mind_id>",
"body": {}
}
}
}
}spiking-networks: POST /v1/snn/network/state
POST/v1/minds/services/{mind_id}/engine/v1/snn/network/state
Calls POST /v1/snn/network/state on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions snn:read, snn:query on memory:snn, snn_networks, snn_compiled, snn_runs (minds:instances:read). Exists only on Minds created with enable_snn set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
A JSON object; see the description above.
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/snn/network/state" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineSpikingNetworksPostSnnNetworkState', {
mind_id: '<mind_id>',
body: {},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineSpikingNetworksPostSnnNetworkState",
"arguments": {
"mind_id": "<mind_id>",
"body": {}
}
}
}
}spiking-networks: POST /v1/snn/network/step
POST/v1/minds/services/{mind_id}/engine/v1/snn/network/step
Calls POST /v1/snn/network/step on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions snn:execute on memory:snn, snn_networks, snn_compiled, snn_runs (minds:instances:update). Exists only on Minds created with enable_snn set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:write. A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
A JSON object; see the description above.
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/snn/network/step" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineSpikingNetworksPostSnnNetworkStep', {
mind_id: '<mind_id>',
body: {},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineSpikingNetworksPostSnnNetworkStep",
"arguments": {
"mind_id": "<mind_id>",
"body": {}
}
}
}
}spiking-networks: POST /v1/snn/neurons
POST/v1/minds/services/{mind_id}/engine/v1/snn/neurons
Calls POST /v1/snn/neurons on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions snn:read on memory:snn, snn_networks, snn_compiled, snn_runs (minds:instances:read). Exists only on Minds created with enable_snn set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
network_idstringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/snn/neurons" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"network_id": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineSpikingNetworksPostSnnNeurons', {
mind_id: '<mind_id>',
body: {
network_id: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineSpikingNetworksPostSnnNeurons",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"network_id": "string"
}
}
}
}
}spiking-networks: GET /v1/snn/stats
GET/v1/minds/services/{mind_id}/engine/v1/snn/stats
Calls GET /v1/snn/stats on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions snn:read on memory:snn, snn_networks, snn_compiled, snn_runs (minds:instances:read). Exists only on Minds created with enable_snn set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/snn/stats" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineSpikingNetworksGetSnnStats', {
mind_id: '<mind_id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineSpikingNetworksGetSnnStats",
"arguments": {
"mind_id": "<mind_id>"
}
}
}
}spiking-networks: POST /v1/snn/train/bptt
POST/v1/minds/services/{mind_id}/engine/v1/snn/train/bptt
Calls POST /v1/snn/train/bptt on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions snn:train on memory:snn, snn_networks, snn_compiled, snn_runs (minds:instances:update). Exists only on Minds created with enable_snn set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:write. A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
A JSON object; see the description above.
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/snn/train/bptt" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineSpikingNetworksPostSnnTrainBptt', {
mind_id: '<mind_id>',
body: {},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineSpikingNetworksPostSnnTrainBptt",
"arguments": {
"mind_id": "<mind_id>",
"body": {}
}
}
}
}key-value: GET /v1/stats
GET/v1/minds/services/{mind_id}/engine/v1/stats
Calls GET /v1/stats on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions read on genesis:none (minds:instances:read). Exists only on Minds created with enable_kv set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/stats" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineKeyValueGetStats', {
mind_id: '<mind_id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineKeyValueGetStats",
"arguments": {
"mind_id": "<mind_id>"
}
}
}
}text-chunking: POST /v1/text/chunk
POST/v1/minds/services/{mind_id}/engine/v1/text/chunk
Calls POST /v1/text/chunk on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions read on genesis:none (minds:instances:read). Registered on every Mind. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
textstringrequiredconfigany
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/text/chunk" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"text": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineTextChunkingPostTextChunk', {
mind_id: '<mind_id>',
body: {
text: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_engineTextChunkingPostTextChunk",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"text": "string"
}
}
}
}text-chunking: GET /v1/text/chunk/config
GET/v1/minds/services/{mind_id}/engine/v1/text/chunk/config
Calls GET /v1/text/chunk/config on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions read on genesis:none (minds:instances:read). Registered on every Mind. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/text/chunk/config" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineTextChunkingGetTextChunkConfig', {
mind_id: '<mind_id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineTextChunkingGetTextChunkConfig",
"arguments": {
"mind_id": "<mind_id>"
}
}
}
}transactions: GET /v1/tx/:id/read
GET/v1/minds/services/{mind_id}/engine/v1/tx/{id}/read
Calls GET /v1/tx/:id/read on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions read on {query.keyspace} (minds:instances:read; callers need minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_kv set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)requiredidpath · stringrequiredkeyspacequery · stringrequiredkeyquery · stringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/tx/$ID/read?keyspace=$KEYSPACE&key=$KEY" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineTransactionsGetTxIdRead', {
mind_id: '<mind_id>',
id: '<id>',
keyspace: '<keyspace>',
key: '<key>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineTransactionsGetTxIdRead",
"arguments": {
"mind_id": "<mind_id>",
"id": "<id>",
"keyspace": "<keyspace>",
"key": "<key>"
}
}
}
}transactions: POST /v1/tx/:id/write
POST/v1/minds/services/{mind_id}/engine/v1/tx/{id}/write
Calls POST /v1/tx/:id/write on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions write, delete on {body.keyspace} (minds:instances:update; callers need minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_kv set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)requiredidpath · stringrequired
Request body application/json
opstringrequiredkeyspacestringrequiredkeystringrequiredvalueany
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/tx/$ID/write" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"op": "string",
"keyspace": "string",
"key": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineTransactionsPostTxIdWrite', {
mind_id: '<mind_id>',
id: '<id>',
body: {
op: 'string',
keyspace: 'string',
key: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineTransactionsPostTxIdWrite",
"arguments": {
"mind_id": "<mind_id>",
"id": "<id>",
"body": {
"op": "string",
"keyspace": "string",
"key": "string"
}
}
}
}
}transactions: POST /v1/tx/abort
POST/v1/minds/services/{mind_id}/engine/v1/tx/abort
Calls POST /v1/tx/abort on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions write, update, read on genesis:none (minds:instances:update; callers need minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_kv set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
idstringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/tx/abort" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"id": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineTransactionsPostTxAbort', {
mind_id: '<mind_id>',
body: {
id: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineTransactionsPostTxAbort",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"id": "string"
}
}
}
}
}transactions: POST /v1/tx/begin
POST/v1/minds/services/{mind_id}/engine/v1/tx/begin
Calls POST /v1/tx/begin on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions write, update, read on genesis:none (minds:instances:update; callers need minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_kv set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
actorstringrequiredisolationstringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/tx/begin" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"actor": "string",
"isolation": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineTransactionsPostTxBegin', {
mind_id: '<mind_id>',
body: {
actor: 'string',
isolation: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineTransactionsPostTxBegin",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"actor": "string",
"isolation": "string"
}
}
}
}
}transactions: POST /v1/tx/commit
POST/v1/minds/services/{mind_id}/engine/v1/tx/commit
Calls POST /v1/tx/commit on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions write, update, read on genesis:none (minds:instances:update; callers need minds:instances:manage). Human sessions: Auth does not delegate minds:instances:manage to Console sessions, so this route answers 403 MINDS_ENGINE_MANAGE_REQUIRED (required_scope minds:instances:manage, layer gateway) before any delegation; use an org API key with minds:manage. Exists only on Minds created with enable_kv set; elsewhere the Mind answers 404. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:manage (minds:manage does not imply read). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
idstringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/tx/commit" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"id": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineTransactionsPostTxCommit', {
mind_id: '<mind_id>',
body: {
id: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "minds_engineTransactionsPostTxCommit",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"id": "string"
}
}
}
}
}working-memory: GET /v1/working-memory/slots
GET/v1/minds/services/{mind_id}/engine/v1/working-memory/slots
Calls GET /v1/working-memory/slots on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions read on memory:working (minds:instances:read). Registered on every Mind. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/working-memory/slots" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineWorkingMemoryGetWorkingMemorySlots', {
mind_id: '<mind_id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_engineWorkingMemoryGetWorkingMemorySlots",
"arguments": {
"mind_id": "<mind_id>"
}
}
}working-memory: POST /v1/working-memory/slots/clear
POST/v1/minds/services/{mind_id}/engine/v1/working-memory/slots/clear
Calls POST /v1/working-memory/slots/clear on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions delete on memory:working (minds:instances:update). Registered on every Mind. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:write. A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
idstringrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/working-memory/slots/clear" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"id": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineWorkingMemoryPostWorkingMemorySlotsClear', {
mind_id: '<mind_id>',
body: {
id: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_engineWorkingMemoryPostWorkingMemorySlotsClear",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"id": "string"
}
}
}
}working-memory: POST /v1/working-memory/slots/inject
POST/v1/minds/services/{mind_id}/engine/v1/working-memory/slots/inject
Calls POST /v1/working-memory/slots/inject on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions write on memory:working (minds:instances:update). Registered on every Mind. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read and minds:write. A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Request body application/json
idstringrequiredvalueanyrequired
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/working-memory/slots/inject" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"id": "string",
"value": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineWorkingMemoryPostWorkingMemorySlotsInject', {
mind_id: '<mind_id>',
body: {
id: 'string',
value: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_engineWorkingMemoryPostWorkingMemorySlotsInject",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"id": "string",
"value": "string"
}
}
}
}working-memory: GET /v1/working-memory/stats
GET/v1/minds/services/{mind_id}/engine/v1/working-memory/stats
Calls GET /v1/working-memory/stats on the selected Mind's engine with a capability minted for this request only, in the selection's environment. Grant: actions read on memory:working (minds:instances:read). Registered on every Mind. Requires a genesis login session with a Console selection, or an org API key. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). A Live selection reaches its Live Mind only once the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); until then it answers 409 ENVIRONMENT_NOT_AVAILABLE before any capability is minted. Missing scopes answer 403 SCOPE_MISSING with required_scope.
Parameters
mind_idpath · string (uuid)required
Responses
- 200The Mind engine's JSON response, unchanged.
Response fields
A JSON object.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 501MINDS_ENGINE_UNSUPPORTED: the Mind's engine does not implement this operation; nothing changed and a retry will not help.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/engine/v1/working-memory/stats" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_engineWorkingMemoryGetWorkingMemoryStats', {
mind_id: '<mind_id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_engineWorkingMemoryGetWorkingMemoryStats",
"arguments": {
"mind_id": "<mind_id>"
}
}
}Resize
Resize an owned Mind to an existing Pro profile (controller lifecycle action resize)
POST/v1/minds/services/{mind_id}/resize
Org API keys with minds:manage only (Sandbox or Live binding); Console sessions get 403 MINDS_MANAGE_KEY_REQUIRED before any delegation, because Auth does not delegate minds:instances:manage to sessions. Only the existing Pro profiles F1, D1 and D2 at their fixed capacity; the retained volume never shrinks. Resizing makes the Mind Pro-labelled and is admitted against the paid account; prices are unchanged. Retain the same key and expected_generation after uncertainty. minds:manage does not imply read or write. Live selections reach Live Minds only when the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); the verified environment is forwarded and never falls back to Sandbox. Until then a Live selection answers 409 ENVIRONMENT_NOT_AVAILABLE before any delegation.
Parameters
mind_idpath · string (uuid)requiredidempotency-keyheader · string (uuid)required
Request body application/json
expected_generationintegerrequiredOriginal desired_generation from a fresh owned read; keep unchanged with the idempotency key if outcome is unknown. min 1 · max 9007199254740990
profile_id"F1" | "D1" | "D2"requiredExisting fixed Pro profile. P1 and arbitrary capacity are never accepted.
Responses
- 202Resize accepted on the retained Mind; poll its owned read until applied.
Response fields
schema_version"minds.controller.v1"requiredmind_idstring (uuid)requiredpattern
^[0-9a-f-]{36}$organization_idstringrequiredproject_idstringrequirednamestringrequiredregionstringrequiredplan"free" | "pro"requiredcapacityobjectrequiredcapacity.profile_idstringrequiredcapacity.cpusintegerrequiredmin 1
capacity.memory_mbintegerrequiredmin 1
capacity.volume_size_gbintegerrequiredmin 1
observed_capacityobject | nullrequiredservicesstring[]requiredvolume_idstring (uuid)requiredpattern
^[0-9a-f-]{36}$base_urlstring (uri)requireddesired_state"running" | "stopped" | "deleted"requiredobserved_state"pending" | "running" | "stopped" | "deleted" | "failed" | "uncertain"requireddesired_generationintegerrequiredmin 1
observed_generationintegerrequiredmin 0
status"ready" | "provisioning" | "stopped" | "deleted" | "failed" | "uncertain"requiredcapacity_appliedbooleanrequiredoperation_idstring (uuid) | nullrequirederror_codestring | nullrequiredcreated_atstring (date-time)requiredupdated_atstring (date-time)required
- 402MINDS_BILLING_ADMISSION_DENIED: Minds billing does not admit this work for the organization (for example a Pro Mind without a paid Minds Pro subscription). A settled refusal: nothing was created, started or changed; not retryable as is. A Free Mind is not affected.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/resize" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
-H "Content-Type: application/json" \
-d '{
"expected_generation": 1,
"profile_id": "F1"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const idempotencyKey = '<a stable key per change>'
const result = await genesis.call('minds_resizeMind', {
mind_id: '<mind_id>',
body: {
expected_generation: 1,
profile_id: 'F1',
},
}, {
headers: { 'Idempotency-Key': idempotencyKey }, // one key per change, reused on every retry
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_resizeMind",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"expected_generation": 1,
"profile_id": "F1"
},
"idempotency_key": "<a stable key per change>"
}
}
}Resume
Resume an owned Mind on its retained volume without an automatic retry
POST/v1/minds/services/{mind_id}/resume
Requires the original human Console selection (Sandbox, or Live) and existing Minds update permission. Retain the same key and original expected_generation after uncertainty. The controller resolves durable replay before checking generation; no capacity or tenant fields are accepted. Org API keys with a Sandbox or Live binding are admitted with minds:write. Live selections reach Live Minds only when the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); the verified environment is forwarded and never falls back to Sandbox. Until then a Live selection answers 409 ENVIRONMENT_NOT_AVAILABLE before any delegation.
Parameters
mind_idpath · string (uuid)requiredidempotency-keyheader · string (uuid)required
Request body application/json
expected_generationintegerrequiredOriginal desired_generation from a fresh owned read; keep unchanged with the idempotency key if outcome is unknown. min 1 · max 9007199254740990
wake_reason"manual" | "scheduled_job" | "webhook" | "memory_consolidation" | "activity"Optional reason for this resume intent. Preserve it with the original generation and idempotency key after uncertainty; no automatic replay.
Responses
- 202Resume accepted on the retained Mind; poll its owned read until ready.
Response fields
schema_version"minds.controller.v1"requiredmind_idstring (uuid)requiredpattern
^[0-9a-f-]{36}$organization_idstringrequiredproject_idstringrequirednamestringrequiredregionstringrequiredplan"free" | "pro"requiredcapacityobjectrequiredcapacity.profile_idstringrequiredcapacity.cpusintegerrequiredmin 1
capacity.memory_mbintegerrequiredmin 1
capacity.volume_size_gbintegerrequiredmin 1
observed_capacityobject | nullrequiredservicesstring[]requiredvolume_idstring (uuid)requiredpattern
^[0-9a-f-]{36}$base_urlstring (uri)requireddesired_state"running" | "stopped" | "deleted"requiredobserved_state"pending" | "running" | "stopped" | "deleted" | "failed" | "uncertain"requireddesired_generationintegerrequiredmin 1
observed_generationintegerrequiredmin 0
status"ready" | "provisioning" | "stopped" | "deleted" | "failed" | "uncertain"requiredcapacity_appliedbooleanrequiredoperation_idstring (uuid) | nullrequirederror_codestring | nullrequiredcreated_atstring (date-time)requiredupdated_atstring (date-time)required
- 402MINDS_BILLING_ADMISSION_DENIED: Minds billing does not admit this work for the organization (for example a Pro Mind without a paid Minds Pro subscription). A settled refusal: nothing was created, started or changed; not retryable as is. A Free Mind is not affected.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 410MIND_GONE: the Mind was deleted and released; its data is archived and it cannot be resumed or used. Not retryable. (Deleting or resizing an already deleted Mind answers 409 MIND_DELETED instead.)
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/resume" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
-H "Content-Type: application/json" \
-d '{
"expected_generation": 1
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const idempotencyKey = '<a stable key per change>'
const result = await genesis.call('minds_resumeMind', {
mind_id: '<mind_id>',
body: {
expected_generation: 1,
},
}, {
headers: { 'Idempotency-Key': idempotencyKey }, // one key per change, reused on every retry
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_resumeMind",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"expected_generation": 1
},
"idempotency_key": "<a stable key per change>"
}
}
}Scaling
Read a Mind's scaling policy and current scaling state
GET/v1/minds/services/{mind_id}/scaling
Served only when the gateway enables MINDS_SCALING_V1 (default off; until then this path answers 404 NOT_FOUND like any unknown Minds path) and the Minds controller enables MINDS_SCALING_POLICY. An original human One account session with a verified pf_console selection (Sandbox, or Live), or an org API key with a Sandbox or Live binding and minds:read (or minds:write). With no stored policy the answer is the effective default: generation 0, the current profile and disk, the global idle window, and scale_to_zero false only for an always-on Mind. state.bodies is 1 while the Mind runs and 0 while it is stopped. budget and burn_usd_per_hour are null until scaling budgets arrive. Live selections reach Live Minds only when the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); the verified environment is forwarded and never falls back to Sandbox. Until then a Live selection answers 409 ENVIRONMENT_NOT_AVAILABLE before any delegation. A Mind in another organization, project or environment answers 404.
Parameters
mind_idpath · string (uuid)required
Responses
- 200The stored (or effective default) policy and the read-only state.
Response fields
policyobjectrequiredpolicy.generationintegerrequiredOptimistic generation; 0 when no policy is stored (the effective default). min 0
policy.verticalobjectrequiredpolicy.vertical.mode"manual" | "auto"requiredmanual: size changes only through resize. auto is refused (422 SCALING_BUDGET_REQUIRED) until scaling budgets arrive.
policy.vertical.profile"F1" | "D1" | "D2"requiredMust equal the current profile; change it with resize (otherwise 422 SCALING_USE_RESIZE).
policy.vertical.disk_gbintegerrequiredMust equal the current disk; change it with resize (otherwise 422 SCALING_USE_RESIZE). min 1 · max 1024
policy.vertical.apply"idle_only" | "window" | "restart_ok"requiredWhen a size change may apply. Stored; no effect yet.
policy.horizontalobjectrequiredpolicy.horizontal.minintegerrequired1 means never idle-stop, and needs an always-on Mind (422 SCALING_ALWAYS_ON_REQUIRED). min 0 · max 1
policy.horizontal.maxintegerrequired1 today; more bodies are refused (422 SCALING_FIELD_UNSUPPORTED). min 1 · max 1
policy.idleobjectrequiredpolicy.idle.scale_to_zerobooleanrequiredfalse needs an always-on Mind (422 SCALING_ALWAYS_ON_REQUIRED).
policy.idle.idle_secondsintegerrequiredIdle window before the Mind is stopped; replaces the global window for this Mind. min 60 · max 86400
policy.idle.wake"on_request"requiredstateobjectrequiredstate.currentobjectrequiredstate.current.profile"F1" | "D1" | "D2"requiredstate.current.disk_gbintegerrequiredmin 1
state.current.bodiesintegerrequired1 while running, 0 while stopped. min 0 · max 1
state.current.regionstringrequiredstate.current.desired_state"running" | "stopped" | "deleted"requiredstate.blocked_reasonstring | nullrequiredstate.last_decisionobject | nullrequiredstate.budgetnullrequiredNull until scaling budgets arrive.
state.burn_usd_per_hournullrequiredNull until the instance is live-metered.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 404Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/scaling" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_getScaling', {
mind_id: '<mind_id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_getScaling",
"arguments": {
"mind_id": "<mind_id>"
}
}
}Set a Mind's scaling policy (idle window, scale to zero), guarded by its policy generation
PUT/v1/minds/services/{mind_id}/scaling
Served only when the gateway enables MINDS_SCALING_V1 (default off; until then this path answers 404 NOT_FOUND like any unknown Minds path) and the Minds controller enables MINDS_SCALING_POLICY. Org API keys with minds:manage only (Sandbox or Live binding); Console sessions get 403 MINDS_MANAGE_KEY_REQUIRED before any delegation, exactly as for resize. minds:manage does not imply read. generation must equal the stored policy generation (0 when none is stored), otherwise 409 SCALING_GENERATION_CONFLICT with the stored generation as the integer current_generation. The body is at most 8 KiB. What this release accepts: vertical.mode manual with the current profile and disk (a different profile or disk is 422 SCALING_USE_RESIZE: use minds_resizeMind); vertical.mode auto is 422 SCALING_BUDGET_REQUIRED; horizontal.min 0 or 1 and horizontal.max 1 (a larger max, horizontal.targets or a schedule is 422 SCALING_FIELD_UNSUPPORTED with field); any budget is 422 SCALING_BUDGET_UNAVAILABLE; idle.idle_seconds 60 to 86400 replaces the global idle window for this Mind; idle.scale_to_zero false and horizontal.min 1 need an always-on Mind (422 SCALING_ALWAYS_ON_REQUIRED); idle.wake is on_request. An unknown field is 422 SCALING_FIELD_UNKNOWN and a value out of range or of the wrong type 422 SCALING_FIELD_INVALID, both with field. vertical.apply is stored and has no effect yet. Every applied or refused set is recorded as a scaling event. An optional Idempotency-Key (UUID4) is forwarded; the generation already makes a repeated set a conflict rather than a second change. Live selections reach Live Minds only when the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); the verified environment is forwarded and never falls back to Sandbox. Until then a Live selection answers 409 ENVIRONMENT_NOT_AVAILABLE before any delegation. A Mind in another organization, project or environment answers 404.
Parameters
mind_idpath · string (uuid)requiredidempotency-keyheader · string (uuid)
Request body application/json
generationintegerrequiredThe stored policy generation from a fresh getScaling (0 when none is stored). min 0 · max 9007199254740990
policyobjectrequiredThe policy to store. Fields beyond these (budget, schedule, horizontal.targets) are refused with a coded 422 in this release.
policy.verticalobjectrequiredpolicy.vertical.mode"manual" | "auto"requiredmanual: size changes only through resize. auto is refused (422 SCALING_BUDGET_REQUIRED) until scaling budgets arrive.
policy.vertical.profile"F1" | "D1" | "D2"requiredMust equal the current profile; change it with resize (otherwise 422 SCALING_USE_RESIZE).
policy.vertical.disk_gbintegerrequiredMust equal the current disk; change it with resize (otherwise 422 SCALING_USE_RESIZE). min 1 · max 1024
policy.vertical.apply"idle_only" | "window" | "restart_ok"requiredWhen a size change may apply. Stored; no effect yet.
policy.horizontalobjectrequiredpolicy.horizontal.minintegerrequired1 means never idle-stop, and needs an always-on Mind (422 SCALING_ALWAYS_ON_REQUIRED). min 0 · max 1
policy.horizontal.maxintegerrequired1 today; more bodies are refused (422 SCALING_FIELD_UNSUPPORTED). min 1 · max 1
policy.idleobjectrequiredpolicy.idle.scale_to_zerobooleanrequiredfalse needs an always-on Mind (422 SCALING_ALWAYS_ON_REQUIRED).
policy.idle.idle_secondsintegerrequiredIdle window before the Mind is stopped; replaces the global window for this Mind. min 60 · max 86400
policy.idle.wake"on_request"required
Responses
- 200The policy was applied; the answer carries the stored policy with its new generation and the state.
Response fields
policyobjectrequiredpolicy.generationintegerrequiredOptimistic generation; 0 when no policy is stored (the effective default). min 0
policy.verticalobjectrequiredpolicy.vertical.mode"manual" | "auto"requiredmanual: size changes only through resize. auto is refused (422 SCALING_BUDGET_REQUIRED) until scaling budgets arrive.
policy.vertical.profile"F1" | "D1" | "D2"requiredMust equal the current profile; change it with resize (otherwise 422 SCALING_USE_RESIZE).
policy.vertical.disk_gbintegerrequiredMust equal the current disk; change it with resize (otherwise 422 SCALING_USE_RESIZE). min 1 · max 1024
policy.vertical.apply"idle_only" | "window" | "restart_ok"requiredWhen a size change may apply. Stored; no effect yet.
policy.horizontalobjectrequiredpolicy.horizontal.minintegerrequired1 means never idle-stop, and needs an always-on Mind (422 SCALING_ALWAYS_ON_REQUIRED). min 0 · max 1
policy.horizontal.maxintegerrequired1 today; more bodies are refused (422 SCALING_FIELD_UNSUPPORTED). min 1 · max 1
policy.idleobjectrequiredpolicy.idle.scale_to_zerobooleanrequiredfalse needs an always-on Mind (422 SCALING_ALWAYS_ON_REQUIRED).
policy.idle.idle_secondsintegerrequiredIdle window before the Mind is stopped; replaces the global window for this Mind. min 60 · max 86400
policy.idle.wake"on_request"requiredstateobjectrequiredstate.currentobjectrequiredstate.current.profile"F1" | "D1" | "D2"requiredstate.current.disk_gbintegerrequiredmin 1
state.current.bodiesintegerrequired1 while running, 0 while stopped. min 0 · max 1
state.current.regionstringrequiredstate.current.desired_state"running" | "stopped" | "deleted"requiredstate.blocked_reasonstring | nullrequiredstate.last_decisionobject | nullrequiredstate.budgetnullrequiredNull until scaling budgets arrive.
state.burn_usd_per_hournullrequiredNull until the instance is live-metered.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 404Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 409Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 413Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 422Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 4xx 5xxThe error envelope.
curl -X PUT "https://os.one.ml/api/v1/minds/services/$MIND_ID/scaling" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
-H "Content-Type: application/json" \
-d '{
"generation": 0,
"policy": {
"vertical": {
"mode": "manual",
"profile": "F1",
"disk_gb": 1,
"apply": "idle_only"
},
"horizontal": {
"min": 0,
"max": 1
},
"idle": {
"scale_to_zero": true,
"idle_seconds": 60,
"wake": "on_request"
}
}
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const idempotencyKey = '<a stable key per change>'
const result = await genesis.call('minds_setScaling', {
mind_id: '<mind_id>',
body: {
generation: 0,
policy: {
vertical: {
mode: 'manual',
profile: 'F1',
disk_gb: 1,
apply: 'idle_only',
},
horizontal: {
min: 0,
max: 1,
},
idle: {
scale_to_zero: true,
idle_seconds: 60,
wake: 'on_request',
},
},
},
}, {
headers: { 'Idempotency-Key': idempotencyKey }, // one key per change, reused on every retry
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_setScaling",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"generation": 0,
"policy": {
"vertical": {
"mode": "manual",
"profile": "F1",
"disk_gb": 1,
"apply": "idle_only"
},
"horizontal": {
"min": 0,
"max": 1
},
"idle": {
"scale_to_zero": true,
"idle_seconds": 60,
"wake": "on_request"
}
}
},
"idempotency_key": "<a stable key per change>"
}
}
}List a Mind's scaling decisions, newest first
GET/v1/minds/services/{mind_id}/scaling/events
Served only when the gateway enables MINDS_SCALING_V1 (default off; until then this path answers 404 NOT_FOUND like any unknown Minds path) and the Minds controller enables MINDS_SCALING_POLICY. An original human One account session with a verified pf_console selection (Sandbox, or Live), or an org API key with a Sandbox or Live binding and minds:read (or minds:write). Every policy set (applied or refused), idle stop, wake and manual resize, newest first, kept for 90 days. limit is 1 to 100 (default 50); pass next_cursor back as cursor for the next page. Live selections reach Live Minds only when the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); the verified environment is forwarded and never falls back to Sandbox. Until then a Live selection answers 409 ENVIRONMENT_NOT_AVAILABLE before any delegation. A Mind in another organization, project or environment answers 404.
Parameters
mind_idpath · string (uuid)requiredcursorquery · stringOpaque next_cursor from the previous page.
limitquery · integer
Responses
- 200One page of scaling decisions.
Response fields
itemsobject[]requireditems[].[].decision_idstringrequiredpattern
^scd_[0-9A-HJKMNP-TV-Z]{26}$items[].[].mind_idstring (uuid)requireditems[].[].organization_idstringrequireditems[].[].project_idstringrequireditems[].[].environment"sandbox" | "live"requireditems[].[].atstring (date-time)requireditems[].[].trigger"policy" | "idle" | "wake" | "manual"requireditems[].[].inputsobjectrequireditems[].[].fromobject | nullrequiredThe state before the decision; null on a refused policy set.
items[].[].toobject | nullrequiredThe state after the decision (or the requested policy on a refusal).
items[].[].outcome"applied" | "refused" | "deferred" | "failed"requireditems[].[].reason_codestring | nullrequireditems[].[].actorstringrequiredThe principal id, or autoscaler for the idle sweep.
items[].[].approval_request_idstring | nullrequirednext_cursorstring | nullrequired
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 404Enveloped Minds refusal. A dispatched write that cannot be confirmed carries outcome unknown; there is no automatic retry.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/scaling/events" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_listScalingEvents', {
mind_id: '<mind_id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_listScalingEvents",
"arguments": {
"mind_id": "<mind_id>"
}
}
}Stop
Stop an owned Mind while retaining its volume without an automatic retry
POST/v1/minds/services/{mind_id}/stop
Requires the original human Console selection (Sandbox, or Live) and existing Minds update permission. Retain the same key and original expected_generation after uncertainty. The controller resolves durable replay before checking generation. No wake reason, capacity or tenant fields are accepted. Org API keys with a Sandbox or Live binding are admitted with minds:write. Live selections reach Live Minds only when the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); the verified environment is forwarded and never falls back to Sandbox. Until then a Live selection answers 409 ENVIRONMENT_NOT_AVAILABLE before any delegation.
Parameters
mind_idpath · string (uuid)requiredidempotency-keyheader · string (uuid)required
Request body application/json
expected_generationintegerrequiredOriginal desired_generation from a fresh owned read; keep unchanged with the idempotency key if outcome is unknown. min 1 · max 9007199254740990
Responses
- 202Stop accepted on the retained Mind; poll its owned read until stopped.
Response fields
schema_version"minds.controller.v1"requiredmind_idstring (uuid)requiredpattern
^[0-9a-f-]{36}$organization_idstringrequiredproject_idstringrequirednamestringrequiredregionstringrequiredplan"free" | "pro"requiredcapacityobjectrequiredcapacity.profile_idstringrequiredcapacity.cpusintegerrequiredmin 1
capacity.memory_mbintegerrequiredmin 1
capacity.volume_size_gbintegerrequiredmin 1
observed_capacityobject | nullrequiredservicesstring[]requiredvolume_idstring (uuid)requiredpattern
^[0-9a-f-]{36}$base_urlstring (uri)requireddesired_state"running" | "stopped" | "deleted"requiredobserved_state"pending" | "running" | "stopped" | "deleted" | "failed" | "uncertain"requireddesired_generationintegerrequiredmin 1
observed_generationintegerrequiredmin 0
status"ready" | "provisioning" | "stopped" | "deleted" | "failed" | "uncertain"requiredcapacity_appliedbooleanrequiredoperation_idstring (uuid) | nullrequirederror_codestring | nullrequiredcreated_atstring (date-time)requiredupdated_atstring (date-time)required
- 402MINDS_BILLING_ADMISSION_DENIED: Minds billing does not admit this work for the organization (for example a Pro Mind without a paid Minds Pro subscription). A settled refusal: nothing was created, started or changed; not retryable as is. A Free Mind is not affected.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 410MIND_GONE: the Mind was deleted and released; its data is archived and it cannot be resumed or used. Not retryable. (Deleting or resizing an already deleted Mind answers 409 MIND_DELETED instead.)
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/stop" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
-H "Content-Type: application/json" \
-d '{
"expected_generation": 1
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const idempotencyKey = '<a stable key per change>'
const result = await genesis.call('minds_stopMind', {
mind_id: '<mind_id>',
body: {
expected_generation: 1,
},
}, {
headers: { 'Idempotency-Key': idempotencyKey }, // one key per change, reused on every retry
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_stopMind",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"expected_generation": 1
},
"idempotency_key": "<a stable key per change>"
}
}
}Webhook deliveries
Record a webhook delivery for an owned Mind; a stopped-idle Mind is woken
POST/v1/minds/services/{mind_id}/webhook-deliveries
Requires the original human Console selection (Sandbox, or Live) and Minds update permission. The receipt is durable per delivery_id: replay the same body to read the original receipt after an uncertain outcome. No idempotency header or tenant fields. Org API keys with a Sandbox or Live binding are admitted with minds:write. Live selections reach Live Minds only when the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); the verified environment is forwarded and never falls back to Sandbox. Until then a Live selection answers 409 ENVIRONMENT_NOT_AVAILABLE before any delegation.
Parameters
mind_idpath · string (uuid)required
Request body application/json
delivery_idstring (uuid)requiredCaller-chosen non-nil UUID; replaying the same body returns the original receipt, a different body conflicts. pattern
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$event_referencestringrequiredOpaque reference to the upstream event. min length 1 · max length 200 · pattern
^[A-Za-z0-9_.:/-]+$event_sha256stringrequiredLowercase hex SHA-256 of the upstream event. pattern
^[0-9a-f]{64}$
Responses
- 202Durable receipt: wake_queued, activity_recorded, or ignored with a reason.
Response fields
schema_version"minds.webhook-delivery.v1"requireddelivery_idstring (uuid)requiredpattern
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$mind_idstring (uuid)requiredpattern
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$organization_idstringrequiredproject_idstringrequiredissuer_principal_idstringrequiredevent_referencestringrequiredmin length 1 · max length 200 · pattern
^[A-Za-z0-9_.:/-]+$event_sha256stringrequiredpattern
^[0-9a-f]{64}$received_atstring (date-time)requiredoutcome"wake_queued" | "activity_recorded" | "ignored"requiredreason"deleted" | "user_stopped" | "operation_in_flight" | "not_ready" | nullrequiredoperation_idstring | null (uuid)requiredLifecycle operation when outcome is wake_queued.
generationintegerrequiredmin 1
wake_reason"webhook"required
- 402MINDS_BILLING_ADMISSION_DENIED: Minds billing does not admit this work for the organization (for example a Pro Mind without a paid Minds Pro subscription). A settled refusal: nothing was created, started or changed; not retryable as is. A Free Mind is not affected.
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/minds/services/$MIND_ID/webhook-deliveries" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"delivery_id": "00000000-0000-4000-8000-000000000000",
"event_reference": "string",
"event_sha256": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_createWebhookDelivery', {
mind_id: '<mind_id>',
body: {
delivery_id: '00000000-0000-4000-8000-000000000000',
event_reference: 'string',
event_sha256: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_createWebhookDelivery",
"arguments": {
"mind_id": "<mind_id>",
"body": {
"delivery_id": "00000000-0000-4000-8000-000000000000",
"event_reference": "string",
"event_sha256": "string"
}
}
}
}Read a webhook delivery receipt issued by the caller
GET/v1/minds/services/{mind_id}/webhook-deliveries/{delivery_id}
Requires the original human Console selection (Sandbox, or Live). Only the issuing principal can read its receipt, including after the Mind is deleted. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). Live selections reach Live Minds only when the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); the verified environment is forwarded and never falls back to Sandbox. Until then a Live selection answers 409 ENVIRONMENT_NOT_AVAILABLE before any delegation.
Parameters
mind_idpath · string (uuid)requireddelivery_idpath · string (uuid)required
Responses
- 200The stored receipt.
Response fields
schema_version"minds.webhook-delivery.v1"requireddelivery_idstring (uuid)requiredpattern
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$mind_idstring (uuid)requiredpattern
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$organization_idstringrequiredproject_idstringrequiredissuer_principal_idstringrequiredevent_referencestringrequiredmin length 1 · max length 200 · pattern
^[A-Za-z0-9_.:/-]+$event_sha256stringrequiredpattern
^[0-9a-f]{64}$received_atstring (date-time)requiredoutcome"wake_queued" | "activity_recorded" | "ignored"requiredreason"deleted" | "user_stopped" | "operation_in_flight" | "not_ready" | nullrequiredoperation_idstring | null (uuid)requiredLifecycle operation when outcome is wake_queued.
generationintegerrequiredmin 1
wake_reason"webhook"required
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/services/$MIND_ID/webhook-deliveries/$DELIVERY_ID" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_getWebhookDelivery', {
mind_id: '<mind_id>',
delivery_id: '<delivery_id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_getWebhookDelivery",
"arguments": {
"mind_id": "<mind_id>",
"delivery_id": "<delivery_id>"
}
}
}Usage
Read native operational usage for the selected project (default: the last 24 hours)
GET/v1/minds/usage
Requires the original human Console selection (Sandbox, or Live) and Minds read permission. from and to are optional RFC3339 instants: with neither, the window is the 24 hours ending now; a window must be positive and at most 93 days, and naming only one of from/to is refused with 422 INVALID_QUERY. Account totals and financial fields are excluded; unreported telemetry is not zero. Org API keys with a Sandbox or Live binding are admitted with minds:read (or minds:write). Live selections reach Live Minds only when the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); the verified environment is forwarded and never falls back to Sandbox. Until then a Live selection answers 409 ENVIRONMENT_NOT_AVAILABLE before any delegation.
Parameters
fromquery · string (date-time)toquery · string (date-time)
Responses
- 200Selected-project allocations and reported host telemetry with explicit completeness.
Response fields
schema_version"minds.controller.v1"requiredorganization_idstringrequiredproject_idstringrequiredfromstring (date-time)requiredmax length 40
tostring (date-time)requiredmax length 40
measured_atstring (date-time)requiredmax length 40
basis"host_confirmed_intervals"requiredmindsobject[]requiredminds[].[].mind_idstring (uuid)requiredminds[].[].namestringrequiredminds[].[].profile_idstring | nullrequiredminds[].[].desired_state"running" | "stopped" | "deleted"requiredminds[].[].observed_state"pending" | "running" | "stopped" | "deleted" | "failed" | "uncertain"requiredminds[].[].stop_reasonstring | nullrequiredminds[].[].last_activity_atstring | null (date-time)requiredminds[].[].compute_secondsnumberrequiredmin 0
minds[].[].vcpu_secondsnumberrequiredmin 0
minds[].[].memory_mb_secondsnumberrequiredmin 0
minds[].[].storage_gb_secondsnumberrequiredmin 0
minds[].[].measuredobject | objectrequiredminds[].[].metering_computebooleanrequiredminds[].[].completebooleanrequiredminds[].[].incomplete_reason"host_state_uncertain" | "compute_unconfirmed_after_failure" | "running_without_ledger_interval" | "ledger_open_after_stop" | "host_not_reporting" | nullrequired
- 403HUMAN_SANDBOX_SELECTION_REQUIRED: the credential is neither an original human One account session with a current Console selection (Sandbox, or Live where Minds is Live) nor an org API key with a selected (bound) context. M2M tokens receive this enveloped refusal. SCOPE_MISSING (with required_scope) answers an org API key without the operation's Minds scope. On create, SANDBOX_CREATE_NOT_ADMITTED means creation is not admitted on this gateway. In Live (create, resume, stop, delete, resize, webhook wakes), MINDS_LIVE_NOT_ENABLED means Live Minds are not enabled for this organization (default off, per organization) and MINDS_LIVE_CAP_REACHED means it is at its Live instance cap; nothing is created, started or changed.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/minds/usage" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('minds_getUsage'){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "minds_getUsage",
"arguments": {}
}
}L1fe AI Inc. · Built from Genesis 0.3.3 and the live gateway on 2026-10-25. Support