Launches a new GPU compute instance with automatic SSH key generation. Supports mounting Case.dev Vaults as filesystems and configurable auto-shutdown. Instance boots in ~2-5 minutes. Perfect for batch OCR processing, AI model training, and intensive document analysis workloads.
curl --request POST \
--url https://api.case.dev/compute/v1/instances \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "ocr-batch-job",
"instanceType": "gpu_1x_a10",
"region": "us-west-1",
"autoShutdownMinutes": 120,
"vaultIds": [
"vault_abc123"
]
}
'{
"id": "<string>",
"name": "<string>",
"status": "<string>",
"instanceType": "<string>",
"region": "<string>",
"pricePerHour": "<string>",
"gpu": "<string>",
"specs": {},
"autoShutdownMinutes": 123,
"vaults": "<array>",
"createdAt": "<string>",
"message": "<string>"
}API key starting with sk_case_
Was this page helpful?
curl --request POST \
--url https://api.case.dev/compute/v1/instances \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "ocr-batch-job",
"instanceType": "gpu_1x_a10",
"region": "us-west-1",
"autoShutdownMinutes": 120,
"vaultIds": [
"vault_abc123"
]
}
'{
"id": "<string>",
"name": "<string>",
"status": "<string>",
"instanceType": "<string>",
"region": "<string>",
"pricePerHour": "<string>",
"gpu": "<string>",
"specs": {},
"autoShutdownMinutes": 123,
"vaults": "<array>",
"createdAt": "<string>",
"message": "<string>"
}