Skip to content

Get Database Provisioning

GET
/dbaas/{managed_db_id}/provisioning/
curl --request GET \
--url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/{managed_db_id}/provisioning/?project_id=<PROJECT_ID>&location=<LOCATION>&apikey=<API_KEY>' \
--header 'Authorization: Bearer <API_TOKEN>'

Returns the setup progress of a new database, step by step, in any state. Poll it while the database is Creating. Needs the Read permission on DBaaS.

managed_db_id
required
integer

Database ID

project_id
required
integer

Project ID

active_iam
integer

Active IAM ID (To access contact person account) Find your Active IAM ID here

location
required
string
Allowed values: Delhi Chennai

Location

The setup progress

Media typeapplication/json
object
code
integer
message
string
data
object
status

The database status.

string
current_step
string
Allowed values: provisioning initializing finalizing ready
message

What is happening now; “Provisioning failed” after a failure and “Database is ready” once Running.

string
percent

Share of steps done: 100 once Running, null after a failure, otherwise 0 to 99.

integer
nullable
started_at
string
nullable
steps
Array<object>
object
key
string
label

“Provisioning storage & cluster”, “Initializing database”, “Finalizing — users & endpoints” or “Ready”.

string
status
string
Allowed values: pending active completed failed
started_at
string
nullable
completed_at
string
nullable
duration_seconds
number
nullable
can_retry

true when the database is Failed and the launch can be retried.

boolean
errors
object

Example

{
"code": 200,
"message": "Success",
"data": {
"status": "Creating",
"current_step": "provisioning",
"message": "Initializing the database",
"percent": 38,
"started_at": "2026-10-21T11:17:29.512000+00:00",
"steps": [
{
"key": "provisioning",
"label": "Provisioning storage & cluster",
"status": "pending",
"started_at": "2026-10-21T11:17:29.512000+00:00",
"completed_at": "2026-10-21T11:19:02.104000+00:00",
"duration_seconds": 92.6
}
],
"can_retry": false
},
"errors": {}
}

The project ID is missing or is not a number.

Media typeapplication/json
object
code
integer
message
string
data
object
errors
string

Example

{
"code": 400,
"message": "Bad Request",
"data": {},
"errors": "Project ID is missing or invalid"
}

The caller lacks the permission the call needs on the project, or the region is not allowed.

Media typeapplication/json
object
code
integer
message
string
data
object
errors
string

Example

{
"code": 403,
"message": "Forbidden",
"data": {},
"errors": "You don't have permission to access this service. Please verify your policy or project."
}

No database with that ID in the project and region.

Media typeapplication/json
object
code
integer
message
string
data
object
errors
string

Example

{
"code": 404,
"message": "Bad Request",
"data": {},
"errors": "Invalid request! Database Not Found"
}