OneOS Docs
Genesis 0.3.1 Console

API reference

Connections

Outside apps and tools through verified MCP servers: the catalog, connecting and revoking, allowed tools, tool calls and their record.

Operations
13
Base path
https://os.one.ml/api/v1/connections
Scopes
connections:read connections:write
API keys
1 untested · 12 tested with an API key
SDK
genesis.call('connections_list', …)
CLI
genesis connections
MCP
11 tools; the other 2 through genesis_call

Operations

OperationEndpointAPI key
List your organization's connectionsGETTested with an API key
Connect a catalog serverPOSTTested with an API key
Get a connectionGET/{id}Tested with an API key
Revoke a connectionDELETE/{id}Tested with an API key
Read a connection's activity ledgerGET/{id}/activityTested with an API key
Get a new authorize URL for a person to openPOST/{id}/authorizeTested with an API key
List a connection's tools with their policyGET/{id}/toolsTested with an API key
Set tool policies (allow, approve or deny)PATCH/{id}/toolsTested with an API key
Call a connected toolPOST/{id}/tools/{tool}/callTested with an API key
List verified MCP servers in the catalogGET/catalogTested with an API key
Get a catalog server with its pinned tool manifestGET/catalog/{server}Tested with an API key
OAuth redirect target for a person's browser (anonymous)GET/oauth/callback—
Search the connected tools your organization may callGET/toolsTested with an API key

Connections

List your organization's connections

GET/v1/connections

connections:readTested with an API keyconnections_list

Scope connections:read. Connections of the selected environment, newest first (at most 200), optionally of one status.

Parameters

  • statusquery · "pending_auth" | "active" | "needs_reauth" | "revoked"

Responses

  • 200Connections
    Response fields
    • dataobject[]required
    • data[].[].idstringrequired

      pattern ^conn_[0-9a-f]{32}$

    • data[].[].serverstringrequired
    • data[].[].urlstring
    • data[].[].status"pending_auth" | "active" | "needs_reauth" | "revoked"required
    • data[].[].auto_orgstring | null

      The Auto org that governs the connection, if one was named at connect

    • data[].[].tier"verified" | "suspended" | "pending"
    • data[].[].server_status"verified" | "suspended" | "pending"
    • data[].[].policyobject
    • data[].[].scopes_requestedstring[]
    • data[].[].scopes_grantedstring[]
    • data[].[].token_expires_atstring | null (date-time)
    • data[].[].created_bystring
    • data[].[].created_atstring (date-time)
    • data[].[].updated_atstring (date-time)
    • data[].[].revoked_atstring | null (date-time)
  • 403Missing scope; TOOL_DENIED (policy deny or not in the manifest); AUTHORITY_DENIED with reasons (Auto denied); APPROVAL_UNAVAILABLE (an approval is needed but the org has no Auto org)
  • 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/connections" \
  -H "Authorization: Bearer $GENESIS_API_KEY"

Connect a catalog server

POST/v1/connections

connections:writeTested with an API keyconnections_connect

Scope connections:write. Creates a pending_auth connection and returns the authorize_url a person opens to consent at the vendor. tools picks the tools to enable (default: the manifest's defaults); only their scopes are requested. Unknown fields are refused (422). Enabling any send, spend or destructive tool needs an owner's approval (428). auto_org names the Auto org that governs the connection (its authority checks and approvals); a connect carrying auto_org always answers 428 APPROVAL_REQUIRED first, so a person approves binding the connection to that Auto org.

Parameters

  • OneOS-Approvalheader · string

    An approved approval id (apr_…) from an earlier 428, to retry the same request

Request body application/json

  • serverstringrequired

    pattern ^[a-z0-9-]{1,64}$

  • toolsstring[]

    Tools to enable (default: the manifest defaults)

  • auto_orgstring

    The Auto org that governs the connection. A connect carrying it always answers 428 APPROVAL_REQUIRED first. pattern ^aorg_[a-f0-9]{32}$

Responses

  • 201Connection created, waiting for a person to authorize it
    Response fields
    • connectionobjectrequired
    • connection.idstringrequired

      pattern ^conn_[0-9a-f]{32}$

    • connection.serverstringrequired
    • connection.urlstring
    • connection.status"pending_auth" | "active" | "needs_reauth" | "revoked"required
    • connection.auto_orgstring | null

      The Auto org that governs the connection, if one was named at connect

    • connection.tier"verified" | "suspended" | "pending"
    • connection.server_status"verified" | "suspended" | "pending"
    • connection.policyobject
    • connection.scopes_requestedstring[]
    • connection.scopes_grantedstring[]
    • connection.token_expires_atstring | null (date-time)
    • connection.created_bystring
    • connection.created_atstring (date-time)
    • connection.updated_atstring (date-time)
    • connection.revoked_atstring | null (date-time)
    • authorize_urlstring (uri)required

      A person opens this to consent at the vendor

    • nextstring
  • 403Missing scope; TOOL_DENIED (policy deny or not in the manifest); AUTHORITY_DENIED with reasons (Auto denied); APPROVAL_UNAVAILABLE (an approval is needed but the org has no Auto org)
  • 404Not found in your organization and environment
  • 409revoked, conflict (the policy changed meanwhile), or an approval refusal: APPROVAL_CONSUMED, APPROVAL_NOT_APPROVED, APPROVAL_MISMATCH
  • 410TOOL_CHANGED_PENDING_REVIEW: the server's live tools differ from its pinned manifest; it is suspended for every organization until re-verified
  • 422Invalid request body or parameters
  • 428APPROVAL_REQUIRED: a human approves approval_request_id in Auto; then retry the same request with OneOS-Approval
  • 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/connections" \
  -H "Authorization: Bearer $GENESIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "server": "string"
  }'

