Commands
Run API
Execute an API Run.Name of the API to run. APIs are under the
api directory, without the file extension. Use / for nested directories.Parameters to pass to the API. Accepts a JSON string or a path to a JSON file.
Number of retries for the API if an error in the API execution occurs.
Auth session ID to use for the run. The auth session files are expected to be in
./auth-sessions-instances/<id>.Must be provided if auth sessions are enabled in Intuned.json. Ignored if not.--auto-recreate
Auto-recreate the auth session if validation fails.Only applicable if auth sessions are enabled in Intuned.json.
Number of auth session check retries.Only applicable if auth sessions are enabled in Intuned.json.
Number of auth session create retries (for auto-recreate).Only applicable if auth sessions are enabled in Intuned.json and
--auto-recreate is set.Write the run result to a file instead of stdout. The output is a JSON object containing the result and extended payloads (if applicable).
Proxy URL to use for the browser.
Timeout for each attempt. Accepts milliseconds (integer) or an ms-formatted string (e.g.,
30s, 5m, 1h).Overall timeout from start to end of the command. Accepts milliseconds or an ms-formatted string.
--headless
Run the browser in headless mode. By default, the browser runs in headful mode (a visible window).
--trace
Capture a Playwright trace of each attempt. Useful for debugging. Traces are saved to
./traces/ by default.Custom directory to save trace files. Defaults to
traces/.Custom directory to store/load auth session instance files. Defaults to
auth-sessions-instances/.--keep-browser-open
Keep the last browser open after the command completes. Useful for debugging.
Chrome DevTools Protocol URL to connect to an existing browser instance. When set,
--proxy, --headless, and --keep-browser-open options are ignored.Name of a persistent browser instance (started with
dev browser start) to connect to via CDP.Browser tab ID to execute on. Requires
--cdp-url or --cdp-browser-name. If not specified, the first tab is used.-h, --help
Display help for command. Will not execute the command.
Run AuthSession Create
Executes an AuthSession:Create Run. Auth sessions must be enabled in Intuned.json.Parameters for auth session creation. Accepts a JSON string or a path to a JSON file.
ID of the auth session to create. The auth session files will be created in
./auth-sessions-instances/<id>. Auto-generated if not provided.Number of attempts to check if the auth session is valid after successful creation.
Number of attempts to create the auth session.
Proxy URL to use for the browser.
Timeout for each attempt. Accepts milliseconds (integer) or an ms-formatted string (e.g.,
30s, 5m, 1h).Overall timeout from start to end of the command. Accepts milliseconds or an ms-formatted string.
--headless
Run the browser in headless mode. By default, the browser runs in headful mode (a visible window).
--trace
Capture a Playwright trace of each attempt. Useful for debugging. Traces are saved to
./traces/ by default.Custom directory to save trace files. Defaults to
traces/.Custom directory to store/load auth session instance files. Defaults to
auth-sessions-instances/.--keep-browser-open
Keep the last browser open after the command completes. Useful for debugging.
Chrome DevTools Protocol URL to connect to an existing browser instance. When set,
--proxy, --headless, and --keep-browser-open options are ignored.Name of a persistent browser instance (started with
dev browser start) to connect to via CDP.Browser tab ID to execute on. Requires
--cdp-url or --cdp-browser-name. If not specified, the first tab is used.-h, --help
Display help for command. Will not execute the command.
Run AuthSession Validate
Executes an AuthSession:Validate Run. Auth sessions must be enabled in Intuned.json.ID of the auth session to validate. The auth session files are expected to be in
./auth-sessions-instances/<id>.--auto-recreate
Auto-recreate the auth session if validation fails.
Number of attempts to check if the auth session is valid.
Number of attempts to create the auth session if initial check fails.Only applicable if
--auto-recreate is set.Proxy URL to use for the browser.
Timeout for each attempt. Accepts milliseconds (integer) or an ms-formatted string (e.g.,
30s, 5m, 1h).Overall timeout from start to end of the command. Accepts milliseconds or an ms-formatted string.
--headless
Run the browser in headless mode. By default, the browser runs in headful mode (a visible window).
--trace
Capture a Playwright trace of each attempt. Useful for debugging. Traces are saved to
./traces/ by default.Custom directory to save trace files. Defaults to
traces/.Custom directory to store/load auth session instance files. Defaults to
auth-sessions-instances/.--keep-browser-open
Keep the last browser open after the command completes. Useful for debugging.
Chrome DevTools Protocol URL to connect to an existing browser instance. When set,
--proxy, --headless, and --keep-browser-open options are ignored.Name of a persistent browser instance (started with
dev browser start) to connect to via CDP.Browser tab ID to execute on. Requires
--cdp-url or --cdp-browser-name. If not specified, the first tab is used.-h, --help
Display help for command. Will not execute the command.
Run AuthSession Update
Executes an AuthSession:Update Run. Auth sessions must be enabled in Intuned.json.ID of the auth session to update. The auth session files are expected to be in
./auth-sessions-instances/<id>.New JSON parameters or path to a JSON file. If not provided, the last used parameters will be used.
Number of attempts to check if the auth session is valid after successful update.
Number of attempts to create the auth session.
Proxy URL to use for the browser.
Timeout for each attempt. Accepts milliseconds (integer) or an ms-formatted string (e.g.,
30s, 5m, 1h).Overall timeout from start to end of the command. Accepts milliseconds or an ms-formatted string.
--headless
Run the browser in headless mode. By default, the browser runs in headful mode (a visible window).
--trace
Capture a Playwright trace of each attempt. Useful for debugging. Traces are saved to
./traces/ by default.Custom directory to save trace files. Defaults to
traces/.Custom directory to store/load auth session instance files. Defaults to
auth-sessions-instances/.--keep-browser-open
Keep the last browser open after the command completes. Useful for debugging.
Chrome DevTools Protocol URL to connect to an existing browser instance. When set,
--proxy, --headless, and --keep-browser-open options are ignored.Name of a persistent browser instance (started with
dev browser start) to connect to via CDP.Browser tab ID to execute on. Requires
--cdp-url or --cdp-browser-name. If not specified, the first tab is used.-h, --help
Display help for command. Will not execute the command.
Attempt API
Execute an API Attempt.Name of the API to execute. APIs are under the
api directory, without the file extension. Use / for nested directories.Parameters to pass to the API. Accepts a JSON string or a path to a JSON file.
Auth session ID to use for the attempt. The auth session files are expected to be in
./auth-sessions-instances/<id>.Must be provided if auth sessions are enabled in Intuned.json. Ignored if not.Write the attempt result to a file instead of stdout. The output is a JSON object containing the result and extended payloads (if applicable).
Proxy URL to use for the browser.
Timeout for each attempt. Accepts milliseconds (integer) or an ms-formatted string (e.g.,
30s, 5m, 1h).Overall timeout from start to end of the command. Accepts milliseconds or an ms-formatted string.
--headless
Run the browser in headless mode. By default, the browser runs in headful mode (a visible window).
--trace
Capture a Playwright trace of each attempt. Useful for debugging. Traces are saved to
./traces/ by default.Custom directory to save trace files. Defaults to
traces/.Custom directory to store/load auth session instance files. Defaults to
auth-sessions-instances/.--keep-browser-open
Keep the last browser open after the command completes. Useful for debugging.
Chrome DevTools Protocol URL to connect to an existing browser instance. When set,
--proxy, --headless, and --keep-browser-open options are ignored.Name of a persistent browser instance (started with
dev browser start) to connect to via CDP.Browser tab ID to execute on. Requires
--cdp-url or --cdp-browser-name. If not specified, the first tab is used.-h, --help
Display help for command. Will not execute the command.
Attempt AuthSession Check
Executes an AuthSession:Check Attempt. Auth sessions must be enabled in Intuned.json.ID of the auth session to check. The auth session files are expected to be in
./auth-sessions-instances/<id>.-h, --help
Display help for command. Will not execute the command.
Attempt AuthSession Create
Executes an AuthSession:Create Attempt. Auth sessions must be enabled in Intuned.json.Parameters for auth session creation. Accepts a JSON string or a path to a JSON file.
ID of the auth session to create. The auth session files will be created in
./auth-sessions-instances/<id>. Auto-generated if not provided.Proxy URL to use for the browser.
Timeout for each attempt. Accepts milliseconds (integer) or an ms-formatted string (e.g.,
30s, 5m, 1h).Overall timeout from start to end of the command. Accepts milliseconds or an ms-formatted string.
--headless
Run the browser in headless mode. By default, the browser runs in headful mode (a visible window).
--trace
Capture a Playwright trace of each attempt. Useful for debugging. Traces are saved to
./traces/ by default.Custom directory to save trace files. Defaults to
traces/.Custom directory to store/load auth session instance files. Defaults to
auth-sessions-instances/.--keep-browser-open
Keep the last browser open after the command completes. Useful for debugging.
Chrome DevTools Protocol URL to connect to an existing browser instance. When set,
--proxy, --headless, and --keep-browser-open options are ignored.Name of a persistent browser instance (started with
dev browser start) to connect to via CDP.Browser tab ID to execute on. Requires
--cdp-url or --cdp-browser-name. If not specified, the first tab is used.-h, --help
Display help for command. Will not execute the command.
TestJob Trigger
Trigger a test job run with code from the current directory. Uploads project code and triggers execution on the Intuned platform.JSON array of payloads. Each payload object should contain
apiName (required), parameters (optional), and retry (optional). Accepts a JSON string or a path to a JSON file.Not required if --from-job-config is provided.Path to a job config file containing
payload and optional configuration fields. Cannot be used together with the positional payloads argument.Path to a JSON file with auth session input. Required if auth sessions are enabled in Intuned.json.
Maximum number of concurrent requests. Only applicable when using positional payloads (not
--from-job-config).Maximum retry attempts per payload. Only applicable when using positional payloads.
Request timeout in seconds. Only applicable when using positional payloads.
Output as JSON.
Suppress non-essential output.
-h, --help
Display help for command. Will not execute the command.
TestJob Result
Get the result of a test job run.The run ID returned by
test-job trigger.Wait for the test job to complete, polling until the given duration expires. Accepts an ms-formatted string (e.g.,
30s, 5m, 2h).Output as JSON.
Suppress non-essential output.
-h, --help
Display help for command. Will not execute the command.
TestJob Download
Download test job results to a file.The run ID returned by
test-job trigger.Output file path. Defaults to
test_results_<run-id>.json in the current directory. Can be a directory path (file will be auto-named inside it).Wait for the test job to complete before downloading. Accepts an ms-formatted string (e.g.,
30s, 5m).Suppress non-essential output.
-h, --help
Display help for command. Will not execute the command.
TestJob Terminate
Terminate a running test job execution.The run ID of the test execution to terminate.
Output as JSON.
Suppress non-essential output.
-h, --help
Display help for command. Will not execute the command.
Provision
Provision project code to the Intuned platform with validation.Project name. See Project Name Resolution.
Skip all prompts.
Output as JSON.
-h, --help
Display help for command. Will not execute the command.
Deploy
Provision and deploy the project to the Intuned platform. This command provisions the code and then triggers a deployment.Project name. See Project Name Resolution.
Skip all prompts and auto-accept defaults.
Output as JSON.
-h, --help
Display help for command. Will not execute the command.
Browser Start
Start a persistent browser instance managed by the CLI.Name for the browser instance. Used to reference the browser in other commands.
CDP port for the browser. If not specified, an available port is auto-selected (starting from 9222).
Run the browser in headless mode.
Viewport size in
WIDTHxHEIGHT format (e.g., 1920x1080).Proxy URL to use for the browser.
Output as JSON.
-h, --help
Display help for command. Will not execute the command.
Browser Stop
Stop persistent browser instance(s).Name of the browser instance to stop.
Stop all running browser instances.
Output as JSON.
-h, --help
Display help for command. Will not execute the command.
Browser Status
Show persistent browser instance status.Browser instance name. If not specified, shows status for all instances.
Output as JSON.
-h, --help
Display help for command. Will not execute the command.
Browser Tabs Create
Create a new tab in a persistent browser instance.Browser instance name.
Initial URL for the new tab.
Output as JSON.
-h, --help
Display help for command. Will not execute the command.
Browser Tabs List
List all tabs in a persistent browser instance.Browser instance name.
Output as JSON.
-h, --help
Display help for command. Will not execute the command.
Browser Tabs Close
Close a tab by its ID in a persistent browser instance.Tab ID to close (4-character short ID). Use
dev browser tabs list to find tab IDs.Browser instance name.
Output as JSON.
-h, --help
Display help for command. Will not execute the command.
Reference
- Overview.
- Platform reference — Manage projects on Intuned platform.