Check Workflow Name Availability
Check whether a workflow name is free within the current workspace.
Workflow names are unique per workspace among live (non-deleted) workflows,
so this lets a client validate a name before create or rename. The `name` is
trimmed and validated with the same policy as create — an invalid name
returns 422. The check is case-sensitive and ignores soft-deleted workflows,
mirroring the underlying uniqueness constraint. Pass `exclude_id` when
renaming so the workflow's current name is not reported as taken by itself.
Authentication
AuthorizationBearer
Clerk JWT token
Headers
X-Workspace-Id
Query parameters
name
Workflow name to check (trimmed before comparison).
exclude_id
Workflow to exclude from the check — its own name then reads as available. Pass the workflow’s id when validating a rename.
Response
Successful Response
data
Result of a workflow-name availability check within a workspace.
meta
Errors
422
Unprocessable Entity Error

