Skip to content
Dymini Panel
v0.13.0
Menu
You are reading the docs of v0.13.0.Go to the latest version

System

On this page

Process health, version, settings export, panel backups, and self-update

Health

GET/api/health

Responses

  • 200 HealthHealthResponse
    • productstringrequired
    • statusstringrequired
    • versionstringrequired

List the built-in Rudder guides of this panel version

GET/api/v1/docs

Responses

  • 200 List the built-in Rudder guides of this panel versionDocSummary[]
    • namestringrequired

      Pass this to the read call, for example cli.

    • titlestringrequired
GET/api/v1/docs/search

Responses

  • 200 Search the Rudder documentation of this panel version. Query: q (required), limit (default 5, max 20)DocSearchResponse
    • querystringrequired
    • resultsDocHit[]required
      DocHit[]
      • namestringrequired
      • scoreinteger (int32)required

        Higher is a better match.

      • sectionstringrequired

        The heading the match is under.

      • snippetstringrequired
      • titlestringrequired
    • versionstringrequired

      Version of the panel the guides belong to.

Read one Rudder guide as Markdown by name, as listed by the docs list or search

GET/api/v1/docs/{name}

Responses

  • 200 Read one Rudder guide as Markdown by name, as listed by the docs list or searchDocPage
    • contentstringrequired

      The whole guide as Markdown.

    • namestringrequired
    • titlestringrequired
    • versionstringrequired

Load of the panel host, held and running builds, and how the panel is protected

GET/api/v1/load

Responses

  • 200 Load of the panel host, held and running builds, and how the panel is protectedLoadView
    • buildsBuildLoadrequired
      BuildLoad
      • concurrencyinteger (int32)required

        Builds that may run at the same time on one server.

      • holdstring | null

        Why queued builds wait: paused, busy, or critical; None when they may start.

      • oldest_queued_atstring | null (date-time)
      • queuedinteger (int64)required
      • runninginteger (int64)required
      • stack_actionsinteger (int64)required

        Compose stack actions running now.

      • stack_buildsinteger (int64)required

        Of those, the ones that build images on the panel host.

    • guardGuardViewrequired

      What the guard sees now.

      GuardView
      • critical_memory_percentnumber (double)required

        Available memory below which running builds are stopped, in percent.

      • errorstring | null

        Why the host could not be read, when it could not.

      • holdingbooleanrequired

        New builds wait now: paused, or the guard holds them.

      • last_stopped_atstring | null (date-time)
      • levelGuardLevelrequired

        How loaded the host is.

        "ok" · "busy" · "critical"
        GuardLevel

        "ok" · "busy" · "critical"

      • pressureHostPressure | null
        HostPressure | null

        One of:

        • HostPressure
          • cpu_countinteger (int32)required
          • cpu_percentnumber (double)required

            Busy CPU time since the previous sample, 0–100 for the whole machine.

          • cpu_pressurenumber | null (double)

            Share of the last 10 s some task waited for CPU (PSI), when the kernel reports it.

          • io_pressurenumber | null (double)

            Share of the last 10 s some task waited for disk or network I/O (PSI).

          • load1number (double)required
          • load15number (double)required
          • load5number (double)required
          • memory_available_bytesinteger (int64)required

            Memory the kernel can hand out without swapping (MemAvailable).

          • memory_pressurenumber | null (double)

            Share of the last 10 s some task waited for memory (PSI).

          • memory_stallnumber | null (double)

            Share of the last 10 s every task waited for memory (PSI full): the host was thrashing.

          • memory_total_bytesinteger (int64)required
          • swap_free_bytesinteger (int64)required
          • swap_total_bytesinteger (int64)required
        • null
      • reasonsGuardReason[]required

        Why the level is not ok; empty when it is.

        GuardReason[]
        • codestringrequired
        • limitnumber (double)required

          The threshold it crossed, in percent.

        • valuenumber (double)required

          The measured value, in percent.

      • sampled_atstring | null (date-time)
      • settingsGuardSettingsrequired

        Load guard settings, stored in panel_settings.

        GuardSettings
        • builds_pausedbooleanrequired

          An admin paused every new build.

        • cpu_percentinteger (int32)required

          New builds wait while CPU stays above this share.

        • enabledbooleanrequired

          Hold and stop builds when the host is overloaded.

        • memory_reserve_percentinteger (int32)required

          New builds wait while free memory is below this share; running builds stop below half of it.

      • sincestring | null (date-time)

        When the level last changed.

      • stopped_buildsinteger (int64)required

        Builds and stack actions the guard stopped since the panel started.

    • protectionProtectionView[]required

      How the panel, its database and Traefik are protected from apps.

      ProtectionView[]
      • cpu_sharesinteger (int64)required
      • memory_reservation_bytesinteger (int64)required
      • namestringrequired
      • oom_score_adjinteger (int64)required
      • presentbooleanrequired

        The container exists on this host.

      • protectedbooleanrequired

        Kept away from the OOM killer and ahead of apps for CPU.

      • rolestringrequired

        panel, database, or proxy.

