# Ornn > Ornn: The Omnicloud for AI Workloads Ornn is an omnicloud for high-performance GPU compute. Reserve capacity, manage your reservations, and connect via VM, Bare Metal, Kubernetes, or Slurm. - [Introduction](https://docs.ornn.com/introduction.md) - [Get started with Ornn](https://docs.ornn.com/quickstart.md) - [Sign in to your Ornn account](https://docs.ornn.com/authentication.md) - [Call the Ornn API with an API key](https://docs.ornn.com/api-keys.md): Create, use, rotate, and revoke organization API keys for the Ornn REST API and CLI. - [Ornn CLI](https://docs.ornn.com/cli.md): Install the ornn command, sign in, and run every customer command, with the REST request for each. - [MCP Server](https://docs.ornn.com/mcp-server.md) - [Changelog](https://docs.ornn.com/changelog.md) - [Reserve GPU capacity on Ornn](https://docs.ornn.com/guides/reserving-compute.md) - [Buy relisted capacity in the Market](https://docs.ornn.com/guides/secondary-market.md) - [Rent GPUs by the hour: Spot and On-demand](https://docs.ornn.com/guides/pay-as-you-go.md) - [Relist capacity you hold](https://docs.ornn.com/guides/resale.md) - [Supply short-term capacity](https://docs.ornn.com/supplier/short-term-capacity.md) - [Supply long-term capacity](https://docs.ornn.com/supplier/long-term-capacity.md) - [Use the supplier API](https://docs.ornn.com/supplier/api.md) - [Choose how to access your Ornn compute](https://docs.ornn.com/guides/access-overview.md) - [Connect to your GPU reservation via VM](https://docs.ornn.com/guides/vm-access.md) - [Direct Bare Metal access to GPU hardware](https://docs.ornn.com/guides/bare-metal-access.md) - [Provision and connect to managed Kubernetes](https://docs.ornn.com/guides/kubernetes-access.md) - [Automate managed Kubernetes with the Ornn API](https://docs.ornn.com/guides/kubernetes-api.md): Provision, scale, and tear down GPU Kubernetes clusters with an API key, then run GPU workloads through the Kubernetes API. - [Connect to a managed Slurm cluster](https://docs.ornn.com/guides/slurm-access.md) - [Manage SSH keys for compute access](https://docs.ornn.com/guides/ssh-keys.md) - [Use Cloud Shell in the console](https://docs.ornn.com/guides/cloud-shell.md) - [Use the Agent in the console](https://docs.ornn.com/guides/console-agent.md) - [Pull a GitHub repository into a volume](https://docs.ornn.com/guides/github-repositories.md) - [Storage pricing](https://docs.ornn.com/guides/storage-pricing.md) - [Manage your GPU reservations in Nodes](https://docs.ornn.com/guides/portfolio-overview.md) - [Billing, payment, and GPU usage on Ornn](https://docs.ornn.com/guides/usage-and-billing.md) - [Update your profile and account preferences](https://docs.ornn.com/guides/account-settings.md) - [Manage your Ornn organization and team](https://docs.ornn.com/guides/team-management.md) - [Configure your Ornn notification preferences](https://docs.ornn.com/guides/notifications.md) - [Integrate with the Ornn REST API](https://docs.ornn.com/api-reference/overview.md): Authenticate, follow shared request conventions, and handle errors, pagination, rate limits, and retries. - [Check API authentication](https://docs.ornn.com/api-reference/session.md): Returns the caller and organizations visible to the credential. An API key is its own caller, sees exactly its own organization, and has no staff privileges. - [List reservations](https://docs.ornn.com/api-reference/reservations/list.md): Lists reservations visible to your organization, including its held reservations and sales against listings it supplies. Visibility of a sale does not grant the supplier the buyer's cluster-launch rights. Follow nextCursor until absent. This endpoint does not purchase capacity. - [Get a reservation](https://docs.ornn.com/api-reference/reservations/get.md): Returns one reservation visible to your organization. A reservation is not a cluster; launching a cluster is a separate operation. - [List reserved nodes](https://docs.ornn.com/api-reference/nodes/list.md): Returns up to 5,000 nodes belonging to an owned reservation. The customer response has no cursor; limit and cursor do not paginate this reservation-scoped read. A listed node is not necessarily ready to join a cluster. Check health_readiness for heartbeat-based launch blockers; ready true with heart… - [Choose a VM disk](https://docs.ornn.com/api-reference/virtual-machines/set-image.md): Saves the disk Ornn boots when it creates this reservation's VMs. Saving a disk does not launch anything. You can change the choice until the reservation is activated; after activation the disk is locked. Send null to clear the choice, in which case activation uses your organization's newest disk, o… - [Activate a reservation](https://docs.ornn.com/api-reference/virtual-machines/activate.md): Requests machines for a VM or Bare Metal reservation during its reserved window. Ornn also activates reservations automatically when their window starts, so you only need this call to start sooner within the window or to retry a pending activation. A VM reservation gets one VM per reserved node, boo… - [Launch VM or Bare Metal access](https://docs.ornn.com/api-reference/virtual-machines/launch.md): Starts SSH access on an owned VM or Bare Metal reservation. If the reservation already has machines (for example after activation), launch sends the selected SSH keys to them and returns 202 with the current nodes. Otherwise launch selects nodes for the reservation, starts provisioning, and returns… - [List a reservation's VMs](https://docs.ornn.com/api-reference/virtual-machines/list.md): Returns the reservation's VMs, oldest first, with their status, latest operation, grouped launch progress, and SSH details. Deleted VMs are omitted. ip and port appear while a VM is provisioning or running; tenant_username and ready_at appear only when it is running. Connect when status is running,… - [Reboot a VM](https://docs.ornn.com/api-reference/virtual-machines/reboot.md): Restarts one running VM in place. Its disk, GPUs, SSH port, and network are kept, and other VMs on the node are not affected. mode reboot (the default) asks the VM's operating system to restart and resets the VM if it has not come back within about 90 seconds. mode reset power-cycles the VM at once;… - [Reimage a VM](https://docs.ornn.com/api-reference/virtual-machines/reimage.md): Rebuilds one VM from a disk you choose, on the same node and reservation. Everything on the VM's current disk is erased. The VM keeps its id, hostname, GPUs, and size. Any member of the reservation's organization can reimage. The VM must be running, or its last start must have failed. A VM on a priv… - [List a VM's ports](https://docs.ornn.com/api-reference/virtual-machines/list-ports.md): Lists the TCP and UDP ports opened on one VM, ordered by public port and then protocol. While the reservation is public, each open port forwards public_port on the host's public IP to guest_port in the VM over its protocol. While it is private, nothing is published on the host and every port is reac… - [Open a VM port](https://docs.ornn.com/api-reference/virtual-machines/open-port.md): Opens one TCP or UDP port on a running VM. protocol defaults to tcp. public_port defaults to guest_port and must be in 1024-21999 or 23000-29999; ports the host itself serves are refused. A public port belongs to one VM per host and protocol, so a TCP port and a UDP port can share a number. A VM ope… - [Close a VM port](https://docs.ornn.com/api-reference/virtual-machines/close-port.md): Closes one port on a running VM and frees its public port number on the host. A 202 response is acceptance; the host stops forwarding the port shortly after. - [Get a reserved node](https://docs.ornn.com/api-reference/bare-metal/get-node.md): Returns one host node of an owned reservation with its SSH details, SSH key delivery, heartbeat readiness, and latest reboot. For Bare Metal, connect with ssh_endpoint and port once health_readiness.ready is true and your key's fingerprint is in authorized_key_fingerprints. ready true with heartbeat… - [Reboot or hard reset a Bare Metal host](https://docs.ornn.com/api-reference/bare-metal/reboot.md): Reboots a Bare Metal host. A reboot keeps your Linux user, home directory, SSH keys, and attached volumes. hard_reset wipes tenant data on the host (Linux user, home directory, authorized keys, and temporary files) and then reboots; Ornn restores the reservation's SSH keys afterward, so the reservat… - [Switch access mode or network](https://docs.ornn.com/api-reference/virtual-machines/switch-access.md): Re-provisions access on the reservation's nodes with a new access mode, network mode, or both. Omitted fields keep the reservation's defaults. Switching between VM and Bare Metal tears down the existing environment and destroys data stored on the machine; copy it off first. Changing only the network… - [Stop VMs or a reservation](https://docs.ornn.com/api-reference/virtual-machines/stop.md): Send no body to end the whole reservation and release its machines. For ready hourly VM reservations (Spot or On-demand), send virtualMachineIds with distinct running VM IDs to stop only those VMs; other VMs keep running and billing. Selected VMs stop GPU billing when the request is accepted, with u… - [List disks](https://docs.ornn.com/api-reference/disks/list.md): Returns your organization's disks and shared Ornn disks, newest first. Includes created disks that are unbuilt, building, or failed; pending uploads without bytes are omitted. Use Get a disk with the upload ID to inspect a pending upload. Any organization member can read disks. This list is limited… - [Get a disk](https://docs.ornn.com/api-reference/disks/get.md): Reads one of your organization's disks or a shared Ornn disk, including a pending upload whose ID you kept from upload start. Another organization's disk is not found. A nonempty sha256 confirms the boot disk bytes are ready; uploaded disks keep build_status null. Requires organization membership. - [Create a disk](https://docs.ornn.com/api-reference/disks/create.md): Creates a reusable boot disk from a base image and optional software choices. Read List base images and List disk software first; match the software to the image's os_release. This returns an unbuilt disk without starting a VM or building its bytes. The first VM launch using it builds the disk; a la… - [Start a disk upload](https://docs.ornn.com/api-reference/disks/upload-start.md): Starts an upload or reissues a transfer target for an uploaded disk. Omit disk_id and send display_name for a new pending upload; save the returned id. For a retry or replacement, send that id as disk_id. Disks created from base images cannot be replaced through uploads. For signed_put, send raw qco… - [Upload disk bytes](https://docs.ornn.com/api-reference/disks/upload-bytes.md): Transfers base64-encoded qcow2 bytes only when Start a disk upload returned upload_mode local_proxy. Use the returned id and normal API authentication. This stages bytes; call Complete a disk upload to validate and publish the disk. A signed_put target instead takes raw bytes at its upload_url. The… - [Complete a disk upload](https://docs.ornn.com/api-reference/disks/upload-complete.md): After the transfer succeeds, validates the qcow2 header and 64 GiB file-size limit, records its SHA-256 and size, and publishes the disk. An invalid replacement does not overwrite the previous valid disk. With no newly staged bytes, completion checks the existing uploaded disk bytes, so retry with t… - [Import a disk from a URL](https://docs.ornn.com/api-reference/disks/import.md): Fetches a qcow2 file from a public HTTP or HTTPS URL and returns the completed disk. The URL must serve the file directly: redirects, URL credentials, and private addresses are refused. Maximum file size is 64 GiB. Uploaded and imported disks must include cloud-init and a running qemu-guest-agent se… - [Delete a disk](https://docs.ornn.com/api-reference/disks/delete.md): Permanently removes an unused boot disk owned by your organization and its stored bytes. Shared Ornn disks cannot be deleted by customers. Returns 409 disk_in_use while any VM that has not been deleted references the disk; stop the VM and wait for cleanup first. Also use this operation to discard an… - [List base images](https://docs.ornn.com/api-reference/disks/list-images.md): Returns ready base images, newest first, for Create a disk. Match each image's os_release against List disk software before choosing software. A base image is a build input; launch VMs with a disk ID, not an image ID. Requires organization membership. - [List disk software](https://docs.ornn.com/api-reference/disks/list-software.md): Returns Python versions and display-to-slug maps for packages, CUDA, NVIDIA drivers, and DCGM. Send slugs in Create a disk. os_releases maps each base-image OS release to its supported slugs by kind; an absent release supports none of the version choices. Python packages are not OS-restricted. Requi… - [Create a cluster](https://docs.ornn.com/api-reference/clusters/create.md): Launches a Kubernetes or Slurm cluster on capacity your organization already holds; it does not purchase GPUs. List Bare Metal hosts in node_ids and VM workers in virtual_machine_ids. Each host must be in bare-metal status, not in another cluster, and on an active reservation your organization owns;… - [List clusters and workers](https://docs.ornn.com/api-reference/clusters/list.md): Returns up to 500 of your organization's newest Kubernetes and Slurm clusters, each with its workers. A cluster leaves this list when its teardown finishes. There is no cursor and no customer GET-by-ID route. Select one cluster by controller.id. Your organization can run any number of clusters, one… - [Get cluster access](https://docs.ornn.com/api-reference/clusters/access.md): Returns the issued access for an owned cluster. A Kubernetes cluster returns a kubeconfig, its API server endpoint, and the namespace Ornn configured for your workloads. A Slurm cluster returns its SSH login details. While a launch is still running, 404 kubernetes_credentials_not_ready or slurm_cred… - [Tear down a cluster](https://docs.ornn.com/api-reference/clusters/teardown.md): Stops a launch in progress or tears down a cluster. Ornn deletes the cluster's workloads, revokes its access, and sends cleanup to every worker. The cluster stays in state deleting, with teardown stages in progress, while Ornn waits up to five minutes for workers to confirm cleanup; then its record… - [Add a physical worker](https://docs.ornn.com/api-reference/clusters/add-node.md): Adds one host to an owned cluster that is not failed or being torn down. The host must be in bare-metal status, not in another cluster, and on an active reservation your organization owns; it can come from a different reservation than the one the cluster launched on. A host in VM access mode or serv… - [Remove a physical worker](https://docs.ornn.com/api-reference/clusters/remove-node.md): Starts removing a host from an owned cluster. Workloads on that host stop, and its local data can be lost. The 200 response with state draining means cleanup was sent, not finished. Poll listClusters - the host leaves the cluster's nodes after it confirms cleanup. A member left in state cleanup_fail… - [Add a VM worker](https://docs.ornn.com/api-reference/clusters/add-vm.md): Adds an existing VM to an owned cluster that is not failed or being torn down. The VM must be on a reservation your organization owns, must not be deleted, destroyed, or offline, and must not already be in another cluster. A VM and its host cannot both be cluster workers. The 202 response accepts th… - [Remove a VM worker](https://docs.ornn.com/api-reference/clusters/remove-vm.md): Starts removing a VM worker from an owned cluster. Workloads on it stop, and its local data can be lost. The 200 response with state draining means cleanup was sent, not finished. Poll the cluster's nodes in listClusters by virtual_machine_id to follow removal. The entry disappears once the VM confi… - [List organization SSH keys](https://docs.ornn.com/api-reference/ssh-keys/list.md): Lists SSH public keys registered to your organization, newest first. Use the organization ID returned by GET /v1/auth/session; an API key can read only its own organization. Pass status, limit, or cursor to page through keys (default page size 25, at most 500). Without any of these parameters the re… - [Add an organization SSH key](https://docs.ornn.com/api-reference/ssh-keys/create.md): Registers one SSH public key for your organization. Adding a key does not install it on any machine; assign it to a reservation or include it in a launch. If the organization already has an active key with the same fingerprint, the existing key is returned with outcome already_registered and your la… - [Revoke an organization SSH key](https://docs.ornn.com/api-reference/ssh-keys/revoke.md): Revokes one organization SSH key immediately. Ornn then makes a best-effort attempt, for up to 30 seconds before responding, to remove the key from your organization's VM and Bare Metal reservations and to queue the remaining keys for their machines. Removal takes effect when each machine applies th… - [List a reservation's SSH keys](https://docs.ornn.com/api-reference/ssh-keys/reservation-list.md): Returns the SSH keys associated with this reservation. Active assigned keys take precedence. When none are assigned, the list contains active organization keys recorded as installed on at least one machine in the reservation. This list is not the default launch and sync set; those operations still d… - [Assign an SSH key to a reservation](https://docs.ornn.com/api-reference/ssh-keys/reservation-assign.md): Assigns one key to a VM or Bare Metal reservation and queues the reservation's key set for its active machines. Send either the ID of an active organization key or a new public key; a new key is registered to your organization first. The first assignment replaces the default of every organization ke… - [Unassign an SSH key from a reservation](https://docs.ornn.com/api-reference/ssh-keys/reservation-unassign.md): Removes the key from the reservation's saved list, regardless of who assigned it, and queues the remaining key set for its active machines. Removing the last key leaves no customer SSH access. Retrying also queues the saved set if the assignment is already absent. To stop a key from working everywhe… - [Push SSH keys to a machine](https://docs.ornn.com/api-reference/ssh-keys/push.md): Assigns the listed organization keys to the machine's reservation if needed, then queues the reservation's full key set for this machine. Pass the host node ID, which is a Bare Metal node's node_id or a VM's node_id from the reservation VM list (not the VM's own id). Ornn updates that host and the r… - [List volumes](https://docs.ornn.com/api-reference/storage/list.md): Lists one page of the volumes in the API key's organization, whichever member created them, most recently updated first. Follow next_cursor with the same filters until it is null. A cursor is tied to its filters; change a filter and start again from the first page. With reservation_id, the endpoint… - [Create a volume](https://docs.ornn.com/api-reference/storage/create.md): Creates an empty volume, or duplicates a volume of your organization when source_drive_id is set. A duplicate copies files in the background; its size is reported when the copy finishes. Creating a volume does not attach it to compute. Creating an Ornn bucket requires a saved payment card for your o… - [Get a volume](https://docs.ornn.com/api-reference/storage/get.md): Returns a volume of your organization with its size, recent files, repository pulls, and active mounts. Set refresh=true to re-measure the volume's size from its stored files before returning it. - [Attach or detach a volume](https://docs.ornn.com/api-reference/storage/attach.md): Attaches the volume to an owned reservation with deployed true, or detaches it with attached false. Ornn mounts an attached volume on every machine in the reservation; there is no per-machine selection. Every machine in the reservation must be online. A reservation holds one volume at a time, and a… - [Delete a volume](https://docs.ornn.com/api-reference/storage/delete.md): Permanently deletes the volume and every file in it. This cannot be undone. A volume attached to a reservation returns 409 unless detach=true, which detaches it and deletes it in the background (202). Deletion is refused while a repository sync, upload, or file deletion is in progress. - [List volume files](https://docs.ornn.com/api-reference/storage/files/list.md): Lists one folder level of the volume, folders first, 200 entries per page. Set recursive=true or search to list matching files at any depth instead. Pass next_cursor unchanged with the same path and search to read the next page. - [Upload a small file](https://docs.ornn.com/api-reference/storage/files/upload.md): Writes the request body to this path, replacing any existing file. The API gateway rejects bodies larger than 32 MiB; use a staged upload for larger files. Refused while the volume is mounted on a machine. - [Start a staged upload](https://docs.ornn.com/api-reference/storage/files/upload-start.md): Reserves an upload of one file and returns a short-lived URL. Send the bytes to upload_url with the returned method and headers, then complete the upload. The session expires after about 15 minutes. Send an Idempotency-Key header to retry safely; a retry with the same key and unchanged input returns… - [Complete a staged upload](https://docs.ornn.com/api-reference/storage/files/upload-complete.md): Moves the uploaded bytes into the volume at the reserved path, replacing any existing file there. Safe to repeat; a completed upload returns state complete again. The request needs a JSON body; send `{}`. - [Cancel a staged upload](https://docs.ornn.com/api-reference/storage/files/upload-cancel.md): Cancels an incomplete upload and discards any uploaded bytes. A completed upload is not undone; the response reports state complete. - [Download a file](https://docs.ornn.com/api-reference/storage/files/download.md): Downloads one file from the volume as an attachment. - [Download a volume as a ZIP archive](https://docs.ornn.com/api-reference/storage/files/archive.md): Streams the volume's files as a ZIP archive. Large volumes can exceed the archive limit; download individual files instead. - [Delete a file](https://docs.ornn.com/api-reference/storage/files/delete.md): Permanently deletes one file. Refused while the volume is mounted on a machine. - [Delete a folder](https://docs.ornn.com/api-reference/storage/files/delete-folder.md): Permanently deletes a folder and every file below it. Refused while the volume is mounted on a machine. - [Delete all volume files](https://docs.ornn.com/api-reference/storage/files/clear.md): Permanently deletes every file and folder in the volume and keeps the empty volume. Refused while the volume is mounted on a machine; detach it first. - [List GitHub connections](https://docs.ornn.com/api-reference/storage/github/connections.md): Lists the caller's connected GitHub accounts. A connection belongs to the member who connected it, so an API key's list is empty. Connect GitHub in Account settings in the console. - [List GitHub repositories](https://docs.ornn.com/api-reference/storage/github/repositories.md): Lists every repository the connected installation lets Ornn read. Requires the member who owns the connection; API keys cannot use that member's connection. Browse repositories in the console. - [List repository branches](https://docs.ornn.com/api-reference/storage/github/branches.md): Lists one page of up to 100 branches. Request the next page while has_more is true. Requires the member who owns the connection; API keys cannot use that member's connection. Browse branches in the console. - [Pull a repository into a volume](https://docs.ornn.com/api-reference/storage/github/pull.md): Queues a pull of one branch into a new folder on the volume and returns the volume. The pull runs in the background. Poll Get a volume and read source.github_repositories for the folder until sync.state is ready or failed. The folder must not already contain files. A volume runs one pull or sync at… - [Sync a repository](https://docs.ornn.com/api-reference/storage/github/sync.md): Queues a pull of the latest commit of the folder's branch into the same folder and returns the volume. A sync can replace or delete repository files while the volume is mounted. Poll Get a volume until the folder's sync.state is ready or failed. An API key with read and write access can sync an exis… - [Disconnect a GitHub account](https://docs.ornn.com/api-reference/storage/github/disconnect.md): Removes the GitHub account from Ornn. The app stays installed on GitHub. Files already pulled stay in their volumes, but repositories pulled through this connection can no longer sync. Only the member who connected the account can disconnect it; API keys cannot use that member's connection. - [Private networks and WireGuard](https://docs.ornn.com/api-reference/networks/overview.md): Create organization networks and register WireGuard configs over HTTPS. - [List private networks](https://docs.ornn.com/api-reference/networks/list.md): Lists the organization's private networks, oldest first. Deleted networks are omitted. - [Create a private network](https://docs.ornn.com/api-reference/networks/create.md): Creates a named organization network and starts provisioning its gateway. The network is usable when status is active; poll Get a private network. Omit cidr to have Ornn choose a free /16 range. Names are unique within the organization, ignoring case. This request is not idempotent; after a timeout,… - [Get a private network](https://docs.ornn.com/api-reference/networks/get.md): Returns one network. Poll this after creation until status is active, or after deletion until it returns 404. compartments lists the provisioning or teardown steps and their status. - [Rename a private network](https://docs.ornn.com/api-reference/networks/rename.md): Changes the network's name. The CIDR range cannot change. - [Delete a private network](https://docs.ornn.com/api-reference/networks/delete.md): Deletes a network that has no connected peers and tears down its gateway in the background. Remove WireGuard configs and stop machines and clusters using the network first. Poll Get a private network until it returns 404. - [List default-network WireGuard configs](https://docs.ornn.com/api-reference/networks/wireguard/default-list.md): Lists the WireGuard configs registered with this API key on the organization's default private network, with a ready-to-fill config for each. Each API key owns its own configs. - [Add a default-network WireGuard config](https://docs.ornn.com/api-reference/networks/wireguard/default-create.md): Registers your WireGuard public key on the organization's default private network and returns a config with a placeholder for your private key. Generate the key pair locally and never send the private key. The config belongs to this API key. Retrying with the same API key and public key returns the… - [Remove a default-network WireGuard config](https://docs.ornn.com/api-reference/networks/wireguard/default-delete.md): Revokes a WireGuard config registered with this API key on the default network. Private access through it ends. - [List network WireGuard configs](https://docs.ornn.com/api-reference/networks/wireguard/list.md): Lists the WireGuard configs registered with this API key on a network in its organization. Each API key owns its own configs. - [Add a network WireGuard config](https://docs.ornn.com/api-reference/networks/wireguard/create.md): Registers your WireGuard public key on a network in your organization and returns a config with a placeholder for your private key. The network must be active. The config belongs to this API key. Retrying with the same API key and public key returns the existing config. - [Remove a network WireGuard config](https://docs.ornn.com/api-reference/networks/wireguard/delete.md): Revokes a WireGuard config registered with this API key on a network in its organization. Private access through it ends. - [Read machine metrics and console logs](https://docs.ornn.com/api-reference/monitoring/overview.md): Read GPU and system telemetry and kernel or serial console logs for capacity you hold. - [Get latest node telemetry](https://docs.ornn.com/api-reference/monitoring/node-telemetry-latest.md): Returns the newest telemetry samples for a physical node in one of your reservations, newest first. Samples outside your reservation window are omitted, so an empty array means no sample in your window. Check observed_at for staleness; a stored sample is not proof the machine is reachable now. - [Query node telemetry history](https://docs.ornn.com/api-reference/monitoring/node-telemetry-query.md): Returns metric windows for a physical node over a time range, clamped to your reservation window. Ornn returns at most max_points windows per metric, with the aggregation width in resolution_ms. Set gpu_uuid to read one GPU's history over at most 24 hours. - [Get latest VM telemetry](https://docs.ornn.com/api-reference/monitoring/vm-telemetry-latest.md): Returns the newest telemetry samples for a VM in one of your reservations, newest first, limited to your reservation window. - [Query VM telemetry history](https://docs.ornn.com/api-reference/monitoring/vm-telemetry-query.md): Returns metric windows for a VM over a time range, clamped to your reservation window. Per-GPU history is not available for VMs. - [Get latest telemetry for many machines](https://docs.ornn.com/api-reference/monitoring/telemetry-batch.md): Returns the most recent telemetry sample for up to 5,000 node and VM IDs combined. A machine with no sample inside your reservation window is omitted. If any ID is not visible to your organization, the whole request returns 404; split requests by reservation to isolate failures. Send large ID sets i… - [Query node console logs](https://docs.ornn.com/api-reference/monitoring/node-logs.md): Returns stored kernel or serial console lines for a physical node, clamped to your reservation window. Pages are newest first by default. Keep start and end fixed and pass next_cursor to read further back. - [Query VM console logs](https://docs.ornn.com/api-reference/monitoring/vm-logs.md): Returns stored kernel or serial console lines for a VM, clamped to your reservation window. Pages are newest first by default. - [List capacity listings](https://docs.ornn.com/api-reference/reserve/list-listings.md): Lists capacity listings visible to your organization, newest-created first by default: available, unexpired listings (Reserve listings only when your organization is approved), listings your organization owns such as its relists, and listings it holds a reservation on. Returns hardware, size, and av… - [Get a capacity listing](https://docs.ornn.com/api-reference/reserve/get-listing.md): Returns one listing's hardware, size, and availability. A listing that is not available, has expired, or is a Reserve listing while your organization is not approved returns 404, unless your organization owns it or holds a reservation on it. - [List a listing's terms](https://docs.ornn.com/api-reference/reserve/list-terms.md): Returns the listing's financial terms: duration bounds, price, down payment, and renewal. Visibility matches getListing. On relisted capacity these prices are the seller's asking price before fees; Market buyers pay the price in the tradable listing's terms. - [Post a Reserve offer](https://docs.ornn.com/api-reference/reserve/post-offer.md): Offers a price for a whole Reserve listing: every node, starting at the later of the listing's start and now, for the chosen duration. The listing owner accepts or declines. Your organization must be approved. - [List offers](https://docs.ornn.com/api-reference/reserve/list-my-offers.md): With listingId, the offers on one Reserve listing, in every status: every offer if your organization is approved or owns the listing, otherwise only yours. Without it, the 200 most recent offers your organization posted and the offers on listings it owns. Offers never identify the organization that… - [Cancel an offer](https://docs.ornn.com/api-reference/reserve/cancel-offer.md): Cancels an open offer. The organization that posted it can withdraw it, and the listing owner can decline it. Cancelling an offer that is no longer open returns its current state. - [Accept an offer on your listing](https://docs.ornn.com/api-reference/reserve/accept-offer.md): For organizations that own a Reserve listing. Accepting books the buyer's reservation for the offer's window, which starts at the later of the offer's start and now. Other open offers on the listing that overlap the window are cancelled. If the capacity is no longer free, the request fails and the o… - [Get a listing's free capacity](https://docs.ornn.com/api-reference/market/availability.md): Returns how many of a listing's GPUs (vCPUs on a CPU listing), and on how many nodes, are free to book over time, from now (or the listing's start) until the listing ends. Without an end, a Market listing returns 30 days ahead and a Reserve listing returns far enough ahead for any of its terms. Use… - [Buy Market windows](https://docs.ornn.com/api-reference/market/buy.md): Books one or more windows of relisted (Market) capacity at the listed price. There is no offer and no seller approval: every leg is booked together or none are. Each leg becomes its own booking, and the GPUs it books are held for you until it ends. - [List your bookings](https://docs.ornn.com/api-reference/market/list-bookings.md): Lists your organization's 200 most recent bookings that have not started, newest first, including recently cancelled ones. When a booking starts it becomes the reservation with the same ID and leaves this list; read it with GET /commerce/reservations/{reservationId}. - [Cancel a booking](https://docs.ornn.com/api-reference/market/cancel-booking.md): Cancels a confirmed booking before its window starts and frees its GPUs. For prepaid bookings, cancellation also requests a refund, which is processed asynchronously. Once the window has started, stop its reservation instead. - [List order books](https://docs.ornn.com/api-reference/order-books/list-books.md): Returns one order book per GPU type, sale type (spot or on-demand) and location, with its best ask and best bid. CPU capacity has its own books under the slug cpu. A location is a region slug such as us-east-11; the book with region any holds bids that take any location. Asks show what a buyer pays… - [Get order book depth](https://docs.ornn.com/api-reference/order-books/get-book.md): Returns aggregated depth for one GPU type, or CPU capacity, and sale type: whole nodes and order counts at each price level, up to 50 levels per side. Ask levels also count their GPUs (vCPUs on the cpu book); a bid takes nodes of any size, so bid levels have none. With a region, asks are that locati… - [List recent trades](https://docs.ornn.com/api-reference/order-books/list-trades.md): Returns up to 50 recent fills for one GPU type and sale type, at one location or all, newest first, with no identities. A trade belongs to the location its VMs run at. - [Quote a bid](https://docs.ornn.com/api-reference/order-books/quote.md): Previews what a bid placed now would take, node by node in the order it would take them, without placing anything. It takes the Place bid fields as query parameters and refuses them the same way. GPU books sell whole nodes: send nodes with orderType market. On the cpu book, send gpus (vCPUs) or node… - [Place a bid](https://docs.ornn.com/api-reference/order-books/place-bid.md): Bids for nodes. GPU books sell whole nodes, so a bid there sends nodes with orderType market; gpus is refused with whole_nodes_only. On the cpu book, send exactly one of gpus (vCPUs) or nodes. A bid takes capacity from the lowest asks at or below your limit, fees included, oldest first at each price… - [List your orders](https://docs.ornn.com/api-reference/order-books/list-orders.md): Lists your organization's 200 most recent bids (resting, filled and cancelled, each with the IDs of its fills) and the asks your relisted capacity has on the books. Poll this or Get an order to follow a bid. - [Get an order](https://docs.ornn.com/api-reference/order-books/get-order.md): Returns one order your organization placed, or an ask your listings have on the book. - [Cancel a bid](https://docs.ornn.com/api-reference/order-books/cancel-order.md): Cancels what a resting bid has not bought yet. The fills it already bought keep running; end them with Stop a reservation, using the fill ID. Repeating the call on a filled or cancelled bid returns its current state. Asks that your listings place on the book cannot be cancelled here; delist the list… - [List your fills](https://docs.ornn.com/api-reference/order-books/list-fills.md): Lists your organization's 200 most recent fills, newest first, or one of your bids' fills. A fill is a trade, the GPUs a bid bought from one listing at one price, and never changes; its ID is its reservation's ID, so read GET /commerce/reservations/{reservationId} for whether it is still running. - [Get a fill](https://docs.ornn.com/api-reference/order-books/get-fill.md): Returns one fill your organization bought, or one sold from capacity you listed. - [End a fill](https://docs.ornn.com/api-reference/order-books/end-fill.md): Send no body to end the whole reservation and release its machines. For ready hourly VM reservations (Spot or On-demand), send virtualMachineIds with distinct running VM IDs to stop only those VMs; other VMs keep running and billing. Selected VMs stop GPU billing when the request is accepted, with u… - [Relist capacity from a reservation](https://docs.ornn.com/api-reference/relist/create.md): Creates a listing that sells whole nodes from a reservation your organization holds, at your asking price, and puts it on sale immediately. Your reservation and its billing continue; buyers never see who relisted the capacity. - [Update your listing](https://docs.ornn.com/api-reference/relist/update-listing.md): Updates a listing your organization owns. An available reservation relist with no purchases or purchase holds can update nodeCount, availableAt, availableUntil and existing terms atomically; include an Idempotency-Key and explicit Reserved or Spot term types. Hardware specifications remain inherited… - [Delist your listing](https://docs.ornn.com/api-reference/relist/delist.md): Withdraws a listing your organization owns from new sales. Its unsold time leaves the Market, its asks are cancelled, and running Spot VMs on it end. Windows already sold stay sold. Refused while a non-Spot reservation on the listing is active. No request body is needed. - [Add a term to your listing](https://docs.ornn.com/api-reference/relist/add-term.md): Adds a financial term to a draft or available listing your organization owns, for example a spot term on a VM relist that sells reserved windows. To edit existing terms of an unsold reservation relist, use the listing PATCH. Requires Idempotency-Key. - [Delete a term from your listing](https://docs.ornn.com/api-reference/relist/delete-term.md): Deletes an unused term from a listing your organization owns. A term used by a reservation or another retained record cannot be deleted. - [List your listing's nodes](https://docs.ornn.com/api-reference/relist/list-nodes.md): Returns nodes for a listing your organization owns. Relists return only allocated nodes of running rentals, with reservationId linking each node to its rental. Unsold capacity has no node IDs. - [List invoices](https://docs.ornn.com/api-reference/billing/invoices-list.md): Lists your organization's invoices, newest first. Follow nextCursor until it is absent. Amounts are integer cents in the invoice currency. - [Get an invoice](https://docs.ornn.com/api-reference/billing/invoice-get.md): Returns one of your organization's invoices. - [List a reservation's invoices](https://docs.ornn.com/api-reference/billing/reservation-invoices.md): Lists every invoice for one reservation your organization holds, including the down payment. - [Get billing summary](https://docs.ornn.com/api-reference/billing/summary.md): Returns your open balance and paid totals for this month and last month, separately by currency. Draft and void invoices are excluded. - [Get usage cost](https://docs.ornn.com/api-reference/billing/usage.md): Returns unit-hours (GPU-hours, or vCPU-hours for CPU capacity) and usage cost per reservation for the part of each reservation inside the date range, using the reserved GPU or vCPU count and agreed price. This is informational, not an invoice. - [Get supplied GPU-hours](https://docs.ornn.com/api-reference/billing/reservation-usage.md): Returns total reserved GPU-hours on listings supplied by your selected organization, including completed reservations and delisted listings. No buyer identity is returned. Capacity revisions account for GPU additions and removals. Hourly Spot and On-demand reservations count from deployment readines… - [Get billing contact](https://docs.ornn.com/api-reference/billing/contact.md): Returns the email address invoices are sent to and the billing address, when set. - [Check for a saved card](https://docs.ornn.com/api-reference/billing/payment-method.md): Reports whether your organization has a saved card that Ornn can charge after credits run out. It never returns full card numbers or security codes. The response includes safe display details for attached cards. Save or replace a card in the console. - [List account balances](https://docs.ornn.com/api-reference/billing/credits.md): Returns your organization's account balances in signed integer cents. Your available Ornn credits are the negated ORNN_CREDIT balance for a currency, floored at zero. Requires organization membership. - [List account transactions](https://docs.ornn.com/api-reference/billing/transactions.md): Returns a page of your organization's account transactions, newest recorded first, with only your own postings. Events recorded for another party show only their type, time, and reservation. Pass next_cursor as cursor with the same filters to read older entries. An empty next_cursor marks the end. O… ## OpenAPI Specs - [openapi](/openapi.yaml) This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.