---
id: workflow-list
title: "List workflows"
description: "Lists the workflows in your organization, paginated."
sidebar_label: "List workflows"
hide_title: true
hide_table_of_contents: true
api: eJztWEuP2zYQ/isDXpK48qNFghS+bdJNsUVbBMkGGyBZ1LQ4kpilSIUc2esa+u/FULIt7yreNL30kJMtaR7fPDnDrSCZBzH/IK6cv8mMW4PCTFtN2tkgrhOhMKReV/ws5uJ3HSgAFQjrjj6AtrBxtQfnc2n135JJE6hkrq0kVBORCFehj+8vlJiLHevc6EAiEZX0skRCz0C2QrOizzX6jUiElSWKuTC61Ewa0gJLKeZbQZuKP2hLmKMXDDSTtSExfzZLRClvdVmX/DBr7hpxWSB0BGDrcokeXAYeQ20oQIWewSM8To0sK1RADp7NZk/YELyVZWWQ5TbJMFSXZQEfwFpq28Kb9XAPAw0kPWmbQ+W0Jcic37lWO3sEadZcJyJgWntNm+jJJUqP/qymQsw/XPNnj6FyNmBgWD/NZvxzX+c+dsARYufso80aU2cJLTGvrCqj04hl+imwgO19u93yE6Yx0J4TgXSrXknqU0nvJbtRE5bxO2lis/aZKZJ7Aj1+rrVHxQms1S4GiUg9Mvwzpqkr1f2/votAq57+QF7bvO9Qsc7+0tnVi+VVVtX5zIomETe4Oc0jSz1WXmc0Dqm0Fj1ztalxiu3sjwuIbNBjO4rMXe6GC4cje0rsVKbMPY5One6xMXO/XC8GHMGw/bDeEkneiV4Xkqbv+wFkmfOlJDHn4OOYdInMcgjRV7I0TZMIciTNQHk1SdcuBj915TnwrWnFPn3//n5VvDQaLQF67/wEuEaWTm0gyE2AdSEJ1vx57Z3N5yBtSwgLVrFIQEJRl9KOPUollwZhoZCkNvzJqgSchZU0WsVYQCa1qT0Gfo+AlvwmNiWXZWgVt4JMo1EnKrHybmmw/GGgIruaet1SDJTUYAeySnrVGRUNf/zm1Ut4/vPsOXS6oLUoJBDQr1CBDLD4EqZF7KXHtdjiuB/+YzznEQLTwLs3FwngJJ/AoiCqwnw63XWpcdgEwnKicDWNoMPhk3U0zlxt1eKoeYpvksEJ1bn0VBX+6bhxd/SBJNVh8FjYczydPY3lzy59SPS+N8NaUwFawZ22BXjLpzbr1paDmT4Ad29omPaGgelAN2wdM9DEj6P22mPg+hjO8/nDeX44E06eKF/RDwNhFabcY6eps5nu+lkIMn/AK2UdCAq5QtidOtBp38Cj1Cl81LWQ2EWeDXWRdxZvK0z5YI1V4ruG8r2Sv1fy90r+X1ZyO+0UjveWHNtthaF9wbU89sfKbleZ2pteQspKT2xtTGUk8VQzSV0p+kP7W67u1gH90X1vCwvaLRb83BKJpPvzajcp/XZ1KZqYJJkbmqQZJmNsYzqb/DiZ3Yv0i1oblUBVL40ORQK+tnFaAbeMFvYWQGfjRtg37ZDKaHNtcfLRfrSveEvUCmXY7YoIVOgAZ68v5kwwhtHol4MzRyOQHo+2TVAurUu0FCZwvkLPI9gKYYmpKzGA7PY5VDAaeVxpNnE0SiA4sI4KTkUdALn1Ghdo0uo8M1oG3OnjYV216xb6wNufhJ0seGz0DcLC6BUunkzgLCW9knE/kxYky2EFcSSk2tsAmvdlr/OcZTnbaTy/xbTeGekxddyUoz3Rz5zbsNzE36TrBraqiWfCmto/HAvj8tBJfIupRwrx9Up6zXMmC79BrCD1qNCSlqYlCEiMObA0Xu/YxYcsnsTdwgUqZTx0usWWd/9D1O8mzPZwhH3rLUGX5YS3NK2M1LExxRLaNYQP4lj/0U1F4QIxyXa7lAHfedM0/Lpdz7kalQ7sFSXmmTQBTxjwH24IBo2IW+P+EmMlTc00gq8Q/h2oB28DTqjfX0wc9F/zQ5sr8YYgEQVKhT66q+U6S1Os+lz3Vn6Wsu+Rv55fikTI4751p09F6btjxm56srfbluLS3aBtGrGDTvwsmuumaf4BZ3KGOQ==
sidebar_class_name: "get api-method"
info_path: docs/api/workflows
custom_edit_url: null
---

import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import ParamsDetails from "@theme/ParamsDetails";
import RequestSchema from "@theme/RequestSchema";
import StatusCodes from "@theme/StatusCodes";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
import Heading from "@theme/Heading";

<Heading
  as={"h1"}
  className={"openapi__heading"}
  children={"List workflows"}
>
</Heading>

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



Lists the workflows in your organization, paginated.

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

<ParamsDetails
  parameters={[{"in":"query","name":"limit","schema":{"type":"integer","default":50,"maximum":500},"description":"The maximum number of results per page (clamped to 500).","example":50},{"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 list of workflows.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"title":"Workflow","type":"object","required":["id","name","createdAt","updatedAt"],"properties":{"id":{"type":"string","example":"wf_ifWBbWfpug0n"},"key":{"type":"string","example":"ami-drift-scanner"},"name":{"type":"string","example":"AMI drift scanner"},"description":{"type":"string"},"path":{"type":"string","example":"/action-items/ami-drift"},"organizationId":{"type":"string"},"nrn":{"type":"string"},"metadata":{"type":"object"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}}},"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"}}}}}},"4XX":{"description":"Client error. The body says what went wrong: an error `type`, a human-readable `detail`, and, on validation failures, one entry per offending field.","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>


      