API reference
One
A person's own One: its state, stopping and resuming it, scheduled wakes, email drafts, connected apps and memories.
- Operations
- 16
- Base path
https://os.one.ml/api/v1/one- Scopes
one:readone:write- API keys
- —
- SDK
genesis.call('one_listOneAgentGrants', …)· helpers undergenesis.one- CLI
genesis one- MCP
- 10 tools; the other 6 through
genesis_call
Operations
| Operation | Endpoint | API key |
|---|---|---|
| List which of your agents may use which of your connected apps | GET/agent-grants | — |
| List your connected apps | GET/connections | — |
| List the accounts of one of your connected apps | GET/connections/{id}/accounts | — |
| List the email drafts your agents queued for your Send | GET/email/drafts | — |
| Read your own One instance | GET/instance | — |
| Resume your halted One | POST/instance/resume | — |
| Stop your One | POST/instance/stop | — |
| List your One's wakes | GET/instance/wakeups | — |
| Set a wake for your One | POST/instance/wakeups | — |
| Cancel one of your wakes | DELETE/instance/wakeups/{id} | — |
| List your own memories in one of your Minds | GET/memories | — |
| Search your own memories in one of your Minds | POST/memories | — |
| Read one of your own memories back by its stored id | GET/memories/{storedId} | — |
| Delete one of your own memories | DELETE/memories/{storedId} | — |
| Change one of your own memories to your words | PATCH/memories/{storedId} | — |
| Put a replaced memory of yours back into recall | POST/memories/{storedId}/restore | — |
Agent grants
List which of your agents may use which of your connected apps
GET/v1/one/agent-grants
Your own agents' connection grants (which agent may use which connected app: allowed, revoked or expired, when decided and until when) and your last 50 connection receipts (who used or changed what, the outcome and the approval it came from), as Behind > Connections in One shows them. Ids, names, codes and times only: never a token, an args digest, a risk class or any text. Only your own rows. Read only: allowing or revoking an agent stays your own tap in your signed-in One. Needs exactly one:connections:read, a read-only person-bound scope: your own genesis login session, or a person-bound key (bound_to_creator) you made with that scope; an org API key, an M2M token or an agent gets 403. 404 while agents' connections are off.
Responses
- 200Your agents' grants and your connection receipts
Response fields
grantsobject[]requiredgrants[].[].agentobjectrequiredgrants[].[].agent.kind"child" | "seat"requiredchild: one of One's own helpers ("*" = all of them); seat: an agent you hired
grants[].[].agent.idstringrequiredgrants[].[].connectorstringrequiredThe connected app's id
grants[].[].status"allowed" | "revoked" | "expired"requiredgrants[].[].decided_atstring (date-time)requiredgrants[].[].expires_atstring | null (date-time)requiredreceiptsobject[]requiredreceipts[].[].idstringrequiredreceipts[].[].actorstringrequiredWho acted: person:<id>, agent:one or agent:<id>
receipts[].[].connectorstringrequiredreceipts[].[].toolstringrequiredThe tool used, or grant.allow / grant.revoke
receipts[].[].outcomestringrequiredAn outcome code
receipts[].[].approvalstring | nullrequiredThe approval it came from
receipts[].[].subjectstring | nullrequiredFor a grant: the agent it was for (agent:<id>)
receipts[].[].created_atstring (date-time)required
- 403person_required, ONE_PERSON_REQUIRED or SCOPE_MISSING (no one:connections:read)
- 404not_found (agents' connections are off)
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/one/agent-grants" \
-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('one_listOneAgentGrants'){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "one_listOneAgentGrants",
"arguments": {}
}
}Connections
List your connected apps
GET/v1/one/connections
Your own connected apps and the app catalog, as One's connections card shows them: id, state, granted scopes, when connected and last used, and each app's accounts in card words (nickname, else a masked address, else "Account N") with which one is the default. Never a token, a full address, a provider user id or a URL from the provider. Read only: connecting, picking the default and disconnecting stay your own tap in your signed-in One (actionUrl). Needs exactly one:connections:read, a read-only person-bound scope: your own genesis login session, or a person-bound key (bound_to_creator) you made with that scope; an org API key, an M2M token or an agent gets 403. Answered by Auth through the gateway (Ed25519-signed genesis-key-request-v3, product auth); every read is in your own activity. 404 until the gateway's Auth relay key is mounted.
Responses
- 200Your connections and the catalog
Response fields
connectionsobject[]requiredconnections[].[].idstringrequiredconnections[].[].statestringrequiredconnections[].[].scopesstring[]requiredconnections[].[].connectedAtstring | null (date-time)connections[].[].lastUsedAtstring | null (date-time)connections[].[].custombooleanconnections[].[].accountsobject[]requiredconnections[].[].accounts[].[].accountstringrequiredAuth's own account id for this app (never the provider's user id)
connections[].[].accounts[].[].wordsstringrequiredCard words: nickname, else a masked address (j*@example.com, *1234), else "Account N"
connections[].[].accounts[].[].statestringrequiredconnections[].[].accounts[].[].isDefaultbooleanrequiredconnections[].[].accounts[].[].defaultChosenbooleanrequiredYou picked the default yourself
connections[].[].developerUse"in_one_turns" | "not_allowed_by_provider"requiredin_one_turns: used only inside your own One turns (one:chat, one:jobs); not_allowed_by_provider: the provider's terms keep it off the developer path
connections[].[].actionUrlstring (uri)requiredYour own signed-in One page for every change
catalogobject[]requiredcatalog[].[].idstringrequiredcatalog[].[].availablebooleanrequiredcatalog[].[].developerUse"in_one_turns" | "not_allowed_by_provider"requiredactionUrlstring (uri)required
- 403person_required, ONE_PERSON_REQUIRED, SCOPE_MISSING (no one:connections:read) or relay_* (Auth refused the envelope)
- 404not_found (the Auth relay is not on yet)
- 429rate_limited (60 reads a minute per caller; Retry-After)
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/one/connections" \
-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('one_listOneConnections'){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "one_listOneConnections",
"arguments": {}
}
}Accounts
List the accounts of one of your connected apps
GET/v1/one/connections/{id}/accounts
The accounts of one app you connected, in card words (nickname, else a masked address, else "Account N"), with which one is the default and whether you chose it. Never a token, a full address, a provider user id or a URL. Picking the default is your own tap in your signed-in One (actionUrl). Needs exactly one:connections:read (person-bound, as for the list).
Parameters
idpath · stringrequiredThe app's connector id (lowercase letters, digits, - and _), as the list shows it
Responses
- 200That app's accounts
Response fields
idstringrequiredaccountsobject[]requiredaccounts[].[].accountstringrequiredAuth's own account id for this app (never the provider's user id)
accounts[].[].wordsstringrequiredCard words: nickname, else a masked address (j*@example.com, *1234), else "Account N"
accounts[].[].statestringrequiredaccounts[].[].isDefaultbooleanrequiredaccounts[].[].defaultChosenbooleanrequiredYou picked the default yourself
actionUrlstring (uri)required
- 403person_required, ONE_PERSON_REQUIRED, SCOPE_MISSING (no one:connections:read) or relay_* (Auth refused the envelope)
- 404not_connected (you have not connected that app) or not_found (the Auth relay is not on yet)
- 429rate_limited (60 reads a minute per caller; Retry-After)
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/one/connections/$ID/accounts" \
-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('one_listOneConnectionAccounts', {
id: '<id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "one_listOneConnectionAccounts",
"arguments": {
"id": "<id>"
}
}
}List the email drafts your agents queued for your Send
GET/v1/one/email/drafts
The drafts your own agents queued that still wait on your Send, newest first: draft id, version, state, the seat that made it, subject, from, the addresses, reply or not, when. Never the body or a run id. Only yours (the signed-in person's own drafts), in this org; never another member's. Read only: Send, Undo, Delete and status are not on Genesis (pressing Send is your own consent, in your own One session). Needs exactly one:email-drafts:read, a read-only person-bound scope: your own genesis login session, or a person-bound key (bound_to_creator) you made with that scope; an org API key, an M2M token or an agent gets 403. Served through the gateway's v3 One relay (listQueuedEmailDrafts); 404 not_found while the Email card is off for your org.
Parameters
queuedquery · "1"requiredMust be 1 (only queued drafts can be listed; anything else is 400 invalid_request)
Responses
- 200Your queued drafts
Response fields
draftsobject[]requireddrafts[].[].draft_idstringrequireddrafts[].[].versionintegerrequireddrafts[].[].statestringrequiredWhere this version stands, for example draft or held (Undo still open)
drafts[].[].made_byobjectrequireddrafts[].[].made_by.kind"seat"requireddrafts[].[].made_by.seat_idstringrequiredThe agent seat that queued it
drafts[].[].subjectstringrequireddrafts[].[].fromstringrequiredThe sending address
drafts[].[].recipientsstring[]requiredTo, Cc and Bcc addresses
drafts[].[].replybooleanrequiredA reply in an existing conversation
drafts[].[].created_atstring (date-time)required
- 400invalid_request (queued is not 1)
- 403person_required, ONE_PERSON_REQUIRED or SCOPE_MISSING (no one:email-drafts:read)
- 404not_found (the Email card is off for your org)
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/one/email/drafts?queued=$QUEUED" \
-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('one_listQueuedEmailDrafts', {
queued: '<queued>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "one_listQueuedEmailDrafts",
"arguments": {
"queued": "<queued>"
}
}
}Instance
Read your own One instance
GET/v1/one/instance
Your One's state, goals, bound connections, heartbeat and newest checkpoint. instance is null before your One exists. Snapshot contents are never returned. Needs one:read.
Responses
- 200Your One instance (or null)
Response fields
instanceobject | nullrequired
- 403person_required (not a person signed in with genesis login) or one_sign_in_required
- 404instances_off
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/one/instance" \
-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('one_getInstance'){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "one_getInstance",
"arguments": {}
}
}Resume your halted One
POST/v1/one/instance/resume
Resumes your halted One (state asleep); resumed is false when it was not halted. Only you can resume it. Needs one:write. Human consent: the MCP never calls it for an agent.
Responses
- 200Resume outcome
Response fields
state"asleep" | nullrequiredresumedbooleanrequired
- 403person_required or one_sign_in_required
- 404instances_off
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/one/instance/resume" \
-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('one_resumeInstance'){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "one_resumeInstance",
"arguments": {}
}
}
}Stop your One
POST/v1/one/instance/stop
"Stop One", by the person only. Halts your One, stops the reply being written and asks Henry to cancel every run of yours from the last 24 hours that may still be going. While halted your own messages are still answered, but One starts no agents. Works even when you are signed out of One (Henry's runs are then reported unconfirmed). Needs one:write. Human consent: the MCP never calls it for an agent.
Responses
- 200Your One is halted
Response fields
state"halted"requiredreplyStoppedbooleanrequiredThe reply One was writing was stopped (what was written is kept)
runsCancelledintegerrequiredHenry runs cancelled
runsUnconfirmedintegerrequiredRuns whose cancel Henry did not confirm
- 403person_required
- 404instances_off
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/one/instance/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('one_stopInstance'){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "one_stopInstance",
"arguments": {}
}
}
}List your One's wakes
GET/v1/one/instance/wakeups
What is still to come, then what each wake did (ran, parked for sign-in, halted, failed). Needs one:read.
Responses
- 200Your wakes
Response fields
wakeupsobject[]requiredwakeups[].[].idstringrequiredwk_ followed by a UUID v4
wakeups[].[].source"schedule" | "callback"requiredwakeups[].[].wordsstringrequiredwakeups[].[].dueAtstring (date-time)requiredwakeups[].[].status"pending" | "claiming" | "done" | "cancelled" | "needs_sign_in" | "halted" | "failed"requiredwakeups[].[].outcomestring | nullrequiredwakeups[].[].replyIdstring | nullrequiredwakeups[].[].doneAtstring | null (date-time)required
- 403person_required or one_sign_in_required
- 404instances_off
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/one/instance/wakeups" \
-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('one_listWakeups'){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "one_listWakeups",
"arguments": {}
}
}Set a wake for your One
POST/v1/one/instance/wakeups
At at, your One runs with your words as a structured event (never as your message) and its reply shows "Woken by your schedule". Only you set wakes. A wake that finds no live One sign-in is needs_sign_in and runs again after your next turn; a halted One runs none. Needs one:write. Human consent: the MCP never calls it for an agent.
Request body application/json
atstring (date-time)requiredWhen to wake, an ISO time with offset, in the future
wordsstringrequiredWhat One should do when it wakes min length 1 · max length 1000
timeZonestringIANA time zone, for example America/Chicago max length 64
Responses
- 201Wake set
Response fields
idstringrequiredwk_ followed by a UUID v4
source"schedule" | "callback"requiredwordsstringrequireddueAtstring (date-time)requiredstatus"pending" | "claiming" | "done" | "cancelled" | "needs_sign_in" | "halted" | "failed"requiredoutcomestring | nullrequiredreplyIdstring | nullrequireddoneAtstring | null (date-time)required
- 400invalid_request, wake_past or wake_empty
- 403person_required or one_sign_in_required
- 404instances_off
- 409wake_too_many (50 waiting)
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/one/instance/wakeups" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"at": "2026-10-20T00:00:00Z",
"words": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('one_createWakeup', {
body: {
at: '2026-10-20T00:00:00Z',
words: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "one_createWakeup",
"arguments": {
"body": {
"at": "2026-10-20T00:00:00Z",
"words": "string"
}
}
}
}
}Cancel one of your wakes
DELETE/v1/one/instance/wakeups/{id}
Cancels a wake of yours that has not run. Needs one:write.
Parameters
idpath · stringrequiredWake id: wk_ followed by a lowercase UUID v4
Responses
- 204Cancelled
- 403person_required or one_sign_in_required
- 404wake_not_found or instances_off
- 409wake_not_pending
- 4xx 5xxThe error envelope.
curl -X DELETE "https://os.one.ml/api/v1/one/instance/wakeups/$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('one_cancelWakeup', {
id: '<id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "one_cancelWakeup",
"arguments": {
"id": "<id>"
}
}
}Memories
List your own memories in one of your Minds
GET/v1/one/memories
One page (50) of the memories in one of your own Minds, newest first, as Memory in One shows them. Your own Minds only. Needs one:memories:read, an opt-in person-bound scope: your own genesis login session, or a person-bound key (bound_to_creator) you made with it; an org API key, an M2M token, an agent or a delegation gets 403 with nothing sent to One. 404 while the memory list is off.
Parameters
mindquery · stringrequiredOne of your Minds (its id)
cursorquery · stringnextCursor from the previous page
Responses
- 200One page of your memories
Response fields
status"ok"requiredrowsobject[]requiredrows[].[].storedIdstring | nullrequiredrows[].[].eventIdstringrequiredrows[].[].contentstringrequiredrows[].[].savedAtstring | null (date-time)requiredrows[].[].sourcestring | nullrequiredrows[].[].tagsstring[]requiredrows[].[].saidToAgentbooleanrequiredrows[].[].replacedbooleanrequiredrows[].[].replacedByobject | nullrequiredrows[].[].replacesintegerrequiredrows[].[].restorablebooleanrequiredrows[].[].removablebooleanrequiredrows[].[].savedByOnebooleanrequiredrows[].[].fromAgentResultbooleanrequirednextCursorstring | nullrequiredcountinteger | nullrequiredsharedbooleanrequired
- 403not_allowed, ONE_PERSON_REQUIRED or SCOPE_MISSING (no one:memories:read)
- 404not_found (not your Mind, or the memory list is off)
- 409not_ready (the Mind is not ready yet)
- 429rate_limited
- 503unavailable (the Mind did not answer)
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/one/memories?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('one_listMemories', {
mind: '<mind>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "one_listMemories",
"arguments": {
"mind": "<mind>"
}
}
}Search your own memories in one of your Minds
POST/v1/one/memories
A search of one of your own Minds' memories. The words go in the body only, never a URL, and are never logged by the gateway. Same answer shape as the list. Needs one:memories:read.
Request body application/json
mindstringrequiredqstringrequiredmin length 1 · max length 200
Responses
- 200The memories that match
Response fields
status"ok"requiredrowsobject[]requiredrows[].[].storedIdstring | nullrequiredrows[].[].eventIdstringrequiredrows[].[].contentstringrequiredrows[].[].savedAtstring | null (date-time)requiredrows[].[].sourcestring | nullrequiredrows[].[].tagsstring[]requiredrows[].[].saidToAgentbooleanrequiredrows[].[].replacedbooleanrequiredrows[].[].replacedByobject | nullrequiredrows[].[].replacesintegerrequiredrows[].[].restorablebooleanrequiredrows[].[].removablebooleanrequiredrows[].[].savedByOnebooleanrequiredrows[].[].fromAgentResultbooleanrequirednextCursorstring | nullrequiredcountinteger | nullrequiredsharedbooleanrequired
- 400invalid_request
- 403not_allowed, ONE_PERSON_REQUIRED or SCOPE_MISSING (no one:memories:read)
- 404not_found
- 409not_ready
- 429rate_limited
- 503unavailable
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/one/memories" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"mind": "string",
"q": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('one_searchMemories', {
body: {
mind: 'string',
q: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "one_searchMemories",
"arguments": {
"body": {
"mind": "string",
"q": "string"
}
}
}
}Read one of your own memories back by its stored id
GET/v1/one/memories/{storedId}
One memory you saved, read back by its stored id, with the hash of what was stored. Any id that is not yours (another person's, another of your Minds' when mind is given, deleted, or unknown) is 404, byte for byte the same as when the route is off. Needs one:memories:read.
Parameters
storedIdpath · stringrequiredmindquery · stringLook only in this Mind of yours
Responses
- 200Your memory
Response fields
status"ok"requiredmemoryobjectrequiredmemory.storedIdstringrequiredmemory.eventIdstringrequiredmemory.contentstringrequiredmemory.contentHashstringrequiredsha256 of the stored content
memory.savedAtstring | null (date-time)requiredmemory.sourcestring | nullrequiredmemory.replacedByobject | nullrequired
- 403not_allowed, ONE_PERSON_REQUIRED or SCOPE_MISSING (no one:memories:read)
- 404not_found
- 409not_ready
- 429rate_limited
- 503unavailable
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/one/memories/$STORED_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('one_getMemory', {
storedId: '<storedId>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "one_getMemory",
"arguments": {
"storedId": "<storedId>"
}
}
}Delete one of your own memories
DELETE/v1/one/memories/{storedId}
Deletes the memory now (One's apps hold it for their Undo window first; this route does not). The stored id is looked up in your own Minds only. Needs one:memories:write.
Parameters
storedIdpath · stringrequired
Responses
- 200Deleted (or already gone)
Response fields
status"deleted" | "edited" | "gone" | "restored"required
- 403not_allowed, ONE_PERSON_REQUIRED or SCOPE_MISSING (no one:memories:write)
- 404not_found
- 409not_ready
- 429rate_limited
- 503unavailable
- 4xx 5xxThe error envelope.
curl -X DELETE "https://os.one.ml/api/v1/one/memories/$STORED_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('one_deleteMemory', {
storedId: '<storedId>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "one_deleteMemory",
"arguments": {
"storedId": "<storedId>"
}
}
}
}Change one of your own memories to your words
PATCH/v1/one/memories/{storedId}
Changes the memory to content, your words. No query string (400). Without mind the stored id is looked up in your own Minds only. Every change by a key is shown to you in One with the key that made it. Needs one:memories:write (write does not include read).
Parameters
storedIdpath · stringrequired
Request body application/json
contentstringrequiredmindstring
Responses
- 200Changed
Response fields
status"deleted" | "edited" | "gone" | "restored"required
- 400invalid_request
- 403not_allowed, ONE_PERSON_REQUIRED or SCOPE_MISSING (no one:memories:write)
- 404not_found
- 409not_ready
- 422refused (with a reason code)
- 429rate_limited
- 503unavailable
- 4xx 5xxThe error envelope.
curl -X PATCH "https://os.one.ml/api/v1/one/memories/$STORED_ID" \
-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('one_editMemory', {
storedId: '<storedId>',
body: {
content: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "one_editMemory",
"arguments": {
"storedId": "<storedId>",
"body": {
"content": "string"
}
}
}
}
}Restore
Put a replaced memory of yours back into recall
POST/v1/one/memories/{storedId}/restore
Clears the link a correction made, so the memory is recalled again. Body optional (mind). Needs one:memories:write.
Parameters
storedIdpath · stringrequired
Request body application/json
mindstring
Responses
- 200Restored
Response fields
status"deleted" | "edited" | "gone" | "restored"required
- 403not_allowed, ONE_PERSON_REQUIRED or SCOPE_MISSING (no one:memories:write)
- 404not_found
- 409not_ready
- 422refused
- 429rate_limited
- 503unavailable
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/one/memories/$STORED_ID/restore" \
-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('one_restoreMemory', {
storedId: '<storedId>',
body: {},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "one_restoreMemory",
"arguments": {
"storedId": "<storedId>",
"body": {}
}
}
}
}L1fe AI Inc. · Built from Genesis 0.3.1 and the live gateway on 2026-10-25. Support