Get instance status
const url = 'https://api.reflexdb.cloud/v1/databases/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/instance';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/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/instance \ --header 'Authorization: Bearer <token>'Returns the database record, current instance health, and latest build in a single response. This is the primary polling endpoint for the dashboard.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Database ID
Responses
Section titled “ Responses ”Default Response
object
Subset of database fields relevant to instance management
object
object
object
A running ECS task serving the reflex-server binary
object
Age of the in-memory snapshot in milliseconds
Number of atomic snapshot swaps since start
object
A CodeBuild job that compiles the reflex-server binary for an instance
object
Wall-clock build time in seconds
CodeBuild compute tier used (e.g. BUILD_GENERAL1_LARGE)
Estimated build cost in USD cents
Action availability matrix — which operations are valid given the current database status and desired state
object
Whether a specific user action is allowed given the current database state
object
Immediate: executed now; queued: deferred via desired_state
Why the action is blocked (present when allowed=false)
Whether a specific user action is allowed given the current database state
object
Immediate: executed now; queued: deferred via desired_state
Why the action is blocked (present when allowed=false)
Whether a specific user action is allowed given the current database state
object
Immediate: executed now; queued: deferred via desired_state
Why the action is blocked (present when allowed=false)
Whether a specific user action is allowed given the current database state
object
Immediate: executed now; queued: deferred via desired_state
Why the action is blocked (present when allowed=false)
Whether a specific user action is allowed given the current database state
object
Immediate: executed now; queued: deferred via desired_state
Why the action is blocked (present when allowed=false)
Whether a specific user action is allowed given the current database state
object
Immediate: executed now; queued: deferred via desired_state
Why the action is blocked (present when allowed=false)
Whether a specific user action is allowed given the current database state
object
Immediate: executed now; queued: deferred via desired_state
Why the action is blocked (present when allowed=false)
Whether a specific user action is allowed given the current database state
object
Immediate: executed now; queued: deferred via desired_state
Why the action is blocked (present when allowed=false)
Whether a specific user action is allowed given the current database state
object
Immediate: executed now; queued: deferred via desired_state
Why the action is blocked (present when allowed=false)
Whether a specific user action is allowed given the current database state
object
Immediate: executed now; queued: deferred via desired_state
Why the action is blocked (present when allowed=false)
Whether a specific user action is allowed given the current database state
object
Immediate: executed now; queued: deferred via desired_state
Why the action is blocked (present when allowed=false)
Whether a specific user action is allowed given the current database state
object
Immediate: executed now; queued: deferred via desired_state
Why the action is blocked (present when allowed=false)
Whether a specific user action is allowed given the current database state
object
Immediate: executed now; queued: deferred via desired_state
Why the action is blocked (present when allowed=false)
object
Number of older notifications auto-skipped (user should check audit log)
Maximum instance size available on this plan
Minimum sync interval (seconds) for poll-mode instances on this plan
Monthly data transfer allowance in GB for this plan
Example
{ "instance": { "healthStatus": "ok" }, "latestBuild": { "status": "queued" }, "allowedActions": { "provision": { "mode": "immediate" }, "rebuild": { "mode": "immediate" }, "reconfigure": { "mode": "immediate" }, "redeploy": { "mode": "immediate" }, "resize": { "mode": "immediate" }, "pause": { "mode": "immediate" }, "resume": { "mode": "immediate" }, "terminate": { "mode": "immediate" }, "delete": { "mode": "immediate" }, "reload": { "mode": "immediate" }, "pause-replication": { "mode": "immediate" }, "resume-replication": { "mode": "immediate" }, "cancel-goal": { "mode": "immediate" } }, "notifications": [ { "severity": "success" } ]}Default Response
object
Example generated
{ "error": "example", "message": "example"}Default Response
object
Example generated
{ "error": "example", "message": "example"}