Skip to main content

Error format

Errors return a JSON body with an error label and a human-readable message:

Status codes

Common errors

401: Missing key

401: Invalid or revoked key

403: Trial account

Trial accounts cannot create API keys. POST /api/create-api-key returns:
See Manage API keys for details.

400: Unknown GPU

400: Missing required parameter

404: No data

Endpoints that return the nearest record, such as /api/gpu/{gpuName}/history, won’t 404 for an out-of-range timestamp. They return the closest match and report the gap in time_difference.

Handling errors

Always check the HTTP status before reading the body.