In this section, we present how to connect Instatus to MindsDB.

Instatus is a cloud-based status page software that enables users to communicate status information using incidents and maintenances. It serves as a SaaS platform for creating status pages for services.

The Instatus Handler for MindsDB offers an interface to connect with Instatus via APIs and retrieve status pages.


Initialize the Instatus handler with the following parameter:

Start by creating a database with the new instatus engine using the following SQL command:

CREATE DATABASE mindsdb_instatus --- Display name for the database.
    ENGINE = 'instatus', --- Name of the MindsDB handler.
        "api_key": "<your-instatus-api-key>" --- Instatus API key to use for authentication.


To get a status page, use the SELECT statement:

SELECT id, name, status, subdomain
FROM mindsdb_instatus.status_pages
WHERE id = '<status-page-id>'

To create a new status page, use the INSERT statement:

INSERT INTO mindsdb_instatus.status_pages (email, name, subdomain, components, logoUrl, faviconUrl, websiteUrl, language, useLargeHeader, brandColor, okColor, disruptedColor, degradedColor, downColor, noticeColor, unknownColor, googleAnalytics, subscribeBySms, smsService, twilioSid, twilioToken, twilioSender, nexmoKey, nexmoSecret, nexmoSender, htmlInMeta, htmlAboveHeader, htmlBelowHeader, htmlAboveFooter, htmlBelowFooter, htmlBelowSummary, cssGlobal, launchDate, dateFormat, dateFormatShort, timeFormat)
VALUES ('', 'mindsdb', 'mindsdb-instatus', '["Website", "App", "API"]', '', '', '', 'en', true, '#111', '#33B17E', '#FF8C03', '#ECC94B', '#DC123D', '#70808F', '#DFE0E1', 'UA-00000000-1', true, 'twilio', 'YOUR_TWILIO_SID', 'YOUR_TWILIO_TOKEN', 'YOUR_TWILIO_SENDER', null, null, null, null, null, null, null, null, null, null, 'MMMMMM d, yyyy', 'MMM yyyy', 'p');

The following fields are required when inserting new status pages:

  • email (e.g. ’‘)
  • name (e.g ‘mindsdb’)
  • subdomain (e.g. ‘mindsdb-docs’)
  • components (e.g. ’[“Website”, “App”, “API”]‘)

The other fields are optional.

To update an existing status page, use the UPDATE statement:

UPDATE mindsdb_instatus.status_pages
SET name = 'mindsdb',
    status = 'UP',
    logoUrl = '',
    faviconUrl = '',
    websiteUrl = '',
    language = 'en',
    translations = '{
      "name": {
        "fr": "nasa"
WHERE id = '<status-page-id>';