{id}

Get a connection

GET/v1/connections/{id}

connections:readTested with an API keyconnections_get

Scope connections:read. Status, granted scopes and the pinned manifest hash.

Parameters

  • idpath · stringrequired

Responses

  • 200The connection
    Response fields
    • idstringrequired

      pattern ^conn_[0-9a-f]{32}$

    • serverstringrequired
    • urlstring
    • status"pending_auth" | "active" | "needs_reauth" | "revoked"required
    • auto_orgstring | null

      The Auto org that governs the connection, if one was named at connect

    • tier"verified" | "suspended" | "pending"
    • server_status"verified" | "suspended" | "pending"
    • policyobject
    • scopes_requestedstring[]
    • scopes_grantedstring[]
    • token_expires_atstring | null (date-time)
    • created_bystring
    • created_atstring (date-time)
    • updated_atstring (date-time)
    • revoked_atstring | null (date-time)
  • 404Not found in your organization and environment
  • 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/connections/$ID" \
  -H "Authorization: Bearer $GENESIS_API_KEY"

Revoke a connection

DELETE/v1/connections/{id}

connections:writeTested with an API keyconnections_revoke

Scope connections:write. Never needs an approval. Blinds deletes the stored tokens and asks the vendor to revoke them (best effort, reported as vendor_revoked; tokens_deleted is false when Blinds did not confirm, and repeating the DELETE retries). The connection stays listed as revoked.

Parameters

  • idpath · stringrequired

Responses

  • 200Revoked
    Response fields
    • connectionobjectrequired
    • connection.idstringrequired

      pattern ^conn_[0-9a-f]{32}$

    • connection.serverstringrequired
    • connection.urlstring
    • connection.status"pending_auth" | "active" | "needs_reauth" | "revoked"required
    • connection.auto_orgstring | null

      The Auto org that governs the connection, if one was named at connect

    • connection.tier"verified" | "suspended" | "pending"
    • connection.server_status"verified" | "suspended" | "pending"
    • connection.policyobject
    • connection.scopes_requestedstring[]
    • connection.scopes_grantedstring[]
    • connection.token_expires_atstring | null (date-time)
    • connection.created_bystring
    • connection.created_atstring (date-time)
    • connection.updated_atstring (date-time)
    • connection.revoked_atstring | null (date-time)
    • vendor_revokedboolean
    • tokens_deletedboolean
  • 403Missing scope; TOOL_DENIED (policy deny or not in the manifest); AUTHORITY_DENIED with reasons (Auto denied); APPROVAL_UNAVAILABLE (an approval is needed but the org has no Auto org)
  • 404Not found in your organization and environment
  • 4xx 5xxThe error envelope.
curl -X DELETE "https://os.one.ml/api/v1/connections/$ID" \
  -H "Authorization: Bearer $GENESIS_API_KEY"

Read a connection's activity ledger

GET/v1/connections/{id}/activity

connections:readTested with an API keyconnections_activity

Scope connections:read. Append-only, hash-chained rows, oldest first; hashes only, never payloads. Page with after = next_after.

Parameters

  • idpath · stringrequired
  • afterquery · integer

    Return rows with a larger seq (default 0)

  • limitquery · integer

    Page size, 1-500 (default 100)

