---
title: "Create a pod"
method: POST
path: "/v1/pods"
tags: ["Pods"]
---

# Create a pod

`POST /v1/pods`

Compute-fabric pod (BYO container image + SSH keys): a hardened GPU container on a whole native-driver GPU. Admission claims a free device-request GPU unit (see listPodCapacity for what is claimable), snapshots the effective rate (interruptible prices below the on-demand/reserved rate), and drives the guest workflow.

## Request body

- CreatePodRequest — Request to create a compute-fabric pod: a RunPod-style bring-your-own container image + SSH keys guest. A focused subset of CreateVmRequest (no qcow2 template / kernel modules / privileged mode).
  - `computeClass` 'interruptible' | 'reserved' — interruptible = preemptible spot capacity; reserved = held capacity
  - `envVars` object
  - `gpuModelId` string
  - `httpPort` integer — in-guest HTTP port exposed on the endpoint
  - `image` string, required — tenant container image ref (required)
  - `name` string
  - `public` boolean — true = open endpoint (no data-plane auth); default false requires an org API key
  - `sshKeys` string[] — tenant SSH public keys injected into the guest

## Response `200`

Created

- VmSummary
  - `capabilityTier` string — compute-fabric capability tier (e.g. "pod"); empty for a plain VM
  - `computeClass` string — compute-fabric compute class (interruptible|reserved); empty for a plain VM
  - `createdAt` string
  - `diskSizeGb` integer
  - `endpointUrl` string
  - `gpuCount` integer
  - `gpuModelId` string
  - `gpuModelName` string
  - `id` string, required
  - `imageUrl` string — tenant container image (pods)
  - `name` string, required
  - `organizationId` string, required
  - `pricePerHourCents` integer
  - `provisioningStage` string
  - `public` boolean — true = open endpoint (no data-plane auth); false = require an org API key
  - `resourceSize` string
  - `serviceType` string — managed-service tag; empty for a plain VM
  - `status` string, required
  - `statusReason` string — human-readable cause for failed/stuck states
  - `tier` string

## Other responses

- `400` — The request is invalid
- `401` — Missing or invalid API key
- `403` — API key lacks the required scope

---

[API](https://skmtc.net/openrelay/apis/openrelay-api.md) · [All operations](https://skmtc.net/openrelay/apis/openrelay-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openrelay/openrelay-api/versions/32905b8f44f8/schema)
