📡 COMPUTE API
Griddly Compute API
Access distributed GPU compute programmatically. Run AI inference, training, and batch processing at scale.
Quick Start
Base URL:
https://api.griddly.ai/v1Authentication:
API Key in headerExample Request:
curl -X POST https://api.griddly.ai/v1/tasks \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"type": "inference", "model": "llama-70b", "input": "Hello world"}'Endpoints
POST /v1/tasks
Create new compute task
POST /v1/tasksGET /v1/tasks/{id}
Get task status
GET /v1/tasks/{id}GET /v1/tasks
List all tasks
GET /v1/tasksDELETE /v1/tasks/{id}
Cancel task
DELETE /v1/tasks/{id}GET /v1/models
List available models
GET /v1/modelsGET /v1/usage
Get usage statistics
GET /v1/usageGET /v1/billing
Get billing info
GET /v1/billingTask Types
inference
Run model inference
training
Fine-tune models
batch
Batch processing
custom
Custom ONNX models
Response Codes
| Code | Description |
|---|---|
200 | Success |
201 | Created |
400 | Bad Request |
401 | Unauthorized |
429 | Rate Limited |
500 | Server Error |
Rate Limits
Starter
100 req/min
Growth
500 req/min
Scale
2000 req/min
Enterprise
Unlimited
SDKs
Python
pip install griddlyNode.js
npm install @griddly/sdkComing Soon
Go, Rust