Skip to main content
POST
/
flows
/
{flowId}
/
dry-run
Dry-run a flow
curl --request POST \
  --url https://api.mobilerun.ai/flows/{flowId}/dry-run \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "payload": {}
}'
{
  "data": {
    "validation": {
      "valid": true,
      "errors": [
        {
          "field": "<string>",
          "message": "<string>"
        }
      ]
    },
    "conditionsPassed": true,
    "nextFireTime": "<string>",
    "rateLimited": true,
    "gates": {
      "enabled": true,
      "deviceAttached": true,
      "deviceIds": [
        "3c90c3cc-0d44-4b50-8888-8dd25736052a"
      ],
      "blocked": true,
      "cooldownActive": true
    },
    "wouldFire": true,
    "actions": [
      {
        "name": "<string>",
        "method": "<string>",
        "continueOnError": true,
        "params": {},
        "children": [
          "<unknown>"
        ]
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer token via Authorization header

Path Parameters

flowId
string<uuid>
required

Body

application/json
payload
object

Response

Dry-run result

data
object
required