API Reference
Build on the Substrate API
A complete REST API with 150+ endpoints for managing clusters, deployments, secrets, and every aspect of your cloud infrastructure programmatically.
Getting Started
Authentication
All API requests require a Bearer token in the Authorization header. Generate an API token from your account settings in the dashboard.
Base URL
https://api.substratecore.com/v1Authentication header
Authorization: Bearer sk_live_your_api_token_hereExample request
curl -X GET https://api.substratecore.com/v1/clusters \
-H "Authorization: Bearer sk_live_your_api_token" \
-H "Content-Type: application/json"Example response
{
"data": [
{
"id": "cls_abc123",
"name": "prod-us-east",
"provider": "eks",
"region": "us-east-1",
"status": "running",
"nodes": 5,
"created_at": "2025-12-01T10:00:00Z"
}
],
"meta": { "total": 1, "page": 1, "per_page": 20 }
}Endpoints
API categories
The Substrate API is organized into logical resource categories. Every action available in the dashboard is also available via the API.
Clusters
18 endpointsProvision, register, list, update, and delete clusters.
Deployments
14 endpointsCreate, scale, restart, and monitor deployments.
Services
8 endpointsManage Kubernetes services and load balancers.
Templates
10 endpointsCRUD operations for reusable deployment templates.
Secrets
12 endpointsEncrypted secrets management with rotation support.
Domains
6 endpointsCustom domain configuration and SSL certificates.
Projects
9 endpointsProject-level resource organization and access.
Integrations
15 endpointsGit providers, registries, and log sinks.
Billing
8 endpointsUsage, invoices, and cost breakdowns.
Audit
5 endpointsQuery and export audit trail events.
Rate limiting
API requests are rate limited to ensure fair usage across all accounts. Rate limit headers are included in every response.
1,000
Requests / minute
50,000
Requests / hour
Custom
Enterprise plans
Start building with the API
Create your free account to get an API token and start integrating Substrate into your workflows.
Start free