Skip to content

Errors

Failed requests return JSON:

json
{
  "error": {
    "code": "INSUFFICIENT_GPU_CAPACITY",
    "message": "Requested GPU is currently unavailable"
  }
}

Validation failures from FastAPI use 422 with VALIDATION_ERROR.

Common codes

CodeHTTPMeaning
UNAUTHORIZED401Missing or invalid API key
NOT_FOUND404Resource missing or not owned
VALIDATION_ERROR400 / 422Bad input
CREDENTIALS_MISSING400Required provider connection not registered
TARGET_REQUIRED400Job needs compute or endpoint
TARGET_CONFLICT400Both compute and endpoint set
IDEMPOTENCY_CONFLICT409Same key, different body
RATE_LIMITED429Too many requests
PROVIDER_ERROR502RunPod call failed
OUTPUT_NOT_READY409Job still running
OUTPUT_UNAVAILABLE409Job did not complete
OUTPUT_MISSING404Output file gone

Python SDK

The SDK raises SkilleoError with .status_code, .code, and .message. Failed jobs from jobs.wait() or runs from runs.wait() raise even when HTTP status is 200.

Skilleo — /v1 at api.skilleo.org