OneOS Docs
Genesis 0.3.1 Console

API reference

Brews

Packaged agent recipes: browse, install, run, benchmark and evaluate them.

Operations
22
Base path
https://os.one.ml/api/v1/brews
Scopes
brews:read brews:write
API keys
2 untested · 20 tested with an API key
SDK
genesis.call('brews_runBrewBench', …) · helpers under genesis.brews
CLI
genesis brews
MCP
22 tools

Operations

OperationEndpointAPI key
Run a Brew's benchmark (answers 503 BREWS_E_METERING_UNAVAILABLE through Genesis)POST/bench/runTested with an API key
Get a Brew's cardPOST/cardTested with an API key
Compile a Brew for a target runtimePOST/compileTested with an API key
Create a Brew from a signed manifestPOST/createTested with an API key
Create a typed brews.decision.v1 decisionPOST/decisionsTested with an API key
Get a decisionGET/decisions/{decisionId}Tested with an API key
Reconcile a decision held in custodyPOST/decisions/{decisionId}/reconcileTested with an API key
Brews decision readiness and contractGET/decisions/statusTested with an API key
Delete a Brew from the selected projectPOST/delete—
Evaluate a Brew against a dataset (answers 503 BREWS_E_METERING_UNAVAILABLE through Genesis)POST/evalTested with an API key
Get an exchange listingPOST/exchange/getTested with an API key
Install an exchange Brew into the selected projectPOST/exchange/installTested with an API key
List exchange Brews visible to the selected projectPOST/exchange/listTested with an API key
List public Brews on the exchangeGET/exchange/publicTested with an API key
Uninstall an exchange Brew from the selected projectPOST/exchange/uninstall—
Get a Brew by URIPOST/getTested with an API key
List Brews in the selected projectPOST/listTested with an API key
Call a Brews MCP toolPOST/mcpTested with an API key
Run a Brew (answers 503 BREWS_E_METERING_UNAVAILABLE through Genesis)POST/runTested with an API key
Create a typed brews.selection.v1 selectionPOST/selectionsTested with an API key
Get a selection receiptGET/selections/{selectionRecordId}Tested with an API key
Recover a selection by the caller's selection idGET/selections/by-selection-id/{selectionId}Tested with an API key

Bench

Run a Brew's benchmark (answers 503 BREWS_E_METERING_UNAVAILABLE through Genesis)

POST/v1/brews/bench/run

brews:writeTested with an API keybrews_runBrewBench

Answers 503 BREWS_E_METERING_UNAVAILABLE through Genesis. Needs brews:write.

Request body application/json

  • scopeobject

    Optional. Filled from the selection; when sent it must name the same context.

  • scope.platformId"brews"
  • scope.organizationIdstringrequired
  • scope.workspaceIdstring
  • scope.projectIdstringrequired
  • scope.environmentIdstringrequired

    sandbox or live

  • brewUristringrequired

Responses

  • 401Credential missing or invalid
  • 403SCOPE_MISSING or BREWS_E_ACCESS_DENIED
  • 503BREWS_E_METERING_UNAVAILABLE: run, eval and bench are not available through Genesis
  • 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/brews/bench/run" \
  -H "Authorization: Bearer $GENESIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "brewUri": "string"
  }'

Card

Get a Brew's card

POST/v1/brews/card

brews:readTested with an API keybrews_getBrewCard

Needs brews:read.

Request body application/json

  • scopeobject

    Optional. Filled from the selection; when sent it must name the same context.

  • scope.platformId"brews"
  • scope.organizationIdstringrequired
  • scope.workspaceIdstring
  • scope.projectIdstringrequired
  • scope.environmentIdstringrequired

    sandbox or live

  • brewUristringrequired

Responses

  • 200Brews result envelope
    Response fields
    • successbooleanrequired
    • dataany
    • errorobject | null
    • error.codestring
    • error.messagestring
  • 400BREWS_E_BAD_REQUEST or a scope error
  • 401Credential missing or invalid
  • 403SCOPE_MISSING, BREWS_E_ACCESS_DENIED or BREWS_E_SCOPE_MISMATCH
  • 404Not found
  • 503Brews unavailable
  • 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/brews/card" \
  -H "Authorization: Bearer $GENESIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "brewUri": "string"
  }'

