Logo

Command Palette

Search for a command to run...

application.health_check.failed

Triggered when application health checks fail.

Payload Example

{
  "timestamp": 1757011079,
  "event_type": "application.health_check.failed",
  "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"
}
Related Models:Stack
application.integration.configured

Triggered when a new integration (like monitoring tools) is configured for the stack.

Payload Example

{
  "timestamp": 1757011079,
  "event_type": "application.integration.configured",
  "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"
}
Related Models:Stack
application.integration.removed

Triggered when an integration is removed from the stack.

Payload Example

{
  "timestamp": 1757011079,
  "event_type": "application.integration.removed",
  "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"
}
Related Models:Stack
application.update.failed

Triggered when an application update fails.

Payload Example

{
  "timestamp": 1757011079,
  "event_type": "application.update.failed",
  "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"
}
Related Models:Stack
application.update.pending

Triggered when an application update is queued

This webhook is sent when an application update is queued. The payload includes stack information and the update type symbol.

Payload Example

{
  "timestamp": 1757011079,
  "event_type": "application.update.pending",
  "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"
}
Related Models:Stack
application.update.started

Triggered when an application update begins.

Payload Example

{
  "timestamp": 1757011079,
  "event_type": "application.update.started",
  "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"
}
Related Models:Stack
application.update.succeeded

Triggered when an application update completes successfully.

Payload Example

{
  "timestamp": 1757011079,
  "event_type": "application.update.succeeded",
  "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"
}
Related Models:Stack
stack.created

Triggered when a new stack is created

This webhook is sent when a new stack is created. The payload includes complete stack information and deployment setup details.

Payload Example

{
  "timestamp": 1757011079,
  "event_type": "stack.created",
  "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"
}
Related Models:Stack
stack.deploy.started

Triggered when a deployment begins

This webhook is sent when a deployment begins. The payload includes stack information and deployment context with start details.

Payload Example

{
  "timestamp": 1757011079,
  "event_type": "stack.deploy.started",
  "stack": {
    "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"
  },
  "deploy_context": {
    "id": 78901,
    "stack_id": 12345,
    "uid": "dc-a1b2c3d4e5f6",
    "type": "kubernetes",
    "created_at": "2024-02-15T09:30:00Z",
    "updated_at": "2024-02-15T10:15:00Z",
    "apply_infrastructure_upgrades": true,
    "apply_security_upgrades": true,
    "async_action_id": 55667,
    "authorized_by": "user-456",
    "auto_update_docker_versions": true,
    "deploy_strategy": "rolling",
    "deploy_type": "redeploy",
    "deployment_profile_id": 123,
    "force_infrastructure_upgrades": false,
    "github_deployment_id": 789012,
    "reboot_servers": false,
    "triggered_by": "john@example.com",
    "triggered_via": "webhook",
    "is_advanced": false,
    "scaler_id": 334,
    "take_server_snapshots": true
  }
}
Related Models:StackDeploy context
stack.provision.fail

Triggered when stack provisioning fails

This webhook is sent when a stack provisioning operation fails. The payload includes the same stack information as successful provisioning but with failure details in the deploy context.

Payload Example

{
  "timestamp": 1757011079,
  "event_type": "stack.provision.fail",
  "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",
  "deploy_context": {
    "id": 158,
    "triggered_by": "Cloudia Sixton",
    "triggered_via": "web",
    "started_at": "2024-01-01T11:55:00Z",
    "finished_at": "2024-01-01T12:00:00Z",
    "started_at_iso": "2024-01-01T11:55:00Z",
    "finished_at_iso": "2024-01-01T12:00:00Z",
    "outcome": "success",
    "git_hash": "f1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0",
    "deploy_session": "a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0",
    "deploy_type": "build",
    "is_head": true,
    "is_live": true,
    "reverted": false,
    "reverted_by": null,
    "reverted_at": null,
    "reverted_at_iso": null
  }
}
Related Models:StackDeploy context
stack.provision.ok

Triggered when stack provisioning completes successfully

