---
id: workflow-alias-list
title: "List aliases"
description: "Lists the workflow's aliases with per-trigger activation state. Webhook URLs in `triggerStates` are recomputed on each read."
sidebar_label: "List aliases"
hide_title: true
hide_table_of_contents: true
api: eJztWEtvGzcQ/isDXvzoauW2KVLszUmdwkVSGI4NB0iMiFrOahlzyQ0fklVB/70YcvWy1jaaS3OIL5bEITmPb76Z4YJ5PnGs+MhujL2rlJkBV5I7dOw2YwJdaWXrpdGsYG+l8w58jTDrZA/cShpm0tfQoh14KycTtMBLL6ectoLz3GMONziujbmD68u3DqSGUSf6npbdCLhFsFiapg0eBRgNyMsaLHKRs4yZFm0871ywgq1UGEQFCiWdZxlrueUNerRk0oJJUrvlvmYZ07xBVjApWMYsfg3SomCFtwEz5soaG86KBfPzlqSct1JP2PKhC9ZOslihRV1iARwc2inaQSM16S0FHI5m1ec8z0dHYOxDj5VKovaDsjYONdzhHA6VmaEtuUNwKkwyCFp+DUjuBGMnXMt/ouFH5Aa8502rSMlZ9VlWN6/GN1UbJieaLW8z5rAMVvp5NH+M3KI9Db5mxcdbWrboWqMpusWC/XJyQv92LbzqDS9dXBrtUXvawttWyTLqNPziaN9i34dm/AXLGBRLofMy3Sq435bi1vI5y5j02MR1L3207pRuZtneaZvYfVyD4FysAkzrU+nIloxFCNJvoRXcozj1BOpddbaO2Av/k85eIeqpTYquX27ptJEmrEzQbov/ulyrvJEbG6OQkzUPkFijrzGBKwbpwEGXTy5mUpd/KHLSYOOBHoUrYxvuWUGxwYGXDW5teTXvzYsGPX8Qyi5Ey4ztJHYfJHZtecdbMNVKfUogb0B6t88hFFQhJP3C1cVOIFe4udq6uwc+u9GnU4PrDaIODUGsRS3SLyphqeJSIeFN6i5Yt6u4/VcPC/ymbYo7f2atsc8nW4PO8UkPSpeUz6JvYUl4DZoue/dojB9G8DJtAJIGF8oaeKoUXUwPHIxmif6vrRrle4puFvtUeizqxN7Lrb+MvfjwYZ/TXkfGBSSf5UAMNzZiDo7PHcxq7mFGyzNr9KQArpMgjEi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+bYP8+uyOW7VPeA2uLpveosFkniytyhXi7X2nn6Tgoul/8CjepCZg==
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 aliases"}
>
</Heading>

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



Lists the workflow's aliases with per-trigger activation state. Webhook URLs in `triggerStates` are recomputed on each read.

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

<ParamsDetails
  parameters={[{"in":"path","name":"id","required":true,"schema":{"type":"string"},"description":"Workflow reference: a server-minted id (`wf_...`) or the workflow's client-chosen key (lowercase slug, unique per organization).","example":"wf_ifWBbWfpug0n"}]}
>
  
</ParamsDetails>

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

<StatusCodes
  id={undefined}
  label={undefined}
  responses={{"200":{"description":"The workflow's aliases.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"title":"Alias","type":"object","required":["workflowId","name","revision","active","updatedAt"],"properties":{"workflowId":{"type":"string","example":"wf_ifWBbWfpug0n"},"name":{"type":"string","example":"live"},"revision":{"type":"integer","example":3},"active":{"type":"boolean","description":"Whether the alias's triggers are activated."},"updatedAt":{"type":"string","format":"date-time"},"updatedBy":{"type":"string"},"metadata":{"type":"object"},"triggerStates":{"type":"object","description":"Map of trigger id to its activation state.","additionalProperties":{"title":"TriggerState","type":"object","properties":{"status":{"type":"string","enum":["pending","live","failed","inactive"]},"activatedAt":{"type":"string","format":"date-time"},"deactivatedAt":{"type":"string","format":"date-time"},"lastError":{"type":"object","properties":{"message":{"type":"string"},"code":{"type":"string"}}},"runtimeMetadata":{"type":"object","description":"Runtime data such as the trigger's `webhookUrl`.","properties":{"webhookUrl":{"type":"string"}},"additionalProperties":true}}}}}}}}}}}},"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>


      