OneOS Docs
Genesis 0.3.1 Console

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:read one:write
API keys
—
SDK
genesis.call('one_listOneAgentGrants', …) · helpers under genesis.one
CLI
genesis one
MCP
10 tools; the other 6 through genesis_call

Operations

OperationEndpointAPI key
List which of your agents may use which of your connected appsGET/agent-grants—
List your connected appsGET/connections—
List the accounts of one of your connected appsGET/connections/{id}/accounts—
List the email drafts your agents queued for your SendGET/email/drafts—
Read your own One instanceGET/instance—
Resume your halted OnePOST/instance/resume—
Stop your OnePOST/instance/stop—
List your One's wakesGET/instance/wakeups—
Set a wake for your OnePOST/instance/wakeups—
Cancel one of your wakesDELETE/instance/wakeups/{id}—
List your own memories in one of your MindsGET/memories—
Search your own memories in one of your MindsPOST/memories—
Read one of your own memories back by its stored idGET/memories/{storedId}—
Delete one of your own memoriesDELETE/memories/{storedId}—
Change one of your own memories to your wordsPATCH/memories/{storedId}—
Put a replaced memory of yours back into recallPOST/memories/{storedId}/restore—

Agent grants

List which of your agents may use which of your connected apps

GET/v1/one/agent-grants

one:readone_listOneAgentGrants

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[]required
    • grants[].[].agentobjectrequired
    • grants[].[].agent.kind"child" | "seat"required

      child: one of One's own helpers ("*" = all of them); seat: an agent you hired

    • grants[].[].agent.idstringrequired
    • grants[].[].connectorstringrequired

      The connected app's id

    • grants[].[].status"allowed" | "revoked" | "expired"required
    • grants[].[].decided_atstring (date-time)required
    • grants[].[].expires_atstring | null (date-time)required
    • receiptsobject[]required
    • receipts[].[].idstringrequired
    • receipts[].[].actorstringrequired

      Who acted: person:<id>, agent:one or agent:<id>

    • receipts[].[].connectorstringrequired
    • receipts[].[].toolstringrequired

      The tool used, or grant.allow / grant.revoke

    • receipts[].[].outcomestringrequired

      An outcome code

    • receipts[].[].approvalstring | nullrequired

      The approval it came from

    • receipts[].[].subjectstring | nullrequired

      For 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"

Connections

List your connected apps

GET/v1/one/connections

one:readone_listOneConnections

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[]required
    • connections[].[].idstringrequired
    • connections[].[].statestringrequired
    • connections[].[].scopesstring[]required
    • connections[].[].connectedAtstring | null (date-time)
    • connections[].[].lastUsedAtstring | null (date-time)
    • connections[].[].customboolean
    • connections[].[].accountsobject[]required
    • connections[].[].accounts[].[].accountstringrequired

      Auth's own account id for this app (never the provider's user id)

    • connections[].[].accounts[].[].wordsstringrequired

      Card words: nickname, else a masked address (j*@example.com, *1234), else "Account N"

    • connections[].[].accounts[].[].statestringrequired
    • connections[].[].accounts[].[].isDefaultbooleanrequired
    • connections[].[].accounts[].[].defaultChosenbooleanrequired

      You picked the default yourself

    • connections[].[].developerUse"in_one_turns" | "not_allowed_by_provider"required

      in_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)required

      Your own signed-in One page for every change

    • catalogobject[]required
    • catalog[].[].idstringrequired
    • catalog[].[].availablebooleanrequired
    • catalog[].[].developerUse"in_one_turns" | "not_allowed_by_provider"required
    • actionUrlstring (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"

Accounts

List the accounts of one of your connected apps

GET/v1/one/connections/{id}/accounts

one:readone_listOneConnectionAccounts

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 · stringrequired

    The app's connector id (lowercase letters, digits, - and _), as the list shows it

Responses

  • 200That app's accounts
    Response fields
    • idstringrequired
    • accountsobject[]required
    • accounts[].[].accountstringrequired

      Auth's own account id for this app (never the provider's user id)

    • accounts[].[].wordsstringrequired

      Card words: nickname, else a masked address (j*@example.com, *1234), else "Account N"

    • accounts[].[].statestringrequired
    • accounts[].[].isDefaultbooleanrequired
    • accounts[].[].defaultChosenbooleanrequired

      You 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"

Email

List the email drafts your agents queued for your Send

GET/v1/one/email/drafts

one:readone_listQueuedEmailDrafts

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"required

    Must be 1 (only queued drafts can be listed; anything else is 400 invalid_request)

Responses

  • 200Your queued drafts
    Response fields
    • draftsobject[]required
    • drafts[].[].draft_idstringrequired
    • drafts[].[].versionintegerrequired
    • drafts[].[].statestringrequired

      Where this version stands, for example draft or held (Undo still open)

    • drafts[].[].made_byobjectrequired
    • drafts[].[].made_by.kind"seat"required
    • drafts[].[].made_by.seat_idstringrequired

      The agent seat that queued it

    • drafts[].[].subjectstringrequired
    • drafts[].[].fromstringrequired

      The sending address

    • drafts[].[].recipientsstring[]required

      To, Cc and Bcc addresses

    • drafts[].[].replybooleanrequired

      A 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"

Instance

Read your own One instance

GET/v1/one/instance

one:readone_getInstance

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"

Resume your halted One

POST/v1/one/instance/resume