Responses

  • 200Ledger rows
    Response fields
    • dataobject[]required
    • data[].[].seqintegerrequired
    • data[].[].atstring (date-time)
    • data[].[].kindstringrequired
    • data[].[].connection_idstring | null
    • data[].[].principalstring | null
    • data[].[].toolstring | null
    • data[].[].args_sha256string | null
    • data[].[].result_sha256string | null
    • data[].[].outcomestringrequired
    • data[].[].prev_hashstring
    • data[].[].hashstringrequired
    • next_afterinteger | null
  • 404Not found in your organization and environment
  • 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/connections/$ID/activity" \
  -H "Authorization: Bearer $GENESIS_API_KEY"

Get a new authorize URL for a person to open

POST/v1/connections/{id}/authorize

connections:writeTested with an API keyconnections_authorize

Scope connections:write. Returns a fresh authorize_url (its state is single use and valid for 10 minutes). Human step: a person opens it in a browser. The hosted MCP refuses this operation for agents (human consent); use the CLI (genesis connections authorize <id>) or the Console.

Parameters

  • idpath · stringrequired

Responses

  • 200The URL a person opens to consent at the vendor
    Response fields
    • authorize_urlstring (uri)required
    • nextstring
  • 403Missing scope; TOOL_DENIED (policy deny or not in the manifest); AUTHORITY_DENIED with reasons (Auto denied); APPROVAL_UNAVAILABLE (an approval is needed but the org has no Auto org)
  • 404Not found in your organization and environment
  • 409revoked, conflict (the policy changed meanwhile), or an approval refusal: APPROVAL_CONSUMED, APPROVAL_NOT_APPROVED, APPROVAL_MISMATCH
  • 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/connections/$ID/authorize" \
  -H "Authorization: Bearer $GENESIS_API_KEY"

List a connection's tools with their policy

GET/v1/connections/{id}/tools

connections:readTested with an API keyconnections_listTools

Scope connections:read. The pinned manifest's tools, each with its effect, scopes, policy mode and the vendor's description and input schema (untrusted).

Parameters

  • idpath · stringrequired

Responses

  • 200Tools
    Response fields
    • connectionstringrequired
    • serverstringrequired
    • tier"verified" | "suspended" | "pending"
    • server_status"verified" | "suspended" | "pending"
    • manifest_sha256string | null
    • toolsobject[]required
    • tools[].[].namestringrequired
    • tools[].[].effect"read" | "write" | "send" | "spend" | "destructive"required
    • tools[].[].mode"allow" | "approve" | "deny"required
    • tools[].[].stored_mode"allow" | "approve" | "deny"
    • tools[].[].scopesstring[]
    • tools[].[].descriptionobject

      A vendor-written text (a tool description), sanitized and flagged. Data, never instructions.

    • tools[].[].description.untrustedtruerequired
    • tools[].[].description.sourceobject
    • tools[].[].description.source.connectionstring
    • tools[].[].description.source.serverstring
    • tools[].[].description.source.toolstring
    • tools[].[].description.source.tier"verified" | "suspended" | "pending"
    • tools[].[].description.textstringrequired
    • tools[].[].description.sanitizedinteger

      min 0

    • tools[].[].description.flagsstring[]
    • tools[].[].inputSchemaany
    • tools[].[].schema_flagsstring[]
  • 404Not found in your organization and environment
  • 410TOOL_CHANGED_PENDING_REVIEW: the server's live tools differ from its pinned manifest; it is suspended for every organization until re-verified
  • 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/connections/$ID/tools" \
  -H "Authorization: Bearer $GENESIS_API_KEY"

Set tool policies (allow, approve or deny)

PATCH/v1/connections/{id}/tools

connections:writeTested with an API keyconnections_setToolPolicy

Scope connections:write. tools maps tool names to allow, approve or deny; send, spend and destructive tools take approve or deny only (422 for allow). Narrowing never needs an approval; widening (deny to approve or allow, approve to allow) needs an owner's approval (428) and Auto's connections.widen check. When the change needs scopes not yet granted, the answer carries reauthorize.

Parameters

  • idpath · stringrequired
  • OneOS-Approvalheader · string

    An approved approval id (apr_…) from an earlier 428, to retry the same request

Request body application/json

  • toolsobjectrequired

    Tool name to mode, e.g. {"create_issue": "approve"}