Cancel queued builds and stop running builds on the panel host (admin, write)

POST/api/v1/load/cancel-builds

Responses

  • 200 Cancel queued builds and stop running builds on the panel host (admin, write)BuildsCancelled
    • queuedinteger (int64)required

      Queued builds that will not run.

    • runninginteger (int64)required

      Running builds and stack builds that were asked to stop.

Pause or resume every new build (admin, write)

POST/api/v1/load/pause

Request bodyapplication/json

PauseBuilds

  • pausedbooleanrequired

Responses

  • 200 Pause or resume every new build (admin, write)LoadView
    • buildsBuildLoadrequired
      BuildLoad
      • concurrencyinteger (int32)required

        Builds that may run at the same time on one server.

      • holdstring | null

        Why queued builds wait: paused, busy, or critical; None when they may start.

      • oldest_queued_atstring | null (date-time)
      • queuedinteger (int64)required
      • runninginteger (int64)required
      • stack_actionsinteger (int64)required

        Compose stack actions running now.

      • stack_buildsinteger (int64)required

        Of those, the ones that build images on the panel host.

    • guardGuardViewrequired

      What the guard sees now.

      GuardView
      • critical_memory_percentnumber (double)required

        Available memory below which running builds are stopped, in percent.

      • errorstring | null

        Why the host could not be read, when it could not.

      • holdingbooleanrequired

        New builds wait now: paused, or the guard holds them.

      • last_stopped_atstring | null (date-time)
      • levelGuardLevelrequired

        How loaded the host is.

        "ok" · "busy" · "critical"
        GuardLevel

        "ok" · "busy" · "critical"

      • pressureHostPressure | null
        HostPressure | null

        One of:

        • HostPressure
          • cpu_countinteger (int32)required
          • cpu_percentnumber (double)required

            Busy CPU time since the previous sample, 0–100 for the whole machine.

          • cpu_pressurenumber | null (double)

            Share of the last 10 s some task waited for CPU (PSI), when the kernel reports it.

          • io_pressurenumber | null (double)

            Share of the last 10 s some task waited for disk or network I/O (PSI).

          • load1number (double)required
          • load15number (double)required
          • load5number (double)required
          • memory_available_bytesinteger (int64)required

            Memory the kernel can hand out without swapping (MemAvailable).

          • memory_pressurenumber | null (double)

            Share of the last 10 s some task waited for memory (PSI).

          • memory_stallnumber | null (double)

            Share of the last 10 s every task waited for memory (PSI full): the host was thrashing.

          • memory_total_bytesinteger (int64)required
          • swap_free_bytesinteger (int64)required
          • swap_total_bytesinteger (int64)required
        • null
      • reasonsGuardReason[]required

        Why the level is not ok; empty when it is.

        GuardReason[]
        • codestringrequired
        • limitnumber (double)required

          The threshold it crossed, in percent.

        • valuenumber (double)required

          The measured value, in percent.

      • sampled_atstring | null (date-time)
      • settingsGuardSettingsrequired

        Load guard settings, stored in panel_settings.

        GuardSettings
        • builds_pausedbooleanrequired

          An admin paused every new build.

        • cpu_percentinteger (int32)required

          New builds wait while CPU stays above this share.

        • enabledbooleanrequired

          Hold and stop builds when the host is overloaded.

        • memory_reserve_percentinteger (int32)required

          New builds wait while free memory is below this share; running builds stop below half of it.

      • sincestring | null (date-time)

        When the level last changed.

      • stopped_buildsinteger (int64)required

        Builds and stack actions the guard stopped since the panel started.

    • protectionProtectionView[]required

      How the panel, its database and Traefik are protected from apps.

      ProtectionView[]
      • cpu_sharesinteger (int64)required
      • memory_reservation_bytesinteger (int64)required
      • namestringrequired
      • oom_score_adjinteger (int64)required
      • presentbooleanrequired

        The container exists on this host.

      • protectedbooleanrequired

        Kept away from the OOM killer and ahead of apps for CPU.

      • rolestringrequired

        panel, database, or proxy.

