Omnara Machines API
The machines API from Omnara — 2 operation(s) for machines.
The machines API from Omnara — 2 operation(s) for machines.
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/omnara-com:omnara-com-machines-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: Omnara Machines API
description: UNSTABLE -- This API is under active development. Endpoints, request/response shapes, and authentication requirements may change without notice. Do not build production integrations against these endpoints without contacting the Omnara team first.
version: 0.1.0-unstable
tags:
- name: Machines
paths:
/api/v1/machines/register:
post:
tags:
- Machines
summary: Register Machine
description: 'Register a new daemon machine or re-register an existing one.
Creates the machine record if it does not already exist. Returns a
short-lived machine token that the daemon uses to authenticate its
WebSocket connection.'
operationId: register_machine_api_v1_machines_register_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/MachineRegisterRequest'
required: true
responses:
'201':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/MachineRegisterResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
x-stability: unstable
/api/v1/machines:
get:
tags:
- Machines
summary: List Machines
description: List all machines registered by the authenticated user, ordered by most recently updated.
operationId: list_machines_api_v1_machines_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/MachineListResponse'
security:
- HTTPBearer: []
x-stability: unstable
components:
schemas:
MachineDescriptor:
properties:
id:
type: string
title: Id
description: Unique machine identifier
name:
type: string
title: Name
description: Friendly name unique per user
hostname:
anyOf:
- type: string
- type: 'null'
title: Hostname
description: OS hostname of the machine
platform:
anyOf:
- type: string
- type: 'null'
title: Platform
description: Operating system platform (e.g. linux, darwin)
architecture:
anyOf:
- type: string
- type: 'null'
title: Architecture
description: CPU architecture (e.g. x86_64, arm64)
daemon_version:
anyOf:
- type: string
- type: 'null'
title: Daemon Version
description: Semantic version of the running daemon
status:
type: string
title: Status
description: Current machine status (online, offline, etc.)
last_seen_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Last Seen At
description: Timestamp of the last heartbeat from this machine
created_at:
type: string
format: date-time
title: Created At
description: Timestamp when the machine was first registered
updated_at:
type: string
format: date-time
title: Updated At
description: Timestamp of the most recent update
metadata:
anyOf:
- additionalProperties: true
type: object
- type: 'null'
title: Metadata
description: Arbitrary key-value metadata about the machine
type: object
required:
- id
- name
- status
- created_at
- updated_at
title: MachineDescriptor
description: Serialized machine entity returned to API clients.
MachineRegisterRequest:
properties:
machine_id:
anyOf:
- type: string
- type: 'null'
title: Machine Id
description: Existing machine identifier when re-registering
machine_name:
type: string
title: Machine Name
description: Friendly name unique per user
hostname:
type: string
title: Hostname
description: OS hostname of the machine
platform:
type: string
title: Platform
description: Operating system platform (e.g. linux, darwin)
architecture:
type: string
title: Architecture
description: CPU architecture (e.g. x86_64, arm64)
daemon_version:
type: string
title: Daemon Version
description: Semantic version of the running daemon
directories:
items:
type: string
type: array
title: Directories
description: Absolute paths reported by the daemon
metadata:
anyOf:
- additionalProperties: true
type: object
- type: 'null'
title: Metadata
description: Arbitrary key-value metadata about the machine
type: object
required:
- machine_name
- hostname
- platform
- architecture
- daemon_version
title: MachineRegisterRequest
description: Request to register or re-register a daemon machine.
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
MachineRegisterResponse:
properties:
machine:
$ref: '#/components/schemas/MachineDescriptor'
description: Registered machine descriptor
machine_token:
type: string
title: Machine Token
description: Short-lived JWT token for machine WebSocket authentication
machine_token_expires_in:
type: integer
title: Machine Token Expires In
description: Seconds until the machine token expires
machine_ws_path:
type: string
title: Machine Ws Path
description: WebSocket path the daemon should connect to
type: object
required:
- machine
- machine_token
- machine_token_expires_in
- machine_ws_path
title: MachineRegisterResponse
description: Response after a successful machine registration.
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
type: object
required:
- loc
- msg
- type
title: ValidationError
MachineListResponse:
properties:
machines:
items:
$ref: '#/components/schemas/MachineDescriptor'
type: array
title: Machines
description: List of machines ordered by most recently updated
type: object
required:
- machines
title: MachineListResponse
description: Response containing all machines for the authenticated user.
securitySchemes:
HTTPBearer:
type: http
scheme: bearer
x-stability: unstable