Storage webhook
We've shipped a new webhook event, keyspace.storage
. With this new event you can receive a webhook whenever your PlanetScale Metal database crosses a storage threshold (60%, 75%, 85%, 90%, 95%).
Example payload:
{ "timestamp": 1745526125, "event": "keyspace.storage", "organization": "example-org", "database": "example", "resource": { "branch_name": "main", "keyspace_name": "example", "storage_percentage": 44, "shards": [ { "shard": "x-x", "bytes_used": 208470605824, "bytes_total_capacity": 472424366080, "bytes_available": 263953760256, "storage_percentage": 44.1 } ] } }