Set the load guard thresholds and builds at the same time (admin, write)

PUT/api/v1/load/settings

Request bodyapplication/json

UpdateGuard

  • build_concurrencyinteger | null (int32)

    1 to 8 builds at the same time on one server.

  • cpu_percentinteger (int32)required

    50 to 100: new builds wait while CPU stays above this.

  • enabledbooleanrequired

    Hold and stop builds when the panel host is overloaded.

  • memory_reserve_percentinteger (int32)required

    5 to 50: new builds wait while less memory than this is free.

Responses

  • 200 Set the load guard thresholds and builds at the same time (admin, write)LoadView
    • buildsBuildLoadrequired
      BuildLoad
      • concurrencyinteger (int32)required

        Builds that may run at the same time on one server.

      • holdstring | null

        Why queued builds wait: paused, busy, or critical; None when they may start.

      • oldest_queued_atstring | null (date-time)
      • queuedinteger (int64)required
      • runninginteger (int64)required
      • stack_actionsinteger (int64)required

        Compose stack actions running now.

      • stack_buildsinteger (int64)required

        Of those, the ones that build images on the panel host.

    • guardGuardViewrequired

      What the guard sees now.

      GuardView
      • critical_memory_percentnumber (double)required

        Available memory below which running builds are stopped, in percent.

      • errorstring | null

        Why the host could not be read, when it could not.

      • holdingbooleanrequired

        New builds wait now: paused, or the guard holds them.

      • last_stopped_atstring | null (date-time)
      • levelGuardLevelrequired

        How loaded the host is.

        "ok" · "busy" · "critical"
        GuardLevel

        "ok" · "busy" · "critical"

      • pressureHostPressure | null
        HostPressure | null

        One of:

        • HostPressure
          • cpu_countinteger (int32)required
          • cpu_percentnumber (double)required

            Busy CPU time since the previous sample, 0–100 for the whole machine.

          • cpu_pressurenumber | null (double)

            Share of the last 10 s some task waited for CPU (PSI), when the kernel reports it.

          • io_pressurenumber | null (double)

            Share of the last 10 s some task waited for disk or network I/O (PSI).

          • load1number (double)required
          • load15number (double)required
          • load5number (double)required
          • memory_available_bytesinteger (int64)required

            Memory the kernel can hand out without swapping (MemAvailable).

          • memory_pressurenumber | null (double)

            Share of the last 10 s some task waited for memory (PSI).

          • memory_stallnumber | null (double)

            Share of the last 10 s every task waited for memory (PSI full): the host was thrashing.

          • memory_total_bytesinteger (int64)required
          • swap_free_bytesinteger (int64)required
          • swap_total_bytesinteger (int64)required
        • null
      • reasonsGuardReason[]required

        Why the level is not ok; empty when it is.

        GuardReason[]
        • codestringrequired
        • limitnumber (double)required

          The threshold it crossed, in percent.

        • valuenumber (double)required

          The measured value, in percent.

      • sampled_atstring | null (date-time)
      • settingsGuardSettingsrequired

        Load guard settings, stored in panel_settings.

        GuardSettings
        • builds_pausedbooleanrequired

          An admin paused every new build.

        • cpu_percentinteger (int32)required

          New builds wait while CPU stays above this share.

        • enabledbooleanrequired

          Hold and stop builds when the host is overloaded.

        • memory_reserve_percentinteger (int32)required

          New builds wait while free memory is below this share; running builds stop below half of it.

      • sincestring | null (date-time)

        When the level last changed.

      • stopped_buildsinteger (int64)required

        Builds and stack actions the guard stopped since the panel started.

    • protectionProtectionView[]required

      How the panel, its database and Traefik are protected from apps.

      ProtectionView[]
      • cpu_sharesinteger (int64)required
      • memory_reservation_bytesinteger (int64)required
      • namestringrequired
      • oom_score_adjinteger (int64)required
      • presentbooleanrequired

        The container exists on this host.

      • protectedbooleanrequired

        Kept away from the OOM killer and ahead of apps for CPU.

      • rolestringrequired

        panel, database, or proxy.