Compile

Compile a Brew for a target runtime

POST/v1/brews/compile

brews:readTested with an API keybrews_compileBrew

Needs brews:read.

Request body application/json

  • scopeobject

    Optional. Filled from the selection; when sent it must name the same context.

  • scope.platformId"brews"
  • scope.organizationIdstringrequired
  • scope.workspaceIdstring
  • scope.projectIdstringrequired
  • scope.environmentIdstringrequired

    sandbox or live

  • brewUristringrequired
  • targetstringrequired

Responses

  • 200Brews result envelope
    Response fields
    • successbooleanrequired
    • dataany
    • errorobject | null
    • error.codestring
    • error.messagestring
  • 400BREWS_E_BAD_REQUEST or a scope error
  • 401Credential missing or invalid
  • 403SCOPE_MISSING, BREWS_E_ACCESS_DENIED or BREWS_E_SCOPE_MISMATCH
  • 404Not found
  • 503Brews unavailable
  • 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/brews/compile" \
  -H "Authorization: Bearer $GENESIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "brewUri": "string",
    "target": "string"
  }'

Create

Create a Brew from a signed manifest

POST/v1/brews/create

brews:writeTested with an API keybrews_createBrew

Needs brews:write.

Request body application/json

  • scopeobject

    Optional. Filled from the selection; when sent it must name the same context.

  • scope.platformId"brews"
  • scope.organizationIdstringrequired
  • scope.workspaceIdstring
  • scope.projectIdstringrequired
  • scope.environmentIdstringrequired

    sandbox or live

  • manifestobjectrequired
  • authorDidstringrequired
  • signatureKeyIdstringrequired
  • signaturestringrequired

Responses

  • 200Brews result envelope
    Response fields
    • successbooleanrequired
    • dataany
    • errorobject | null
    • error.codestring
    • error.messagestring
  • 400BREWS_E_BAD_REQUEST or a scope error
  • 401Credential missing or invalid
  • 403SCOPE_MISSING, BREWS_E_ACCESS_DENIED or BREWS_E_SCOPE_MISMATCH
  • 404Not found
  • 503Brews unavailable
  • 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/brews/create" \
  -H "Authorization: Bearer $GENESIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "manifest": {},
    "authorDid": "string",
    "signatureKeyId": "string",
    "signature": "string"
  }'

Decisions

Create a typed brews.decision.v1 decision

POST/v1/brews/decisions

brews:writeTested with an API keyIdempotency-Key requiredbrews_createDecision

Needs brews:write and an Idempotency-Key. Decisions are admitted only when Brews reports acceptingDecisions.

Parameters

  • Idempotency-Keyheader · stringrequired

    Stable key; a retry with it returns the original decision instead of creating another

Request body application/json

A JSON object; see the description above.

Responses

  • 200Typed result
    Response fields

    A JSON object.

  • 400Invalid request
  • 401Credential missing or invalid
  • 403SCOPE_MISSING or PERMISSION_DENIED
  • 404Not found in the selected organization and project
  • 409Idempotency conflict
  • 503Decisions not accepted yet (see GET /v1/brews/decisions/status)
  • 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/brews/decisions" \
  -H "Authorization: Bearer $GENESIS_API_KEY" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

Get a decision

GET/v1/brews/decisions/{decisionId}

brews:readTested with an API keybrews_getDecision

Needs brews:read. Only decisions of the selected organization and project are visible.

Parameters

  • decisionIdpath · stringrequired

Responses

  • 200Typed result
    Response fields

    A JSON object.

  • 400Invalid request
  • 401Credential missing or invalid
  • 403SCOPE_MISSING or PERMISSION_DENIED
  • 404Not found in the selected organization and project
  • 409Idempotency conflict
  • 503Decisions not accepted yet (see GET /v1/brews/decisions/status)
  • 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/brews/decisions/$DECISION_ID" \
  -H "Authorization: Bearer $GENESIS_API_KEY"

