Clone a flow
Changed onCreate a copy of an existing flow, including its actions and settings. The optional body can override the new flow's name and target deviceIds. Returns 404 if the source flow does not exist.
Supports an optional Idempotency-Key header (1-255 printable ASCII characters). Replays with the same key and an identical body return the original 201; a changed body under the same key returns 422 idempotency_key_reused.
Request
- Base URLhttps://api.mobilerun.ai
- URLhttps://api.mobilerun.ai/flows/{flowId}/clone
- AuthHTTP bearer
Path parameters
Headers
Idempotency-Key: 1-255 printable ASCII characters. Same key with a different request body is a 422 idempotency_key_reused. A retryable in-flight duplicate is a 409 with Retry-After and x-should-retry: true; a terminal duplicate is a 409 with x-should-retry: false. A replay returns the current resource state with Idempotent-Replayed: true.
Request body
Response
Flow cloned
Changes
- breaking
the
/response property's max was increased from2.00to3.00for the response status - breaking
the
/response's property format changed from no format todate-timefor status - breaking
the
/response's property format changed from no format todate-timefor status - breaking
the
/response's property format changed from no format todate-timefor status - breaking
the
/response's property format changed from no format todate-timefor status - breaking
the
/response's property format changed from no format todate-timefor status - breaking
removed the required property
from the response with the status - warning
added the new
undefinedenum value to the/response property for the response status - info
added the new optional
headerrequest parameteridempotency-key - info
added the non-success response with the status
- info
added the required property
to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
to the response with the status
- breaking
- info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status
- info