Panel version, schema version, and pg_dump availability (admin)

GET/api/v1/system

Responses

  • 200 Panel version, schema version, and pg_dump availability (admin)SystemInfo
    • known_schemainteger (int64)required

      Highest migration this binary carries.

    • pg_dumpstring | null

      pg_dump --version, or None when it cannot run.

    • schemainteger (int64)required

      Highest applied schema migration.

    • versionstringrequired

Download an encrypted panel backup: database dump and master key (admin, write)

POST/api/v1/system/backup

Request bodyapplication/json

PanelBackupRequest

  • include_historyboolean

    Also include log lines, metric samples, and sessions.

  • passphrasestringrequired

    At least 12 characters. Needed to restore; it is not stored.

Responses

  • 200 Download an encrypted panel backup: database dump and master key (admin, write)

Download the panel configuration as JSON, without secrets (admin)

GET/api/v1/system/settings-export

Responses

  • 200 Download the panel configuration as JSON, without secrets (admin)

Update status: versions, last release check, components, and history (admin)

GET/api/v1/system/updates

Responses

  • 200 Update status: versions, last release check, components, and history (admin)UpdateOverview
    • apply_blockerstring | null

      Why "Update now" is unavailable, if it is.

    • auto_updatebooleanrequired
    • channelstringrequired

      stable or prerelease.

    • componentsComponentStatus[]required
      ComponentStatus[]
      • agent_outdatedbooleanrequired
      • agent_versionstring | null
      • cache_imagestring | null
      • cache_outdatedbooleanrequired
      • kindstringrequired
      • onlinebooleanrequired
      • server_idstring (uuid)required
      • server_namestringrequired
    • current_versionstringrequired
    • historyUpdateHistoryEntry[]required
      UpdateHistoryEntry[]
      • componentstringrequired
      • finished_atstring | null (date-time)
      • from_versionstring | null
      • idstring (uuid)required
      • logsstringrequired
      • server_idstring | null (uuid)
      • server_namestring | null
      • started_atstring (date-time)required
      • statusstringrequired
      • to_versionstringrequired
    • last_checkUpdateCheck | null
      UpdateCheck | null

      One of:

      • UpdateCheck
        • channelstringrequired
        • checked_atstring (date-time)required
        • currentstringrequired
        • errorstring | null
        • latestReleaseInfo | null
          ReleaseInfo | null

          One of:

          • ReleaseInfo
            • html_urlstring | null
            • namestring | null
            • notesstring | null
            • published_atstring | null
            • versionstringrequired
          • null
        • pendingReleaseInfo[]

          Every release between the installed version and latest, oldest first, latest included: what an update installs, with each release's notes.

          ReleaseInfo[]
          • html_urlstring | null
          • namestring | null
          • notesstring | null
          • published_atstring | null
          • versionstringrequired
        • verifiedbooleanrequired

          The latest release's signature and checksums were verified.

      • null
    • maintenance_windowstring | null

      HH:MM-HH:MM in UTC; automatic updates wait for it. Empty means any time.

    • repositorystringrequired
    • signing_keybooleanrequired

      A release signing key is configured, so verified releases can be applied.

    • target_cache_imagestring | null

      Cache image for this panel version, from its signed release.

