DrydockDrydock
API

REST API

Access Drydock state and trigger actions using the HTTP REST API.

You can access drydock state and trigger actions using the HTTP REST API.

By default, the API is enabled and exposed on port 3000. You can override this behaviour using environment variables.

Authentication

When authentication is enabled, all API endpoints require a valid session (cookie-based via Basic or OIDC login).

The webhook endpoints use a separate Bearer token authentication.

Endpoint overview

CategoryEndpointsDescription
AppGET /api/appApplication info (version, build)
ContainersGET /api/containers, POST, PATCH, DELETEContainer state, actions, update policy, security
AgentsGET /api/agentsRemote agent status and logs
LogsGET /api/logApplication log entries
RegistriesGET /api/registriesRegistry configurations
StoreGET /api/storeData store info
TriggersGET /api/triggersTrigger configurations
WatchersGET /api/watchersWatcher configurations

Additional endpoints

EndpointMethodDescription
/healthGETHealth check (returns 200 when healthy)
/metricsGETPrometheus metrics (optional auth via DD_SERVER_METRICS_AUTH)
/api/events/uiGETServer-Sent Events for real-time UI updates
/api/auditGETAudit trail entries
/api/webhook/watchPOSTWebhook — trigger watch on all containers
/api/webhook/watch/:namePOSTWebhook — watch specific container
/api/webhook/update/:namePOSTWebhook — update specific container
See each sub-page for detailed request/response examples.

On this page