---
title: "Get Provisioning Databases"
method: GET
path: "/internal/databases/provisioning"
tags: ["internal"]
---

# Get Provisioning Databases

`GET /internal/databases/provisioning`

## Request

- Base URL: `https://api.mengi.cloud` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mengi.cloud/internal/databases/provisioning`
- Auth: none declared. Required headers: `x-service-token`

Get all databases in PROVISIONING, ERROR, or RUNNING status.

Used by the database status sync job to:
- Find databases waiting for ArgoCD to deploy them (PROVISIONING)
- Check if ERROR databases have recovered
- Re-sync credentials for RUNNING databases (PXC operators may
  regenerate secrets after initial sync)

## Query parameters

- `skip` integer
- `limit` integer

## Headers

- `x-service-token` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/mengi/apis/mengi-cloud.md) · [All operations](https://skmtc.dev/mengi/apis/mengi-cloud/llms.txt) · [OpenAPI document](https://skmtc.dev/mengi/apis/mengi-cloud/revisions/4ae9b375cdbb?raw)
