Skip to main content

List workflows using a secret or variable

GET 

/workflows/config/:id/usage

Lists the workflows that use the entry, paginated. Check it before you delete an entry. A workflow uses an entry when all of these hold:

  • The entry lives on the workflow itself, on its folder, or on a folder above it.
  • No entry with the same name sits closer to the workflow, so this is the entry the workflow resolves.
  • Its latest revision, or the revision of one of its active aliases, references the name: secrets.NAME for a secret, vars.NAME for a variable.

Only the workflows you can read are listed and counted, so with access to part of the organization the list can be shorter than the real usage.

Request​

Responses​

The paginated list of workflows that use the entry.