WebSockets are here. Bring real-time functionality to your apps, powered by Reverb →
curl --request GET \
--url https://app.laravel.cloud/api/databases \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "<string>",
"type": "databases",
"attributes": {
"name": "<string>",
"type": "laravel_mysql_8",
"status": "creating",
"region": "us-east-2",
"created_at": "2023-11-07T05:31:56Z",
"config": {
"cu_min": 0.25,
"cu_max": 0.25,
"suspend_seconds": 123,
"retention_days": 123
},
"connection": {
"hostname": "<string>",
"port": 123,
"protocol": "<string>",
"driver": "<string>",
"username": "<string>",
"password": "<string>"
}
},
"relationships": {
"schemas": {
"data": [
{
"type": "databaseSchemas",
"id": "<string>"
}
]
}
}
}
],
"links": {
"first": "<string>",
"last": "<string>",
"prev": "<string>",
"next": "<string>"
},
"meta": {
"current_page": 2,
"from": 2,
"last_page": 2,
"links": [
{
"url": "<string>",
"label": "<string>",
"active": true
}
],
"path": "<string>",
"per_page": 1,
"to": 2,
"total": 1
},
"included": [
{
"id": "<string>",
"type": "databaseSchemas",
"attributes": {
"name": "<string>",
"created_at": "2023-11-07T05:31:56Z"
},
"relationships": {
"database": {
"data": {
"type": "databases",
"id": "<string>"
}
}
}
}
]
}Get a list of all database clusters for the authenticated organization.
curl --request GET \
--url https://app.laravel.cloud/api/databases \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "<string>",
"type": "databases",
"attributes": {
"name": "<string>",
"type": "laravel_mysql_8",
"status": "creating",
"region": "us-east-2",
"created_at": "2023-11-07T05:31:56Z",
"config": {
"cu_min": 0.25,
"cu_max": 0.25,
"suspend_seconds": 123,
"retention_days": 123
},
"connection": {
"hostname": "<string>",
"port": 123,
"protocol": "<string>",
"driver": "<string>",
"username": "<string>",
"password": "<string>"
}
},
"relationships": {
"schemas": {
"data": [
{
"type": "databaseSchemas",
"id": "<string>"
}
]
}
}
}
],
"links": {
"first": "<string>",
"last": "<string>",
"prev": "<string>",
"next": "<string>"
},
"meta": {
"current_page": 2,
"from": 2,
"last_page": 2,
"links": [
{
"url": "<string>",
"label": "<string>",
"active": true
}
],
"path": "<string>",
"per_page": 1,
"to": 2,
"total": 1
},
"included": [
{
"id": "<string>",
"type": "databaseSchemas",
"attributes": {
"name": "<string>",
"created_at": "2023-11-07T05:31:56Z"
},
"relationships": {
"database": {
"data": {
"type": "databases",
"id": "<string>"
}
}
}
}
]
}The Bearer Token generated on the Cloud UI.
Available includes are schemas. You can include multiple options by separating them with a comma.
Paginated set of DatabaseResource
Show child attributes
databases Show child attributes
laravel_mysql_8, aws_rds_mysql_8, neon_serverless_postgres_18, neon_serverless_postgres_17, neon_serverless_postgres_16 creating, updating, restarting, upgrading, available, restoring, restore_failed, disabled, snapshotting_before_archiving, archiving, archived, deleting, deleted, unknown us-east-2, us-east-1, eu-central-1, eu-west-1, eu-west-2, ap-southeast-1, ap-southeast-2, ca-central-1 Configuration object. Fields vary based on database type.
Show child attributes
Minimum compute units for auto-scaling
0.25, 0.5, 1, 2, 4, 8, 10 Maximum compute units for auto-scaling
0.25, 0.5, 1, 2, 4, 8, 10 Seconds of inactivity before hibernation (0 = never) (min: 0, max: 604800)
Days to retain point-in-time recovery data (min: 0, max: 30)
Show child attributes
Show child attributes
Show child attributes
x >= 1x >= 1x >= 1Base path for paginator generated URLs.
Number of items shown per page.
x >= 0Number of the last item in the slice.
x >= 1Total number of items being paginated.
x >= 0Show child attributes
databaseSchemas Show child attributes
Was this page helpful?