---
id: workflow-config-list-all
title: List all secrets and variables
description: >-
  Lists every entry of the organization, on every level, in one paginated call:
  the organization (`/`), each folder, and each workflow. Values are never
  included: read one entry to get its value.
sidebar_label: List all secrets and variables
hide_title: true
hide_table_of_contents: true
api: >-
  eJztWltz2zYW/itn8BJ7lqIkx04a7eyDm0l33N1NM66zaet6RIg8lNCQAAuAUrQe/fedA0CkLpScONluH/JkkwQOzvU7F+ieWT41bHTL3in9Pi/UAgymGq0BLjOYcy34pEDD7iKWoUm1qKxQko3YP4WxBnCOegkorV6CysHOEJSecin+w2ldBEqGNQXOsYhASFASoeJTIbnFDFJeFKO9jXCS9JPTCJCnM8hVkaGOHEfuxSLwGsO/eVGjAa4RJJ0DQqZFnWE2Ao08c2d57qyCKVoQ1sCcNsW/yl9lD35WNUjEzC/naYrG0Nr1EQaMKnExQ43E+z6f54OnoOwM9UIYPI2J5jthZ1v0lN+4mKliZ/tS1WAQN/UY+/1h6wTJJsLCSa404AdeVgU6tXKQvERT8RRPd+hsHUFa8xr09COoito4huhZoFlbrpWZyKVcOiFiSKyyvEgiSNQctRZZhvJKJt4gSW0w+3aZgJLFElJVSwuLGbfbNEgtr8h0Wi2eGEgq1KUwRihpErBYFP7MrY2ZggVpQtgIjAIOaSFQWsgUGvnEerORgdMZpu+hQk3U3VHXJESqSmczDrn4QEt1hnq0rZxcaGMjkl4GJZnw1Cjjr44LIZ3rRTBZQlXwFJ3wbuVk6SwRs4ipCrUjfJWxEVuT6KVK5mI6KoSxPV4ULGIV17xEi5pi754Jiqjfa9RLFjEiRo8sYiadYcnZ6J7ZZUUvjdVCTtlqNxpfcoM9IQ1KI6yYIxjkOp0BGSwEgPMWYjI4ERux76+uL9kq6j7f48ARJiKGsi4JO6yukUUs54VBdrfH3A/kGWtYOUlodXIKSnuXaTAGThJHITmNDzLlUKSLJ641p3XCYmmO8ao0PXlbs6ixEbtbrSJm7NIpJle6dJqqCpUhGxHLnVI1EeQi3KCHORPDNVbICW4ITCpuDBiKTV4cl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utmMLlrcu226ZuNLA0K3iBHA3EVspoylNff3E27wrS5WK3rtr1oIdjJhKDKzMBA4Ep+fcpvfyfZ7XIZfEMz9CIK5u5+P5+ARV/ZHWWl+TPA5/Dzmsv0oV+tfE3wJpv6cN+lHhA8/N/iSsv/Rd99H5dv4IcCXkPERd9tH2Qv3849k7X95tX2U7fZe/pGcf+k77eMBHm7jP4PXBy+zjxzf3Ku359/Rg0dPd8EdsRlyN5a9vQ+7LtMUq81dewNPotKUv39/dUNJaLsm3alBHfV1ByGXG7Tv7/2KG/Ue5WrF1qxbemaru9Vq9V/SdbOZ
sidebar_class_name: get api-method
info_path: docs/api/nullplatform-api
custom_edit_url: null
canonical: 'https://docs.nullplatform.com/docs/api/workflow-config-list-all'
---
<Heading
  as={"h1"}
  className={"openapi__heading"}
  children={"List all secrets and variables"}
>
</Heading>

<MethodEndpoint
  method={"get"}
  path={"/workflows/config/all"}
  context={"endpoint"}
>

</MethodEndpoint>

Lists every entry of the organization, on every level, in one paginated call: the organization (`/`), each folder, and each workflow. Values are never included: read one entry to get its value.

- You need read access to workflows somewhere in the organization (403 otherwise).
- With read access on the whole organization you see every entry. With access below it (for example, on a namespace) you see every organization and folder entry, plus the entries of the workflows you can read. `total`, `overriddenIn`, and `usedBy` only count what you can read.
- Each row's `permissions` tells you what you can do with it, so a client doesn't need one check per row.
- Rows come in a fixed order: organization first, then folders, then workflows; within each, by place and then by name.

<Heading
  id={"request"}
  as={"h2"}
  className={"openapi-tabs__heading"}
  children={"Request"}
>
</Heading>

