Get connection
const url = 'https://api.reflexdb.cloud/v1/connections/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';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/connections/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Connection ID
Responses
Section titled “ Responses ”Default Response
object
Source database engine
MySQL database names available to instances on this connection
Sync modes available to instances
Minimum polling interval in seconds — instances may use a higher value
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
{ "backend": "mysql", "allowedSyncModes": [ "poll" ], "databases": [ { "syncMode": "poll", "logLevel": "info", "status": "registered", "healthStatus": "ok", "instanceSize": "nano", "tags": [ { "color": "gray" } ] } ]}Default Response
object
Example generated
{ "error": "example", "message": "example"}Default Response
object
Example generated
{ "error": "example", "message": "example"}