Brews decision readiness and contract

GET/v1/brews/decisions/status

brews:readTested with an API keybrews_getDecisionStatus

Needs brews:read. Public readiness report with no tenant data.

Responses

  • 200Readiness report
    Response fields

    A JSON object.

  • 503Brews unavailable
  • 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/brews/decisions/status" \
  -H "Authorization: Bearer $GENESIS_API_KEY"

Reconcile

Reconcile a decision held in custody

POST/v1/brews/decisions/{decisionId}/reconcile

brews:writeTested with an API keyIdempotency-Key requiredbrews_reconcileDecision

Needs brews:write and the Idempotency-Key the decision was created with.

Parameters

  • decisionIdpath · stringrequired
  • Idempotency-Keyheader · stringrequired

    Stable key; a retry with it returns the original decision instead of creating another

Request body application/json

A JSON object; see the description above.

Responses

  • 200Typed result
    Response fields

    A JSON object.

  • 400Invalid request
  • 401Credential missing or invalid
  • 403SCOPE_MISSING or PERMISSION_DENIED
  • 404Not found in the selected organization and project
  • 409Idempotency conflict
  • 503Decisions not accepted yet (see GET /v1/brews/decisions/status)
  • 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/brews/decisions/$DECISION_ID/reconcile" \
  -H "Authorization: Bearer $GENESIS_API_KEY" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

Delete

Delete a Brew from the selected project

POST/v1/brews/delete

brews:writebrews_deleteBrew

Needs brews:write. Deletes one Brew version from the caller's organization, project and environment and returns its digest; the version can be created again afterwards. A Brew in another scope is 404 BREWS_E_NOT_FOUND; an exchange install is 409 BREWS_E_EXCHANGE_INSTALL (use uninstallBrew).

Request body application/json

  • scopeobject

    Optional. Filled from the selection; when sent it must name the same context.

  • scope.platformId"brews"
  • scope.organizationIdstringrequired
  • scope.workspaceIdstring
  • scope.projectIdstringrequired
  • scope.environmentIdstringrequired

    sandbox or live

  • brewUristringrequired
  • reasonstring

Responses

  • 200Brews result envelope
    Response fields
    • successbooleanrequired
    • dataany
    • errorobject | null
    • error.codestring
    • error.messagestring
  • 400BREWS_E_BAD_REQUEST, BREWS_E_INVALID_URI or a scope error
  • 401Credential missing or invalid
  • 403SCOPE_MISSING, BREWS_E_ACCESS_DENIED or BREWS_E_SCOPE_MISMATCH
  • 404BREWS_E_NOT_FOUND: no such Brew in the selected organization, project and environment
  • 409BREWS_E_EXCHANGE_INSTALL or BREWS_E_NOT_AN_INSTALL: the other removal applies
  • 503Brews unavailable
  • 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/brews/delete" \
  -H "Authorization: Bearer $GENESIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "brewUri": "string"
  }'

Eval

Evaluate a Brew against a dataset (answers 503 BREWS_E_METERING_UNAVAILABLE through Genesis)

POST/v1/brews/eval

brews:writeTested with an API keybrews_evalBrew

Answers 503 BREWS_E_METERING_UNAVAILABLE through Genesis. Needs brews:write.

Request body application/json

  • scopeobject

    Optional. Filled from the selection; when sent it must name the same context.

  • scope.platformId"brews"
  • scope.organizationIdstringrequired
  • scope.workspaceIdstring
  • scope.projectIdstringrequired
  • scope.environmentIdstringrequired

    sandbox or live

  • brewUristringrequired
  • datasetany
  • oracleRatenumber

Responses

  • 401Credential missing or invalid
  • 403SCOPE_MISSING or BREWS_E_ACCESS_DENIED
  • 503BREWS_E_METERING_UNAVAILABLE: run, eval and bench are not available through Genesis
  • 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/brews/eval" \
  -H "Authorization: Bearer $GENESIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "brewUri": "string"
  }'

