Skip to main content

Preflight a campaign launch

GET 

/campaign/:id/preflight

Runs the checks a launch with the same executor would run, without queueing anything: ok is false and problems says why when the launch would be refused. Both executors need a caller of the campaign's organization (ACCOUNT_INVALID) and an agent type the executor can run (AGENT_TYPE_NOT_SUPPORTED). The cloud also needs a cloud worker on this installation (CLOUD_UNAVAILABLE), the minimum credit balance (INSUFFICIENT_CREDITS), an agent and spec it can reach and load (AGENT_NOT_CLOUD_RUNNABLE, AGENT_NEEDS_CONFIGURATION, SPEC_NOT_CLOUD_RUNNABLE), every secret the spec references (MISSING_SECRETS), and a free slot under the organization's limit of concurrent cloud runs (CLOUD_CONCURRENCY_LIMIT).

Request​

Responses​

OK