Start a CLI campaign run
POST/campaign/start
Used by hackagent campaign run FILE. Saves the file's campaign, by name among the organization's CLI campaigns (a dashboard campaign of the same name is left alone), and creates its campaign run already claimed by the caller: status RUNNING, executor cli. The caller then executes it like any executor, with heartbeats, child runs, results and a final finish. The agent must belong to the caller's organization.
Request
Responses
- 201
- 400
- 401
- 403
- 429
Created
Validation error: the request is invalid and nothing was changed.
Missing, invalid, expired or revoked credential, or a credential this endpoint does not accept.
The credential may not do this (for example a caller without an organization). Also refused when the installation's license has no runs left this month (code: license_run_limit) or is not valid (code: license_read_only).
Rate limited: retry after the number of seconds in the Retry-After header.