Add a Site for Calibre to monitor.
Flags:
--url
: The URL of the Site.,--location
: Choose the location for the test.,--team
: The identifying slug of the Team.,--schedule
: Set the schedule for automated Snapshots. Available options: hourly, daily, every_x_hours. (default:every_x_hours
),--interval
: Set the Snapshot interval. Provide UTC hour (between 0 and 23) for daily Snapshots and numeric hour interval for every_x_hours option (between 1 and 168 hours). (default:6
),--json
: Outputs the results of the command in JSON format.
List all Sites you are tracking in Calibre.
Flags:
--json
: Outputs the results of the command in JSON format.
Download the artifacts of a Snapshot to ./snapshot-artifacts/. Includes: lighthouse.json, render progress screenshots, render progress MP4 video, HAR file (request log) and all other metrics and data available through the Calibre interface.
Flags:
--site
: A unique slug identifying each Site. You can find it in Site Settings → General or by using the calibre site list command. (string),--id
: The id of the Snapshot.,--json
: Outputs the results of the command in JSON format.
Get all metrics of a given Snapshot.
Flags:
--site
: A unique slug identifying each Site. You can find it in Site Settings → General or by using the calibre site list command. (string),--snapshot
: The id of a Snapshot.,--json
: Outputs the results of the command in JSON format.,--csv
: Outputs the results of the command in CSV format.
Get time-series metrics for a selected Site.
Flags:
--site
: A unique slug identifying each Site. You can find it in Site Settings → General or by using the calibre site list command. (string),--pages
: A list of Page UUIDs to return metrics for. You can separate multiple Pages by a space or use multiple --pages flags. (array),--profiles
: A list of Test Profile UUIDs to return metrics for. You can separate multiple Test Profiles by a space or use multiple --profiles flags. (array),--metrics
: A list of metric UUIDs to return metrics for. You can separate multiple metrics by a space or use multiple --metrics flags. (array),--json
: Outputs the results of the command in JSON format.,--csv
: Outputs the results of the command in CSV format.,--from
: The start date to retrieve data from in the Year-Month-Day format (default: 7 days ago).,--to
: The end date to retrieve data from in the Year-Month-Day format (default: today).,--30-day
: Get the last 30 days of metrics. Without this flag, CLI will use the to and from values.
List all deployments for a Site.
Flags:
--site
: A unique slug identifying each Site. You can find it in Site Settings → General or by using the calibre site list command. (string),--count
: The number of items to return (default: 25, maximum: 500). (default:25
),--cursor
: The cursor to fetch records after,--json
: Outputs the results of the command in JSON format.
Create a deployment.
Flags:
--site
: A unique slug identifying each Site. You can find it in Site Settings → General or by using the calibre site list command. (string),--revision
: The source control revision id of the code you are deploying. It could be a git hash or a tag name.,--repository
: The base URL of the repository containing the source code being deployed (e.g. https://github.com/calibreapp/app).,--username
: The username of who deployed the code.,--json
: Outputs the results of the command in JSON format.
Delete a deploy from a selected Site.
Flags:
--site
: A unique slug identifying each Site. You can find it in Site Settings → General or by using the calibre site list command. (string),--uuid
: The UUID of the deploy.,--confirm
: Use this flag to confirm the deletion of the selected deploy.,--json
: Outputs the results of the command in JSON format.
List Pages for a selected Site.
Flags:
--site
: A unique slug identifying each Site. You can find it in Site Settings → General or by using the calibre site list command. (string),--count
: The number of items to return (default: 25, maximum: 500). (default:25
),--cursor
: The cursor to fetch records after,--json
: Outputs the results of the command in JSON format.
Add a Page to an existing Site tracked by Calibre.
Flags:
--site
: A unique slug identifying each Site. You can find it in Site Settings → General or by using the calibre site list command. (string),--url
: The URL of the Page.,--json
: Outputs the results of the command in JSON format.
Update the name or URL of a Page.
Flags:
--uuid
: The UUID of the Page.,--name
: Update the name of the Page.,--url
: Update the URL of the Page.,--site
: A unique slug identifying each Site. You can find it in Site Settings → General or by using the calibre site list command. (string),--json
: Outputs the results of the command in JSON format.
Delete a Page from a selected Site.
Flags:
--site
: A unique slug identifying each Site. You can find it in Site Settings → General or by using the calibre site list command. (string),--uuid
: The UUID of the Page.,--confirm
: Use this flag to confirm the deletion of the selected Page.,--json
: Outputs the results of the command in JSON format.
List selected Snapshots for a Site.
Flags:
--site
: A unique slug identifying each Site. You can find it in Site Settings → General or by using the calibre site list command. (string),--count
: The number of items to return (default: 25, maximum: 500). (default:25
),--cursor
: The cursor to fetch records after,--json
: Outputs the results of the command in JSON format.
Create a Snapshot.
Flags:
--site
: A unique slug identifying each Site. You can find it in Site Settings → General or by using the calibre site list command. (string),--ref
: Set a reference to the Snapshot.,--json
: Outputs the results of the command in JSON format.
Delete a Snapshot from a selected Site.
Flags:
--site
: A unique slug identifying each Site. You can find it in Site Settings → General or by using the calibre site list command. (string),--id
: The id of the Snapshot.,--confirm
: Use this flag to confirm the deletion of the selected Snapshot.,--json
: Outputs the results of the command in JSON format.
List all Test Profiles for a Site.
Flags:
--site
: A unique slug identifying each Site. You can find it in Site Settings → General or by using the calibre site list command. (string),--json
: Outputs the results of the command in JSON format.
Add a Test Profile to a Site.
Flags:
--site
: A unique slug identifying each Site. You can find it in Site Settings → General or by using the calibre site list command. (string),--device
: Choose the emulated test device. (default:Desktop
),--connection
: Choose the emulated network connection speed.,--javascript
: Turn JavaScript execution on or off. (default:true
) (boolean),--adblocker
: Turn adblocking on or off. (boolean),--cookie-jar
: Set cookies by specifying a path to a Netscape formatted cookie jar file.,--json
: Outputs the results of the command in JSON format.
Update Test Profile settings. Only changes specified attributes.
Flags:
--uuid
: The UUID of the Test Profile.,--device
: Set the emulated device.,--connection
: Set the emulated network connection speed.,--site
: A unique slug identifying each Site. You can find it in Site Settings → General or by using the calibre site list command. (string),--json
: Outputs the results of the command in JSON format.,--javascript
: Turn JavaScript execution on or off (default:true
) (boolean),--adblocker
: Turn adblocking on or off. (boolean),--cookie-jar
: Set cookies by specifying a path to a Netscape formatted cookie jar file.
Delete a Test Profile from a Site.
Flags:
--site
: A unique slug identifying each Site. You can find it in Site Settings → General or by using the calibre site list command. (string),--uuid
: The UUID of the Test Profile.,--confirm
: Use this flag to confirm the deletion of the selected Test Profile.,--json
: Outputs the results of the command in JSON format.
Create a Pull Request Review of a preview deployment.
Flags:
--title
: e.g. "My Pull Request",--site
: A unique slug identifying each Site. You can find it in Site Settings → General or by using the calibre site list command. (string),--url
: The base URL of the preview deployment (e.g.: https://my-pull-request-123.example.com).,--branch
: The branch of the preview deployment. e.g.: "my-pull-request-123".,--sha
: The source control revision of the deployed code. e.g.: 9c72279.,--configPath
: Path to a Calibre YAML config file.,--waitForResult
: Wait for pull request to be evaluated before returning. (boolean),--failOnUnmetBudget
: Return a command failure if any existing budget is exceeded. (Requires --waitForResult to be set.) (boolean),--json
: Outputs the results of the command in JSON format.,--markdown
: Outputs the results of the command in Markdown format.
List Pull Request Reviews for a selected Site.
Flags:
--site
: A unique slug identifying each Site. You can find it in Site Settings → General or by using the calibre site list command. (string),--json
: Outputs the results of the command in JSON format.
See the results of a Pull Request Review.
Flags:
--site
: A unique slug identifying each Site. You can find it in Site Settings → General or by using the calibre site list command. (string),--json
: Outputs the results of the command in JSON format.,--markdown
: Outputs the results of the command in Markdown format.
List Teams based on API Token access. For Admin Tokens, this will list all teams or as specified based on your settings. For Personal Access Tokens, this will list Teams that you have access to.
Flags:
--json
: Outputs the results of the command in JSON format.
Run a Single Page Test against any public URL.
Flags:
--device
: Choose the emulated test device.,--location
: Choose the location for the test.,--connection
: Choose the emulated network connection speed.,--webhookUrl
: Test result JSON will be sent to this URL using HTTP POST.,--webhookSecret
: Secret used to sign the webhook payload. Secret can be validated usingCalibre-HMAC-SHA256-Signature
HTTP header. See https://calibreapp.com/docs/integrations/webhooks#webhook-security-and-verification for more information.,--adblocker
: Turn adblocking on or off. (boolean),--private
: Make the results of a test private (only accessible by members of your Calibre organisation). (boolean),--expiresAt
: Set a future UTC date time string (ISO8601). After this date, the test will be automatically deleted. (Min=24 hrs, Max=2 years) e.g.: 2025-12-31T23:59:59Z (Default: Expires 1 year from creation date.:2025-12-11T09:55:39.255Z
) (string),--cookie-jar
: Set cookies by specifying a path to a Netscape formatted cookie jar file.,--headers
: Set HTTP headers by providing a path to a JSON file or a valid JSON key-value pairs.,--json
: Outputs the results of the command in JSON format.,--markdown
: Outputs the results of the command in Markdown format.,--waitForTest
: Wait for the test to complete before showing the results (default: test result link is shown immediately). (boolean)
Download the artifacts of a test to ./test-artifacts/. Includes: lighthouse.json, render progress screenshots, render progress MP4 video, HAR file (request log) and all other metrics and data available through the Calibre interface.
Flags:
--json
: Outputs the results of the command in JSON format.
List recent Single Page Tests (includes UUID, URL, device, connection, test location and status).
Flags:
--json
: Outputs the results of the command in JSON format.
See the results of a Single Page Test (also as outputted by the test create command).
Flags:
--json
: Outputs the results of the command in JSON format.,--markdown
: Outputs the results of the command in Markdown format.
List all available network connection speeds.
Flags:
--json
: Outputs the results of the command in JSON format.
List all available test devices.
Flags:
--json
: Outputs the results of the command in JSON format.
List all available test locations.
Flags:
--json
: Outputs the results of the command in JSON format.
List all available web performance metrics.
Flags:
--json
: Outputs the results of the command in JSON format.
Store your API Token to use the CLI (saved in ~/.config/configstore/calibre.json).
Remove the saved API Token used for CLI commands (from ~/.config/configstore/calibre.json).
Use the request command to make a request to the Calibre GraphQL API.
Flags:
--query
: Pass a GraphQL query to execute. (string),--variables
: Pass query variables as named arguments. e.g.:calibre request --query "$(cat query.gql)" --foo="example" --bar="example"