one:writeone_resumeInstance

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" | nullrequired
    • resumedbooleanrequired
  • 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"

Stop your One

POST/v1/one/instance/stop

one:writeone_stopInstance

"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"required
    • replyStoppedbooleanrequired

      The reply One was writing was stopped (what was written is kept)

    • runsCancelledintegerrequired

      Henry runs cancelled

    • runsUnconfirmedintegerrequired

      Runs 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"

List your One's wakes

GET/v1/one/instance/wakeups

one:readone_listWakeups

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[]required
    • wakeups[].[].idstringrequired

      wk_ followed by a UUID v4

    • wakeups[].[].source"schedule" | "callback"required
    • wakeups[].[].wordsstringrequired
    • wakeups[].[].dueAtstring (date-time)required
    • wakeups[].[].status"pending" | "claiming" | "done" | "cancelled" | "needs_sign_in" | "halted" | "failed"required
    • wakeups[].[].outcomestring | nullrequired
    • wakeups[].[].replyIdstring | nullrequired
    • wakeups[].[].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"

Set a wake for your One

POST/v1/one/instance/wakeups

one:writeone_createWakeup

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)required

    When to wake, an ISO time with offset, in the future

  • wordsstringrequired

    What One should do when it wakes min length 1 · max length 1000

  • timeZonestring

    IANA time zone, for example America/Chicago max length 64

Responses

  • 201Wake set
    Response fields
    • idstringrequired

      wk_ followed by a UUID v4

    • source"schedule" | "callback"required
    • wordsstringrequired
    • dueAtstring (date-time)required
    • status"pending" | "claiming" | "done" | "cancelled" | "needs_sign_in" | "halted" | "failed"required
    • outcomestring | nullrequired
    • replyIdstring | nullrequired
    • doneAtstring | 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"
  }'

Cancel one of your wakes

DELETE/v1/one/instance/wakeups/{id}

one:writeone_cancelWakeup

Cancels a wake of yours that has not run. Needs one:write.

Parameters

  • idpath · stringrequired

    Wake 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"

Memories

List your own memories in one of your Minds

GET/v1/one/memories

one:readone_listMemories

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 · stringrequired

    One of your Minds (its id)

  • cursorquery · string

    nextCursor from the previous page

Responses

  • 200One page of your memories
    Response fields
    • status"ok"required
    • rowsobject[]required
    • rows[].[].storedIdstring | nullrequired
    • rows[].[].eventIdstringrequired
    • rows[].[].contentstringrequired
    • rows[].[].savedAtstring | null (date-time)required
    • rows[].[].sourcestring | nullrequired
    • rows[].[].tagsstring[]required
    • rows[].[].saidToAgentbooleanrequired
    • rows[].[].replacedbooleanrequired
    • rows[].[].replacedByobject | nullrequired
    • rows[].[].replacesintegerrequired
    • rows[].[].restorablebooleanrequired
    • rows[].[].removablebooleanrequired
    • rows[].[].savedByOnebooleanrequired
    • rows[].[].fromAgentResultbooleanrequired
    • nextCursorstring | nullrequired
    • countinteger | nullrequired
    • sharedbooleanrequired
  • 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"

Search your own memories in one of your Minds

POST/v1/one/memories

one:writeone_searchMemories

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

  • mindstringrequired
  • qstringrequired

    min length 1 · max length 200

Responses

  • 200The memories that match
    Response fields
    • status"ok"required
    • rowsobject[]required
    • rows[].[].storedIdstring | nullrequired
    • rows[].[].eventIdstringrequired
    • rows[].[].contentstringrequired
    • rows[].[].savedAtstring | null (date-time)required
    • rows[].[].sourcestring | nullrequired
    • rows[].[].tagsstring[]required
    • rows[].[].saidToAgentbooleanrequired
    • rows[].[].replacedbooleanrequired
    • rows[].[].replacedByobject | nullrequired
    • rows[].[].replacesintegerrequired
    • rows[].[].restorablebooleanrequired
    • rows[].[].removablebooleanrequired
    • rows[].[].savedByOnebooleanrequired
    • rows[].[].fromAgentResultbooleanrequired
    • nextCursorstring | nullrequired
    • countinteger | nullrequired
    • sharedbooleanrequired
  • 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"
  }'

Read one of your own memories back by its stored id

GET/v1/one/memories/{storedId}

one:readone_getMemory

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 · stringrequired
  • mindquery · string

    Look only in this Mind of yours

Responses

  • 200Your memory
    Response fields
    • status"ok"required
    • memoryobjectrequired
    • memory.storedIdstringrequired
    • memory.eventIdstringrequired
    • memory.contentstringrequired
    • memory.contentHashstringrequired

      sha256 of the stored content

    • memory.savedAtstring | null (date-time)required
    • memory.sourcestring | nullrequired
    • memory.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"

Delete one of your own memories

DELETE/v1/one/memories/{storedId}

one:writeone_deleteMemory

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"

Change one of your own memories to your words

PATCH/v1/one/memories/{storedId}

one:writeone_editMemory

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

  • contentstringrequired
  • mindstring

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"
  }'

Restore

Put a replaced memory of yours back into recall

POST/v1/one/memories/{storedId}/restore

one:writeone_restoreMemory

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 '{}'

L1fe AI Inc. · Built from Genesis 0.3.1 and the live gateway on 2026-10-25. Support