Flows

Partially update a flow's settings — name, trigger binding, enabled state, target devices, cooldown, or notifications; all fields are optional. Actions are managed through the flow-actions endpoints, not here. Returns 404 if the flow does not exist.

patch/flows/{flowId}

Request

  • Base URL
    https://api.mobilerun.ai
  • URL
    https://api.mobilerun.ai/flows/{flowId}
  • Auth
    HTTP bearer

Path parameters

flowIdstring uuid required

Request body

namestring
descriptionstring
triggerIdstring uuid
enabledboolean
lifecycleStatus'enabled' | 'disabled'

Set the visible agent lifecycle. Archive remains available only through DELETE.

deviceIdsstring[]
cooldownSecondsinteger nullable
cooldownScope'flow' | 'device'
notifyWebhookIdstring uuid nullable
notifyOnSuccessboolean
notifyOnFailureboolean
healthMonitoringEnabledboolean
selfHealingEnabledboolean
selfHealingMaxAttemptsinteger
recordingEnabledboolean

Deprecated compatibility field. true maps to recordingPolicy.mode="flow"; false maps to "off".

Response

Flow updated

Changes

    • breaking

      the / response property's max was increased from 2.00 to 3.00 for the response status

    • breaking

      the / response's property format changed from no format to date-time for status

    • breaking

      the / response's property format changed from no format to date-time for status

    • breaking

      the / response's property format changed from no format to date-time for status

    • breaking

      the / response's property format changed from no format to date-time for status

    • breaking

      the / response's property format changed from no format to date-time for status

    • breaking

      removed the required property from the response with the status

    • warning

      added the new undefined enum value to the / response property for the response status

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      the request property default value flow was removed

    • 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

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • 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