Responses

  • 200The connection with its new policy and the changes made
    Response fields
    • connectionobjectrequired
    • connection.idstringrequired

      pattern ^conn_[0-9a-f]{32}$

    • connection.serverstringrequired
    • connection.urlstring
    • connection.status"pending_auth" | "active" | "needs_reauth" | "revoked"required
    • connection.auto_orgstring | null

      The Auto org that governs the connection, if one was named at connect

    • connection.tier"verified" | "suspended" | "pending"
    • connection.server_status"verified" | "suspended" | "pending"
    • connection.policyobject
    • connection.scopes_requestedstring[]
    • connection.scopes_grantedstring[]
    • connection.token_expires_atstring | null (date-time)
    • connection.created_bystring
    • connection.created_atstring (date-time)
    • connection.updated_atstring (date-time)
    • connection.revoked_atstring | null (date-time)
    • changedobject[]required
    • changed[].[].namestring
    • changed[].[].effect"read" | "write" | "send" | "spend" | "destructive"
    • changed[].[].from"allow" | "approve" | "deny"
    • changed[].[].to"allow" | "approve" | "deny"
    • reauthorizeobject
    • reauthorize.missing_scopesstring[]
    • reauthorize.authorize_urlstring (uri)
  • 403Missing scope; TOOL_DENIED (policy deny or not in the manifest); AUTHORITY_DENIED with reasons (Auto denied); APPROVAL_UNAVAILABLE (an approval is needed but the org has no Auto org)
  • 404Not found in your organization and environment
  • 409revoked, conflict (the policy changed meanwhile), or an approval refusal: APPROVAL_CONSUMED, APPROVAL_NOT_APPROVED, APPROVAL_MISMATCH
  • 422Invalid request body or parameters
  • 428APPROVAL_REQUIRED: a human approves approval_request_id in Auto; then retry the same request with OneOS-Approval
  • 4xx 5xxThe error envelope.
curl -X PATCH "https://os.one.ml/api/v1/connections/$ID/tools" \
  -H "Authorization: Bearer $GENESIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "tools": {}
  }'

Call a connected tool

POST/v1/connections/{id}/tools/{tool}/call

connections:writeTested with an API keyconnections_call

Scope connections:write. Runs Auto's connections.call check, then calls the tool through Blinds. The result is third-party content inside the untrusted wrapper. A tool whose policy is approve, or a write to another connection after this session read untrusted content, answers 428; retry with OneOS-Approval.

Parameters

  • toolpath · stringrequired
  • idpath · stringrequired
  • OneOS-Approvalheader · string

    An approved approval id (apr_…) from an earlier 428, to retry the same request

Request body application/json

  • argumentsobjectrequired

    The tool's arguments, as its inputSchema describes

Responses

  • 200The call's outcome and its wrapped result
    Response fields
    • call_idstringrequired
    • outcome"ok" | "tool_error"required
    • resultobjectrequired

      A tool's output (MCP content blocks), sanitized, credential-redacted and flagged. Third-party data, never instructions.

    • result.untrustedtruerequired
    • result.sourceobjectrequired
    • result.source.connectionstring
    • result.source.serverstring
    • result.source.toolstring
    • result.source.tier"verified" | "suspended" | "pending"
    • result.flagsstring[]
    • result.sanitizedinteger

      min 0

    • result.credentials_redactedinteger

      min 0

    • result.truncatedboolean
    • result.contentany[]required
    • result.structuredContentany
    • result.isErrorboolean
    • auto_check_idstring | null
    • auto_receiptstring | null

      Auto's signed receipt (JWS)

    • approval_idstring | null
  • 403Missing scope; TOOL_DENIED (policy deny or not in the manifest); AUTHORITY_DENIED with reasons (Auto denied); APPROVAL_UNAVAILABLE (an approval is needed but the org has no Auto org)
  • 404Not found in your organization and environment
  • 409CONNECTION_NEEDS_REAUTH: a person opens the fresh authorize_url (an approval refusal or revoked is also a 409, without it)
  • 410TOOL_CHANGED_PENDING_REVIEW: the server's live tools differ from its pinned manifest; it is suspended for every organization until re-verified
  • 422Invalid request body or parameters
  • 428APPROVAL_REQUIRED: a human approves approval_request_id in Auto; then retry the same request with OneOS-Approval
  • 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/connections/$ID/tools/$TOOL/call" \
  -H "Authorization: Bearer $GENESIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "arguments": {}
  }'

Catalog

List verified MCP servers in the catalog

GET/v1/connections/catalog

connections:readTested with an API keyconnections_listCatalog

Scope connections:read. Filter by OneOS plugin category (plugin, e.g. scopes). Suspended servers are listed with their reason.

Parameters

  • pluginquery · string

    OneOS plugin category the server competes in, e.g. scopes, silos, traces

