Skip to main content
Fetch one workflow by id. The response returns the workflow id, name, and a url that opens it in Clay. To list every workflow in the workspace, use clay workflows list.
clay workflows get <workflowId>

Arguments

ArgumentDescription
workflowIdWorkflow id, e.g. wf_abc123. Required.

Output

{
  "id": "wf_abc123",
  "name": "Lead enrichment",
  "url": "https://app.clay.com/..."
}
FieldTypeDescription
idstringWorkflow id.
namestringDisplay name.
urlstringLink that opens the workflow in Clay.

Errors

CodeExitNotes
validation_error2workflowId argument is required.
not_found6No workflow with that id.
auth_forbidden3The API key lacks the terracotta:cli scope.

Examples

clay workflows get wf_abc123
clay workflows get wf_abc123 | jq -r '.url'
clay workflows list | jq -r '.data[0].id' | xargs clay workflows get