Skip to main content
Create, start, stop, and query Pods using the GraphQL API with cURL and GraphQL examples. For the complete schema, see the GraphQL Spec.

Quick reference

Create a Pod

Pods provide guaranteed compute at a fixed price.

Filter by CUDA version

Use allowedCudaVersions to restrict Pods to machines with specific CUDA versions.

Start a Pod

Resume a stopped Pod using the podResume mutation.
You can also filter by CUDA version when starting a Pod:

Stop a Pod

Stopping a Pod releases the GPU while preserving your volume data.

Query Pods

List all Pods

Get Pod by ID

Query GPU types

List available GPU types to find the gpuTypeId needed when creating Pods.

List all GPU types

Get GPU type details

Query a specific GPU type to see pricing and availability.

Check GPU availability

Use the stockStatus field to check availability before creating a Pod. Values include High, Medium, Low, and None.
If stockStatus is Low, there are very few GPUs available. Consider selecting an alternative GPU type or trying again later.