Get your free beta license ↗
API operation · databases group
GET

/databases/status

First published 3 Oct 20260.1.0Unchanged since publication

Get MariaDB status and connection settings

Who may call it
AdministratorResellerCustomer
Token scope, any of
databasesreadall
Answers200 OK

The response contains status, with the MariaDB installation and runtime state, the version when recorded, and the socket and hosts applications can use to connect. It also includes whether phpMyAdmin is active and its URL. A stopped server is reported through running and state in a 200 response.

For administrators, status also reports whether MariaDB and phpMyAdmin are enabled. If MariaDB is installed and enabled, unowned lists databases with no recorded owner and unknown_accounts lists MariaDB accounts unknown to UrbeStack. The response includes server_version when available and server_error if the query fails.

For resellers and customers, status omits both enabled fields and includes prefix, the caller's username followed by an underscore.

As a command

Run as root on the server

Example

See the API overview for how to set $API and $TOKEN.
Request
curl -sS -X GET "$API/databases/status" \
  -H "Authorization: Bearer $TOKEN"
Response · 200 OK
{
  "status": {
    "enabled": true,
    "hosts": [
      "text"
    ],
    "installed": true,
    "prefix": "text",
    "running": true,
    "server_error": "text",
    "server_version": "text",
    "socket": "text",
    "state": "up",
    "unknown_accounts": [
      "text"
    ],
    "unowned": [
      "text"
    ],
    "version": "0.0.1"
  }
}

Errors

4 errors, each a status and a sentence
400Invalid username: 2 to 32 lowercase letters, digits or underscores, starting with a letter
400Username '<value>' is reserved
401Authentication required
404User '<family>' not found
Generated from release 0.2.35 (current) · the API’s own descriptionThis entry has been unchanged since it was first published in release 0.1.0 on 3 Oct 2026.
urbestack.com/docs/api/get-databases-status/