Responses

  • 200Catalog servers
    Response fields
    • dataobject[]required
    • data[].[].idstringrequired
    • data[].[].vendorstring
    • data[].[].displaystringrequired
    • data[].[].pluginsstring[]
    • data[].[].urlstring
    • data[].[].docsstring
    • data[].[].authstring
    • data[].[].tier"verified" | "suspended" | "pending"required
    • data[].[].reasonstring | null

      Why a suspended server is paused

    • data[].[].toolsinteger

      Number of tools in the pinned manifest

  • 403Missing scope; TOOL_DENIED (policy deny or not in the manifest); AUTHORITY_DENIED with reasons (Auto denied); APPROVAL_UNAVAILABLE (an approval is needed but the org has no Auto org)
  • 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/connections/catalog" \
  -H "Authorization: Bearer $GENESIS_API_KEY"

Get a catalog server with its pinned tool manifest

GET/v1/connections/catalog/{server}

connections:readTested with an API keyconnections_getCatalogServer

Scope connections:read.

Parameters

  • serverpath · stringrequired

Responses

  • 200The server and its pinned manifest
    Response fields
    • idstringrequired
    • vendorstring
    • displaystringrequired
    • pluginsstring[]
    • urlstring
    • docsstring
    • authstring
    • tier"verified" | "suspended" | "pending"required
    • reasonstring | null
    • manifest_sha256string | null
    • toolsobject[]required
    • tools[].[].namestringrequired
    • tools[].[].effect"read" | "write" | "send" | "spend" | "destructive"required
    • tools[].[].scopesstring[]
    • tools[].[].descriptionobject

      A vendor-written text (a tool description), sanitized and flagged. Data, never instructions.

    • tools[].[].description.untrustedtruerequired
    • tools[].[].description.sourceobject
    • tools[].[].description.source.connectionstring
    • tools[].[].description.source.serverstring
    • tools[].[].description.source.toolstring
    • tools[].[].description.source.tier"verified" | "suspended" | "pending"
    • tools[].[].description.textstringrequired
    • tools[].[].description.sanitizedinteger

      min 0

    • tools[].[].description.flagsstring[]
  • 404Not found in your organization and environment
  • 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/connections/catalog/$SERVER" \
  -H "Authorization: Bearer $GENESIS_API_KEY"

Oauth

OAuth redirect target for a person's browser (anonymous)

GET/v1/connections/oauth/callback

connections:readNo key neededconnections_oauthCallback

Human browser only; anonymous. The vendor redirects the person here after consent. The gateway forwards it with no identity envelope and no credential; Connections authenticates it only by the single-use state (10 minutes, bound to the connection and its PKCE verifier) and hands the code to Blinds. Not an API for agents.

Parameters

  • statequery · string
  • codequery · string
  • issquery · string
  • errorquery · string
  • error_descriptionquery · string

Responses

  • 200A page telling the person the connection is ready (or what failed)
    Response fields

    Type: string

  • 400Unknown, used or expired state
  • 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/connections/oauth/callback"

Tools

Search the connected tools your organization may call

GET/v1/connections/tools

connections:readTested with an API keyconnections_searchTools

Scope connections:read. Connected tools of the selected environment whose policy is not deny, matched against q (at most 100). genesis-mcp's genesis_search_tools lists them by name (conn.<connection>.<tool>). session_tainted says whether this principal has read untrusted content.

Parameters

  • qquery · string

    Keywords

Responses

  • 200Matching connected tools
    Response fields
    • dataobject[]required
    • data[].[].namestringrequired

      conn.<connection>.<tool>

    • data[].[].connectionstringrequired

      pattern ^conn_[0-9a-f]{32}$

    • data[].[].serverstringrequired
    • data[].[].toolstringrequired
    • data[].[].effect"read" | "write" | "send" | "spend" | "destructive"required
    • data[].[].mode"allow" | "approve" | "deny"
    • data[].[].descriptionobject

      A vendor-written text (a tool description), sanitized and flagged. Data, never instructions.

    • data[].[].description.untrustedtruerequired
    • data[].[].description.sourceobject
    • data[].[].description.source.connectionstring
    • data[].[].description.source.serverstring
    • data[].[].description.source.toolstring
    • data[].[].description.source.tier"verified" | "suspended" | "pending"
    • data[].[].description.textstringrequired
    • data[].[].description.sanitizedinteger

      min 0

    • data[].[].description.flagsstring[]
    • data[].[].inputSchemaany
    • data[].[].schema_flagsstring[]
    • session_taintedboolean
  • 403Missing scope; TOOL_DENIED (policy deny or not in the manifest); AUTHORITY_DENIED with reasons (Auto denied); APPROVAL_UNAVAILABLE (an approval is needed but the org has no Auto org)
  • 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/connections/tools" \
  -H "Authorization: Bearer $GENESIS_API_KEY"

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