Jobs API
Create, read and stop GPU jobs.
POST
/v1/jobsPaid with x402. Body:
| Field | Type | Notes |
|---|---|---|
gpu | string | Required. A label from GPU types. |
count | integer | 1, 2, 4 or 8. Default 1. |
hours | number | Required. 0.1 to 168. Paid up front. |
max_usd | number | Upper limit for the whole job, margin included. |
image | string | Container image. Default: CUDA base. |
env | object | Environment variables for the container. |
regions, exclude_clouds, min_vram_gb | — | Optional routing filters. |
GET
/v1/jobs/{id}Free. Returns status, cloud, timings, ssh, http and receipt once written.
POST
/v1/jobs/{id}/stopSigned by the paying wallet. Stops the job and refunds unused seconds.
GET
/v1/jobs?payer=0x…Free. Last 100 jobs paid by an address.
Was this page helpful?