Exchange

Get an exchange listing

POST/v1/brews/exchange/get

brews:readTested with an API keybrews_getExchangeListing

Needs brews:read.

Request body application/json

  • scopeobject

    Optional. Filled from the selection; when sent it must name the same context.

  • scope.platformId"brews"
  • scope.organizationIdstringrequired
  • scope.workspaceIdstring
  • scope.projectIdstringrequired
  • scope.environmentIdstringrequired

    sandbox or live

  • brewUristringrequired

Responses

  • 200Brews result envelope
    Response fields
    • successbooleanrequired
    • dataany
    • errorobject | null
    • error.codestring
    • error.messagestring
  • 400BREWS_E_BAD_REQUEST or a scope error
  • 401Credential missing or invalid
  • 403SCOPE_MISSING, BREWS_E_ACCESS_DENIED or BREWS_E_SCOPE_MISMATCH
  • 404Not found
  • 503Brews unavailable
  • 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/brews/exchange/get" \
  -H "Authorization: Bearer $GENESIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "brewUri": "string"
  }'

Install an exchange Brew into the selected project

POST/v1/brews/exchange/install

brews:writeTested with an API keybrews_installBrew

Needs brews:write.

Request body application/json

  • scopeobject

    Optional. Filled from the selection; when sent it must name the same context.

  • scope.platformId"brews"
  • scope.organizationIdstringrequired
  • scope.workspaceIdstring
  • scope.projectIdstringrequired
  • scope.environmentIdstringrequired

    sandbox or live

  • sourceUristringrequired
  • targetNamestring

Responses

  • 200Brews result envelope
    Response fields
    • successbooleanrequired
    • dataany
    • errorobject | null
    • error.codestring
    • error.messagestring
  • 400BREWS_E_BAD_REQUEST or a scope error
  • 401Credential missing or invalid
  • 403SCOPE_MISSING, BREWS_E_ACCESS_DENIED or BREWS_E_SCOPE_MISMATCH
  • 404Not found
  • 503Brews unavailable
  • 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/brews/exchange/install" \
  -H "Authorization: Bearer $GENESIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "sourceUri": "string"
  }'

List exchange Brews visible to the selected project

POST/v1/brews/exchange/list

brews:readTested with an API keybrews_listExchange

Needs brews:read.

Request body application/json

  • scopeobject

    Optional. Filled from the selection; when sent it must name the same context.

  • scope.platformId"brews"
  • scope.organizationIdstringrequired
  • scope.workspaceIdstring
  • scope.projectIdstringrequired
  • scope.environmentIdstringrequired

    sandbox or live

Responses

  • 200Brews result envelope
    Response fields
    • successbooleanrequired
    • dataany
    • errorobject | null
    • error.codestring
    • error.messagestring
  • 400BREWS_E_BAD_REQUEST or a scope error
  • 401Credential missing or invalid
  • 403SCOPE_MISSING, BREWS_E_ACCESS_DENIED or BREWS_E_SCOPE_MISMATCH
  • 404Not found
  • 503Brews unavailable
  • 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/brews/exchange/list" \
  -H "Authorization: Bearer $GENESIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

List public Brews on the exchange

GET/v1/brews/exchange/public

brews:readTested with an API keybrews_listPublicExchange

Needs brews:read. The listing itself is public and carries no tenant data.

Responses

  • 200Brews result envelope
    Response fields
    • successbooleanrequired
    • dataany
    • errorobject | null
    • error.codestring
    • error.messagestring
  • 400BREWS_E_BAD_REQUEST or a scope error
  • 401Credential missing or invalid
  • 403SCOPE_MISSING, BREWS_E_ACCESS_DENIED or BREWS_E_SCOPE_MISMATCH
  • 404Not found
  • 503Brews unavailable
  • 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/brews/exchange/public" \
  -H "Authorization: Bearer $GENESIS_API_KEY"

