Workflow Definitions API
PUT/api/workflow-definitions/{workflowId}/metadata
Product availabilityAlgaPSA

Update workflow metadata

Updates workflow metadata: key, visibility, pause state, concurrency limit, failure thresholds, and retention policy.

RBAC · workflow

Path parameters

workflowIdstring <uuid>Required

Request body

Content type: application/json · schema WorkflowMetadataBody

keystring
isVisibleboolean
isPausedboolean
concurrencyLimitinteger
≥ 0
autoPauseOnFailureboolean
failureRateThresholdnumber
≥ 0 · ≤ 1
failureRateMinRunsinteger
≥ 0
retentionPolicyOverrideobject

Response body

Success response 200 · schema UnversionedV1Success

dataanyOfRequired
anyOf (option 1)object
anyOf (option 2)array of object
itemsobject
metaobject

Response codes

200
Metadata updated.
400
Invalid request.
401
API key missing/invalid.
403
Caller lacks the required permission.
404
Workflow not found.
500
Unexpected error.