DrydockDrydock
API

App API

Application info, server configuration, and diagnostic endpoints.

Get App information

Returns application name and version.

curl http://drydock:3000/api/v1/app

{
  "name":"drydock",
  "version":"1.5.0"
}

Get server configuration

Returns the server configuration, webhook status, and legacy input compatibility summary.

curl http://drydock:3000/api/v1/server

{
  "configuration": {
    "port": 3000,
    "feature": { "delete": false },
    "webhook": { "enabled": true }
  },
  "compatibility": {
    "legacyInputs": {}
  }
}

Get security runtime status

Returns the availability status of security tools (Trivy scanner, Cosign signature verification) and SBOM configuration. Use this to check whether the runtime environment has the required binaries before triggering scans.

curl http://drydock:3000/api/v1/server/security/runtime

{
  "checkedAt": "2024-12-01T10:00:00.000Z",
  "ready": true,
  "scanner": {
    "enabled": true,
    "command": "trivy",
    "commandAvailable": true,
    "status": "ready",
    "message": "Trivy client is ready",
    "scanner": "trivy",
    "server": ""
  },
  "signature": {
    "enabled": false,
    "command": "",
    "commandAvailable": null,
    "status": "disabled",
    "message": "Signature verification is disabled"
  },
  "sbom": {
    "enabled": true,
    "formats": ["spdx-json", "cyclonedx-json"]
  },
  "requirements": []
}

Response fields

FieldTypeDescription
checkedAtstringISO 8601 timestamp of the check
readybooleantrue when the scanner is enabled and its command is available
scanner.enabledbooleanWhether vulnerability scanning is configured
scanner.commandstringScanner command (e.g. trivy)
scanner.commandAvailableboolean | nullWhether the command was found in the runtime; null when disabled
scanner.statusstringready, missing, or disabled
scanner.serverstringTrivy server URL (empty when using local mode)
signature.enabledbooleanWhether signature verification is configured
signature.commandstringCosign command
signature.commandAvailableboolean | nullWhether cosign was found in the runtime
signature.statusstringready, missing, or disabled
sbom.enabledbooleanWhether SBOM generation is enabled
sbom.formatsstring[]Configured SBOM output formats
requirementsstring[]Human-readable list of missing dependencies (empty when everything is ready)

Returns 200 on success, or 500 if the runtime check fails.

Download diagnostic debug dump

Downloads a comprehensive, redacted diagnostic dump of the running drydock instance as a JSON file. Useful for troubleshooting and support requests.

The dump includes runtime metadata, component state (watchers, registries, triggers, agents, containers), Docker API diagnostics, MQTT Home Assistant sensor definitions, recent Docker events, store statistics, and DD_* environment variable names. All values matching password|token|secret|key|hash are automatically redacted.

curl -O -J "http://drydock:3000/api/v1/debug/dump?minutes=30"

The response is a JSON attachment with a timestamped filename (e.g. drydock-debug-dump-2026-03-18T19-33-00-000Z.json).

Query parameters

ParameterTypeDefaultDescription
minutesinteger30How many recent minutes of event history to include (min: 1)

Dump sections

SectionContents
metadataGenerated timestamp, drydock version, Node.js version, uptime
stateAll registered components: containers, watchers, triggers, registries, authentications, agents
mqttHomeAssistantHome Assistant MQTT sensor discovery topics and definitions
dockerEventsActive Docker event subscriptions and recent events within the time window
aliasFilteringRecent container alias filter decisions
storeLokiJS collection statistics
dockerApiDocker daemon version and info per watcher (connection errors captured gracefully)
environmentAll DD_* environment variable names with values redacted

Returns 200 with the JSON attachment on success, 401 if not authenticated, or 500 if the dump cannot be generated.

On this page