Stacks are the core organizational unit in Cloud 66, representing a complete application environment including servers, services, databases, and configurations.
uidstringThe unique identifier of the stack.
namestringThe display name of the stack.
account_idintegerThe ID of the account that owns this stack.
gitstringThe git repository URL associated with the stack.
git_branchstringThe git branch or reference being deployed.
environmentstringThe environment name for this stack (e.g., production, staging, development).
cloudstringThe cloud provider name or "no_cloud" for BYOS stacks.
fqdnstringThe fully qualified domain name for the stack.
languagestringThe primary programming language of the stack.
frameworkstringThe framework used by the stack (e.g., rails, nodejs, docker).
statusintegerThe current status code of the stack.
healthintegerThe current health state code of the stack.
last_activitystringThe date and time of the last activity on the stack.
last_activity_isodatetimeThe date and time of the last activity in ISO 8601 format.
maintenance_modebooleanWhether the stack is currently in maintenance mode.
has_loadbalancerbooleanWhether the stack has a load balancer configured.
created_atdatetimeThe date and time the stack was created, in ISO 8601 format.
updated_atdatetimeThe date and time the stack was last updated, in ISO 8601 format.
deploy_directorystringThe deployment directory path on the servers.
cloud_statusstringThe status of cloud resources for this stack.
backendstringThe backend type for the stack.
versionstringThe implementation version of the stack.
revisionstringThe current stack revision number.
is_busybooleanWhether the stack is currently performing an operation.
account_namestringThe friendly name and email of the account owner.
is_clusterbooleanWhether this stack is a Kubernetes cluster.
is_inside_clusterbooleanWhether this stack is deployed inside a cluster.
cluster_namestringThe name of the cluster this stack belongs to, if applicable.
application_addressstringThe main application address for accessing the stack.
configstore_namespacestringThe UUID namespace for the stack's configuration store.
namespacesarrayFor Kubernetes stacks, the list of namespaces used.
considerationsobjectImportant considerations or warnings about the stack state.
redeploy_hookstringThe webhook URL for triggering redeployments (when exposed).
Example
{
"uid": "stack-550e8400-e29b-41d4-a716",
"name": "my-production-app",
"account_id": 12345,
"git": "git@github.com:mycompany/myapp.git",
"git_branch": "main",
"environment": "production",
"cloud": "aws",
"fqdn": "myapp.example.com",
"language": "ruby",
"framework": "rails",
"status": 1,
"health": 3,
"last_activity": "2024-02-15 14:30:00 UTC",
"last_activity_iso": "2024-02-15T14:30:00Z",
"maintenance_mode": false,
"has_loadbalancer": true,
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-02-15T14:30:00Z",
"deploy_directory": "/var/deploy/myapp",
"cloud_status": "deployed",
"backend": "kubernetes",
"version": "4",
"revision": "42",
"is_busy": false,
"account_name": "Production Team (team@example.com)",
"is_cluster": false,
"is_inside_cluster": true,
"cluster_name": "production-cluster",
"application_address": "https://myapp.example.com",
"configstore_namespace": "550e8400-e29b-41d4-a716-446655440000",
"namespaces": [
"myapp-production",
"myapp-staging"
],
"considerations": {
"warnings": [],
"notices": [
"Stack is healthy"
]
},
"redeploy_hook": "https://hooks.cloud66.com/stacks/redeploy/abc123def456"
}