<ParamsDetails
  parameters={[{"in":"query","name":"q","schema":{"type":"string"},"description":"Case-insensitive search over entry names.","example":"JIRA"},{"in":"query","name":"secret","schema":{"type":"string","enum":["true","false"]},"description":"Only secrets (`true`) or only variables (`false`)."},{"in":"query","name":"level","schema":{"type":"array","items":{"type":"string","enum":["org","folder","workflow"]}},"style":"form","explode":true,"description":"Only entries on these levels. Repeat it to pass several."},{"in":"query","name":"path","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"description":"Only entries defined exactly on these folders (`/` matches the organization entries). Repeat it to pass several. Combined with `workflow`, a row matches either.","example":["/action-items/ami-drift"]},{"in":"query","name":"workflow","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"description":"Only entries defined on these workflows (`wf_...` id or key). Repeat it to pass several. Combined with `path`, a row matches either."},{"in":"query","name":"name","schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"description":"Only entries with these exact names. Repeat it to pass several."},{"in":"query","name":"include","schema":{"type":"string","enum":["usage"]},"description":"`usage` adds `usedBy` to each row: the number of workflows you can read that use the entry."},{"in":"query","name":"limit","schema":{"type":"integer","default":50,"maximum":500},"description":"The maximum number of entries per page (up to 500, or 50 with `include=usage`)."},{"in":"query","name":"offset","schema":{"type":"integer","minimum":0,"default":0},"description":"The starting point for pagination.","example":0}]}
>

</ParamsDetails>

<RequestSchema
  title={"Body"}
  body={undefined}
>

</RequestSchema>

<StatusCodes
  id={undefined}
  label={undefined}
  responses={{"200":{"description":"The paginated entries. `levelTotals` splits `total` by level.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","example":"cfg_2b9d1f0a"},"name":{"type":"string","example":"NP_API_KEY"},"secret":{"type":"boolean"},"level":{"type":"string","enum":["org","folder","workflow"]},"path":{"type":"string","description":"Organization and folder entries: where the entry lives (`/` for the organization)."},"workflow":{"type":"string","description":"Workflow entries: the workflow id."},"workflowName":{"type":"string","nullable":true,"description":"Workflow entries: the workflow name, or `null` if the workflow no longer exists."},"workflowNrn":{"type":"string","nullable":true,"description":"Workflow entries: the workflow's owner NRN, or `null` if it no longer exists or has none."},"overriddenIn":{"type":"array","description":"The folders and workflows below this entry that define the same name, so their workflows use that one instead. Always empty for workflow entries.","items":{"type":"object","properties":{"level":{"type":"string","enum":["folder","workflow"]},"path":{"type":"string"},"workflow":{"type":"string"},"workflowName":{"type":"string"}}}},"permissions":{"type":"object","properties":{"canWrite":{"type":"boolean","description":"Whether you can change or delete the entry."},"canReadValue":{"type":"boolean","description":"Whether you can read its value with [Read a secret or variable](/docs/api/workflow-config-read). Always `false` for secrets."}}},"usedBy":{"type":"integer","description":"Only with `include=usage`."},"createdBy":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}}},"total":{"type":"integer"},"levelTotals":{"type":"object","properties":{"org":{"type":"integer"},"folder":{"type":"integer"},"workflow":{"type":"integer"}}},"limit":{"type":"integer"},"offset":{"type":"integer"}}},"example":{"data":[{"id":"cfg_2b9d1f0a","name":"NP_API_KEY","secret":true,"level":"org","path":"/","overriddenIn":[{"level":"folder","path":"/action-items/ami-drift"}],"permissions":{"canWrite":true,"canReadValue":false},"usedBy":10,"createdAt":"2026-07-20T19:44:37.211Z","updatedAt":"2026-09-16T15:18:27.404Z"}],"total":132,"levelTotals":{"org":2,"folder":116,"workflow":14},"limit":50,"offset":0}}}},"503":{"description":"The secrets and variables store is not configured on this engine (`config_entries_unavailable`), as plain JSON.","content":{"application/json":{"schema":{"title":"ConfigError","type":"object","description":"The error body secrets-and-variables endpoints return: a machine-readable code plus a message.","properties":{"error":{"type":"string","description":"Machine-readable code, e.g. `invalid_name`, `invalid_value`, `invalid_secret`, `invalid_place`, `invalid_path`, `place_required`, `secret_flag_immutable`, `workflow_not_found`, `not_found`, `config_entries_unavailable`.","example":"invalid_place"},"message":{"type":"string","example":"Provide exactly one of path or workflow"}}}}}},"4XX":{"description":"Client error. Invalid parameters return a problem body that lists every invalid one.","content":{"application/problem+json":{"schema":{"title":"Problem","type":"object","description":"The standard error body (RFC 7807 problem details, served as `application/problem+json`).","properties":{"type":{"type":"string","description":"Error type URI, e.g. `https://workflow-system.dev/errors/workflow-not-found`.","example":"https://workflow-system.dev/errors/workflow-not-found"},"title":{"type":"string","example":"Not found"},"status":{"type":"integer","example":404},"detail":{"type":"string","example":"No workflow with id wf_ifWBbWfpug0n exists"},"instance":{"type":"string","example":"/workflows/definitions/wf_ifWBbWfpug0n"},"errors":{"type":"array","description":"Present on validation failures: one entry per offending field.","items":{"type":"object","properties":{"path":{"type":"string","example":"/steps/scan/config"},"message":{"type":"string","example":"must have required property 'code'"}}}}}}}}},"5XX":{"description":"Unexpected server error.","content":{"application/problem+json":{"schema":{"title":"Problem","type":"object","description":"The standard error body (RFC 7807 problem details, served as `application/problem+json`).","properties":{"type":{"type":"string","description":"Error type URI, e.g. `https://workflow-system.dev/errors/workflow-not-found`.","example":"https://workflow-system.dev/errors/workflow-not-found"},"title":{"type":"string","example":"Not found"},"status":{"type":"integer","example":404},"detail":{"type":"string","example":"No workflow with id wf_ifWBbWfpug0n exists"},"instance":{"type":"string","example":"/workflows/definitions/wf_ifWBbWfpug0n"},"errors":{"type":"array","description":"Present on validation failures: one entry per offending field.","items":{"type":"object","properties":{"path":{"type":"string","example":"/steps/scan/config"},"message":{"type":"string","example":"must have required property 'code'"}}}}}}}}}}}
>

</StatusCodes>

