Logo

Command Palette

Search for a command to run...

Databases represent database instances within server groups that support database operations. They contain database-specific configuration, size metrics, and connection information.

Model
uidstring

The unique identifier of the database.

stack_uidstring

The unique identifier of the stack that owns this database.

server_group_idinteger

The ID of the server group that hosts this database.

database_namestring

The name of the database.

collationstring

The collation setting for the database (e.g., "utf8mb4_unicode_ci").

encodingstring

The character encoding for the database (e.g., "utf8mb4").

size_bytesinteger

The size of the database in bytes.

size_rowsinteger

The number of rows across all tables in the database.

created_at_isostring

The ISO 8601 timestamp when the database was created.

updated_at_isostring

The ISO 8601 timestamp when the database was last updated.

Example

{
  "uid": "database-456def789",
  "stack_uid": "stack-abc123",
  "server_group_id": 567,
  "database_name": "myapp_production",
  "collation": "utf8mb4_unicode_ci",
  "encoding": "utf8mb4",
  "size_bytes": 1073741824,
  "size_rows": 250000,
  "created_at_iso": "2023-01-15T10:30:00Z",
  "updated_at_iso": "2024-01-15T09:15:00Z"
}