List databases
const url = 'https://api.reflexdb.cloud/v1/databases';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.reflexdb.cloud/v1/databases \ --header 'Authorization: Bearer <token>'Returns all non-deleted databases for the authenticated account, each enriched with the latest instance endpoint URL and health status.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”Default Response
A database instance config and its current lifecycle status
object
The connection that provides source MySQL credentials
The MySQL schema on the source server for this instance
Sync mode for this instance
Polling interval in seconds (>= connection minSyncInterval)
ECS task vCPU units (256 = 0.25 vCPU)
ECS task memory in MiB
HTTPS base URL of the running instance
Forced CodeBuild compute tier for this instance’s builds; null = auto-select
AWS region this instance is deployed to
Queued goal — reconciler drives the instance toward this state
Vanity subdomain (Teams+ plan). When set, <value>.reflexdb.cloud resolves to this instance.
Recurring pause/resume schedule (UTC). null when no schedule is configured.
object
HH:MM UTC
HH:MM UTC
0=Sun…6=Sat; empty = every day
A label attached to a database for organisation
object
Example
[ { "syncMode": "poll", "logLevel": "info", "status": "registered", "healthStatus": "ok", "instanceSize": "nano", "tags": [ { "color": "gray" } ] }]Default Response
object
Example generated
{ "error": "example", "message": "example"}