Uninstall an exchange Brew from the selected project

POST/v1/brews/exchange/uninstall

brews:writebrews_uninstallBrew

Needs brews:write. Removes a Brew that installBrew put in the caller's organization, project and environment, and drops the source listing's install count. A Brew in another scope is 404 BREWS_E_NOT_FOUND; a Brew that was not installed from the exchange is 409 BREWS_E_NOT_AN_INSTALL.

Request body application/json

  • scopeobject

    Optional. Filled from the selection; when sent it must name the same context.

  • scope.platformId"brews"
  • scope.organizationIdstringrequired
  • scope.workspaceIdstring
  • scope.projectIdstringrequired
  • scope.environmentIdstringrequired

    sandbox or live

  • installedUristringrequired

Responses

  • 200Brews result envelope
    Response fields
    • successbooleanrequired
    • dataany
    • errorobject | null
    • error.codestring
    • error.messagestring
  • 400BREWS_E_BAD_REQUEST, BREWS_E_INVALID_URI or a scope error
  • 401Credential missing or invalid
  • 403SCOPE_MISSING, BREWS_E_ACCESS_DENIED or BREWS_E_SCOPE_MISMATCH
  • 404BREWS_E_NOT_FOUND: no such Brew in the selected organization, project and environment
  • 409BREWS_E_EXCHANGE_INSTALL or BREWS_E_NOT_AN_INSTALL: the other removal applies
  • 503Brews unavailable
  • 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/brews/exchange/uninstall" \
  -H "Authorization: Bearer $GENESIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "installedUri": "string"
  }'

Get

Get a Brew by URI

POST/v1/brews/get

brews:readTested with an API keybrews_getBrew

Needs brews:read.

Request body application/json

  • scopeobject

    Optional. Filled from the selection; when sent it must name the same context.

  • scope.platformId"brews"
  • scope.organizationIdstringrequired
  • scope.workspaceIdstring
  • scope.projectIdstringrequired
  • scope.environmentIdstringrequired

    sandbox or live

  • brewUristringrequired

Responses

  • 200Brews result envelope
    Response fields
    • successbooleanrequired
    • dataany
    • errorobject | null
    • error.codestring
    • error.messagestring
  • 400BREWS_E_BAD_REQUEST or a scope error
  • 401Credential missing or invalid
  • 403SCOPE_MISSING, BREWS_E_ACCESS_DENIED or BREWS_E_SCOPE_MISMATCH
  • 404Not found
  • 503Brews unavailable
  • 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/brews/get" \
  -H "Authorization: Bearer $GENESIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "brewUri": "string"
  }'

List

List Brews in the selected project

POST/v1/brews/list

brews:readTested with an API keybrews_listBrews

Needs brews:read. Optional filter by state, tag or author.

Request body application/json

  • scopeobject

    Optional. Filled from the selection; when sent it must name the same context.

  • scope.platformId"brews"
  • scope.organizationIdstringrequired
  • scope.workspaceIdstring
  • scope.projectIdstringrequired
  • scope.environmentIdstringrequired

    sandbox or live

  • filterobject
  • filter.statestring
  • filter.tagstring
  • filter.authorDidstring

Responses

  • 200Brews result envelope
    Response fields
    • successbooleanrequired
    • dataany
    • errorobject | null
    • error.codestring
    • error.messagestring
  • 400BREWS_E_BAD_REQUEST or a scope error
  • 401Credential missing or invalid
  • 403SCOPE_MISSING, BREWS_E_ACCESS_DENIED or BREWS_E_SCOPE_MISMATCH
  • 404Not found
  • 503Brews unavailable
  • 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/brews/list" \
  -H "Authorization: Bearer $GENESIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

Mcp

Call a Brews MCP tool

POST/v1/brews/mcp

brews:readTested with an API keybrews_callTool