This webhook is sent when a stack provisioning operation completes successfully. The payload includes complete stack information and detailed deployment context.

Payload Example

{
  "timestamp": 1757011079,
  "event_type": "stack.provision.ok",
  "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",
  "deploy_context": {
    "id": 158,
    "triggered_by": "Cloudia Sixton",
    "triggered_via": "web",
    "started_at": "2024-01-01T11:55:00Z",
    "finished_at": "2024-01-01T12:00:00Z",
    "started_at_iso": "2024-01-01T11:55:00Z",
    "finished_at_iso": "2024-01-01T12:00:00Z",
    "outcome": "success",
    "git_hash": "f1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0",
    "deploy_session": "a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0",
    "deploy_type": "build",
    "is_head": true,
    "is_live": true,
    "reverted": false,
    "reverted_by": null,
    "reverted_at": null,
    "reverted_at_iso": null
  }
}
Related Models:StackDeploy context
stack.redeploy.fail

Triggered when stack redeployment fails

This webhook is sent when stack redeployment fails. The payload includes stack information and deploy context with failure details.

Payload Example

{
  "timestamp": 1757011079,
  "event_type": "stack.redeploy.fail",
  "stack": {
    "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"
  },
  "deploy_context": {
    "id": 78901,
    "stack_id": 12345,
    "uid": "dc-a1b2c3d4e5f6",
    "type": "kubernetes",
    "created_at": "2024-02-15T09:30:00Z",
    "updated_at": "2024-02-15T10:15:00Z",
    "apply_infrastructure_upgrades": true,
    "apply_security_upgrades": true,
    "async_action_id": 55667,
    "authorized_by": "user-456",
    "auto_update_docker_versions": true,
    "deploy_strategy": "rolling",
    "deploy_type": "redeploy",
    "deployment_profile_id": 123,
    "force_infrastructure_upgrades": false,
    "github_deployment_id": 789012,
    "reboot_servers": false,
    "triggered_by": "john@example.com",
    "triggered_via": "webhook",
    "is_advanced": false,
    "scaler_id": 334,
    "take_server_snapshots": true
  }
}
Related Models:StackDeploy context
stack.redeploy.hook.fail

Triggered when redeployment hooks fail to execute

This webhook is sent when redeployment hooks fail to execute. The payload includes stack information and the failure reason.

Payload Example

{
  "timestamp": 1757011079,
  "event_type": "stack.redeploy.hook.fail",
  "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"
}
Related Models:Stack
stack.redeploy.ok

Triggered when stack redeployment completes successfully

This webhook is sent when stack redeployment completes successfully. The payload includes the same stack information as provisioning but with redeployment context.

Payload Example

{
  "timestamp": 1757011079,
  "event_type": "stack.redeploy.ok",
  "stack": {
    "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"
  },
  "deploy_context": {
    "id": 78901,
    "stack_id": 12345,
    "uid": "dc-a1b2c3d4e5f6",
    "type": "kubernetes",
    "created_at": "2024-02-15T09:30:00Z",
    "updated_at": "2024-02-15T10:15:00Z",
    "apply_infrastructure_upgrades": true,
    "apply_security_upgrades": true,
    "async_action_id": 55667,
    "authorized_by": "user-456",
    "auto_update_docker_versions": true,
    "deploy_strategy": "rolling",
    "deploy_type": "redeploy",
    "deployment_profile_id": 123,
    "force_infrastructure_upgrades": false,
    "github_deployment_id": 789012,
    "reboot_servers": false,
    "triggered_by": "john@example.com",
    "triggered_via": "webhook",
    "is_advanced": false,
    "scaler_id": 334,
    "take_server_snapshots": true
  }
}
Related Models:StackDeploy context
stack.stackscore.changed

Triggered when the stack score changes

This webhook is sent when the stack score changes. The payload includes stack information and a diff object with details of what changed in the score.

Payload Example

{
  "timestamp": 1757011079,
  "event_type": "stack.stackscore.changed",
  "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"
}
Related Models:Stack