Reason Machines Computers API
The Computers API from Reason Machines — 2 operation(s) for computers.
The Computers API from Reason Machines — 2 operation(s) for computers.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/reasonmachines-com:reasonmachines-com-computers-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Reason Computers API
version: 3.0.0
description: 'The Reason HTTP API. Drive cloud software-engineering agents: open sessions against your repositories, stream their work, and manage the secrets, skills, and automations they run with.
Authenticate with a Reason API key sent as a bearer token. New keys use `reason_`; legacy `ara_` keys remain accepted. Every resource is scoped to an organization; resolve your `org_id` once with `GET /v3/self`.'
servers:
- url: https://api.reasonmachines.com
security:
- reasonApiKey: []
tags:
- name: Computers
paths:
/v3/organizations/{orgId}/computers:
parameters:
- $ref: '#/components/parameters/orgId'
get:
operationId: listComputers
x-reason-mcp: false
tags:
- Computers
summary: List workspace computers
description: 'List the cloud and connected computers the caller can see in this workspace. Requires the computers:read scope, which default keys do not carry.
Lists cloud and connected computers visible to the caller in this workspace, using the same personal visibility and sharing rules as Reason''s computer inventory. Requires the explicitly granted computers:read scope, which is excluded from default keys. Includes eligible Reasons'' cloud computers, the caller''s running cloud computers outside a Reason, and eligible connected computers; administrator-only viewable devices are not exposed. Cloud live distinguishes awake from parked; connected state describes availability. This read does not wake machines or grant execution authority. For local execution, devices:read discovers Device targets and devices:use separately authorizes execution on an eligible target.
Scope: `computers:read`'
responses:
'200':
description: The caller's computer inventory.
content:
application/json:
schema:
$ref: '#/components/schemas/ComputersList'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'429':
$ref: '#/components/responses/RateLimited'
security:
- reasonApiKey:
- computers:read
/v3/organizations/{orgId}/reasons/{reasonId}/computers:
parameters:
- $ref: '#/components/parameters/orgId'
- name: reasonId
description: The Reason id, returned as `id` by `listReasons` and `createReason`.
in: path
required: true
schema:
type: string
format: uuid
get:
operationId: listReasonComputers
x-reason-mcp: false
tags:
- Computers
summary: List a Reason's computers
description: 'Lists the computers available to the caller for a Reason, with the same personal visibility, sharing and connected-computer selection rules as the app. Requires the opt-in computers:read scope. Returns 404 when the caller cannot start Sessions under this Reason. In the workspace resource model this includes eligible shared workspace cloud computers. Cloud live distinguishes awake from parked; connected state describes availability. Listing does not grant physical execution permission or wake computers.
Scope: `computers:read`'
responses:
'200':
description: The Reason's computer inventory for the caller.
content:
application/json:
schema:
$ref: '#/components/schemas/ComputersList'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'429':
$ref: '#/components/responses/RateLimited'
security:
- reasonApiKey:
- computers:read
components:
responses:
NotFound:
description: Resource not found.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
error: session_not_found
Unauthorized:
description: Missing, invalid, or expired key.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
error: missing_bearer
message: Authorization required
Forbidden:
description: The key lacks the required scope or role.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
error: missing_scope
required_scope: sessions:read
RateLimited:
description: Too many requests. Retry after the number of seconds in the `Retry-After` response header.
headers:
Retry-After:
description: Seconds to wait before retrying.
schema:
type: integer
minimum: 1
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
error:
type: rate_limited
message: This API key exceeded its request-rate limit
schemas:
Error:
type: object
properties:
error:
oneOf:
- type: string
- type: object
required:
- type
- message
properties:
type:
type: string
message:
type: string
request_id:
type:
- string
- 'null'
message:
type: string
required_scope:
type: string
description: The capability required when the request was denied for a missing scope.
ComputersList:
type: object
properties:
computers:
type: array
items:
type: object
properties:
id:
type: string
name:
type: string
kind:
type: string
enum:
- cloud
- mac
- cli
- worker
reason_id:
type:
- string
- 'null'
size:
oneOf:
- type: string
enum:
- s
- m
- l
- xl
- type: 'null'
os:
type:
- string
- 'null'
state:
type: string
enum:
- ready
- starting
- busy
- offline
live:
type: boolean
unavailable_reason:
oneOf:
- type: string
enum:
- offline
- protocol_unsupported
- worker_update_required
- execution_ineligible
- file_access_only
- revoked
- type: 'null'
this_session:
type: boolean
sessions:
type: array
items:
type: object
properties:
session_id:
type: string
title:
type:
- string
- 'null'
turn_running:
type: boolean
required:
- session_id
- title
- turn_running
additionalProperties: false
rcu_per_hour:
type:
- string
- 'null'
keeps_processes:
type: boolean
previews_resume_on_wake:
type: boolean
keep_awake_until:
type:
- string
- 'null'
move_refusal:
oneOf:
- type: string
enum:
- not_running
- another_sessions_machine
- type: 'null'
yours:
type: boolean
owner:
type:
- string
- 'null'
access:
type: string
enum:
- personal
- team
- machine
is_origin_device:
type: boolean
roots:
type: array
items:
type: object
properties:
id:
type: string
label:
type:
- string
- 'null'
repository:
type:
- string
- 'null'
direct_operations:
type: array
items:
type: string
enum:
- fs.read
- fs.write
- fs.export
- fs.import
- exec.run
- exec.full
- process.run.v1
- process.full.v1
- computer.use
- browser.use
- simulator.call.v1
user_chrome:
type: object
properties:
available:
type: boolean
unavailable_reason:
oneOf:
- type: string
enum:
- machine_worker
- not_your_computer
- not_mac
- not_enabled
- no_profile_connected
- turn_not_owner
- type: 'null'
detail:
type: string
required:
- available
- unavailable_reason
additionalProperties: false
process_limits:
type: object
propertyNames:
type: string
enum:
- process.run.v1
- process.full.v1
additionalProperties:
type: object
properties:
default_timeout_ms:
type: number
const: 600000
max_timeout_ms:
type: integer
minimum: 1000
maximum: 1800000
required:
- default_timeout_ms
- max_timeout_ms
additionalProperties: false
browser_recording:
type: object
properties:
available:
type: boolean
version:
type: number
const: 1
proof_ready:
type: boolean
const: false
pr_proof_guidance:
type: string
const: browser_recording is ordinary capture only; its proof_ready=false does not describe PR proof support. Check browser_pr_proof. For video, first use tools.pr.checkVideoAuth with an advertised browser_profile; use tools.pr.prepareProof for the advertised evidence format. Inventory does not establish authentication or verified evidence.
required:
- available
- version
- proof_ready
additionalProperties: false
browser_pr_proof:
type: object
properties:
available:
type: boolean
version:
anyOf:
- anyOf:
- type: number
const: 2
- type: number
const: 3
- type: 'null'
image:
type: boolean
video:
type: boolean
profiles:
maxItems: 16
type: array
items:
type: string
pattern: ^(Default|Profile [0-9]+)$
required:
- available
- version
- image
- video
- profiles
additionalProperties: false
permissions:
type: object
properties:
read:
type: boolean
write:
type: boolean
execute:
type: boolean
discover_environment:
type: boolean
expose_mcp:
type: boolean
required:
- read
- write
- execute
- discover_environment
- expose_mcp
additionalProperties: false
required:
- id
- label
- repository
- permissions
additionalProperties: false
versions:
type: object
properties:
latest_cli_versions:
type: object
properties:
production:
type: string
staging:
type: string
additionalProperties: false
worker:
type: object
properties:
running_version:
type:
- string
- 'null'
installed_version:
type:
- string
- 'null'
channel:
type:
- string
- 'null'
observed_at:
type:
- string
- 'null'
latest_published_version:
type:
- string
- 'null'
comparison:
type: string
enum:
- unknown
- current
- older
- newer
required:
- running_version
- installed_version
- channel
- observed_at
- latest_published_version
- comparison
additionalProperties: false
desktop:
type:
- object
- 'null'
properties:
running_version:
type:
- string
- 'null'
installed_version:
type:
- string
- 'null'
channel:
type:
- string
- 'null'
observed_at:
type:
- string
- 'null'
latest_published_version:
type:
- string
- 'null'
comparison:
type: string
enum:
- unknown
- current
- older
- newer
architecture:
oneOf:
- type: string
enum:
- arm64
- x64
- type: 'null'
commit:
type:
- string
- 'null'
started_at:
type:
- string
- 'null'
required:
- running_version
- installed_version
- channel
- observed_at
- latest_published_version
- comparison
- architecture
- commit
- started_at
additionalProperties: false
required:
- latest_cli_versions
- worker
- desktop
additionalProperties: false
desktop_available:
type: boolean
screen_lock:
type: string
enum:
- locked
- unlocked
- unknown
load:
type: object
properties:
one_minute:
type: number
cpus:
type: integer
busy:
type: boolean
observed_at:
type: string
required:
- one_minute
- cpus
- busy
- observed_at
additionalProperties: false
required:
- id
- name
- kind
- reason_id
- size
- os
- state
- live
- unavailable_reason
- this_session
- sessions
- rcu_per_hour
- keeps_processes
- previews_resume_on_wake
- keep_awake_until
additionalProperties: false
cloud_sizes:
type: array
items:
type: object
properties:
size:
type: string
enum:
- s
- m
- l
- xl
memory_mb:
type: number
vcpus:
type:
- number
- 'null'
rcu_per_hour:
type:
- string
- 'null'
required:
- size
- memory_mb
- vcpus
- rcu_per_hour
additionalProperties: false
default_cloud_size:
type: string
enum:
- s
- m
- l
- xl
view_only_count:
type: integer
minimum: 0
desktop_origin:
type: object
properties:
status:
type: string
enum:
- missing
- unavailable
- unauthorized
- available
device_id:
type:
- string
- 'null'
unavailable_reason:
type:
- string
- 'null'
required:
- status
- device_id
- unavailable_reason
additionalProperties: false
machine_selection:
type:
- object
- 'null'
properties:
source:
type: string
const: user
target:
oneOf:
- type: object
properties:
kind:
type: string
const: cloud
required:
- kind
additionalProperties: false
- type: object
properties:
kind:
type: string
const: machine
id:
type: string
format: uuid
pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
name:
type: string
minLength: 1
maxLength: 63
required:
- kind
additionalProperties: false
- type: object
properties:
kind:
type: string
const: mac
device_id:
type: string
format: uuid
pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
root_id:
type: string
format: uuid
pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
cwd:
type: string
maxLength: 4096
isolation:
type: string
enum:
- worktree
- in_place
required:
- kind
- device_id
additionalProperties: false
- type: object
properties:
kind:
type: string
const: headless
device_id:
type: string
format: uuid
pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
root_id:
type: string
format: uuid
pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
cwd:
type: string
maxLength: 4096
isolation:
type: string
enum:
- worktree
- in_place
workspace_mode:
type: string
enum:
- managed
- project_root
workspace_path:
type: string
maxLength: 4096
required:
- kind
- device_id
additionalProperties: false
required:
- source
- target
additionalProperties: false
required:
- computers
- cloud_sizes
- default_cloud_size
additionalProperties: false
description: Computers visible to the caller, with available cloud sizes. kind is cloud, mac, cli or worker. A cloud computer's state is ready when booted or parked, starting while it boots or recovers, and busy while it resizes; live=true means booted and awake, live=false means parked, starting or not yet booted. For connected computers, state=ready means available and state=offline means unavailable; live is always false. reason_id identifies a cloud computer's Reason; size is null for connected computers. Connected computers may include owner and yours. Session titles are included only for the caller's own Sessions. Listing never grants execution access or wakes a computer.
parameters:
orgId:
name: orgId
in: path
required: true
description: Organization id or slug. Resolve it with `GET /v3/self`.
schema:
type: string
securitySchemes:
loopWebhookKey:
type: http
scheme: bearer
description: A Loop's webhook key, returned once by the createReasonLoop or updateReasonLoop call that adds the webhook. It only delivers events to that Loop's webhook; every other operation rejects it.
loopWebhookSignature:
type: apiKey
in: header
name: X-Signature-256
description: 'An HMAC-SHA256 of the exact request body keyed with the Loop''s webhook key or its stored signing secret: hex in `X-Signature-256` (optionally `sha256=`-prefixed), or the sender''s own header (`X-Hub-Signature-256`, `Stripe-Signature`, `Webhook-Signature`, `Svix-Signature`, `Linear-Signature`, `Sentry-Hook-Signature`, `X-Shopify-Hmac-Sha256`).'
reasonMachineToken:
type: http
scheme: bearer
bearerFormat: rmt_<hex>
description: A Machine token from createMachineToken. It can only create enrollment tickets for its own Machine; every other operation rejects it.
reasonUserOAuth:
type: http
scheme: bearer
description: A workspace-bound human user OAuth grant with org:write scope. The user must be an organization owner/admin. API keys and browser sessions are not accepted.
reasonApiKey:
type: http
scheme: bearer
bearerFormat: 'reason_<hex> (legacy: ara_<hex>)'
description: 'Your Reason API key from Settings › API keys. New keys use `reason_`; legacy `ara_` keys remain accepted. Keys are capability-scoped: run, mcp:read, mcp:write, secrets:read, secrets:write, sessions:read, sessions:debug, devices:read, devices:write, devices:use, computers:read, computers:write, ssh:write, knowledge:read, memory:read, memory:write, skills:read, skills:write, pages:read, pages:write, repos:read, repos:write, reviews:read, reviews:write, deployment:read, analytics:read, org:read, org:write, attachments:read, attachments:write, guardrails:read, guardrails:write, network:read, network:write, automations:read, automations:write, agent_auth:read. devices:write, devices:use, computers:read, computers:write, ssh:write, network:read and network:write are opt-in, excluded from default keys. computers:read lists visible cloud and connected computers without waking them or granting execution access. devices:read discovers local Device targets; devices:use separately consents to local execution, so a discover-and-run local workflow needs both. devices:write manages enrollment and device grants; computers:write creates or deletes cloud computers; ssh:write manages retained SSH access. network:read reads the saved workspace network policy; network:write replaces custom allowed hosts and requires a current organization owner/admin. Legacy project PATCH requests containing network_allowed_hosts also require network:write plus their existing run scope and project management permission; saved project hosts do not affect current session egress. Only owners/admins can mint or manage keys with network:write; keys cannot grant themselves more authority. See /docs/network-policies for replacement semantics and runtime applicability. mcp:write manages MCP server configuration only; it does not authorize remote MCP-tool execution. sessions:read reads sessions, including the assistant, reasoning and tool activity in their events. sessions:debug is privileged: only for organization owners/admins, it expands session events to the full diagnostic projection (diagnostic event kinds, status text and raw event metadata).'