/agents/launch

Adds an agent to the launch queue.

Body Params
string
required

Id of the agent to launch.

Agent argument. Can either be a JSON string or a plain object. The argument can be retrieved with buster.argument in the agent’s script.

Agent argument. Can either be a JSON string or a plain object. The argument can be retrieved with buster.argument in the agent’s script.

Agent bonus argument. Can either be a JSON string or a plain object. This bonus argument is single-use, it will only be used for the current launch. If present, it will be merged with the original argument, resulting in an effective argument that can be retrieved with buster.argument in the agent’s script.

boolean

If true, argument will be saved as the default launch options for the agent.

boolean

If true, argument will be saved as the default launch options for the agent.

boolean

If set, the agent will be considered as "launched manually".

number
≥ 1

If set, the agent will only be launched if the number of already running instances is below the specified number.

internalMetadata
object | null

PhantomBuster-managed key-value pairs for internal container tagging.

userCustomMetadata
object | null

User-defined key-value pairs for container tagging.

Headers
string

ID of the org that is perfoming the operation (not necessary when using a third party key)

Responses
200

Agent launched successfully.

400

A provided parameter is duplicated or the launch argument is too big.

Language
Credentials
Header
URL
Response
Click Try It! to start a request and see the response here!