API reference
Blinds
Credential custody, consent and delegation: hold secrets for agents and grant them narrowly, with an owner in the loop.
- Operations
- 28
- Base path
https://os.one.ml/api/v1/blinds- Scopes
blinds:readblinds:write- API keys
- 1 untested · 6 need a signed-in session · 20 tested with an API key
- SDK
genesis.call('blinds_listActivity', …)· helpers undergenesis.blinds- MCP
- 28 tools
Operations
| Operation | Endpoint | API key |
|---|---|---|
| Latest Blinds audit events | GET/activity | Tested with an API key |
| Agents seen using Blinds | GET/agents | Tested with an API key |
| Failed or denied Blinds events | GET/alerts | Tested with an API key |
| List consent decisions | GET/consent | Tested with an API key |
| Revoke a consent decision | DELETE/consent/{consent_id} | Tested with an API key |
| Approve a consent request | POST/consent/{consent_id}/approve | Signed-in session |
| Deny a consent request | POST/consent/{consent_id}/deny | Signed-in session |
| List pending consent requests | GET/consent/pending | Tested with an API key |
| List credential variable names | GET/credentials | Tested with an API key |
| Store a credential (connect a static key) | POST/credentials | Tested with an API key |
| Revoke every credential in the organization | DELETE/credentials | Tested with an API key |
| Revoke one credential | DELETE/credentials/{variable} | Tested with an API key |
| List current delegations | GET/delegates | Tested with an API key |
| Delegate variables to an agent | POST/delegates | Tested with an API key |
| Read one delegation | GET/delegates/{delegate_id} | — |
| Revoke a delegation | DELETE/delegates/{delegate_id} | Tested with an API key |
| List active OAuth connections | GET/oauth/connections | Tested with an API key |
| Catalog providers that use OAuth 2.0 | GET/oauth/providers | Tested with an API key |
| Receipt for one mutation | GET/operations/{operation_id} | Tested with an API key |
| Original human owner enrollment: attach | POST/owner-enrollment/attach | Signed-in session |
| Original human owner enrollment: p256-ensure | POST/owner-enrollment/p256-ensure | Signed-in session |
| Original human owner enrollment: reserve | POST/owner-enrollment/reserve | Signed-in session |
| Original human owner enrollment: sign | POST/owner-enrollment/sign | Signed-in session |
| Provider and destination catalog | GET/providers | Tested with an API key |
| One catalog provider | GET/providers/{slug} | Tested with an API key |
| Send one request through Blinds under a grant | POST/proxy | — |
| Consent policy and notification settings | GET/settings | Tested with an API key |
| Set the consent policy and notifications | PUT/settings | Tested with an API key |
Activity
Latest Blinds audit events
GET/v1/blinds/activity
Requires blinds:read (or blinds:write). Tenant comes only from the verified Genesis selection. The latest 200 events for the organization.
Responses
- 200Events
Response fields
eventsobject[]requiredevents[].[].event_idstring (uuid)requiredevents[].[].occurred_atstring (date-time)requiredevents[].[].kindstringrequiredevents[].[].actionstringrequiredevents[].[].resourcestring | nullevents[].[].outcomestring | nullevents[].[].subject_didstring | null
- 401Refusal; error.code and x-request-id identify it
- 403Refusal; error.code and x-request-id identify it
- 503Refusal; error.code and x-request-id identify it
- 504Refusal; error.code and x-request-id identify it
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/blinds/activity" \
-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('blinds_listActivity'){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "blinds_listActivity",
"arguments": {}
}
}Agents
Agents seen using Blinds
GET/v1/blinds/agents
Requires blinds:read (or blinds:write). Tenant comes only from the verified Genesis selection. Per-agent request counts from the latest audit events.
Responses
- 200Agents
Response fields
agentsobject[]requiredagents[].[].agent_didstringrequiredagents[].[].request_countintegerrequiredagents[].[].successful_requestsintegerrequiredagents[].[].failed_requestsintegerrequiredagents[].[].last_seenstring (date-time)required
- 401Refusal; error.code and x-request-id identify it
- 403Refusal; error.code and x-request-id identify it
- 503Refusal; error.code and x-request-id identify it
- 504Refusal; error.code and x-request-id identify it
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/blinds/agents" \
-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('blinds_listAgents'){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "blinds_listAgents",
"arguments": {}
}
}Alerts
Failed or denied Blinds events
GET/v1/blinds/alerts
Requires blinds:read (or blinds:write). Tenant comes only from the verified Genesis selection. Audit events whose outcome was not success.
Responses
- 200Alerts
Response fields
eventsobject[]requiredevents[].[].event_idstring (uuid)requiredevents[].[].occurred_atstring (date-time)requiredevents[].[].kindstringrequiredevents[].[].actionstringrequiredevents[].[].resourcestring | nullevents[].[].outcomestring | nullevents[].[].subject_didstring | null
- 401Refusal; error.code and x-request-id identify it
- 403Refusal; error.code and x-request-id identify it
- 503Refusal; error.code and x-request-id identify it
- 504Refusal; error.code and x-request-id identify it
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/blinds/alerts" \
-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('blinds_listAlerts'){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "blinds_listAlerts",
"arguments": {}
}
}Consent
List consent decisions
GET/v1/blinds/consent
Requires blinds:read (or blinds:write). Tenant comes only from the verified Genesis selection.
Responses
- 200Decisions
Response fields
recordsobject[]requiredrecords[].[].consent_idstring (uuid)requiredrecords[].[].agent_didstringrequiredrecords[].[].variablesstring[]requiredrecords[].[].destination_domainsstring[]records[].[].scopesstring[]records[].[].granted_bystringrecords[].[].status"approved" | "denied" | "revoked" | "expired"requiredrecords[].[].decided_atstring (date-time)requiredrecords[].[].expires_atstring | null (date-time)records[].[].revocableboolean
- 401Refusal; error.code and x-request-id identify it
- 403Refusal; error.code and x-request-id identify it
- 503Refusal; error.code and x-request-id identify it
- 504Refusal; error.code and x-request-id identify it
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/blinds/consent" \
-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('blinds_listConsentRecords'){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "blinds_listConsentRecords",
"arguments": {}
}
}Revoke a consent decision
DELETE/v1/blinds/consent/{consent_id}
Requires blinds:write and a UUID Idempotency-Key. Tenant comes only from the verified Genesis selection.
Parameters
consent_idpath · string (uuid)requiredIdempotency-Keyheader · string (uuid)requiredClient UUID for this logical mutation. Reuse it after an uncertain outcome; the gateway never substitutes one.
Responses
- 200Revoked
- 401Refusal; error.code and x-request-id identify it
- 403Refusal; error.code and x-request-id identify it
- 404Refusal; error.code and x-request-id identify it
- 409Refusal; error.code and x-request-id identify it
- 503Refusal; error.code and x-request-id identify it
- 504Refusal; error.code and x-request-id identify it
- 4xx 5xxThe error envelope.
curl -X DELETE "https://os.one.ml/api/v1/blinds/consent/$CONSENT_ID" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Idempotency-Key: $IDEMPOTENCY_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const idempotencyKey = '<a stable key per change>'
const result = await genesis.call('blinds_revokeConsent', {
consent_id: '<consent_id>',
}, {
headers: { 'Idempotency-Key': idempotencyKey }, // one key per change, reused on every retry
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "blinds_revokeConsent",
"arguments": {
"consent_id": "<consent_id>",
"idempotency_key": "<a stable key per change>"
}
}
}List pending consent requests
GET/v1/blinds/consent/pending
Requires blinds:read (or blinds:write). Tenant comes only from the verified Genesis selection.
Responses
- 200Pending requests
Response fields
requestsobject[]requiredrequests[].[].consent_idstring (uuid)requiredrequests[].[].agent_didstringrequiredrequests[].[].variablesstring[]requiredrequests[].[].destination_domainsstring[]requests[].[].providersstring[]requests[].[].status"pending"requiredrequests[].[].created_atstring (date-time)required
- 401Refusal; error.code and x-request-id identify it
- 403Refusal; error.code and x-request-id identify it
- 503Refusal; error.code and x-request-id identify it
- 504Refusal; error.code and x-request-id identify it
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/blinds/consent/pending" \
-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('blinds_listPendingConsent'){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "blinds_listPendingConsent",
"arguments": {}
}
}Approve
Approve a consent request
POST/v1/blinds/consent/{consent_id}/approve
Requires blinds:write and a UUID Idempotency-Key. Tenant comes only from the verified Genesis selection. Approval needs a verifiable One account signature; Blinds answers 403 until a cryptographic verifier is configured and never stores unverifiable evidence.
Parameters
consent_idpath · string (uuid)requiredIdempotency-Keyheader · string (uuid)requiredClient UUID for this logical mutation. Reuse it after an uncertain outcome; the gateway never substitutes one.
Request body application/json
signaturestringrequiredexpires_in_secondsinteger
Responses
- 200Approved
- 400Refusal; error.code and x-request-id identify it
- 401Refusal; error.code and x-request-id identify it
- 403Refusal; error.code and x-request-id identify it
- 404Refusal; error.code and x-request-id identify it
- 409Refusal; error.code and x-request-id identify it
- 503Refusal; error.code and x-request-id identify it
- 504Refusal; error.code and x-request-id identify it
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/blinds/consent/$CONSENT_ID/approve" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
-H "Content-Type: application/json" \
-d '{
"signature": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const idempotencyKey = '<a stable key per change>'
const result = await genesis.call('blinds_approveConsent', {
consent_id: '<consent_id>',
body: {
signature: 'string',
},
}, {
headers: { 'Idempotency-Key': idempotencyKey }, // one key per change, reused on every retry
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "blinds_approveConsent",
"arguments": {
"consent_id": "<consent_id>",
"body": {
"signature": "string"
},
"idempotency_key": "<a stable key per change>"
}
}
}Deny
Deny a consent request
POST/v1/blinds/consent/{consent_id}/deny
Requires blinds:write and a UUID Idempotency-Key. Tenant comes only from the verified Genesis selection.
Parameters
consent_idpath · string (uuid)requiredIdempotency-Keyheader · string (uuid)requiredClient UUID for this logical mutation. Reuse it after an uncertain outcome; the gateway never substitutes one.
Responses
- 200Denied
- 401Refusal; error.code and x-request-id identify it
- 403Refusal; error.code and x-request-id identify it
- 404Refusal; error.code and x-request-id identify it
- 409Refusal; error.code and x-request-id identify it
- 503Refusal; error.code and x-request-id identify it
- 504Refusal; error.code and x-request-id identify it
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/blinds/consent/$CONSENT_ID/deny" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Idempotency-Key: $IDEMPOTENCY_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const idempotencyKey = '<a stable key per change>'
const result = await genesis.call('blinds_denyConsent', {
consent_id: '<consent_id>',
}, {
headers: { 'Idempotency-Key': idempotencyKey }, // one key per change, reused on every retry
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "blinds_denyConsent",
"arguments": {
"consent_id": "<consent_id>",
"idempotency_key": "<a stable key per change>"
}
}
}Credentials
List credential variable names
GET/v1/blinds/credentials
Requires blinds:read (or blinds:write). Tenant comes only from the verified Genesis selection. Names only; values are never returned.
Responses
- 200Variable names
Response fields
credentialsstring[]requiredVariable names only. Values never leave Blinds.
- 401Refusal; error.code and x-request-id identify it
- 403Refusal; error.code and x-request-id identify it
- 503Refusal; error.code and x-request-id identify it
- 504Refusal; error.code and x-request-id identify it
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/blinds/credentials" \
-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('blinds_listCredentials'){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "blinds_listCredentials",
"arguments": {}
}
}Store a credential (connect a static key)
POST/v1/blinds/credentials
Requires blinds:write and a UUID Idempotency-Key. Tenant comes only from the verified Genesis selection. The value is KMS-encrypted and is never returned.
Parameters
Idempotency-Keyheader · string (uuid)requiredClient UUID for this logical mutation. Reuse it after an uncertain outcome; the gateway never substitutes one.
Request body application/json
variable_namestringrequiredThe name the value is stored and referenced under. Starts with an uppercase letter or underscore (UPPER_SNAKE). pattern
^[A-Z_]valuestringrequiredEncrypted with KMS on arrival; never returned or logged.
credential_typestringrequireddestination_domainsstring[]Hosts the value may be injected into. Omit to bind the provider's hosts, detected from
provideror the value's key prefix (sk-, sk-proj-, sk-ant-, ghp_, github_pat_, xoxb-, sk_live_, rk_live_, ...); an undetectable value without domains is 400. Each host must be a registered destination (a provider's host); any other host is 400 DESTINATION_NOT_ALLOWED.providerstringProvider slug; with no destination_domains its hosts are bound.
descriptionstring
Responses
- 201Stored
Response fields
variable_namestringrequiredproviderstringProvider the credential is stored for (given or detected).
provider_detectedbooleanTrue when the provider's hosts were bound because no destination_domains were given.
bindingsstring[]Destination domains the credential is bound to.
- 400Refusal; error.code and x-request-id identify it
- 401Refusal; error.code and x-request-id identify it
- 403Refusal; error.code and x-request-id identify it
- 409Refusal; error.code and x-request-id identify it
- 503Refusal; error.code and x-request-id identify it
- 504Refusal; error.code and x-request-id identify it
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/blinds/credentials" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
-H "Content-Type: application/json" \
-d '{
"variable_name": "string",
"value": "string",
"credential_type": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const idempotencyKey = '<a stable key per change>'
const result = await genesis.call('blinds_storeCredential', {
body: {
variable_name: 'string',
value: 'string',
credential_type: 'string',
},
}, {
headers: { 'Idempotency-Key': idempotencyKey }, // one key per change, reused on every retry
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "blinds_storeCredential",
"arguments": {
"body": {
"variable_name": "string",
"value": "string",
"credential_type": "string"
},
"idempotency_key": "<a stable key per change>"
}
}
}Revoke every credential in the organization
DELETE/v1/blinds/credentials
Requires blinds:write and a UUID Idempotency-Key. Tenant comes only from the verified Genesis selection. Requires all=true. Bulk and irreversible: every stored value for the selected organization is revoked. Every delegation made from those credentials is revoked with them.
Parameters
allquery · "true"requiredIdempotency-Keyheader · string (uuid)requiredClient UUID for this logical mutation. Reuse it after an uncertain outcome; the gateway never substitutes one.
Responses
- 200Revoked
Response fields
revokedintegerrequiredHow many credentials were revoked
- 400Refusal; error.code and x-request-id identify it
- 401Refusal; error.code and x-request-id identify it
- 403Refusal; error.code and x-request-id identify it
- 409Refusal; error.code and x-request-id identify it
- 503Refusal; error.code and x-request-id identify it
- 504Refusal; error.code and x-request-id identify it
- 4xx 5xxThe error envelope.
curl -X DELETE "https://os.one.ml/api/v1/blinds/credentials?all=$ALL" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Idempotency-Key: $IDEMPOTENCY_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const idempotencyKey = '<a stable key per change>'
const result = await genesis.call('blinds_revokeAllCredentials', {
all: '<all>',
}, {
headers: { 'Idempotency-Key': idempotencyKey }, // one key per change, reused on every retry
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "blinds_revokeAllCredentials",
"arguments": {
"all": "<all>",
"idempotency_key": "<a stable key per change>"
}
}
}Revoke one credential
DELETE/v1/blinds/credentials/{variable}
Requires blinds:write and a UUID Idempotency-Key. Tenant comes only from the verified Genesis selection. Every live delegation of this credential made by its owner, and everything handed on from those, is revoked with it.
Parameters
variablepath · stringrequiredIdempotency-Keyheader · string (uuid)requiredClient UUID for this logical mutation. Reuse it after an uncertain outcome; the gateway never substitutes one.
Responses
- 200Revoked
- 401Refusal; error.code and x-request-id identify it
- 403Refusal; error.code and x-request-id identify it
- 404Refusal; error.code and x-request-id identify it
- 409Refusal; error.code and x-request-id identify it
- 503Refusal; error.code and x-request-id identify it
- 504Refusal; error.code and x-request-id identify it
- 4xx 5xxThe error envelope.
curl -X DELETE "https://os.one.ml/api/v1/blinds/credentials/$VARIABLE" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Idempotency-Key: $IDEMPOTENCY_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const idempotencyKey = '<a stable key per change>'
const result = await genesis.call('blinds_deleteCredential', {
variable: '<variable>',
}, {
headers: { 'Idempotency-Key': idempotencyKey }, // one key per change, reused on every retry
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "blinds_deleteCredential",
"arguments": {
"variable": "<variable>",
"idempotency_key": "<a stable key per change>"
}
}
}Delegates
List current delegations
GET/v1/blinds/delegates
Requires blinds:read (or blinds:write). Tenant comes only from the verified Genesis selection. Non-revoked, unexpired grants: which agents hold which variables. With include_revoked=true, revoked and expired ones too (newest first, up to 500).
Parameters
include_revokedquery · "true" | "false"true lists revoked and expired delegations too.
Responses
- 200Delegations
Response fields
delegatesobject[]requireddelegates[].[].delegate_idstring (uuid)requireddelegates[].[].parent_idstring | null (uuid)The delegation this one was handed on from; null for a root delegation.
delegates[].[].namestringrequireddelegates[].[].issuer_didstringrequireddelegates[].[].delegated_variablesstring[]requireddelegates[].[].max_depthintegerHow many steps this grant can be handed on in all (2 by default); a child's is capped at its parent's.
delegates[].[].current_depthinteger0 for a root delegation, parent's + 1 for a child.
delegates[].[].ttl_secondsintegerGranted lifetime; a child's is cut so it never outlives its parent.
delegates[].[].created_atstring (date-time)delegates[].[].expires_atstring (date-time)requireddelegates[].[].tenant_idstringdelegates[].[].revokedbooleandelegates[].[].revoked_atstring | null (date-time)
- 401Refusal; error.code and x-request-id identify it
- 403Refusal; error.code and x-request-id identify it
- 503Refusal; error.code and x-request-id identify it
- 504Refusal; error.code and x-request-id identify it
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/blinds/delegates" \
-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('blinds_listDelegates'){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "blinds_listDelegates",
"arguments": {}
}
}Delegate variables to an agent
POST/v1/blinds/delegates
Requires blinds:write and a UUID Idempotency-Key. Tenant comes only from the verified Genesis selection. With parent_id, hands on part of an existing delegation: scopes only narrow, the child never outlives its parent and depth is capped (2 by default). Revoking a delegation, or the credential it delegates, revokes everything handed on from it.
Parameters
Idempotency-Keyheader · string (uuid)requiredClient UUID for this logical mutation. Reuse it after an uncertain outcome; the gateway never substitutes one.
Request body application/json
namestringrequiredThe principal that will hold the grant.
delegated_variablesstring[]requiredA root delegation may only name variables the caller holds (403 VARIABLE_NOT_HELD); a child only variables its parent delegates (403 SCOPE_WIDENING).
parent_idstring (uuid)Hand on part of an existing delegation. The parent must be live (409 PARENT_REVOKED / PARENT_EXPIRED), in the caller's organization (404 PARENT_NOT_FOUND), held, issued or owned by the caller (403 NOT_PARENT_HOLDER) and below its max_depth (403 DEPTH_EXCEEDED). The child's expiry and max_depth are capped at the parent's.
max_depthintegerHow many steps the grant can be handed on (default 2). min 0 · default
2ttl_secondsintegerrequiredLifetime in seconds; a delegation's time cannot be extended. min 1
Responses
- 201Delegation
Response fields
delegate_idstring (uuid)requiredparent_idstring | null (uuid)The delegation this one was handed on from; null for a root delegation.
namestringrequiredissuer_didstringrequireddelegated_variablesstring[]requiredmax_depthintegerHow many steps this grant can be handed on in all (2 by default); a child's is capped at its parent's.
current_depthinteger0 for a root delegation, parent's + 1 for a child.
ttl_secondsintegerGranted lifetime; a child's is cut so it never outlives its parent.
created_atstring (date-time)expires_atstring (date-time)requiredtenant_idstringrevokedbooleanrevoked_atstring | null (date-time)
- 400Refusal; error.code and x-request-id identify it
- 401Refusal; error.code and x-request-id identify it
- 403Refusal; error.code and x-request-id identify it
- 404Refusal; error.code and x-request-id identify it
- 409Refusal; error.code and x-request-id identify it
- 503Refusal; error.code and x-request-id identify it
- 504Refusal; error.code and x-request-id identify it
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/blinds/delegates" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "string",
"delegated_variables": [
"string"
],
"ttl_seconds": 1
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const idempotencyKey = '<a stable key per change>'
const result = await genesis.call('blinds_createDelegate', {
body: {
name: 'string',
delegated_variables: [
'string',
],
ttl_seconds: 1,
},
}, {
headers: { 'Idempotency-Key': idempotencyKey }, // one key per change, reused on every retry
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "blinds_createDelegate",
"arguments": {
"body": {
"name": "string",
"delegated_variables": [
"string"
],
"ttl_seconds": 1
},
"idempotency_key": "<a stable key per change>"
}
}
}Read one delegation
GET/v1/blinds/delegates/{delegate_id}
Requires blinds:read (or blinds:write). Tenant comes only from the verified Genesis selection. Revoked and expired delegations are returned too, with revoked and revoked_at.
Parameters
delegate_idpath · string (uuid)required
Responses
- 200Delegation
Response fields
delegate_idstring (uuid)requiredparent_idstring | null (uuid)The delegation this one was handed on from; null for a root delegation.
namestringrequiredissuer_didstringrequireddelegated_variablesstring[]requiredmax_depthintegerHow many steps this grant can be handed on in all (2 by default); a child's is capped at its parent's.
current_depthinteger0 for a root delegation, parent's + 1 for a child.
ttl_secondsintegerGranted lifetime; a child's is cut so it never outlives its parent.
created_atstring (date-time)expires_atstring (date-time)requiredtenant_idstringrevokedbooleanrevoked_atstring | null (date-time)
- 401Refusal; error.code and x-request-id identify it
- 403Refusal; error.code and x-request-id identify it
- 404Refusal; error.code and x-request-id identify it
- 503Refusal; error.code and x-request-id identify it
- 504Refusal; error.code and x-request-id identify it
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/blinds/delegates/$DELEGATE_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('blinds_getDelegate', {
delegate_id: '<delegate_id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "blinds_getDelegate",
"arguments": {
"delegate_id": "<delegate_id>"
}
}
}Revoke a delegation
DELETE/v1/blinds/delegates/{delegate_id}
Requires blinds:write and a UUID Idempotency-Key. Tenant comes only from the verified Genesis selection. Every delegation handed on from it is revoked too.
Parameters
delegate_idpath · string (uuid)requiredIdempotency-Keyheader · string (uuid)requiredClient UUID for this logical mutation. Reuse it after an uncertain outcome; the gateway never substitutes one.
Responses
- 200Revoked
- 401Refusal; error.code and x-request-id identify it
- 403Refusal; error.code and x-request-id identify it
- 404Refusal; error.code and x-request-id identify it
- 409Refusal; error.code and x-request-id identify it
- 503Refusal; error.code and x-request-id identify it
- 504Refusal; error.code and x-request-id identify it
- 4xx 5xxThe error envelope.
curl -X DELETE "https://os.one.ml/api/v1/blinds/delegates/$DELEGATE_ID" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Idempotency-Key: $IDEMPOTENCY_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const idempotencyKey = '<a stable key per change>'
const result = await genesis.call('blinds_revokeDelegate', {
delegate_id: '<delegate_id>',
}, {
headers: { 'Idempotency-Key': idempotencyKey }, // one key per change, reused on every retry
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "blinds_revokeDelegate",
"arguments": {
"delegate_id": "<delegate_id>",
"idempotency_key": "<a stable key per change>"
}
}
}Oauth
List active OAuth connections
GET/v1/blinds/oauth/connections
Requires blinds:read (or blinds:write). Tenant comes only from the verified Genesis selection. Metadata only (provider, scopes, variable, created, active); tokens never leave Blinds. Connecting a provider is not admitted on Genesis.
Responses
- 200Active connections
Response fields
connectionsobject[]requiredconnections[].[].connection_idstring (uuid)requiredconnections[].[].providerstringrequiredconnections[].[].variable_namestringrequiredconnections[].[].scopesstring[]requiredconnections[].[].activebooleanrequiredconnections[].[].created_atstring (date-time)requiredtotalintegerrequired
- 401Refusal; error.code and x-request-id identify it
- 403Refusal; error.code and x-request-id identify it
- 503Refusal; error.code and x-request-id identify it
- 504Refusal; error.code and x-request-id identify it
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/blinds/oauth/connections" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('blinds_listOAuthConnections'){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "blinds_listOAuthConnections",
"arguments": {}
}
}Catalog providers that use OAuth 2.0
GET/v1/blinds/oauth/providers
Requires blinds:read (or blinds:write). Tenant comes only from the verified Genesis selection. The provider catalog filtered to auth_mode oauth2. Connecting one is not admitted on Genesis; connections are read-only.
Parameters
qquery · stringCase-insensitive match on slug, name or description
categoryquery · stringlimitquery · integerPage size (default 100)
offsetquery · integer
Responses
- 200Providers
Response fields
providersobject[]requiredproviders[].[].slugstringrequiredproviders[].[].display_namestringrequiredproviders[].[].descriptionstringproviders[].[].statusstringproviders[].[].categoriesstring[]providers[].[].auth_modestringrequiredproviders[].[].oauth_readybooleanproviders[].[].api_key_readybooleanproviders[].[].destination_boundbooleanproviders[].[].websitestringproviders[].[].docs_urlstringproviders[].[].logo_urlstringtotalintegerrequiredlimitintegerrequiredoffsetintegerrequired
- 401Refusal; error.code and x-request-id identify it
- 403Refusal; error.code and x-request-id identify it
- 503Refusal; error.code and x-request-id identify it
- 504Refusal; error.code and x-request-id identify it
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/blinds/oauth/providers" \
-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('blinds_listOAuthProviders'){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "blinds_listOAuthProviders",
"arguments": {}
}
}Operations
Receipt for one mutation
GET/v1/blinds/operations/{operation_id}
Requires blinds:read (or blinds:write). Tenant comes only from the verified Genesis selection. operation_id is the Idempotency-Key the mutation was sent with. After an uncertain outcome Blinds refuses a replay (409); read the receipt instead. pending means the outcome is unknown and is never retried automatically.
Parameters
operation_idpath · string (uuid)required
Responses
- 200Receipt
Response fields
operation_idstring (uuid)requiredstate"pending" | "completed"requiredresponse_statusinteger | nullresponseanyThe redacted result Blinds returned for the mutation
- 401Refusal; error.code and x-request-id identify it
- 403Refusal; error.code and x-request-id identify it
- 404Refusal; error.code and x-request-id identify it
- 503Refusal; error.code and x-request-id identify it
- 504Refusal; error.code and x-request-id identify it
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/blinds/operations/$OPERATION_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('blinds_getOperation', {
operation_id: '<operation_id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "blinds_getOperation",
"arguments": {
"operation_id": "<operation_id>"
}
}
}Owner enrollment
Original human owner enrollment: attach
POST/v1/blinds/owner-enrollment/attach
A person's own signed-in One account session only. Gateway authenticates with Auth session; Blinds freshly authorizes IAM owner and generation. No agent, M2M, OBO, scope conversion, automatic retry, or arbitrary signing payload. Preserve the original operation and locators on explicit recovery.
Request body application/json
schemaVersion1requiredrequestIdstring (uuid)requiredpattern
^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$edReservationIdstring (uuid)requiredpattern
^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$enrollmentIntentIdstring (uuid)requiredpattern
^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
Responses
- 200Confirmed public metadata only
Response fields
schemaVersion1requiredrequestIdstring (uuid)requiredpattern
^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$edReservationIdstring (uuid)requiredpattern
^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$enrollmentIntentIdstring (uuid)requiredpattern
^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$state"attached"requiredcreationobjectrequiredcreation.intent_idstring (uuid)requiredpattern
^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$creation.operation_idstring (uuid)requiredpattern
^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$creation.creation_receipt_idstring (uuid)requiredpattern
^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$creation.agent_idstringrequiredmin length 1 · max length 128
creation.canonical_didstringrequiredmin length 1 · max length 256
creation.registered_public_keystringrequiredmin length 1 · max length 128
creation.ownerobjectrequiredcreation.owner.issuer"https://auth.life.one"requiredcreation.owner.original_ownerstringrequiredmin length 1 · max length 36
creation.owner.organization_generationintegerrequiredmin 1
creation.owner.scopeobjectrequiredcreation.owner.scope.platform_id"blinds"requiredcreation.owner.scope.organization_idstringrequiredmin length 1 · max length 34
creation.owner.scope.workspace_idstring | nullrequiredcreation.owner.scope.project_idstring | nullrequiredcreation.owner.scope.environment_id"sandbox" | "live"required
- 400Sanitized refusal or unconfirmed outcome; no automatic replay
- 401Sanitized refusal or unconfirmed outcome; no automatic replay
- 409Sanitized refusal or unconfirmed outcome; no automatic replay
- 503Sanitized refusal or unconfirmed outcome; no automatic replay
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/blinds/owner-enrollment/attach" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"schemaVersion": 1,
"requestId": "00000000-0000-4000-8000-000000000000",
"edReservationId": "00000000-0000-4000-8000-000000000000",
"enrollmentIntentId": "00000000-0000-4000-8000-000000000000"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('blinds_ownerAttach', {
body: {
schemaVersion: 1,
requestId: '00000000-0000-4000-8000-000000000000',
edReservationId: '00000000-0000-4000-8000-000000000000',
enrollmentIntentId: '00000000-0000-4000-8000-000000000000',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "blinds_ownerAttach",
"arguments": {
"body": {
"schemaVersion": 1,
"requestId": "00000000-0000-4000-8000-000000000000",
"edReservationId": "00000000-0000-4000-8000-000000000000",
"enrollmentIntentId": "00000000-0000-4000-8000-000000000000"
}
}
}
}Original human owner enrollment: p256-ensure
POST/v1/blinds/owner-enrollment/p256-ensure
A person's own signed-in One account session only. Gateway authenticates with Auth session; Blinds freshly authorizes IAM owner and generation. No agent, M2M, OBO, scope conversion, automatic retry, or arbitrary signing payload. Preserve the original operation and locators on explicit recovery.
Request body application/json
schemaVersion1requiredrequestIdstring (uuid)requiredpattern
^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$edReservationIdstring (uuid)requiredpattern
^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$enrollmentIntentIdstring (uuid)requiredpattern
^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
Responses
- 200Confirmed public metadata only
Response fields
schemaVersion1requiredrequestIdstring (uuid)requiredpattern
^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$edReservationIdstring (uuid)requiredpattern
^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$enrollmentIntentIdstring (uuid)requiredpattern
^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$state"ready"requireddpopPublicJwkobjectrequireddpopPublicJwk.kty"EC"requireddpopPublicJwk.crv"P-256"requireddpopPublicJwk.xstringrequiredmin length 1 · max length 43
dpopPublicJwk.ystringrequiredmin length 1 · max length 43
senderJktstringrequiredmin length 1 · max length 43
- 400Sanitized refusal or unconfirmed outcome; no automatic replay
- 401Sanitized refusal or unconfirmed outcome; no automatic replay
- 409Sanitized refusal or unconfirmed outcome; no automatic replay
- 503Sanitized refusal or unconfirmed outcome; no automatic replay
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/blinds/owner-enrollment/p256-ensure" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"schemaVersion": 1,
"requestId": "00000000-0000-4000-8000-000000000000",
"edReservationId": "00000000-0000-4000-8000-000000000000",
"enrollmentIntentId": "00000000-0000-4000-8000-000000000000"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('blinds_ownerP256Ensure', {
body: {
schemaVersion: 1,
requestId: '00000000-0000-4000-8000-000000000000',
edReservationId: '00000000-0000-4000-8000-000000000000',
enrollmentIntentId: '00000000-0000-4000-8000-000000000000',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "blinds_ownerP256Ensure",
"arguments": {
"body": {
"schemaVersion": 1,
"requestId": "00000000-0000-4000-8000-000000000000",
"edReservationId": "00000000-0000-4000-8000-000000000000",
"enrollmentIntentId": "00000000-0000-4000-8000-000000000000"
}
}
}
}Original human owner enrollment: reserve
POST/v1/blinds/owner-enrollment/reserve
A person's own signed-in One account session only. Gateway authenticates with Auth session; Blinds freshly authorizes IAM owner and generation. No agent, M2M, OBO, scope conversion, automatic retry, or arbitrary signing payload. Preserve the original operation and locators on explicit recovery.
Request body application/json
schemaVersion1requiredrequestIdstring (uuid)requiredpattern
^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$operationIdstring (uuid)requiredpattern
^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$organizationIdstringrequiredpattern
^o_[A-Za-z0-9_]{1,32}$scopeobjectrequiredscope.scopeKind"organization" | "hierarchy"requiredscope.projectIdstring | nullrequiredpattern
^pr_[A-Za-z0-9_]{1,32}$scope.workspaceIdstring | nullrequiredpattern
^w_[A-Za-z0-9_]{1,32}$scope.environment"sandbox" | "live"requireddisplayNamestringrequiredTrimmed label; maximum 64 UTF-8 bytes. min length 1 · max length 64
kind"agent:instance"required
Responses
- 200Confirmed public metadata only
Response fields
schemaVersion1requiredrequestIdstring (uuid)requiredpattern
^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$edReservationIdstring (uuid)requiredpattern
^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$operationIdstring (uuid)requiredpattern
^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$publicKeystringrequiredmin length 1 · max length 128
state"key_ready" | "attached"requiredexpiresAtMsintegerrequiredoriginalOrganizationGenerationintegerrequiredmin 1
- 400Sanitized refusal or unconfirmed outcome; no automatic replay
- 401Sanitized refusal or unconfirmed outcome; no automatic replay
- 409Sanitized refusal or unconfirmed outcome; no automatic replay
- 503Sanitized refusal or unconfirmed outcome; no automatic replay
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/blinds/owner-enrollment/reserve" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"schemaVersion": 1,
"requestId": "00000000-0000-4000-8000-000000000000",
"operationId": "00000000-0000-4000-8000-000000000000",
"organizationId": "string",
"scope": {
"scopeKind": "organization",
"projectId": "string",
"workspaceId": "string",
"environment": "sandbox"
},
"displayName": "string",
"kind": "agent:instance"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('blinds_ownerReserve', {
body: {
schemaVersion: 1,
requestId: '00000000-0000-4000-8000-000000000000',
operationId: '00000000-0000-4000-8000-000000000000',
organizationId: 'string',
scope: {
scopeKind: 'organization',
projectId: 'string',
workspaceId: 'string',
environment: 'sandbox',
},
displayName: 'string',
kind: 'agent:instance',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "blinds_ownerReserve",
"arguments": {
"body": {
"schemaVersion": 1,
"requestId": "00000000-0000-4000-8000-000000000000",
"operationId": "00000000-0000-4000-8000-000000000000",
"organizationId": "string",
"scope": {
"scopeKind": "organization",
"projectId": "string",
"workspaceId": "string",
"environment": "sandbox"
},
"displayName": "string",
"kind": "agent:instance"
}
}
}
}Original human owner enrollment: sign
POST/v1/blinds/owner-enrollment/sign
A person's own signed-in One account session only. Gateway authenticates with Auth session; Blinds freshly authorizes IAM owner and generation. No agent, M2M, OBO, scope conversion, automatic retry, or arbitrary signing payload. Preserve the original operation and locators on explicit recovery.
Request body application/json
schemaVersion1requiredrequestIdstring (uuid)requiredpattern
^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$edReservationIdstring (uuid)requiredpattern
^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$enrollmentIntentIdstring (uuid)requiredpattern
^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
Responses
- 200Confirmed public metadata only
Response fields
schemaVersion1requiredrequestIdstring (uuid)requiredpattern
^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$edReservationIdstring (uuid)requiredpattern
^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$enrollmentIntentIdstring (uuid)requiredpattern
^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$operationIdstring (uuid)requiredpattern
^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$signingPayloadSha256stringrequiredpattern
^[0-9a-f]{64}$signatureMultibasestringrequiredmin length 1 · max length 256
- 400Sanitized refusal or unconfirmed outcome; no automatic replay
- 401Sanitized refusal or unconfirmed outcome; no automatic replay
- 409Sanitized refusal or unconfirmed outcome; no automatic replay
- 503Sanitized refusal or unconfirmed outcome; no automatic replay
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/blinds/owner-enrollment/sign" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"schemaVersion": 1,
"requestId": "00000000-0000-4000-8000-000000000000",
"edReservationId": "00000000-0000-4000-8000-000000000000",
"enrollmentIntentId": "00000000-0000-4000-8000-000000000000"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('blinds_ownerSign', {
body: {
schemaVersion: 1,
requestId: '00000000-0000-4000-8000-000000000000',
edReservationId: '00000000-0000-4000-8000-000000000000',
enrollmentIntentId: '00000000-0000-4000-8000-000000000000',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "blinds_ownerSign",
"arguments": {
"body": {
"schemaVersion": 1,
"requestId": "00000000-0000-4000-8000-000000000000",
"edReservationId": "00000000-0000-4000-8000-000000000000",
"enrollmentIntentId": "00000000-0000-4000-8000-000000000000"
}
}
}
}Providers
Provider and destination catalog
GET/v1/blinds/providers
Requires blinds:read (or blinds:write). Tenant comes only from the verified Genesis selection. What a credential can be bound to: auth mode and allowed destination domains.
Parameters
qquery · stringCase-insensitive match on slug, name or description
auth_modequery · stringoauth2, api_key, basic, ...
categoryquery · stringlimitquery · integerPage size (default 100)
offsetquery · integer
Responses
- 200Providers
Response fields
providersobject[]requiredproviders[].[].slugstringrequiredproviders[].[].display_namestringrequiredproviders[].[].descriptionstringproviders[].[].statusstringproviders[].[].categoriesstring[]providers[].[].auth_modestringrequiredproviders[].[].oauth_readybooleanproviders[].[].api_key_readybooleanproviders[].[].destination_boundbooleanproviders[].[].websitestringproviders[].[].docs_urlstringproviders[].[].logo_urlstringtotalintegerrequiredlimitintegerrequiredoffsetintegerrequired
- 401Refusal; error.code and x-request-id identify it
- 403Refusal; error.code and x-request-id identify it
- 503Refusal; error.code and x-request-id identify it
- 504Refusal; error.code and x-request-id identify it
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/blinds/providers" \
-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('blinds_listProviders'){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "blinds_listProviders",
"arguments": {}
}
}One catalog provider
GET/v1/blinds/providers/{slug}
Requires blinds:read (or blinds:write). Tenant comes only from the verified Genesis selection. Auth details and the destination policy a credential for this provider is injected under.
Parameters
slugpath · stringrequired
Responses
- 200Provider
Response fields
providerobjectrequiredprovider.slugstringrequiredprovider.display_namestringrequiredprovider.descriptionstringprovider.statusstringprovider.categoriesstring[]provider.auth_modestringrequiredprovider.oauth_readybooleanprovider.api_key_readybooleanprovider.destination_boundbooleanprovider.websitestringprovider.docs_urlstringprovider.logo_urlstringoauth2object | nulloauth2.authorization_urlstringoauth2.token_urlstringoauth2.refresh_urlstring | nulloauth2.revocation_urlstring | nulloauth2.default_scopesstring[]oauth2.scopes_separatorstringoauth2.supports_refreshbooleanoauth2.supports_pkcebooleanoauth2.pkce_methodstring | nullapi_keyobject | nullapi_key.placementstringapi_key.key_namestringapi_key.prefixstring | nulldestinationobjectrequireddestination.allowed_domainsstring[]destination.allow_subdomainsbooleandestination.require_tlsbooleandestination.allowed_portsinteger[]auth_header_templateobject | null
- 401Refusal; error.code and x-request-id identify it
- 403Refusal; error.code and x-request-id identify it
- 404Refusal; error.code and x-request-id identify it
- 503Refusal; error.code and x-request-id identify it
- 504Refusal; error.code and x-request-id identify it
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/blinds/providers/$SLUG" \
-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('blinds_getProvider', {
slug: '<slug>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "blinds_getProvider",
"arguments": {
"slug": "<slug>"
}
}
}Proxy
Send one request through Blinds under a grant
POST/v1/blinds/proxy
Requires blinds:proxy (or blinds:write) and a UUID Idempotency-Key. Blinds substitutes each {{VARIABLE}} server side and makes the HTTPS call itself; values never leave Blinds and an echoed value comes back as its template. Admitted only under a live delegation held by the caller (the delegate name is the calling principal), issued by someone else, covering every variable named. Every grant refusal is the same 403. Redirects are returned, not followed; the call is never retried; a replayed operation is 409.
Parameters
Idempotency-Keyheader · string (uuid)requiredClient UUID for this logical request. A replay is refused, never re-sent upstream.
Request body application/json
delegate_idstring (uuid)requiredThe delegation (grant) held by the caller.
request_idstring (uuid)requiredmethod"GET" | "POST" | "PUT" | "PATCH" | "DELETE"requiredurlstringrequiredHTTPS URL; may contain {{VARIABLE}} templates.
headersobjectValues may contain {{VARIABLE}} templates.
bodystringBase64 body; may contain {{VARIABLE}} templates once decoded.
Responses
- 200The upstream answer
Response fields
statusintegerrequiredheadersobjectrequiredbodystringrequiredrequest_idstring (uuid)required
- 400Refusal; error.code and x-request-id identify it
- 401Refusal; error.code and x-request-id identify it
- 403Refusal; error.code and x-request-id identify it
- 409Refusal; error.code and x-request-id identify it
- 502Refusal; error.code and x-request-id identify it
- 503Refusal; error.code and x-request-id identify it
- 504Refusal; error.code and x-request-id identify it
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/blinds/proxy" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
-H "Content-Type: application/json" \
-d '{
"delegate_id": "00000000-0000-4000-8000-000000000000",
"request_id": "00000000-0000-4000-8000-000000000000",
"method": "GET",
"url": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const idempotencyKey = '<a stable key per change>'
const result = await genesis.call('blinds_proxyRequest', {
body: {
delegate_id: '00000000-0000-4000-8000-000000000000',
request_id: '00000000-0000-4000-8000-000000000000',
method: 'GET',
url: 'string',
},
}, {
headers: { 'Idempotency-Key': idempotencyKey }, // one key per change, reused on every retry
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "blinds_proxyRequest",
"arguments": {
"body": {
"delegate_id": "00000000-0000-4000-8000-000000000000",
"request_id": "00000000-0000-4000-8000-000000000000",
"method": "GET",
"url": "string"
},
"idempotency_key": "<a stable key per change>"
}
}
}Settings
Consent policy and notification settings
GET/v1/blinds/settings
Requires blinds:read (or blinds:write). Tenant comes only from the verified Genesis selection. The organization default when nothing was saved.
Responses
- 200Settings
Response fields
consent_policy"never" | "per_variable" | "per_delegate"requireddashboard_notificationsbooleanrequiredemail_notificationsbooleanrequiredslack_notificationsbooleanrequiredupdated_atstring (date-time)required
- 401Refusal; error.code and x-request-id identify it
- 403Refusal; error.code and x-request-id identify it
- 503Refusal; error.code and x-request-id identify it
- 504Refusal; error.code and x-request-id identify it
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/blinds/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('blinds_getSettings'){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "blinds_getSettings",
"arguments": {}
}
}Set the consent policy and notifications
PUT/v1/blinds/settings
Requires blinds:write and a UUID Idempotency-Key. Tenant comes only from the verified Genesis selection. Replaces the settings; omitted notification flags become false.
Parameters
Idempotency-Keyheader · string (uuid)requiredClient UUID for this logical mutation. Reuse it after an uncertain outcome; the gateway never substitutes one.
Request body application/json
consent_policy"never" | "per_variable" | "per_delegate"requiredemail_notificationsbooleandefault
falseslack_notificationsbooleandefault
false
Responses
- 200Settings
Response fields
consent_policy"never" | "per_variable" | "per_delegate"requireddashboard_notificationsbooleanrequiredemail_notificationsbooleanrequiredslack_notificationsbooleanrequiredupdated_atstring (date-time)required
- 400Refusal; error.code and x-request-id identify it
- 401Refusal; error.code and x-request-id identify it
- 403Refusal; error.code and x-request-id identify it
- 409Refusal; error.code and x-request-id identify it
- 503Refusal; error.code and x-request-id identify it
- 504Refusal; error.code and x-request-id identify it
- 4xx 5xxThe error envelope.
curl -X PUT "https://os.one.ml/api/v1/blinds/settings" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
-H "Content-Type: application/json" \
-d '{
"consent_policy": "never"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const idempotencyKey = '<a stable key per change>'
const result = await genesis.call('blinds_updateSettings', {
body: {
consent_policy: 'never',
},
}, {
headers: { 'Idempotency-Key': idempotencyKey }, // one key per change, reused on every retry
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "blinds_updateSettings",
"arguments": {
"body": {
"consent_policy": "never"
},
"idempotency_key": "<a stable key per change>"
}
}
}L1fe AI Inc. · Built from Genesis 0.3.3 and the live gateway on 2026-10-25. Support