Commands
- Local development
- Save Project
- Deploy Project
Run API
Executes an API Run.Name of the API to run. APIs are under
api
directory, without the file extension. If the API is in a nested directory, /
is used to separate the 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.
Proxy URL to use for the browser.
--headless
Run the browser in headless mode. By default, the browser runs in headful mode.
Timeout for an attempt. Check out timeout format for more information.
Path to save the output of the run. The output is a JSON object that contains the result of the API and extended payloads (if applicable).
Auth session ID to use for the run. The auth session files are expected to be in
./auth-session-instances/<id>
.Must be provided if auth sessions are enabled in Intuned.json. Ignored if not.--no-auth-session-auto-recreate
Disable auto recreate for auth session. By default, the auth session will be auto-recreated if initial check fails.Only applicable if auth sessions are enabled in Intuned.json.
Number of attempts to check if the auth session is valid.Only applicable if auth sessions are enabled in Intuned.json.
Number of attempts to create the auth session if initial check fails.Only applicable if auth sessions are enabled in Intuned.json and auth session auto-recreate is enabled.
-h, --help
Display help for command. Will not execute the command.
Run Auth Session 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-session-instances/<id>
.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 enabled.
Proxy URL to use for the browser.
--headless
Run the browser in headless mode. By default, the browser runs in headful mode.
Timeout for an attempt. Check out timeout format for more information.
--no-auto-recreate
Disable auto recreate. By default, the auth session will be auto-recreated if initial check fails.
-h, --help
Display help for command. Will not execute the command.
Run Auth Session Create
Executes an AuthSession:Create Run. Credentials-based auth sessions must be enabled in Intuned.json.Parameters to pass to the auth session create. 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-session-instances/<id>
.Number of attempts to check if the auth session is valid after successful create.
Number of attempts to create the auth session.
Proxy URL to use for the browser.
--headless
Run the browser in headless mode. By default, the browser runs in headful mode.
Timeout for an attempt. Check out timeout format for more information.
-h, --help
Display help for command. Will not execute the command.
Run Auth Session Update
Executes an AuthSession:Update Run. Credentials-based 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-session-instances/<id>
.Parameters to pass to the auth session create. Accepts a JSON string or a 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 create.
Number of attempts to create the auth session.
Proxy URL to use for the browser.
--headless
Run the browser in headless mode. By default, the browser runs in headful mode.
Timeout for an attempt. Check out timeout format for more information.
-h, --help
Display help for command. Will not execute the command.
Attempt API
Executes an Intuned API Attempt.Name of the API to attempt. APIs under
api
directory, without the file extension. If the API is in a nested directory, /
is used to separate the directories.Parameters to pass to the API. Accepts a JSON string or a path to a JSON file.
Proxy URL to use for the browser.
--headless
Run the browser in headless mode. By default, the browser runs in headful mode.
Timeout for an attempt. Check out timeout format for more information.
Path to save the output of the attempt. The output is a JSON object that contains the result of the API and extended payloads (if applicable).
Auth session ID to use for the attempt. The auth session files are expected to be in
./auth-session-instances/<id>
.Must be provided if auth sessions are enabled in Intuned.json. Ignored if not.-h, --help
Display help for command. Will not execute the command.
Attempt Auth Session Check
Executes an Intuned AuthSession:Check Attempt.ID of the auth session to check. The auth session files are expected to be in
./auth-session-instances/<id>
.Proxy URL to use for the browser.
--headless
Run the browser in headless mode. By default, the browser runs in headful mode.
Timeout for an attempt. Check out timeout format for more information.
-h, --help
Display help for command. Will not execute the command.
Attempt Auth Session Create
Executes an Intuned AuthSession:Create Attempt.Parameters to pass to the API. 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-session-instances/<id>
.Proxy URL to use for the browser.
--headless
Run the browser in headless mode. By default, the browser runs in headful mode.
Timeout for an attempt. Check out timeout format for more information.
-h, --help
Display help for command. Will not execute the command.
Save Project
Saves the project state to the Intuned platform.Name of the project. If not provided, the name in Intuned.json will be used.
Name of the project. If not provided, the name in Intuned.json will be used.
API key to use for authentication. If not provided,
INTUNED_API_KEY
environment variable will be used.-h, --help
Display help for command. Will not execute the command.
Deploy Project
Saves and deploy the project state to the Intuned platform.Name of the project. If not provided, the name in Intuned.json will be used.
Name of the project. If not provided, the name in Intuned.json will be used.
API key to use for authentication. If not provided,
INTUNED_API_KEY
environment variable will be used.-h, --help
Display help for command. Will not execute the command.
Formats
Timeout Format
- Typescript
- Python
Number representing milliseconds or ms-formatted string.