Wardn Docs
Request access
OverviewPlatformCookbookSelf-hostingCLIAPI
APIPermissionsLive events

Reference

List clusters GETRegister a cluster POSTCount the clusters a caller reaches by state GETGet a cluster GETReplace a cluster's details PUTCreate a join token for a cluster POSTList a cluster's agent runtimes GETCreate an agent runtime and its token POSTRevoke a cluster's agent runtimes DELETERevoke a cluster's credentials DELETEList a cluster's nodes GETList a cluster's node pools GETGet a cluster's settings GETReplace a cluster's settings PUTGet how deployments on a cluster are reached GETSet how deployments on a cluster are reached PUTRead a cluster again for addresses POSTCheck a domain's DNS against a cluster POSTInstall cert-manager on a cluster POSTGet a cluster's operator GETChange a cluster's operator settings PATCHList a cluster's connection history GETSet the team that owns a cluster PUTList a cluster's Kubernetes events GETList the namespaces no deployment accounts for GETDisconnect a cluster POSTReconnect a cluster POSTList a cluster's timeline GETGet what a cluster's scan found of Argo CD and Flux GETAsk a cluster's operator to scan for Argo CD and Flux again POSTList the Argo CD destinations linked to Wardn clusters GETRemove the link of an Argo CD destination DELETELink an Argo CD destination to a Wardn cluster PUTList the apps a cluster's Argo CD or Flux manages that can be imported GETImport apps a cluster's Argo CD or Flux manages POST
List a deployment's pull request previews GETGet a deployment's current state GETGet where a deployment is reached GETGet how a deployment is delivered GETReplace how a deployment is delivered PUTList the prunes held for a deployment GETApprove a held prune POSTReject a held prune POSTGet what differs from the snapshot a deployment runs GETGet the secrets a deployment refers to GETReplace the secrets a deployment refers to PUTCheck the secrets that live outside the cluster POSTWhich secrets a restore of a snapshot would find wrong GETCompare two snapshots of a deployment GETCompare the snapshot a deployment runs with the cluster GETList a deployment's state over time GETGet what a deployment was imported from GETCompare an imported deployment with its cluster again POSTAccept a difference before cutover POSTGet an imported deployment's cutover GETCut an imported deployment over POSTRelease an imported deployment back POSTCut over again POSTList a deployment's timeline GETList the state of every deployment as of a moment GETList deployments GETCreate a deployment POSTGet a deployment GETDelete a deployment DELETEReplace a deployment's details PUTAdd an app to a deployment POSTTake an app out of a deployment DELETEReplace the branch and values of an app of a deployment PUTList the test runs of a deployment GETList the resources of each app of a deployment GETList the pods of a deployment GETGet a pod of a deployment GETRead a pod's YAML GETRestart a pod POSTStream a pod's logs GETList the Kubernetes events of a deployment GETStream the logs of an app's pods, merged GETList the jobs that run around a deployment's applies GETList the runs of a deployment's jobs GETCheck a promotion before making it GETList the promotions into a deployment GETPromote a snapshot to a deployment POSTGet what comes next for a deployment GETList what happened to a deployment GETGet the settings a snapshot holds GETGet how a snapshot qualifies GETList how a deployment's snapshots qualify GETSign off or reject a snapshot POSTList a deployment's snapshots GETGet a snapshot of a deployment GETCheck what restoring a snapshot would run into GETApply an earlier snapshot again POSTLet a snapshot through the guardrails that hold it POSTGet the approval request of a snapshot GETAsk for a bypass POSTRelease a held snapshot POSTDiscard a held snapshot POSTApply the deployment's snapshot again POSTRead how a deployment is shared, who holds it and who waits GETWhat to know before taking a shared deployment GETChange how a deployment is shared PUTList the claims that ended on a deployment GETClaim a shared deployment POSTExtend a claim once POSTLet go of a shared deployment POSTRun the hand-over jobs again POSTKeep the database as it is for this claim POSTGive a shared deployment back to the person who had it before POSTKeep a failing deployment as it is to debug it POSTTake a shared deployment over from its holder POSTAsk the holder of a shared deployment to hand it over POSTSay yes to a request for a shared deployment POSTSay no to a request for a shared deployment POSTRender the deployment's commit again POSTPropose taking drifted values into Git POSTList the changes proposed to adopt drift GETMark an adoption merged or dismissed PUTApply the running snapshot over the drift POSTList the fields a deployment ignores GETStop reporting a field as drift POSTReport a field as drift again DELETEGet the organization's deployment defaults GETReplace the organization's deployment defaults PUTList the change tickets attached at a deployment GETAttach a change ticket to a snapshot POSTDetach a change ticket DELETEList deployment templates GETSave a template POSTGet a template GETDelete a template DELETESave a new version of a template PUTList a template's versions GETCompare two versions of a template GETList the deployments made from a template GETSave a deployment as a template POSTGet the template a deployment came from GETRecord the template a deployment came from PUTCompare a deployment with a version of its template GETUpdate a deployment to a version of its template POSTGet how a deployment uses services GETSet how a deployment uses services PUTList the pull requests linked to a deployment GETLink a pull request to a deployment POSTUnlink a pull request DELETEApprove the link of a pull request from a fork POSTSet how a deployment is removed when its pull requests are done PUTRecreate a removed deployment POST
List sources GETCreate a source POSTInspect a repository folder before making a source of it POSTGet a source GETDelete a source DELETEReplace a source's details PUTList the branches of a git source GETList the deployments that use a source GETList apps GETCreate an app POSTList requests for apps GETAsk for a new app POSTInspect a repository folder before asking for an app POSTGet a request for an app GETApprove a request for an app POSTDecline a request for an app POSTGet an app GETDelete an app DELETEReplace an app's details PUTGet whether an app can get a deployment for a pull request GETSet whether an app can get a deployment for a pull request PUTGet an app's health checks GETTurn one of an app's health checks on or off PUTAdd a health check of the app's own POSTGet one of an app's own health checks GETRemove one of an app's own health checks DELETEReplace one of an app's own health checks PUTTry a draft health check of the app against one of its deployments POSTGet the jobs set on an app GETReplace the jobs set on an app PUTList the organization's health checks GETAdd custom health checks POSTRead health checks from Argo CD or Flux text POSTTry a draft custom health check against one deployment POSTGet a custom health check GETRemove a custom health check DELETEReplace a custom health check PUT
List environments GETCreate an environment POSTGet an environment GETReplace an environment's details PUTSet the team that owns an environment PUTGet an environment's settings GETReplace an environment's settings PUTList the pipelines that move snapshots into an environment GETList the apps in an environment that no pipeline carries GETGet an environment's protected-branch guardrail GETSet an environment's protected-branch guardrail PUTList the guardrails that reach an environment GET
List pipelines GETCreate a pipeline POSTGet a pipeline GETSave an edit as a new version PUTList the changes made to a pipeline that needed a review GETRead one change waiting for a review GETWithdraw a change waiting for a review POSTApprove or decline a change waiting for a review POSTList a pipeline's versions GETRestore an earlier version POSTGet what a pipeline's apps run in each stage GETAdd apps to a pipeline POSTTake an app out of a pipeline DELETEList a pipeline's runs GETGet a pipeline's settings GETReplace a pipeline's settings PUTArchive a pipeline POSTSay which pipeline carries each of some apps GETList the apps no pipeline carries GETList presets GETCreate a preset POSTGet a preset GETDelete a preset DELETEReplace a preset PUTList what waits for a sign-off GET
List guardrails GETCreate a guardrail POSTGet a guardrail GETSave a guardrail as a new version PUTList a guardrail's versions GETArchive a guardrail POSTAdd an exception to a guardrail POSTList guardrail exceptions GETChange an exception PUTMark a permanent exception as reviewed POSTEnd an exception now POSTPreview what a scope reaches POSTList freezes GETCreate a freeze POSTGet a freeze GETReplace a freeze PUTCancel a freeze POSTGet the organization's policy settings GETChange the organization's policy settings PUTAsk whether a snapshot could go to a deployment POSTGet a stored policy decision GET
The signed-in caller GETAsk whether the caller holds a permission on a scope POSTThe permission catalog, grouped for the role editor GETList roles GETCreate a custom role POSTGet a role GETDelete a custom role and its bindings DELETEReplace a custom role PUTList role bindings GETGive a role to a team, group or person on a scope POSTWhether each of these people can be given a role on a place POSTGive a role to several people on a place at once POSTChange when a role binding ends PATCHRevoke a role binding DELETEList organization members GETList the invitations that wait for an answer GETChoose the access an invitation gives on acceptance PUTChange the organization role an invitation gives PUTCounts for the members filters GETList teams GETCreate a team POSTGet a team GETSet a person's role in a team PUTEverything a person can do, and why GETAsk whether a person holds a permission on a place, and why or why not POSTWho has access at a place GETThe owners of a team, cluster, environment, pipeline or app GETRemove an owner DELETEMake a person an owner PUTList groups GETCreate a group POSTGet a group GETDelete a group and the bindings that target it DELETEReplace a group PUTRead the organization's request, stream and agent job limits GETUpload your own picture PUTRead a person's picture GETOrganizations that verified the domain of the caller's email GETAsk to join an organization POSTCreate an organization POSTOffers of ownership waiting for the caller's answer GETWho may hand the organization to someone else GETChoose who may hand a personal workspace to someone else PUTMembers who could be handed the organization GETOffer the organization to a member POSTThe offer of the organization that is waiting GETAccept ownership of an organization POSTTurn down ownership of an organization POSTTake an offer of ownership back POSTAsk for an archive of the organization's data POSTThe organization's newest archive GETOne archive of the organization's data GETDownload an archive of the organization's data GETClose the organization POSTThe organization's closing GETCancel the closing of the organization POSTWhere the organization is in its life GETWhere the organization's audit entries are streamed to GETStream the audit entries to a bucket or a webhook POSTStop streaming to a destination DELETEChange a destination of the audit stream PUTSend a test entry to a destination POSTSupport access to the organization GETLet Wardn staff read the organization POSTTake back the support access DELETEOpen a read-only support view POSTLeave the support view DELETE
List the organization's API tokens GETCreate an API token POSTWhich permissions the caller could give a token on some places POSTGet an API token GETRotate a token's secret POSTRevoke a token POSTHow much a token was used in the last 30 days GETA token's recent calls GETStart a command-line sign-in POSTCollect the token of a command-line sign-in POSTWhat a command-line sign-in is asking GETLet a command line act as the caller POSTRefuse a command-line sign-in POST
List activity, newest first GETEntry counts per resource type, for filter chips GETStream activity as JSON lines GETCheck the activity hash chain GETLive updates for the active organization GET
List the integrations GETList what a provider sent GETPause an integration POSTResume an integration POSTRead one integration GETDisconnect an integration DELETETest an integration POSTList the Teams or Discord channels GETConnect a Teams or Discord channel POSTChange a Teams or Discord channel PATCHDisconnect a Teams or Discord channel DELETEPost a test card to a channel POSTList where Slack messages go GETSet where Slack messages go PUTList the GitHub App installations GETStart installing the GitHub App POSTList the git host connections GETConnect GitLab, Bitbucket or Azure DevOps POSTRead a git host connection GETRename a git host connection or replace its token PATCHDisconnect a git host DELETESet what a git host connection covers and posts PUTMake a new webhook signing secret POSTTest a git host connection POSTRead the Slack connection GETDisconnect the Slack workspace DELETEConnect a Slack workspace PUTList the GitHub logins linked to members GETUnlink a GitHub login DELETELink a GitHub login to a member PUTGet a deploy marker integration GETDisconnect Datadog or Grafana DELETEConnect Datadog or Grafana PUTChoose what is posted PUTTest a connection POSTList what was posted GETGet the PagerDuty integration GETDisconnect PagerDuty DELETEConnect PagerDuty PUTMap PagerDuty services to deployments PUTMap PagerDuty schedules to on-call groups PUTRead PagerDuty now POSTList outbound webhook endpoints GETAdd an outbound webhook endpoint POSTGet an outbound webhook endpoint GETChange an outbound webhook endpoint PATCHDelete an outbound webhook endpoint DELETERotate an endpoint's signing secret POSTSend a test to an outbound webhook endpoint POSTList what was posted to an endpoint GETSend a failed delivery again POSTDisconnect ServiceNow or Jira DELETEConnect ServiceNow or Jira PUTGet the Opsgenie integration GETDisconnect Opsgenie DELETEConnect Opsgenie, or change the connection PUTRotate the Opsgenie signing token POSTSay which Opsgenie alerts count PUTMap Opsgenie schedules to on-call groups PUTRead Opsgenie now POSTTest the Opsgenie connection POSTList what an inbound integration sent and what came of it GETGet the Sentry integration GETDisconnect Sentry DELETEConnect Sentry, or change the connection PUTRotate the Sentry signing token POSTSay which Sentry project reports for which deployment PUTList the projects Sentry has GETSay what Wardn does with Sentry PUTRead Sentry now POSTTest the Sentry connection POST
Ask for a terminal in a pod POSTAttach to a terminal (WebSocket) GETList terminal sessions GETRead a terminal session GETEnd a terminal session POSTRead a terminal session's recording GETRead the organization's terminal settings GETChange the organization's terminal settings PUT
Liveness probe GET
Health
Preview

Liveness probe

GET
/health

Response Body

The process is running.

application/json
  1. response
  1. response
  2. …
status*"ok"
Value in"ok"
Example Request
curl -X GET 'https://wardn.example.com/api/v1/health'
Example Response200
{  "status": "ok"}

Change the organization's terminal settings PUT

Recorded in Activity as `org.exec_settings_changed`. A retention change applies to sessions that end after it.