Back up, then update the panel to the latest verified release with rollback (admin, write)

POST/api/v1/system/updates/apply

Responses

  • 202 Back up, then update the panel to the latest verified release with rollback (admin, write)UpdateStarted
    • history_idstring (uuid)required

Check GitHub for a newer signed release now (admin, write)

POST/api/v1/system/updates/check

Responses

  • 200 Check GitHub for a newer signed release now (admin, write)UpdateCheck
    • channelstringrequired
    • checked_atstring (date-time)required
    • currentstringrequired
    • errorstring | null
    • latestReleaseInfo | null
      ReleaseInfo | null

      One of:

      • ReleaseInfo
        • html_urlstring | null
        • namestring | null
        • notesstring | null
        • published_atstring | null
        • versionstringrequired
      • null
    • pendingReleaseInfo[]

      Every release between the installed version and latest, oldest first, latest included: what an update installs, with each release's notes.

      ReleaseInfo[]
      • html_urlstring | null
      • namestring | null
      • notesstring | null
      • published_atstring | null
      • versionstringrequired
    • verifiedbooleanrequired

      The latest release's signature and checksums were verified.

Update outdated agents and caches to this panel's version (admin, write)

POST/api/v1/system/updates/components

Responses

  • 202 Update outdated agents and caches to this panel's version (admin, write)ComponentsStarted
    • queuedintegerrequired

      Agents and caches queued for an update.

Set the update channel, auto-update, and maintenance window (admin, write)

PUT/api/v1/system/updates/settings

Request bodyapplication/json

UpdateSettings

  • auto_updatebooleanrequired
  • channelstringrequired

    stable or prerelease.

  • maintenance_windowstring | null

Responses

  • 200 Set the update channel, auto-update, and maintenance window (admin, write)UpdateOverview
    • apply_blockerstring | null

      Why "Update now" is unavailable, if it is.

    • auto_updatebooleanrequired
    • channelstringrequired

      stable or prerelease.

    • componentsComponentStatus[]required
      ComponentStatus[]
      • agent_outdatedbooleanrequired
      • agent_versionstring | null
      • cache_imagestring | null
      • cache_outdatedbooleanrequired
      • kindstringrequired
      • onlinebooleanrequired
      • server_idstring (uuid)required
      • server_namestringrequired
    • current_versionstringrequired
    • historyUpdateHistoryEntry[]required
      UpdateHistoryEntry[]
      • componentstringrequired
      • finished_atstring | null (date-time)
      • from_versionstring | null
      • idstring (uuid)required
      • logsstringrequired
      • server_idstring | null (uuid)
      • server_namestring | null
      • started_atstring (date-time)required
      • statusstringrequired
      • to_versionstringrequired
    • last_checkUpdateCheck | null
      UpdateCheck | null

      One of:

      • UpdateCheck
        • channelstringrequired
        • checked_atstring (date-time)required
        • currentstringrequired
        • errorstring | null
        • latestReleaseInfo | null
          ReleaseInfo | null

          One of:

          • ReleaseInfo
            • html_urlstring | null
            • namestring | null
            • notesstring | null
            • published_atstring | null
            • versionstringrequired
          • null
        • pendingReleaseInfo[]

          Every release between the installed version and latest, oldest first, latest included: what an update installs, with each release's notes.

          ReleaseInfo[]
          • html_urlstring | null
          • namestring | null
          • notesstring | null
          • published_atstring | null
          • versionstringrequired
        • verifiedbooleanrequired

          The latest release's signature and checksums were verified.

      • null
    • maintenance_windowstring | null

      HH:MM-HH:MM in UTC; automatic updates wait for it. Empty means any time.

    • repositorystringrequired
    • signing_keybooleanrequired

      A release signing key is configured, so verified releases can be applied.

    • target_cache_imagestring | null

      Cache image for this panel version, from its signed release.