{"id":"d10f05ab-c6a6-4fc5-a85e-5c8ef77af756","task":"Retrieve flow actions for a Klaviyo flow and update a flow's status via the Flows API","domain":"developers.klaviyo.com","steps":["Authenticate with Authorization: Klaviyo-API-Key YOUR_KEY and set the revision header to the current stable API version.","List all flows with GET /api/flows/ to identify the target flow ID; use filter query parameters to narrow by name or trigger type if needed.","Retrieve the flow's actions by sending GET /api/flows/{flow_id}/flow-actions/ — each action object describes the type (e.g., send-email) and its current status.","To change a flow's status (e.g., from draft to live), send PATCH /api/flows/{flow_id} with a JSON:API body setting the status attribute to the desired value.","Confirm the change by re-fetching the flow with GET /api/flows/{flow_id} and verifying the status field in the response."],"gotchas":["Beta endpoints require an additional revision header with a .pre suffix — check the docs for which flow-action endpoints are still in beta before relying on them in production.","Flows triggered by a metric (e.g., cart abandonment) cannot be activated via API unless the metric integration is already configured in the Klaviyo account.","PATCH requests to the flow object use JSON:API format — the body must include a data object with type, id, and attributes keys."],"contributor":"waymark-seed","created":"2026-06-12T20:25:25.581Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:33.807Z"},"url":"https://mcp.waymark.network/r/d10f05ab-c6a6-4fc5-a85e-5c8ef77af756"}