API reference
Taps
Human-in-the-loop requests: taps, their events and responses, routing rules, escalation policies and agent lineage.
- Operations
- 47
- Base path
https://os.one.ml/api/v1/taps- Scopes
taps:readtaps:write- API keys
- 1 need a signed-in session · 2 refused to API keys · 19 tested with an API key
- SDK
genesis.call('taps_createAgentLineageChallenge', …)· helpers undergenesis.taps- CLI
genesis taps- MCP
- 16 tools; the other 31 through
genesis_call
Operations
Agent lineage
Create an agent lineage challenge (human only)
POST/v1/taps/agent-lineage/challenges
Human only: a genesis login session. An org API key gets 403 human_required. Needs taps:write (Taps permission taps.lineage.manage). Auth issues a challenge for the agent DID to sign; organization_id, when sent, must match your tenant.
Request body application/json
agent_didstringrequiredorganization_idstring (uuid)project_idstring (uuid)Used only by self-hosted Taps
ttl_secsintegerSelf-hosted only: 60 to 900, default 300
Responses
- 200Challenge to sign
Response fields
challengeobjectrequiredchallenge.idstringrequiredchallenge.noncestringrequiredchallenge.issued_atintegerrequiredUnix epoch milliseconds
challenge.expires_atintegerrequiredUnix epoch milliseconds
challenge.expected_didstringrequiredchallenge.tenant_hintobject
- 403FORBIDDEN human_required (org API key), or a foreign organization_id
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/taps/agent-lineage/challenges" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"agent_did": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('taps_createAgentLineageChallenge', {
body: {
agent_did: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "taps_createAgentLineageChallenge",
"arguments": {
"body": {
"agent_did": "string"
}
}
}
}
}List agent lineage requests
GET/v1/taps/agent-lineage/requests
Needs taps:read (Taps permission taps.lineage.manage).
Parameters
statusquery · stringlimitquery · integer1 to 100 (clamped); default 50
offsetquery · integer
Responses
- 200One page of requests
Response fields
requestsobject[]requiredrequests[].[].idstring (uuid)requiredrequests[].[].org_idstring (uuid)requiredrequests[].[].tap_idstring (uuid)requiredrequests[].[].statusstringrequiredFor example pending_human_approval, approved_pending_sigil_mint or active
requests[].[].agent_didstringrequiredrequests[].[].agent_namestring | nullrequests[].[].agent_frameworkstring | nullrequests[].[].keystone_principal_idstring | nullrequests[].[].requested_capabilitiesstring[]requiredrequests[].[].target_human_user_idstring | null (uuid)requests[].[].requested_by_principal_idstring | nullrequests[].[].requested_by_kindstring | nullrequests[].[].sigil_mint_requiredbooleanrequiredrequests[].[].sigil_networkstringrequiredrequests[].[].sigil_tx_idstring | nullrequests[].[].sigil_mint_payloadanyrequests[].[].hitl_policyanyrequests[].[].callback_urlstring | nullrequests[].[].capability_grant_idstring | nullrequests[].[].metadataanyrequests[].[].approved_atstring | null (date-time)requests[].[].denied_atstring | null (date-time)requests[].[].activated_atstring | null (date-time)requests[].[].created_atstring (date-time)requiredrequests[].[].updated_atstring (date-time)requiredlimitintegerrequiredoffsetintegerrequired
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/taps/agent-lineage/requests" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('taps_listAgentLineageRequests'){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "taps_listAgentLineageRequests",
"arguments": {}
}
}Submit a signed agent lineage request (human only)
POST/v1/taps/agent-lineage/requests
Human only: a genesis login session. An org API key gets 403 human_required. Needs taps:write (Taps permission taps.lineage.manage). Auth verifies the signed challenge; Taps records the request and raises an approval tap for a human. In cloud, sigil_mint_required must stay true and capabilities use platform.resource.action form.
Request body application/json
organization_idstring (uuid)Must match your tenant when sent
challenge_idstringrequiredsigner_didstringrequiredsignature_multibasestringrequiredagent_namestringagent_frameworkstringtarget_human_user_idstring (uuid)requested_capabilitiesstring[]sigil_mint_requiredbooleandefault
truesigil_networkstringdefault
"sigil-mainnet"callback_urlstringhitl_policyanymetadataany
Responses
- 201Request recorded and approval tap raised
Response fields
requestobjectrequiredrequest.idstring (uuid)requiredrequest.org_idstring (uuid)requiredrequest.tap_idstring (uuid)requiredrequest.statusstringrequiredFor example pending_human_approval, approved_pending_sigil_mint or active
request.agent_didstringrequiredrequest.agent_namestring | nullrequest.agent_frameworkstring | nullrequest.keystone_principal_idstring | nullrequest.requested_capabilitiesstring[]requiredrequest.target_human_user_idstring | null (uuid)request.requested_by_principal_idstring | nullrequest.requested_by_kindstring | nullrequest.sigil_mint_requiredbooleanrequiredrequest.sigil_networkstringrequiredrequest.sigil_tx_idstring | nullrequest.sigil_mint_payloadanyrequest.hitl_policyanyrequest.callback_urlstring | nullrequest.capability_grant_idstring | nullrequest.metadataanyrequest.approved_atstring | null (date-time)request.denied_atstring | null (date-time)request.activated_atstring | null (date-time)request.created_atstring (date-time)requiredrequest.updated_atstring (date-time)requiredtapobjectrequiredtap.idstring (uuid)requiredtap.status"created" | "pending" | "approved" | "denied" | "escalated" | "expired" | "cancelled"requiredtap.tap_type"approval" | "choice" | "input" | "acknowledgment" | "form"requiredtap.priority"low" | "normal" | "high" | "critical"requiredtap.titlestringrequiredtap.descriptionstringtap.agentobjectrequiredtap.agent.idstringrequiredAgent identifier, for example deploy-bot
tap.agent.namestringtap.agent.org_idstring (uuid)tap.agent.didstringtap.agent.avatar_urlstringtap.agent.frameworkstringtap.agent.metadataobjecttap.org_idstring (uuid)requiredtap.assigneesstring (uuid)[]requiredtap.optionsobject[]requiredtap.options[].[].keystringrequiredMachine key, for example approve or deny
tap.options[].[].labelstringrequiredtap.options[].[].stylestringRendering hint: primary, danger or default
tap.options[].[].descriptionstringtap.risk_level"none" | "low" | "medium" | "high" | "critical"tap.approval_policyobjecttap.approval_policy.min_approversintegermin 1 · default
1tap.approval_policy.require_biometricbooleandefault
falsetap.approval_policy.required_surfacestringtap.approval_policy.require_reasonbooleandefault
falsetap.approval_policy.monetary_thresholdnumbertap.approval_policy.monetary_currencystringtap.contextanytap.metadataobjecttap.expires_atstring (date-time)tap.callback_urlstringtap.responsesobject[]tap.responses[].[].idstring (uuid)requiredtap.responses[].[].tap_idstring (uuid)requiredtap.responses[].[].responder_idstring (uuid)requiredtap.responses[].[].payloadobjectrequiredTagged by type: selection (option_key), text (value) or form (fields)
tap.responses[].[].payload.type"selection" | "text" | "form"requiredtap.responses[].[].payload.option_keystringtap.responses[].[].payload.valuestringtap.responses[].[].payload.fieldsobjecttap.responses[].[].source"web" | "ios" | "android" | "watch_os" | "wear_os" | "mac_os" | "windows" | "linux" | "browser_extension" | "slack" | "discord" | "teams" | "telegram" | "webhook" | "voice" | "api"requiredtap.responses[].[].reasonstringtap.responses[].[].biometric_confirmedbooleantap.responses[].[].ip_addressstringtap.responses[].[].user_agentstringtap.responses[].[].created_atstring (date-time)requiredtap.tagsstring[]tap.idempotency_keystringtap.created_atstring (date-time)requiredtap.updated_atstring (date-time)required
- 403FORBIDDEN human_required (org API key), or the challenge is unavailable in your tenant
- 422Invalid body
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/taps/agent-lineage/requests" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"challenge_id": "string",
"signer_did": "string",
"signature_multibase": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('taps_createAgentLineageRequest', {
body: {
challenge_id: 'string',
signer_did: 'string',
signature_multibase: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "taps_createAgentLineageRequest",
"arguments": {
"body": {
"challenge_id": "string",
"signer_did": "string",
"signature_multibase": "string"
}
}
}
}
}Get an agent lineage request
GET/v1/taps/agent-lineage/requests/{id}
Needs taps:read (Taps permission taps.lineage.manage). An unknown id is answered as a validation error ("agent lineage request not found").
Parameters
idpath · stringrequired
Responses
- 200The request
Response fields
requestobjectrequiredrequest.idstring (uuid)requiredrequest.org_idstring (uuid)requiredrequest.tap_idstring (uuid)requiredrequest.statusstringrequiredFor example pending_human_approval, approved_pending_sigil_mint or active
request.agent_didstringrequiredrequest.agent_namestring | nullrequest.agent_frameworkstring | nullrequest.keystone_principal_idstring | nullrequest.requested_capabilitiesstring[]requiredrequest.target_human_user_idstring | null (uuid)request.requested_by_principal_idstring | nullrequest.requested_by_kindstring | nullrequest.sigil_mint_requiredbooleanrequiredrequest.sigil_networkstringrequiredrequest.sigil_tx_idstring | nullrequest.sigil_mint_payloadanyrequest.hitl_policyanyrequest.callback_urlstring | nullrequest.capability_grant_idstring | nullrequest.metadataanyrequest.approved_atstring | null (date-time)request.denied_atstring | null (date-time)request.activated_atstring | null (date-time)request.created_atstring (date-time)requiredrequest.updated_atstring (date-time)required
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/taps/agent-lineage/requests/$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('taps_getAgentLineageRequest', {
id: '<id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "taps_getAgentLineageRequest",
"arguments": {
"id": "<id>"
}
}
}Approval delegations
Approval delegations (yours, or the calling key's)
GET/v1/taps/approval-delegations
A person's session lists their own delegations (live and ended). An org API key gets its own principal id (what a person names as delegate), answers_for (the one person it answers for, or null) and the live delegations naming it. Needs taps:read.
Responses
- 200Delegations
Response fields
principalstringThe calling key's principal id (keys only)
answers_forstring | nullThe person the calling key answers for (keys only)
delegationsobject[]requireddelegations[].[].idstring (uuid)requireddelegations[].[].owner_idstringrequiredThe person who delegated (h_...)
delegations[].[].delegate_idstringrequiredThe org API key's principal id
delegations[].[].notestringdelegations[].[].created_atstring (date-time)requireddelegations[].[].expires_atstring (date-time)requireddelegations[].[].revoked_atstring (date-time)
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/taps/approval-delegations" \
-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('taps_listApprovalDelegations'){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "taps_listApprovalDelegations",
"arguments": {}
}
}
}Let one org API key answer your taps (person only)
POST/v1/taps/approval-delegations
Person only: your own genesis login session or the Console; an org API key, an agent or a service gets 403. The key then answers your taps as you, from your terminal or your own software, until it expires (1 to 30 days, default 7) or you revoke it. Making it again for the same key replaces it. A key with live delegations from two people answers for nobody. Needs taps:write.
Request body application/json
delegatestringrequiredThe key's principal id, as listApprovalDelegations answers that key max length 256
expires_in_daysintegermin 1 · max 30
notestringmax length 200
Responses
- 201Delegation made
Response fields
delegationobjectrequireddelegation.idstring (uuid)requireddelegation.owner_idstringrequiredThe person who delegated (h_...)
delegation.delegate_idstringrequiredThe org API key's principal id
delegation.notestringdelegation.created_atstring (date-time)requireddelegation.expires_atstring (date-time)requireddelegation.revoked_atstring (date-time)
- 403FORBIDDEN human_required (not a person's session)
- 422delegate is not a key principal id, expires_in_days out of range, or note too long
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/taps/approval-delegations" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"delegate": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('taps_createApprovalDelegation', {
body: {
delegate: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "taps_createApprovalDelegation",
"arguments": {
"body": {
"delegate": "string"
}
}
}
}
}Revoke one of your approval delegations (person only)
DELETE/v1/taps/approval-delegations/{id}
Person only, as createApprovalDelegation. Needs taps:write. 422 when you have no live delegation with this id.
Parameters
idpath · stringrequired
Responses
- 200Delegation revoked
Response fields
delegationobjectrequireddelegation.idstring (uuid)requireddelegation.owner_idstringrequiredThe person who delegated (h_...)
delegation.delegate_idstringrequiredThe org API key's principal id
delegation.notestringdelegation.created_atstring (date-time)requireddelegation.expires_atstring (date-time)requireddelegation.revoked_atstring (date-time)
- 403FORBIDDEN human_required
- 422No live delegation of yours has this id
- 4xx 5xxThe error envelope.
curl -X DELETE "https://os.one.ml/api/v1/taps/approval-delegations/$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('taps_revokeApprovalDelegation', {
id: '<id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "taps_revokeApprovalDelegation",
"arguments": {
"id": "<id>"
}
}
}
}Approval mode
Your own approval mode (person only)
GET/v1/taps/approval-mode
Person only: your own genesis login session (or the Console). An org API key, an agent, a service or any non-person principal gets 403 FORBIDDEN person_required, before anything is read. Needs taps:read (Taps permission taps.responses.create). Manual, Auto or Bypass, which Taps applies to every request made for you. With nothing set the mode is manual and default is true.
Responses
- 200Your mode
Response fields
mode"manual" | "auto" | "bypass"requiredset_atstring | null (date-time)requireddefaultbooleanrequiredTrue when you never set a mode (it is then manual)
- 403FORBIDDEN person_required
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/taps/approval-mode" \
-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('taps_getApprovalMode'){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "taps_getApprovalMode",
"arguments": {}
}
}
}Set your own approval mode (person only)
PUT/v1/taps/approval-mode
Person only, as getApprovalMode. Needs taps:write (Taps permission taps.responses.create). Your right is checked before the body, so a key or an agent gets the same 403 for any body. A move to a LOOSER mode (manual, then auto, then bypass) needs auth_proof: Auth's passkey step-up proof bound to ["one.approval-mode.v1", person, from, to], spent once. Without it 403 PASSKEY_REQUIRED; a spent proof 409 PROOF_REPLAYED. An equal or stricter move never needs one. Every set is written to your own log (listApprovalModeEvents).
Request body application/json
mode"manual" | "auto" | "bypass"requiredauth_proofstringAuth's passkey step-up proof (a JWS); needed only for a looser mode
Responses
- 200The mode now set and the one before it
Response fields
mode"manual" | "auto" | "bypass"requiredprevious"manual" | "auto" | "bypass"requiredset_atstring (date-time)requireddefaultbooleanrequired
- 400The body is not a JSON object
- 403FORBIDDEN person_required, or PASSKEY_REQUIRED for a looser mode without a proof
- 409PROOF_REPLAYED (the proof was already spent), or PASSKEY_UNAVAILABLE (Taps cannot check proofs right now)
- 413The body is over 1 MiB
- 415The body is not application/json
- 422An unknown mode or an unknown body field (a plain-text rejection, not the error envelope)
- 503BUSY_TRY_AGAIN
- 4xx 5xxThe error envelope.
curl -X PUT "https://os.one.ml/api/v1/taps/approval-mode" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"mode": "manual"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('taps_setApprovalMode', {
body: {
mode: 'manual',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "taps_setApprovalMode",
"arguments": {
"body": {
"mode": "manual"
}
}
}
}
}Your own approval mode log, newest first (person only)
GET/v1/taps/approval-mode/events
Person only, as getApprovalMode. Needs taps:read (Taps permission taps.responses.create). Every change you made, newest first, with the surface you made it from.
Parameters
limitquery · integerHow many, newest first; Taps clamps it to 1-500
Responses
- 200Your log
Response fields
eventsobject[]requiredevents[].[].idstring (uuid)requiredevents[].[].from_mode"manual" | "auto" | "bypass"requiredevents[].[].to_mode"manual" | "auto" | "bypass"requiredevents[].[].atstring (date-time)requiredevents[].[].sourcestringrequiredThe surface it was set from, a closed word (gateway_session, human_session)
- 403FORBIDDEN person_required
- 422An unknown query key
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/taps/approval-mode/events" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('taps_listApprovalModeEvents'){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "taps_listApprovalModeEvents",
"arguments": {}
}
}
}Devices
List your own push devices (person only)
GET/v1/taps/devices
Person only: your own genesis login session (or the Console). An org API key, an agent or any non-person principal gets 403 FORBIDDEN person_required. Needs taps:read (Taps permission taps.responses.create). Returns only the caller's devices; the token is never returned, only an 8-hex token_hint. 404 while the device registry is off.
Responses
- 200Your devices
Response fields
devicesobject[]requireddevices[].[].idstring (uuid)requireddevices[].[].platform"ios" | "macos" | "watchos"requireddevices[].[].appstringrequireddevices[].[].apns_environment"sandbox" | "production"requiredWhich APNs gateway the token belongs to (Xcode debug builds are sandbox; TestFlight and App Store are production). Not the OneOS environment.
devices[].[].token_hintstringrequiredFirst 8 hex characters of sha256(token).
devices[].[].created_atstring (date-time)requireddevices[].[].last_seen_atstring (date-time)requireddevices[].[].disabledbooleanrequireddevices[].[].last_statusstring | nullrequired
- 403FORBIDDEN person_required (org API key, agent or non-person principal)
- 404Device registry not enabled
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/taps/devices" \
-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('taps_listDevices'){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "taps_listDevices",
"arguments": {}
}
}
}Register or refresh one of your push devices (person only)
POST/v1/taps/devices
Person only, as listDevices. Needs taps:write (Taps permission taps.responses.create). app must be one of One's bundle ids; token is the APNs device token (32 to 200 hex characters), sealed at rest and never returned. Refreshing the same token keeps its id. A caller in the Live environment is refused (404) until Taps enables Live registration. At most 20 devices per person; the oldest is dropped.
Request body application/json
platform"ios" | "macos" | "watchos"requiredapp"ml.one.app" | "ml.one.app.watchkitapp" | "ml.one.desktop" | "ml.one.admin"requiredapns_environment"sandbox" | "production"requiredWhich APNs gateway the token belongs to (Xcode debug builds are sandbox; TestFlight and App Store are production). Not the OneOS environment.
tokenstringrequiredThe APNs device token. Never returned. pattern
^[0-9A-Fa-f]{32,200}$
Responses
- 201The device (no token)
Response fields
idstring (uuid)requiredplatform"ios" | "macos" | "watchos"requiredappstringrequiredapns_environment"sandbox" | "production"requiredWhich APNs gateway the token belongs to (Xcode debug builds are sandbox; TestFlight and App Store are production). Not the OneOS environment.
token_hintstringrequiredFirst 8 hex characters of sha256(token).
created_atstring (date-time)requiredlast_seen_atstring (date-time)requireddisabledbooleanrequiredlast_statusstring | nullrequired
- 403FORBIDDEN person_required (org API key, agent or non-person principal)
- 404Device registry not enabled, or not enabled for your environment
- 422Unknown app or a malformed token
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/taps/devices" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"platform": "ios",
"app": "ml.one.app",
"apns_environment": "sandbox",
"token": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('taps_registerDevice', {
body: {
platform: 'ios',
app: 'ml.one.app',
apns_environment: 'sandbox',
token: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "taps_registerDevice",
"arguments": {
"body": {
"platform": "ios",
"app": "ml.one.app",
"apns_environment": "sandbox",
"token": "string"
}
}
}
}
}Remove one of your push devices (person only)
DELETE/v1/taps/devices/{id}
Person only, as listDevices. Needs taps:write (Taps permission taps.responses.create). Someone else's device, or an unknown id, is 404.
Parameters
idpath · stringrequired
Responses
- 204Removed
- 403FORBIDDEN person_required (org API key, agent or non-person principal)
- 404Not your device, or the registry is not enabled
- 4xx 5xxThe error envelope.
curl -X DELETE "https://os.one.ml/api/v1/taps/devices/$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('taps_removeDevice', {
id: '<id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "taps_removeDevice",
"arguments": {
"id": "<id>"
}
}
}
}Escalation policies
List escalation policies
GET/v1/taps/escalation-policies
Needs taps:read (Taps permission taps.escalations.manage).
Responses
- 200Escalation policies in your tenant
Response fields
policiesobject[]requiredpolicies[].[].idstring (uuid)requiredpolicies[].[].org_idstring (uuid)requiredpolicies[].[].namestringrequiredpolicies[].[].enabledbooleanrequiredpolicies[].[].stepsobject[]requiredpolicies[].[].steps[].[].delay_secsintegerrequiredmin 0
policies[].[].steps[].[].actionobjectrequiredTagged by type: remind, route_to_backup (user_id), route_to_team (team_id), elevate_priority (to), auto_deny, auto_approve
policies[].[].steps[].[].action.type"remind" | "route_to_backup" | "route_to_team" | "elevate_priority" | "auto_deny" | "auto_approve"required
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/taps/escalation-policies" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('taps_listEscalationPolicies'){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "taps_listEscalationPolicies",
"arguments": {}
}
}Create an escalation policy
POST/v1/taps/escalation-policies
Needs taps:write (Taps permission taps.escalations.manage).
Request body application/json
namestringrequiredstepsobject[]requiredsteps[].[].delay_secsintegerrequiredmin 0
steps[].[].actionobjectrequiredTagged by type: remind, route_to_backup (user_id), route_to_team (team_id), elevate_priority (to), auto_deny, auto_approve
steps[].[].action.type"remind" | "route_to_backup" | "route_to_team" | "elevate_priority" | "auto_deny" | "auto_approve"requiredenabledbooleandefault
true
Responses
- 201Policy created (the response carries id, org_id, name, enabled and steps)
Response fields
policyobjectrequiredpolicy.idstring (uuid)requiredpolicy.org_idstring (uuid)requiredpolicy.namestringrequiredpolicy.enabledbooleanrequiredpolicy.stepsobject[]requiredpolicy.steps[].[].delay_secsintegerrequiredmin 0
policy.steps[].[].actionobjectrequiredTagged by type: remind, route_to_backup (user_id), route_to_team (team_id), elevate_priority (to), auto_deny, auto_approve
policy.steps[].[].action.type"remind" | "route_to_backup" | "route_to_team" | "elevate_priority" | "auto_deny" | "auto_approve"required
- 422Invalid steps
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/taps/escalation-policies" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "string",
"steps": []
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('taps_createEscalationPolicy', {
body: {
name: 'string',
steps: [],
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "taps_createEscalationPolicy",
"arguments": {
"body": {
"name": "string",
"steps": []
}
}
}
}
}Delete an escalation policy
DELETE/v1/taps/escalation-policies/{id}
Needs taps:write (Taps permission taps.escalations.manage).
curl -X DELETE "https://os.one.ml/api/v1/taps/escalation-policies/$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('taps_deleteEscalationPolicy', {
id: '<id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "taps_deleteEscalationPolicy",
"arguments": {
"id": "<id>"
}
}
}
}Rename, enable or disable an escalation policy
PATCH/v1/taps/escalation-policies/{id}
Needs taps:write (Taps permission taps.escalations.manage). Steps cannot change.
Parameters
idpath · stringrequired
Request body application/json
namestringenabledboolean
Responses
- 200The updated policy
Response fields
policyobjectrequiredpolicy.idstring (uuid)requiredpolicy.org_idstring (uuid)requiredpolicy.namestringrequiredpolicy.enabledbooleanrequiredpolicy.stepsobject[]requiredpolicy.steps[].[].delay_secsintegerrequiredmin 0
policy.steps[].[].actionobjectrequiredTagged by type: remind, route_to_backup (user_id), route_to_team (team_id), elevate_priority (to), auto_deny, auto_approve
policy.steps[].[].action.type"remind" | "route_to_backup" | "route_to_team" | "elevate_priority" | "auto_deny" | "auto_approve"required
- 404Not found in your tenant
- 4xx 5xxThe error envelope.
curl -X PATCH "https://os.one.ml/api/v1/taps/escalation-policies/$ID" \
-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('taps_updateEscalationPolicy', {
id: '<id>',
body: {},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "taps_updateEscalationPolicy",
"arguments": {
"id": "<id>",
"body": {}
}
}
}
}Inbox
List what is waiting on you (person only)
GET/v1/taps/inbox
Person only: your own genesis login session (or the Console). An org API key, an agent or any non-person principal gets 403 FORBIDDEN person_required. Needs taps:read (Taps permission taps.responses.create). Only what is assigned to you; anyone else's id is 404. 404 while Taps' inbox is off. Newest first; next_cursor continues the list.
Parameters
statequery · "waiting" | "history"kindquery · "approve" | "choice" | "needs_info" | "review_draft" | "connect" | "confirm" | "handoff" | "tap"agentquery · stringthreadquery · stringcursorquery · stringlimitquery · integer
Responses
- 200One page of your items
Response fields
itemsobject[]requireditems[].[].idstring (uuid)requireditems[].[].tap_idstring (uuid)requireditems[].[].item_idstring | null (uuid)requireditems[].[].kind"approve" | "choice" | "needs_info" | "review_draft" | "connect" | "confirm" | "handoff" | "tap"requireditems[].[].state"waiting" | "approved" | "denied" | "answered" | "expired" | "withdrawn"requireditems[].[].titlestringrequireditems[].[].summarystringrequireditems[].[].agentobject | nullrequireditems[].[].agent.idstringrequireditems[].[].agent.namestring | nullrequireditems[].[].thread_idstring | nullrequireditems[].[].run_idstring | nullrequireditems[].[].created_atstring (date-time)requireditems[].[].expires_atstring | null (date-time)requireditems[].[].resolved_atstring | null (date-time)requireditems[].[].resolutionobject | nullrequireditems[].[].resolution.answer_kindstringrequireditems[].[].resolution.bystringrequireditems[].[].actionsobject[]requireditems[].[].actions[].[].keystringrequireditems[].[].actions[].[].labelstringrequireditems[].[].actions[].[].stylestring | nullrequireditems[].[].actions_totalintegerrequiredmin 0
items[].[].lock_screen"approve_ok" | "review_only"requireditems[].[].deep_linkstringrequireditems[].[].chargesbooleanrequireditems[].[].amountobject | nullrequireditems[].[].amount_source"taps" | "agent" | nullrequireditems[].[].escalation_lineobject | nullrequireditems[].[].escalation_line.code"over_ceiling" | "passkey" | "credential" | "authority"requireditems[].[].escalation_line.limitobject | nullrequireditems[].[].escalation_source"taps" | "agent" | nullrequireditems[].[].noticestringrequireditems[].[].deciderstring | nullrequirednext_cursorstring | nullrequired
- 403FORBIDDEN person_required (org API key, agent or non-person principal)
- 404The inbox is not enabled
- 422Unknown state or kind, a limit outside 1-100, a bad cursor, or an unknown query key
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/taps/inbox" \
-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('taps_listInbox'){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "taps_listInbox",
"arguments": {}
}
}
}One of your items with what its card needs (person only)
GET/v1/taps/inbox/{id}
Person only: your own genesis login session (or the Console). An org API key, an agent or any non-person principal gets 403 FORBIDDEN person_required. Needs taps:read (Taps permission taps.responses.create). Only what is assigned to you; anyone else's id is 404. 404 while Taps' inbox is off. spec holds what the card draws (options, the field to fill, the connect page), never an answer; external_link is a hand-off's link, which leaves One.
Parameters
idpath · stringrequired
Responses
- 200The item
Response fields
itemobjectrequiredtaps-core
InboxItem(crates/taps-core/src/inbox.rs), as taps-api serialises it.item.idstring (uuid)requireditem.tap_idstring (uuid)requireditem.item_idstring | null (uuid)requireditem.kind"approve" | "choice" | "needs_info" | "review_draft" | "connect" | "confirm" | "handoff" | "tap"requireditem.state"waiting" | "approved" | "denied" | "answered" | "expired" | "withdrawn"requireditem.titlestringrequireditem.summarystringrequireditem.agentobject | nullrequireditem.agent.idstringrequireditem.agent.namestring | nullrequireditem.thread_idstring | nullrequireditem.run_idstring | nullrequireditem.created_atstring (date-time)requireditem.expires_atstring | null (date-time)requireditem.resolved_atstring | null (date-time)requireditem.resolutionobject | nullrequireditem.resolution.answer_kindstringrequireditem.resolution.bystringrequireditem.actionsobject[]requireditem.actions[].[].keystringrequireditem.actions[].[].labelstringrequireditem.actions[].[].stylestring | nullrequireditem.actions_totalintegerrequiredmin 0
item.lock_screen"approve_ok" | "review_only"requireditem.deep_linkstringrequireditem.chargesbooleanrequireditem.amountobject | nullrequireditem.amount_source"taps" | "agent" | nullrequireditem.escalation_lineobject | nullrequireditem.escalation_line.code"over_ceiling" | "passkey" | "credential" | "authority"requireditem.escalation_line.limitobject | nullrequireditem.escalation_source"taps" | "agent" | nullrequireditem.noticestringrequireditem.deciderstring | nullrequiredspecanyrequiredtaps-core HitlSpec: what the card draws (options, field, connect page); never an answer.
external_linkstring | nullrequired
- 403FORBIDDEN person_required
- 404Not yours, unknown, or the inbox is not enabled
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/taps/inbox/$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('taps_getInboxItem', {
id: '<id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "taps_getInboxItem",
"arguments": {
"id": "<id>"
}
}
}
}How many items wait on you (person only)
GET/v1/taps/inbox/badge
Person only: your own genesis login session (or the Console). An org API key, an agent or any non-person principal gets 403 FORBIDDEN person_required. Needs taps:read (Taps permission taps.responses.create). Only what is assigned to you; anyone else's id is 404. 404 while Taps' inbox is off.
Responses
- 200The count and the oldest waiting time
Response fields
waitingintegerrequiredmin 0
oldest_waiting_atstring | null (date-time)required
- 403FORBIDDEN person_required
- 404The inbox is not enabled
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/taps/inbox/badge" \
-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('taps_getInboxBadge'){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "taps_getInboxBadge",
"arguments": {}
}
}
}Live changes to your inbox over Server-Sent Events (person only)
GET/v1/taps/inbox/stream
Person only: your own genesis login session (or the Console). An org API key, an agent or any non-person principal gets 403 FORBIDDEN person_required. Needs taps:read (Taps permission taps.responses.create). Only what is assigned to you; anyone else's id is 404. 404 while Taps' inbox is off. A text/event-stream of item.created, item.resolved, item.expired and item.withdrawn events for your own items (ids and state only, never text, each with the fresh badge), plus resync when you fell behind (reload the list). Keep-alive comments every 15 s. The gateway ends the stream after about 5.5 minutes (Taps after 10): reconnect. At most 4 open streams per person (429 beyond).
Responses
- 200Event stream
Response fields
Type:
string - 403FORBIDDEN person_required
- 404The inbox is not enabled
- 429Too many open streams for this person
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/taps/inbox/stream" \
-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('taps_streamInbox'){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "taps_streamInbox",
"arguments": {}
}
}
}Integrations
Get the Garden integration status
GET/v1/taps/integrations/garden
Needs taps:read (Taps permission taps.integrations.read). Computed from your identity.
Responses
- 200Integration status
Response fields
connectedbooleanrequiredmodestringrequiredrequires_separate_loginbooleanrequiredorganization_idstring (uuid)requiredYour Taps tenant partition id
principal_idstringrequiredprincipal_kindstringrequiredhuman or service
platform_idstringrequiredtaps_base_urlstringrequiredhitl_availablebooleanrequiredagent_lineage_availablebooleanrequiredbilling_metered_by_gardenbooleanrequiredkeystone_authoritybooleanrequiredsigil_lineage_required_for_agentsbooleanrequiredhitl_surfacesstring[]requirednext_stepsstring[]required
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/taps/integrations/garden" \
-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('taps_getGardenIntegration'){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "taps_getGardenIntegration",
"arguments": {}
}
}
}Enable the Garden integration
POST/v1/taps/integrations/garden/enable
Needs taps:write (Taps permission taps.integrations.manage). Send {}: the gateway requires a JSON object body and taps-api ignores it. Returns the same status as the read.
Request body application/json
A JSON object; see the description above.
Responses
- 200Integration status
Response fields
connectedbooleanrequiredmodestringrequiredrequires_separate_loginbooleanrequiredorganization_idstring (uuid)requiredYour Taps tenant partition id
principal_idstringrequiredprincipal_kindstringrequiredhuman or service
platform_idstringrequiredtaps_base_urlstringrequiredhitl_availablebooleanrequiredagent_lineage_availablebooleanrequiredbilling_metered_by_gardenbooleanrequiredkeystone_authoritybooleanrequiredsigil_lineage_required_for_agentsbooleanrequiredhitl_surfacesstring[]requirednext_stepsstring[]required
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/taps/integrations/garden/enable" \
-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('taps_enableGardenIntegration', {
body: {},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "taps_enableGardenIntegration",
"arguments": {
"body": {}
}
}
}
}Management
Who manages these resources (Managed by)
GET/v1/taps/management
Needs taps:read (Taps permission taps.taps.read). One answer per ref asked, in the order asked: at most 10 per request through the gateway, so that ten refs of the longest form, percent-encoded, fit the relay's 8 KiB query limit (Taps itself takes up to 100); ask again for more. A ref nobody has claimed answers manager: null. A resource ref is <service>:<family>:<id>, the ref the Console's parity table uses.
Parameters
refquery · string[]requiredA resource ref,
<service>:<family>:<id>; repeat it for more (at most 10 through the gateway)
Responses
- 200Who manages each ref
Response fields
itemsobject[]requireditems[].[].refstringrequired<service>:<family>:<id>(the grammar Taps checks; the id may itself contain:), for examplehives:project:hp_123min length 5 · max length 282 · pattern^[a-z0-9_-]{1,40}:[a-z0-9_-]{1,40}:[A-Za-z0-9_.:-]{1,200}$items[].[].managerobject | nullrequiredWho manages it; null when nobody does.
items[].[].sincestring | null (date-time)requiredSince when the manager has held it; null when nobody does.
items[].[].taken_overobject | nullrequiredThe person who took it over and when; null when nobody did.
items[].[].taken_over.bystringrequireditems[].[].taken_over.atstring (date-time)required
- 422No ref, more than 10, a malformed ref, or another query key
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/taps/management?ref=$REF" \
-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('taps_listManagement', {
ref: '<ref>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "taps_listManagement",
"arguments": {
"ref": "<ref>"
}
}
}Claim a resource you created (Managed by)
PUT/v1/taps/management/{ref}
Needs taps:write (Taps permission taps.taps.create). An agent, a fleet, an org API key or an infrastructure-as-code file claims a resource it created, so the Console shows Managed by and offers Take over before a person edits it. A repeat by the same claimant answers 200 and keeps since; the same manager named by a different caller is 409 MANAGED_ELSEWHERE and changes nothing. A resource a person took over needs that person's release first (409 TAKEN_OVER); a resource another manager holds is 409 MANAGED_ELSEWHERE. The manager is bound to the caller: an agent names only itself ({kind: agent, id: <its own id>}); an API key (org or personal) names itself (kind: key) or any file or fleet id (kind: file | fleet; Taps cannot verify those ids, so the claimant identity is recorded and may release it); a person's session never claims (a person takes over instead). Any other manager, or any other caller, is 403 FORBIDDEN.
Parameters
refpath · stringrequired
Request body application/json
managerobjectrequiredmanager.kind"agent" | "fleet" | "file" | "key"requiredmanager.idstringrequiredpattern
^[A-Za-z0-9_.:-]{1,200}$manager.namestringA display name with no control characters min length 1 · max length 120 · pattern
^[^\x00-\x1F\x7F]{1,120}$
Responses
- 200The resource's management after the claim
Response fields
refstringrequired<service>:<family>:<id>(the grammar Taps checks; the id may itself contain:), for examplehives:project:hp_123min length 5 · max length 282 · pattern^[a-z0-9_-]{1,40}:[a-z0-9_-]{1,40}:[A-Za-z0-9_.:-]{1,200}$managerobject | nullrequiredWho manages it; null when nobody does.
sincestring | null (date-time)requiredSince when the manager has held it; null when nobody does.
taken_overobject | nullrequiredThe person who took it over and when; null when nobody did.
taken_over.bystringrequiredtaken_over.atstring (date-time)required
- 403FORBIDDEN: the manager is not the caller (an agent itself; a key itself or any file or fleet id), or the caller is a person session or another kind
- 409TAKEN_OVER (a person took it over) or MANAGED_ELSEWHERE (another manager holds it)
- 422A malformed ref or body
- 4xx 5xxThe error envelope.
curl -X PUT "https://os.one.ml/api/v1/taps/management/$REF" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"manager": {
"kind": "agent",
"id": "string"
}
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('taps_claimManagement', {
ref: '<ref>',
body: {
manager: {
kind: 'agent',
id: 'string',
},
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "taps_claimManagement",
"arguments": {
"ref": "<ref>",
"body": {
"manager": {
"kind": "agent",
"id": "string"
}
}
}
}
}Hand a resource back (Managed by)
DELETE/v1/taps/management/{ref}
Needs taps:write (Taps permission taps.taps.create). The current manager, or the person who took it over, hands it back; anyone else gets 403. No request body. Releasing a ref nobody manages answers 200 and changes nothing.
Parameters
refpath · stringrequired
Responses
- 200The resource's management after the release (manager null)
Response fields
refstringrequired<service>:<family>:<id>(the grammar Taps checks; the id may itself contain:), for examplehives:project:hp_123min length 5 · max length 282 · pattern^[a-z0-9_-]{1,40}:[a-z0-9_-]{1,40}:[A-Za-z0-9_.:-]{1,200}$managerobject | nullrequiredWho manages it; null when nobody does.
sincestring | null (date-time)requiredSince when the manager has held it; null when nobody does.
taken_overobject | nullrequiredThe person who took it over and when; null when nobody did.
taken_over.bystringrequiredtaken_over.atstring (date-time)required
- 403Not the manager and not the person who took it over
- 4xx 5xxThe error envelope.
curl -X DELETE "https://os.one.ml/api/v1/taps/management/$REF" \
-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('taps_releaseManagement', {
ref: '<ref>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "taps_releaseManagement",
"arguments": {
"ref": "<ref>"
}
}
}Takeover
Take over a managed resource (person only)
POST/v1/taps/management/{ref}/takeover
Person only, as setSurfacePolicy. Needs taps:write (Taps permission taps.taps.create). Detaches the resource from its manager, records management.taken_over in Activity with the previous manager, and tells the manager (it sees taken_over on its next listManagement). No request body. Taking over a resource nobody manages answers 200.
Parameters
refpath · stringrequired
Responses
- 200The resource's management after the takeover
Response fields
refstringrequired<service>:<family>:<id>(the grammar Taps checks; the id may itself contain:), for examplehives:project:hp_123min length 5 · max length 282 · pattern^[a-z0-9_-]{1,40}:[a-z0-9_-]{1,40}:[A-Za-z0-9_.:-]{1,200}$managerobject | nullrequiredWho manages it; null when nobody does.
sincestring | null (date-time)requiredSince when the manager has held it; null when nobody does.
taken_overobject | nullrequiredThe person who took it over and when; null when nobody did.
taken_over.bystringrequiredtaken_over.atstring (date-time)required
- 403FORBIDDEN person_required (org API key, agent or non-person principal)
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/taps/management/$REF/takeover" \
-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('taps_takeOverManagement', {
ref: '<ref>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "taps_takeOverManagement",
"arguments": {
"ref": "<ref>"
}
}
}
}Org pause
Read your organization's global pause (pause everything)
GET/v1/taps/org-pause
Needs taps:read (Taps permission taps.taps.read). While paused is true, Taps refuses every approved outward act at consume and every Henry claim for the whole organization, until a person lifts it. at, by_kind and code say when, by what kind of caller and why; all are null while off.
Responses
- 200The org pause as Taps holds it now
Response fields
pausedbooleanrequiredatstring | null (date-time)When the pause went on; null while off.
by_kind"human" | "agent" | "service" | nullThe kind of caller that paused; null while off.
codestring | nullWhy it was paused (one of the pause codes); null while off.
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/taps/org-pause" \
-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('taps_getOrgPause'){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "taps_getOrgPause",
"arguments": {}
}
}Pause everything in your organization
PUT/v1/taps/org-pause
Needs taps:write (Taps permission taps.taps.create). Any member may pause, a person, an org API key, an agent or a service: a person's press uses owner_press, a kill switch the code of what tripped it. Pauses by a non-person caller are limited per hour; every pause and repeat is audited with who did it. A repeat while paused answers 200 and keeps the first pause. source_id is an id, never text. Only a person signed in themselves lifts it (DELETE).
Request body application/json
code"owner_press" | "legal_notice" | "abuse_notice" | "bounce_rate" | "complaint_rate" | "unsubscribe_rate" | "opt_out_rate" | "captcha" | "sign_in_wall" | "policy_warning" | "other"requiredsource_idstringWhat tripped it, as an id (a lane, a notice, a metric window), never text. min length 1 · max length 128 · pattern
^[A-Za-z0-9_:.-]{1,128}$
Responses
- 200The org pause after the change
Response fields
pausedbooleanrequiredatstring | null (date-time)When the pause went on; null while off.
by_kind"human" | "agent" | "service" | nullThe kind of caller that paused; null while off.
codestring | nullWhy it was paused (one of the pause codes); null while off.
- 422Unknown pause code, a source_id that is not an id, or another key
- 503BUSY_TRY_AGAIN: too many pauses from a non-person caller this hour
- 4xx 5xxThe error envelope.
curl -X PUT "https://os.one.ml/api/v1/taps/org-pause" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"code": "owner_press"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('taps_pauseOrg', {
body: {
code: 'owner_press',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "taps_pauseOrg",
"arguments": {
"body": {
"code": "owner_press"
}
}
}
}Lift your organization's global pause (person only)
DELETE/v1/taps/org-pause
Needs taps:write (Taps permission taps.settings.manage). Only a person's own signed-in session lifts the pause; an org API key, an agent or a service gets 403 from Taps. No request body. Lifting when off answers 200 and changes nothing.
Responses
- 200The org pause after the change (paused false)
Response fields
pausedbooleanrequiredatstring | null (date-time)When the pause went on; null while off.
by_kind"human" | "agent" | "service" | nullThe kind of caller that paused; null while off.
codestring | nullWhy it was paused (one of the pause codes); null while off.
- 403Not a person signed in themselves
- 4xx 5xxThe error envelope.
curl -X DELETE "https://os.one.ml/api/v1/taps/org-pause" \
-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('taps_resumeOrg'){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "taps_resumeOrg",
"arguments": {}
}
}
}Routing rules
List routing rules
GET/v1/taps/routing-rules
Needs taps:read (Taps permission taps.routing.manage).
Responses
- 200Routing rules in your tenant
Response fields
rulesobject[]requiredrules[].[].idstring (uuid)requiredrules[].[].namestringrequiredrules[].[].org_idstring (uuid)requiredrules[].[].user_idstring (uuid)requiredrules[].[].conditionobjectrequiredTagged by type: priority_at_least (priority), from_agent (agent_id), has_tag (tag), time_window (after, before, timezone), focus_mode, monetary_above (amount, currency), all or any (conditions), always
rules[].[].condition.type"priority_at_least" | "from_agent" | "has_tag" | "time_window" | "focus_mode" | "monetary_above" | "all" | "any" | "always"requiredrules[].[].actionobjectrequiredTagged by type: route_to_user or cc_user (user_id), require_multi_approval (min_approvers), suppress, elevate_priority (to), restrict_surfaces (surfaces)
rules[].[].action.type"route_to_user" | "cc_user" | "require_multi_approval" | "suppress" | "elevate_priority" | "restrict_surfaces"requiredrules[].[].orderintegerrequiredrules[].[].enabledbooleanrequired
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/taps/routing-rules" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('taps_listRoutingRules'){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "taps_listRoutingRules",
"arguments": {}
}
}Create a routing rule
POST/v1/taps/routing-rules
Needs taps:write (Taps permission taps.routing.manage).
Request body application/json
namestringrequiredconditionobjectrequiredTagged by type: priority_at_least (priority), from_agent (agent_id), has_tag (tag), time_window (after, before, timezone), focus_mode, monetary_above (amount, currency), all or any (conditions), always
condition.type"priority_at_least" | "from_agent" | "has_tag" | "time_window" | "focus_mode" | "monetary_above" | "all" | "any" | "always"requiredactionobjectrequiredTagged by type: route_to_user or cc_user (user_id), require_multi_approval (min_approvers), suppress, elevate_priority (to), restrict_surfaces (surfaces)
action.type"route_to_user" | "cc_user" | "require_multi_approval" | "suppress" | "elevate_priority" | "restrict_surfaces"requiredorderintegerdefault
0enabledbooleandefault
true
Responses
- 201Rule created
Response fields
ruleobjectrequiredrule.idstring (uuid)requiredrule.namestringrequiredrule.org_idstring (uuid)requiredrule.user_idstring (uuid)requiredrule.conditionobjectrequiredTagged by type: priority_at_least (priority), from_agent (agent_id), has_tag (tag), time_window (after, before, timezone), focus_mode, monetary_above (amount, currency), all or any (conditions), always
rule.condition.type"priority_at_least" | "from_agent" | "has_tag" | "time_window" | "focus_mode" | "monetary_above" | "all" | "any" | "always"requiredrule.actionobjectrequiredTagged by type: route_to_user or cc_user (user_id), require_multi_approval (min_approvers), suppress, elevate_priority (to), restrict_surfaces (surfaces)
rule.action.type"route_to_user" | "cc_user" | "require_multi_approval" | "suppress" | "elevate_priority" | "restrict_surfaces"requiredrule.orderintegerrequiredrule.enabledbooleanrequired
- 422Invalid condition or action
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/taps/routing-rules" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "string",
"condition": {
"type": "priority_at_least"
},
"action": {
"type": "route_to_user"
}
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('taps_createRoutingRule', {
body: {
name: 'string',
condition: {
type: 'priority_at_least',
},
action: {
type: 'route_to_user',
},
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "taps_createRoutingRule",
"arguments": {
"body": {
"name": "string",
"condition": {
"type": "priority_at_least"
},
"action": {
"type": "route_to_user"
}
}
}
}
}
}Delete a routing rule
DELETE/v1/taps/routing-rules/{id}
Needs taps:write (Taps permission taps.routing.manage).
curl -X DELETE "https://os.one.ml/api/v1/taps/routing-rules/$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('taps_deleteRoutingRule', {
id: '<id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "taps_deleteRoutingRule",
"arguments": {
"id": "<id>"
}
}
}
}Enable or disable a routing rule
PATCH/v1/taps/routing-rules/{id}
Needs taps:write (Taps permission taps.routing.manage). Only enabled can change.
Parameters
idpath · stringrequired
Request body application/json
enabledbooleanrequired
Responses
- 200The updated rule
Response fields
ruleobjectrequiredrule.idstring (uuid)requiredrule.namestringrequiredrule.org_idstring (uuid)requiredrule.user_idstring (uuid)requiredrule.conditionobjectrequiredTagged by type: priority_at_least (priority), from_agent (agent_id), has_tag (tag), time_window (after, before, timezone), focus_mode, monetary_above (amount, currency), all or any (conditions), always
rule.condition.type"priority_at_least" | "from_agent" | "has_tag" | "time_window" | "focus_mode" | "monetary_above" | "all" | "any" | "always"requiredrule.actionobjectrequiredTagged by type: route_to_user or cc_user (user_id), require_multi_approval (min_approvers), suppress, elevate_priority (to), restrict_surfaces (surfaces)
rule.action.type"route_to_user" | "cc_user" | "require_multi_approval" | "suppress" | "elevate_priority" | "restrict_surfaces"requiredrule.orderintegerrequiredrule.enabledbooleanrequired
- 404Not found in your tenant
- 4xx 5xxThe error envelope.
curl -X PATCH "https://os.one.ml/api/v1/taps/routing-rules/$ID" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"enabled": true
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('taps_updateRoutingRule', {
id: '<id>',
body: {
enabled: true,
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "taps_updateRoutingRule",
"arguments": {
"id": "<id>",
"body": {
"enabled": true
}
}
}
}
}Settings
Get your tenant's Taps settings
GET/v1/taps/settings
Needs taps:read (Taps permission taps.settings.manage).
Responses
- 200Settings with defaults applied
Response fields
settingsobjectrequiredsettings.pushbooleanrequireddefault
truesettings.emailbooleanrequireddefault
truesettings.focusbooleanrequireddefault
falsesettings.biometricbooleanrequireddefault
falsesettings.reasonRequiredbooleanrequireddefault
false
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/taps/settings" \
-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('taps_getSettings'){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "taps_getSettings",
"arguments": {}
}
}Change Taps settings
PATCH/v1/taps/settings
Needs taps:write (Taps permission taps.settings.manage). Send only the keys to change; every value must be a boolean and any other key is 422.
Request body application/json
pushbooleanemailbooleanfocusbooleanbiometricbooleanreasonRequiredboolean
Responses
- 200Settings after the change
Response fields
settingsobjectrequiredsettings.pushbooleanrequireddefault
truesettings.emailbooleanrequireddefault
truesettings.focusbooleanrequireddefault
falsesettings.biometricbooleanrequireddefault
falsesettings.reasonRequiredbooleanrequireddefault
false
- 422Unknown setting or a non-boolean value
- 4xx 5xxThe error envelope.
curl -X PATCH "https://os.one.ml/api/v1/taps/settings" \
-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('taps_updateSettings', {
body: {},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "taps_updateSettings",
"arguments": {
"body": {}
}
}
}
}Surface policy
Read your organization's Console policy for Live (Live is read-only in the Console, or not)
GET/v1/taps/surface-policy
Needs taps:read (Taps permission taps.taps.read); any member may read it. live_console is writes (the default) or read_only. While read_only, the gateway refuses a changing operation in Live whose caller is the Console surface (403 SURFACE_READ_ONLY with lift_op: taps_setSurfacePolicy), except stops, approval answers and lifting the policy itself; API, SDK, CLI and MCP callers keep writing, and Sandbox is never affected. The gateway only observes this today (GATEWAY_SURFACE_POLICY); nothing is refused yet.
Responses
- 200The policy as Taps holds it now
Response fields
live_console"writes" | "read_only"requiredwrites: the Console may change things in Live (the default).read_only: Live is read-only in the Console.updated_atstring | null (date-time)requiredWhen it was last set; null while never set.
updated_byobject | nullrequiredThe person who last set it; null while never set.
updated_by.kind"person"requiredupdated_by.idstringrequired
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/taps/surface-policy" \
-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('taps_getSurfacePolicy'){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "taps_getSurfacePolicy",
"arguments": {}
}
}Set your organization's Console policy for Live (person only)
PUT/v1/taps/surface-policy
Person only: a person's own signed-in session (or the Console). An org API key, an agent or any non-person principal gets 403 FORBIDDEN person_required. Needs taps:write (Taps permission taps.settings.manage). Restricting (read_only) is a reversible change; lifting it (read_only to writes) widens what the Console may do in Live: Taps itself verifies the person's step-up proof (auth_proof, Auth's passkey step-up JWS, as on setApprovalMode) and answers 403 PASSKEY_REQUIRED without a valid one. The proof is bound to sha256 hex of the compact JSON ["taps.surface-policy.v1", org, person, "read_only", "writes"] (org = the caller's organization id as a lowercase hyphenated UUID; person = the caller's own h_ id), so a proof for one organization never lifts another and its jti is spent once: a spent proof is 409 PROOF_REPLAYED, and 409 PASSKEY_UNAVAILABLE when Taps cannot check proofs right now. The gateway forwards the body as sent and never adds or makes a proof. Audited like the org pause. An unknown key or value is 422. Never refused by the surface policy itself, so a person can always lift it.
Request body application/json
live_console"writes" | "read_only"requiredwrites: the Console may change things in Live (the default).read_only: Live is read-only in the Console.auth_proofstringAuth's passkey step-up proof (a JWS), the same field setApprovalMode takes. Taps verifies it on a lift (read_only to writes) and answers 403 PASSKEY_REQUIRED without a valid one; a restriction never needs it.
Responses
- 200The policy after the change
Response fields
live_console"writes" | "read_only"requiredwrites: the Console may change things in Live (the default).read_only: Live is read-only in the Console.updated_atstring | null (date-time)requiredWhen it was last set; null while never set.
updated_byobject | nullrequiredThe person who last set it; null while never set.
updated_by.kind"person"requiredupdated_by.idstringrequired
- 403FORBIDDEN person_required, or PASSKEY_REQUIRED (Taps verifies the step-up proof on a lift and answers this without a valid one)
- 409PROOF_REPLAYED (the proof was already spent), or PASSKEY_UNAVAILABLE (Taps cannot check proofs right now)
- 422An unknown key or value
- 4xx 5xxThe error envelope.
curl -X PUT "https://os.one.ml/api/v1/taps/surface-policy" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"live_console": "writes"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('taps_setSurfacePolicy', {
body: {
live_console: 'writes',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "taps_setSurfacePolicy",
"arguments": {
"body": {
"live_console": "writes"
}
}
}
}
}Taps
List taps
GET/v1/taps/taps
Needs taps:read (Taps permission taps.taps.read). Newest first.
Parameters
statusquery · stringComma-separated statuses, for example
pending,escalatedassignee_idquery · string (uuid)limitquery · integer1 to 100 (clamped); default 50
offsetquery · integer
Responses
- 200One page of taps
Response fields
tapsobject[]requiredtaps[].[].idstring (uuid)requiredtaps[].[].status"created" | "pending" | "approved" | "denied" | "escalated" | "expired" | "cancelled"requiredtaps[].[].tap_type"approval" | "choice" | "input" | "acknowledgment" | "form"requiredtaps[].[].priority"low" | "normal" | "high" | "critical"requiredtaps[].[].titlestringrequiredtaps[].[].descriptionstringtaps[].[].agentobjectrequiredtaps[].[].agent.idstringrequiredAgent identifier, for example deploy-bot
taps[].[].agent.namestringtaps[].[].agent.org_idstring (uuid)taps[].[].agent.didstringtaps[].[].agent.avatar_urlstringtaps[].[].agent.frameworkstringtaps[].[].agent.metadataobjecttaps[].[].org_idstring (uuid)requiredtaps[].[].assigneesstring (uuid)[]requiredtaps[].[].optionsobject[]requiredtaps[].[].options[].[].keystringrequiredMachine key, for example approve or deny
taps[].[].options[].[].labelstringrequiredtaps[].[].options[].[].stylestringRendering hint: primary, danger or default
taps[].[].options[].[].descriptionstringtaps[].[].risk_level"none" | "low" | "medium" | "high" | "critical"taps[].[].approval_policyobjecttaps[].[].approval_policy.min_approversintegermin 1 · default
1taps[].[].approval_policy.require_biometricbooleandefault
falsetaps[].[].approval_policy.required_surfacestringtaps[].[].approval_policy.require_reasonbooleandefault
falsetaps[].[].approval_policy.monetary_thresholdnumbertaps[].[].approval_policy.monetary_currencystringtaps[].[].contextanytaps[].[].metadataobjecttaps[].[].expires_atstring (date-time)taps[].[].callback_urlstringtaps[].[].responsesobject[]taps[].[].responses[].[].idstring (uuid)requiredtaps[].[].responses[].[].tap_idstring (uuid)requiredtaps[].[].responses[].[].responder_idstring (uuid)requiredtaps[].[].responses[].[].payloadobjectrequiredTagged by type: selection (option_key), text (value) or form (fields)
taps[].[].responses[].[].payload.type"selection" | "text" | "form"requiredtaps[].[].responses[].[].payload.option_keystringtaps[].[].responses[].[].payload.valuestringtaps[].[].responses[].[].payload.fieldsobjecttaps[].[].responses[].[].source"web" | "ios" | "android" | "watch_os" | "wear_os" | "mac_os" | "windows" | "linux" | "browser_extension" | "slack" | "discord" | "teams" | "telegram" | "webhook" | "voice" | "api"requiredtaps[].[].responses[].[].reasonstringtaps[].[].responses[].[].biometric_confirmedbooleantaps[].[].responses[].[].ip_addressstringtaps[].[].responses[].[].user_agentstringtaps[].[].responses[].[].created_atstring (date-time)requiredtaps[].[].tagsstring[]taps[].[].idempotency_keystringtaps[].[].created_atstring (date-time)requiredtaps[].[].updated_atstring (date-time)requiredtotalintegerrequiredNumber of taps on this page
limitintegerrequiredoffsetintegerrequired
- 422Unknown status, unknown or repeated query key
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/taps/taps" \
-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('taps_listTaps'){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "taps_listTaps",
"arguments": {}
}
}Ask a human for a decision (create a tap)
POST/v1/taps/taps
Needs taps:write (Taps permission taps.taps.create). title must be non-blank. With idempotency_key in the body, a repeat returns the original tap with 200. Enabled routing rules are evaluated and recorded as routed events.
Request body application/json
tap_type"approval" | "choice" | "input" | "acknowledgment" | "form"requiredpriority"low" | "normal" | "high" | "critical"requiredtitlestringrequireddescriptionstringagentobjectrequiredagent.idstringrequiredAgent identifier, for example deploy-bot
agent.namestringagent.org_idstring (uuid)agent.didstringagent.avatar_urlstringagent.frameworkstringagent.metadataobjectorg_idstring (uuid)Ignored in cloud; your tenant is used
assigneesstring (uuid)[]optionsobject[]options[].[].keystringrequiredMachine key, for example approve or deny
options[].[].labelstringrequiredoptions[].[].stylestringRendering hint: primary, danger or default
options[].[].descriptionstringrisk_level"none" | "low" | "medium" | "high" | "critical"approval_policyobjectapproval_policy.min_approversintegermin 1 · default
1approval_policy.require_biometricbooleandefault
falseapproval_policy.required_surfacestringapproval_policy.require_reasonbooleandefault
falseapproval_policy.monetary_thresholdnumberapproval_policy.monetary_currencystringcontextanyFree-form context shown to the human
metadataobjecttimeout_secsintegermin 0
callback_urlstringtagsstring[]idempotency_keystringA repeat with the same key returns the original tap
Responses
- 200Replay of an earlier request with the same idempotency_key
Response fields
tapobjectrequiredtap.idstring (uuid)requiredtap.status"created" | "pending" | "approved" | "denied" | "escalated" | "expired" | "cancelled"requiredtap.tap_type"approval" | "choice" | "input" | "acknowledgment" | "form"requiredtap.priority"low" | "normal" | "high" | "critical"requiredtap.titlestringrequiredtap.descriptionstringtap.agentobjectrequiredtap.agent.idstringrequiredAgent identifier, for example deploy-bot
tap.agent.namestringtap.agent.org_idstring (uuid)tap.agent.didstringtap.agent.avatar_urlstringtap.agent.frameworkstringtap.agent.metadataobjecttap.org_idstring (uuid)requiredtap.assigneesstring (uuid)[]requiredtap.optionsobject[]requiredtap.options[].[].keystringrequiredMachine key, for example approve or deny
tap.options[].[].labelstringrequiredtap.options[].[].stylestringRendering hint: primary, danger or default
tap.options[].[].descriptionstringtap.risk_level"none" | "low" | "medium" | "high" | "critical"tap.approval_policyobjecttap.approval_policy.min_approversintegermin 1 · default
1tap.approval_policy.require_biometricbooleandefault
falsetap.approval_policy.required_surfacestringtap.approval_policy.require_reasonbooleandefault
falsetap.approval_policy.monetary_thresholdnumbertap.approval_policy.monetary_currencystringtap.contextanytap.metadataobjecttap.expires_atstring (date-time)tap.callback_urlstringtap.responsesobject[]tap.responses[].[].idstring (uuid)requiredtap.responses[].[].tap_idstring (uuid)requiredtap.responses[].[].responder_idstring (uuid)requiredtap.responses[].[].payloadobjectrequiredTagged by type: selection (option_key), text (value) or form (fields)
tap.responses[].[].payload.type"selection" | "text" | "form"requiredtap.responses[].[].payload.option_keystringtap.responses[].[].payload.valuestringtap.responses[].[].payload.fieldsobjecttap.responses[].[].source"web" | "ios" | "android" | "watch_os" | "wear_os" | "mac_os" | "windows" | "linux" | "browser_extension" | "slack" | "discord" | "teams" | "telegram" | "webhook" | "voice" | "api"requiredtap.responses[].[].reasonstringtap.responses[].[].biometric_confirmedbooleantap.responses[].[].ip_addressstringtap.responses[].[].user_agentstringtap.responses[].[].created_atstring (date-time)requiredtap.tagsstring[]tap.idempotency_keystringtap.created_atstring (date-time)requiredtap.updated_atstring (date-time)required
- 201Tap created
Response fields
tapobjectrequiredtap.idstring (uuid)requiredtap.status"created" | "pending" | "approved" | "denied" | "escalated" | "expired" | "cancelled"requiredtap.tap_type"approval" | "choice" | "input" | "acknowledgment" | "form"requiredtap.priority"low" | "normal" | "high" | "critical"requiredtap.titlestringrequiredtap.descriptionstringtap.agentobjectrequiredtap.agent.idstringrequiredAgent identifier, for example deploy-bot
tap.agent.namestringtap.agent.org_idstring (uuid)tap.agent.didstringtap.agent.avatar_urlstringtap.agent.frameworkstringtap.agent.metadataobjecttap.org_idstring (uuid)requiredtap.assigneesstring (uuid)[]requiredtap.optionsobject[]requiredtap.options[].[].keystringrequiredMachine key, for example approve or deny
tap.options[].[].labelstringrequiredtap.options[].[].stylestringRendering hint: primary, danger or default
tap.options[].[].descriptionstringtap.risk_level"none" | "low" | "medium" | "high" | "critical"tap.approval_policyobjecttap.approval_policy.min_approversintegermin 1 · default
1tap.approval_policy.require_biometricbooleandefault
falsetap.approval_policy.required_surfacestringtap.approval_policy.require_reasonbooleandefault
falsetap.approval_policy.monetary_thresholdnumbertap.approval_policy.monetary_currencystringtap.contextanytap.metadataobjecttap.expires_atstring (date-time)tap.callback_urlstringtap.responsesobject[]tap.responses[].[].idstring (uuid)requiredtap.responses[].[].tap_idstring (uuid)requiredtap.responses[].[].responder_idstring (uuid)requiredtap.responses[].[].payloadobjectrequiredTagged by type: selection (option_key), text (value) or form (fields)
tap.responses[].[].payload.type"selection" | "text" | "form"requiredtap.responses[].[].payload.option_keystringtap.responses[].[].payload.valuestringtap.responses[].[].payload.fieldsobjecttap.responses[].[].source"web" | "ios" | "android" | "watch_os" | "wear_os" | "mac_os" | "windows" | "linux" | "browser_extension" | "slack" | "discord" | "teams" | "telegram" | "webhook" | "voice" | "api"requiredtap.responses[].[].reasonstringtap.responses[].[].biometric_confirmedbooleantap.responses[].[].ip_addressstringtap.responses[].[].user_agentstringtap.responses[].[].created_atstring (date-time)requiredtap.tagsstring[]tap.idempotency_keystringtap.created_atstring (date-time)requiredtap.updated_atstring (date-time)required
- 403SCOPE_MISSING (taps:write) or no selected context
- 422Invalid body (for example a blank title)
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/taps/taps" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"tap_type": "approval",
"priority": "low",
"title": "string",
"agent": {
"id": "string"
}
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('taps_createTap', {
body: {
tap_type: 'approval',
priority: 'low',
title: 'string',
agent: {
id: 'string',
},
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "taps_createTap",
"arguments": {
"body": {
"tap_type": "approval",
"priority": "low",
"title": "string",
"agent": {
"id": "string"
}
}
}
}
}Get a tap
GET/v1/taps/taps/{id}
Needs taps:read (Taps permission taps.taps.read).
Parameters
idpath · stringrequired
Responses
- 200The tap with its responses
Response fields
tapobjectrequiredtap.idstring (uuid)requiredtap.status"created" | "pending" | "approved" | "denied" | "escalated" | "expired" | "cancelled"requiredtap.tap_type"approval" | "choice" | "input" | "acknowledgment" | "form"requiredtap.priority"low" | "normal" | "high" | "critical"requiredtap.titlestringrequiredtap.descriptionstringtap.agentobjectrequiredtap.agent.idstringrequiredAgent identifier, for example deploy-bot
tap.agent.namestringtap.agent.org_idstring (uuid)tap.agent.didstringtap.agent.avatar_urlstringtap.agent.frameworkstringtap.agent.metadataobjecttap.org_idstring (uuid)requiredtap.assigneesstring (uuid)[]requiredtap.optionsobject[]requiredtap.options[].[].keystringrequiredMachine key, for example approve or deny
tap.options[].[].labelstringrequiredtap.options[].[].stylestringRendering hint: primary, danger or default
tap.options[].[].descriptionstringtap.risk_level"none" | "low" | "medium" | "high" | "critical"tap.approval_policyobjecttap.approval_policy.min_approversintegermin 1 · default
1tap.approval_policy.require_biometricbooleandefault
falsetap.approval_policy.required_surfacestringtap.approval_policy.require_reasonbooleandefault
falsetap.approval_policy.monetary_thresholdnumbertap.approval_policy.monetary_currencystringtap.contextanytap.metadataobjecttap.expires_atstring (date-time)tap.callback_urlstringtap.responsesobject[]tap.responses[].[].idstring (uuid)requiredtap.responses[].[].tap_idstring (uuid)requiredtap.responses[].[].responder_idstring (uuid)requiredtap.responses[].[].payloadobjectrequiredTagged by type: selection (option_key), text (value) or form (fields)
tap.responses[].[].payload.type"selection" | "text" | "form"requiredtap.responses[].[].payload.option_keystringtap.responses[].[].payload.valuestringtap.responses[].[].payload.fieldsobjecttap.responses[].[].source"web" | "ios" | "android" | "watch_os" | "wear_os" | "mac_os" | "windows" | "linux" | "browser_extension" | "slack" | "discord" | "teams" | "telegram" | "webhook" | "voice" | "api"requiredtap.responses[].[].reasonstringtap.responses[].[].biometric_confirmedbooleantap.responses[].[].ip_addressstringtap.responses[].[].user_agentstringtap.responses[].[].created_atstring (date-time)requiredtap.tagsstring[]tap.idempotency_keystringtap.created_atstring (date-time)requiredtap.updated_atstring (date-time)required
- 404Not found in your tenant
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/taps/taps/$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('taps_getTap', {
id: '<id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "taps_getTap",
"arguments": {
"id": "<id>"
}
}
}Cancel a tap
DELETE/v1/taps/taps/{id}
Needs taps:write (Taps permission taps.taps.delete). Moves an open tap to cancelled and records who cancelled it. A tap that is already resolved is refused.
Parameters
idpath · stringrequired
Responses
- 204Cancelled
- 404Not found in your tenant
- 409Already resolved
- 4xx 5xxThe error envelope.
curl -X DELETE "https://os.one.ml/api/v1/taps/taps/$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('taps_cancelTap', {
id: '<id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "taps_cancelTap",
"arguments": {
"id": "<id>"
}
}
}Events
List a tap's audit events
GET/v1/taps/taps/{id}/events
Needs taps:read (Taps permission taps.taps.read).
Parameters
idpath · stringrequired
Responses
- 200Audit trail, oldest first
Response fields
eventsobject[]requiredevents[].[].idstring (uuid)requiredevents[].[].tap_idstring (uuid)requiredevents[].[].kindanyrequiredcreated,expiredorforgottenas a string, or a one-key object such as{"responded": {"option_key", "source"}},{"status_changed": {"from", "to"}},{"routed": {"to_user_id", "rule_id"}}or{"cancelled": {"reason"}}events[].[].actorobjectrequiredTagged by type: user (user_id), agent (agent_id) or system
events[].[].actor.type"user" | "agent" | "system"requiredevents[].[].actor.user_idstring (uuid)events[].[].actor.agent_idstringevents[].[].org_idstring (uuid)requiredevents[].[].timestampstring (date-time)requiredevents[].[].detailanyevents[].[].request_idstring
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/taps/taps/$ID/events" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('taps_listTapEvents', {
id: '<id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "taps_listTapEvents",
"arguments": {
"id": "<id>"
}
}
}Forget
Forget your own answer to one tap (human only)
POST/v1/taps/taps/{id}/forget
Human only: a genesis login session. An org API key gets 403 human_required; an agent or service gets 403 from Taps. Needs taps:write (Taps permission taps.responses.create, the same as answering). No request body. Only the person who answered may forget it (the tap's only assignee may also forget an answer the chat-platform bridge recorded for them, never any other answer); anyone else gets 404, as for a tap that does not exist. Taps blanks every stored copy of the answer (the response, its audit events, the sealed text of an agent's question) in one step; the tap keeps its status and timestamps and its history gains one forgotten event. When something was done with the answer (a consent a lane acted on), the decision word stays as the record of that consent: kept lists decision and reason says why. surface always stays. A repeat answers 200 with the same body and changes nothing. Copies already delivered by webhook or notification are not recalled. Up to 30 a minute per person.
Parameters
idpath · stringrequired
Responses
- 200Answer forgotten (or already forgotten)
Response fields
tap_idstring (uuid)requiredforgotten_atstring (date-time)requiredkept"decision" | "outcome" | "surface"[]requiredWhat the forget kept:
decision(a consent something was done with),outcome(an agent question's record of what kind of answer it got, never the words),surface(the app the answer came from, never what was said).reasonstringWhy the decision was kept, when it was.
not_recalledstringrequiredAlways: copies already delivered by webhook or notification are not recalled.
- 403FORBIDDEN human_required (org API key), or not a human principal
- 404Not found, or not your answer
- 409NOTHING_TO_FORGET (nobody answered; cancel it instead) or TAP_STILL_OPEN (several approvers still deciding)
- 429More than 30 forgets a minute
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/taps/taps/$ID/forget" \
-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('taps_forgetTapResponse', {
id: '<id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "taps_forgetTapResponse",
"arguments": {
"id": "<id>"
}
}
}
}Record
Read a tap's signed record (drafted, approved, sent)
GET/v1/taps/taps/{id}/record
Each step with its actor, time and event id: drafted (the principal that raised it), approved or denied (the person, plus the delegated key that answered for them), sent (the raising principal, with the message id). Bound to the sha-256 of the released content and of the card the person read. record_jws is a compact EdDSA JWS (typ taps-release-record+jwt) whose payload is exactly record; verify it with the key of its kid at /v1/taps/.well-known/jwks.json. Needs taps:read (Taps permission taps.taps.read).
Parameters
idpath · stringrequired
Responses
- 200The record and its signature
Response fields
recordobjectrequiredrecord.iss"did:oas:one:service:taps"requiredrecord.contract"taps.release_record.v1"requiredrecord.orgstring (uuid)requiredrecord.tap_idstring (uuid)requiredrecord.statusstringrequiredrecord.card_sha256stringrequiredHex sha-256 of the card the person read (title and text, RFC 8785 JSON).
record.message_idstring | nullrecord.message_sha256string | nullrecord.completebooleanrequiredTrue once the release is recorded.
record.stepsobject[]requiredrecord.steps[].[].step"drafted" | "approved" | "denied" | "sent"requiredrecord.steps[].[].actorstring | nullrequiredThe principal: an org key id, a person (h_...), or user:<id> for a person without a subject.
record.steps[].[].atstring (date-time)requiredrecord.steps[].[].event_idstring | null (uuid)record.steps[].[].user_idstring | null (uuid)record.steps[].[].delegatestringThe org key that answered for the person under an approval delegation.
record.steps[].[].delegation_idstring (uuid)record.steps[].[].message_idstring | nullrecord.iatintegerrequiredUnix time of the latest step.
record_jwsstring | nullrequired
- 404No tap of yours has this id
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/taps/taps/$ID/record" \
-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('taps_getTapRecord', {
id: '<id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "taps_getTapRecord",
"arguments": {
"id": "<id>"
}
}
}
}Released
Record that you released what your approved tap held
POST/v1/taps/taps/{id}/released
The principal that raised an approved tap records that it released what the tap held (for a held Boxes send the gateway does this itself after Boxes sends it). Only the raising principal (403 for another reader, 404 for anyone who can't read the tap), only while the tap is approved (409 TAP_NOT_APPROVED); a second release is 409 TAP_ALREADY_RELEASED. The release becomes the record's signed sent step. Needs taps:write (Taps permission taps.taps.create).
Parameters
idpath · stringrequired
Request body application/json
message_sha256stringrequiredHex sha-256 of the exact content released. pattern
^[0-9a-f]{64}$message_idstringThe id of what the release made, such as a sent message's id. min length 1 · max length 256
Responses
- 201Recorded; the tap's record with its signature
Response fields
releasedobjectrequiredreleased.idstring (uuid)requiredreleased.tap_idstring (uuid)requiredreleased.kindanyrequiredcreated,expiredorforgottenas a string, or a one-key object such as{"responded": {"option_key", "source"}},{"status_changed": {"from", "to"}},{"routed": {"to_user_id", "rule_id"}}or{"cancelled": {"reason"}}released.actorobjectrequiredTagged by type: user (user_id), agent (agent_id) or system
released.actor.type"user" | "agent" | "system"requiredreleased.actor.user_idstring (uuid)released.actor.agent_idstringreleased.org_idstring (uuid)requiredreleased.timestampstring (date-time)requiredreleased.detailanyreleased.request_idstringrecordobjectrequiredrecord.iss"did:oas:one:service:taps"requiredrecord.contract"taps.release_record.v1"requiredrecord.orgstring (uuid)requiredrecord.tap_idstring (uuid)requiredrecord.statusstringrequiredrecord.card_sha256stringrequiredHex sha-256 of the card the person read (title and text, RFC 8785 JSON).
record.message_idstring | nullrecord.message_sha256string | nullrecord.completebooleanrequiredTrue once the release is recorded.
record.stepsobject[]requiredrecord.steps[].[].step"drafted" | "approved" | "denied" | "sent"requiredrecord.steps[].[].actorstring | nullrequiredThe principal: an org key id, a person (h_...), or user:<id> for a person without a subject.
record.steps[].[].atstring (date-time)requiredrecord.steps[].[].event_idstring | null (uuid)record.steps[].[].user_idstring | null (uuid)record.steps[].[].delegatestringThe org key that answered for the person under an approval delegation.
record.steps[].[].delegation_idstring (uuid)record.steps[].[].message_idstring | nullrecord.iatintegerrequiredUnix time of the latest step.
record_jwsstring | nullrequiredCompact EdDSA JWS whose payload is exactly
record; null when Taps has no signing key.
- 403Only the principal that raised the tap records its release
- 404No tap of yours has this id
- 409The tap is not approved, or was already released
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/taps/taps/$ID/released" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"message_sha256": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('taps_recordTapRelease', {
id: '<id>',
body: {
message_sha256: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "taps_recordTapRelease",
"arguments": {
"id": "<id>",
"body": {
"message_sha256": "string"
}
}
}
}
}Respond
Respond to a tap (a person, or a key a person delegated approval to)
POST/v1/taps/taps/{id}/respond
A person's genesis login session, or an org API key a person delegated approval to with createApprovalDelegation. A delegated key answers as that person (the response is theirs, source is api, no biometric or surface proof), never a tap it raised itself, and never a Henry, typed-code, grant, HITL or command item; a delegated_response event records the key. Any other key gets 403 human_required. When the tap holds a Boxes send, an approve's answer also carries boxes_send: approved (the key's retry with x-taps-approval now sends), already_released, or not_sent with a reason. The approve itself never sends. Needs taps:write (Taps permission taps.responses.create). The tap's approval policy is enforced first (reason, biometric, surface, number of approvers); a violation is 422 and nothing is recorded. Selecting deny resolves the tap; approve resolves it once min_approvers have approved.
Parameters
idpath · stringrequired
Request body application/json
payloadobjectrequiredTagged by type: selection (option_key), text (value) or form (fields)
payload.type"selection" | "text" | "form"requiredpayload.option_keystringpayload.valuestringpayload.fieldsobjectsource"web" | "ios" | "android" | "watch_os" | "wear_os" | "mac_os" | "windows" | "linux" | "browser_extension" | "slack" | "discord" | "teams" | "telegram" | "webhook" | "voice" | "api"requiredreasonstringbiometric_confirmedbooleandefault
false
Responses
- 200Response recorded
Response fields
responseobjectrequiredresponse.idstring (uuid)requiredresponse.tap_idstring (uuid)requiredresponse.responder_idstring (uuid)requiredresponse.payloadobjectrequiredTagged by type: selection (option_key), text (value) or form (fields)
response.payload.type"selection" | "text" | "form"requiredresponse.payload.option_keystringresponse.payload.valuestringresponse.payload.fieldsobjectresponse.source"web" | "ios" | "android" | "watch_os" | "wear_os" | "mac_os" | "windows" | "linux" | "browser_extension" | "slack" | "discord" | "teams" | "telegram" | "webhook" | "voice" | "api"requiredresponse.reasonstringresponse.biometric_confirmedbooleanresponse.ip_addressstringresponse.user_agentstringresponse.created_atstring (date-time)requiredtapobjectrequiredtap.idstring (uuid)requiredtap.status"created" | "pending" | "approved" | "denied" | "escalated" | "expired" | "cancelled"requiredtap.tap_type"approval" | "choice" | "input" | "acknowledgment" | "form"requiredtap.priority"low" | "normal" | "high" | "critical"requiredtap.titlestringrequiredtap.descriptionstringtap.agentobjectrequiredtap.agent.idstringrequiredAgent identifier, for example deploy-bot
tap.agent.namestringtap.agent.org_idstring (uuid)tap.agent.didstringtap.agent.avatar_urlstringtap.agent.frameworkstringtap.agent.metadataobjecttap.org_idstring (uuid)requiredtap.assigneesstring (uuid)[]requiredtap.optionsobject[]requiredtap.options[].[].keystringrequiredMachine key, for example approve or deny
tap.options[].[].labelstringrequiredtap.options[].[].stylestringRendering hint: primary, danger or default
tap.options[].[].descriptionstringtap.risk_level"none" | "low" | "medium" | "high" | "critical"tap.approval_policyobjecttap.approval_policy.min_approversintegermin 1 · default
1tap.approval_policy.require_biometricbooleandefault
falsetap.approval_policy.required_surfacestringtap.approval_policy.require_reasonbooleandefault
falsetap.approval_policy.monetary_thresholdnumbertap.approval_policy.monetary_currencystringtap.contextanytap.metadataobjecttap.expires_atstring (date-time)tap.callback_urlstringtap.responsesobject[]tap.responses[].[].idstring (uuid)requiredtap.responses[].[].tap_idstring (uuid)requiredtap.responses[].[].responder_idstring (uuid)requiredtap.responses[].[].payloadobjectrequiredTagged by type: selection (option_key), text (value) or form (fields)
tap.responses[].[].payload.type"selection" | "text" | "form"requiredtap.responses[].[].payload.option_keystringtap.responses[].[].payload.valuestringtap.responses[].[].payload.fieldsobjecttap.responses[].[].source"web" | "ios" | "android" | "watch_os" | "wear_os" | "mac_os" | "windows" | "linux" | "browser_extension" | "slack" | "discord" | "teams" | "telegram" | "webhook" | "voice" | "api"requiredtap.responses[].[].reasonstringtap.responses[].[].biometric_confirmedbooleantap.responses[].[].ip_addressstringtap.responses[].[].user_agentstringtap.responses[].[].created_atstring (date-time)requiredtap.tagsstring[]tap.idempotency_keystringtap.created_atstring (date-time)requiredtap.updated_atstring (date-time)required
- 403FORBIDDEN human_required (an org API key with no live delegation, a tap the key raised, or an item answered only by the person)
- 404Not found in your tenant
- 409Already resolved
- 410Expired
- 422Approval policy not met
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/taps/taps/$ID/respond" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"payload": {
"type": "selection"
},
"source": "web"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('taps_respondToTap', {
id: '<id>',
body: {
payload: {
type: 'selection',
},
source: 'web',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "genesis_call",
"arguments": {
"operation": "taps_respondToTap",
"arguments": {
"id": "<id>",
"body": {
"payload": {
"type": "selection"
},
"source": "web"
}
}
}
}
}L1fe AI Inc. · Built from Genesis 0.3.3 and the live gateway on 2026-10-25. Support