One Brews tool call: brews.create, brews.run, brews.eval, brews.list, brews.get, brews.card, brews.compile, brews.bench.run, brews.exchange.list, brews.exchange.get, brews.exchange.install, brews.exchange.uninstall, brews.delete, or a typed brews.decision.v1 / brews.selection.v1 tool. Needs brews:read; tools that write need brews:write, checked by Brews per tool. arguments.scope is filled from the selection.

Request body application/json

  • toolstringrequired
  • argumentsobjectrequired

Responses

  • 200Brews result envelope
    Response fields
    • successbooleanrequired
    • dataany
    • errorobject | null
    • error.codestring
    • error.messagestring
  • 400BREWS_E_BAD_REQUEST or a scope error
  • 401Credential missing or invalid
  • 403SCOPE_MISSING, BREWS_E_ACCESS_DENIED or BREWS_E_SCOPE_MISMATCH
  • 404Not found
  • 503Brews unavailable
  • 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/brews/mcp" \
  -H "Authorization: Bearer $GENESIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "tool": "string",
    "arguments": {}
  }'

Run

Run a Brew (answers 503 BREWS_E_METERING_UNAVAILABLE through Genesis)

POST/v1/brews/run

brews:writeTested with an API keybrews_runBrew

Answers 503 BREWS_E_METERING_UNAVAILABLE through Genesis. Needs brews:write.

Request body application/json

  • scopeobject

    Optional. Filled from the selection; when sent it must name the same context.

  • scope.platformId"brews"
  • scope.organizationIdstringrequired
  • scope.workspaceIdstring
  • scope.projectIdstringrequired
  • scope.environmentIdstringrequired

    sandbox or live

  • brewUristringrequired
  • inputsanyrequired
  • idempotencyKeystring

Responses

  • 401Credential missing or invalid
  • 403SCOPE_MISSING or BREWS_E_ACCESS_DENIED
  • 503BREWS_E_METERING_UNAVAILABLE: run, eval and bench are not available through Genesis
  • 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/brews/run" \
  -H "Authorization: Bearer $GENESIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "brewUri": "string",
    "inputs": "string"
  }'

Selections

Create a typed brews.selection.v1 selection

POST/v1/brews/selections

brews:writeTested with an API keybrews_createSelection

Needs brews:write.

Request body application/json

A JSON object; see the description above.

Responses

  • 200Typed result
    Response fields

    A JSON object.

  • 400Invalid request
  • 401Credential missing or invalid
  • 403SCOPE_MISSING or PERMISSION_DENIED
  • 404Not found in the selected organization and project
  • 409Idempotency conflict
  • 503Decisions not accepted yet (see GET /v1/brews/decisions/status)
  • 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/brews/selections" \
  -H "Authorization: Bearer $GENESIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

Get a selection receipt

GET/v1/brews/selections/{selectionRecordId}

brews:readTested with an API keybrews_getSelection

Needs brews:read.

Parameters

  • selectionRecordIdpath · stringrequired

Responses

  • 200Typed result
    Response fields

    A JSON object.

  • 400Invalid request
  • 401Credential missing or invalid
  • 403SCOPE_MISSING or PERMISSION_DENIED
  • 404Not found in the selected organization and project
  • 409Idempotency conflict
  • 503Decisions not accepted yet (see GET /v1/brews/decisions/status)
  • 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/brews/selections/$SELECTION_RECORD_ID" \
  -H "Authorization: Bearer $GENESIS_API_KEY"

Recover a selection by the caller's selection id

GET/v1/brews/selections/by-selection-id/{selectionId}

brews:readTested with an API keybrews_recoverSelection

Needs brews:read.

Parameters

  • selectionIdpath · stringrequired

Responses

  • 200Typed result
    Response fields

    A JSON object.

  • 400Invalid request
  • 401Credential missing or invalid
  • 403SCOPE_MISSING or PERMISSION_DENIED
  • 404Not found in the selected organization and project
  • 409Idempotency conflict
  • 503Decisions not accepted yet (see GET /v1/brews/decisions/status)
  • 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/brews/selections/by-selection-id/$SELECTION_ID" \
  -H "Authorization: Bearer $GENESIS_API_KEY"

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