Plans
Plans in Alteryx One group flows into a single orchestrated unit that can be run on demand or on a schedule. The ayx one plans branch covers the full lifecycle: browsing, creating, running, updating, sharing, and managing access.
Mutating commands are dry-run by default — add --apply to commit.
Enterprise tier required. Plans endpoints return 404 on some workspace tiers. Commands are present in all builds but will only succeed on enterprise-tier accounts.
Quick reference
Section titled “Quick reference”| Command | What it does |
|---|---|
ayx one plans list |
List plans in the workspace |
ayx one plans count |
Return total plan count |
ayx one plans detail |
Fetch a plan’s summary metadata |
ayx one plans full |
Fetch a plan’s full metadata including flows |
ayx one plans run |
Trigger an on-demand plan run |
ayx one plans run-parameters |
List the run parameters a plan accepts |
ayx one plans create |
Create a new plan |
ayx one plans update |
Update a plan |
ayx one plans delete |
Delete a plan |
ayx one plans share |
Share a plan with users or groups |
ayx one plans permissions |
Read permissions for a plan |
ayx one plans schedules |
List schedules attached to a plan |
ayx one plans export |
Export a plan to a portable format |
ayx one plans import |
Import a plan |
List and inspect
Section titled “List and inspect”List plans
Section titled “List plans”ayx one plans listayx one plans list --profile <name>ayx one plans list --limit 50ayx one plans list --allayx one plans list --all --max-pages 10--all follows pagination automatically. Pass --page-token to resume from a specific page.
Count plans
Section titled “Count plans”ayx one plans countayx one plans count --profile <name>Plan detail
Section titled “Plan detail”# Summary recordayx one plans detail <plan-id>
# Full record including flowsayx one plans full <plan-id>Use detail for fast lookups. Use full when you need to inspect which flows are in the plan or their configuration.
Run parameters
Section titled “Run parameters”ayx one plans run-parameters <plan-id>Lists the parameters that can be passed when triggering a run.
Schedules
Section titled “Schedules”ayx one plans schedules <plan-id>Returns the schedules configured for this plan. See Plan schedules for detail.
Permissions
Section titled “Permissions”ayx one plans permissions <plan-id>ayx one plans permissions <plan-id> --subject-id <subject-id>--subject-id filters the response to a specific user or group. Omit it to return all permission entries for the plan.
# Dry-runayx one plans run <plan-id>
# Trigger an on-demand runayx one plans run <plan-id> --apply
# Non-interactiveayx one plans run <plan-id> --apply --yesCreate and update
Section titled “Create and update”# Previewayx one plans create --body '<json>'
# Createayx one plans create --body '<json>' --apply
# Updateayx one plans update <plan-id> --body '<json>' --applyBoth commands require --body with the plan definition or patch as a JSON string.
# Previewayx one plans share <plan-id> --body '<json>'
# Commitayx one plans share <plan-id> --body '<json>' --applyDelete
Section titled “Delete”# Dry-runayx one plans delete <plan-id>
# Commitayx one plans delete <plan-id> --apply
# Non-interactiveayx one plans delete <plan-id> --apply --yesAutomation patterns
Section titled “Automation patterns”List all plans as JSON
Section titled “List all plans as JSON”ayx --output json one plans list --all \ | jq '.data[]'Find a plan by name
Section titled “Find a plan by name”ayx --output json one plans list --all \ | jq -r '.data[] | select(.name == "Daily ETL") | .id'Run a plan and check success
Section titled “Run a plan and check success”result=$(ayx --output json one plans run <plan-id> --apply)echo "$result" | jq -e '.ok'Run plans in a specific environment
Section titled “Run plans in a specific environment”ayx --output json --environment prod one plans list --all