Overview of the Requestly Component Library
$ref. There is exactly one library per project, accessible via the Components Library section in the API Design sidebar.website·Indexed 36 days ago
https://docs.requestly.com/api-client/overviewDocumentation for Requestly's API Client and tools, featuring OpenAPI 3.x specification design, API collection management, and a Collection Runner with CLI support. Includes guides on environment and global variables, SAML SSO setup with Okta and Microsoft Entra ID, and AI-powered test case generation via the Test Authoring Agent.
$ref. There is exactly one library per project, accessible via the Components Library section in the API Design sidebar.Vault is a local-first encrypted secrets store built into the Requestly desktop app. It allows developers to store API keys, tokens, and passwords encrypted via the OS keychain, or pull secrets from external providers. Secrets can be referenced in URLs, headers, auth fields, and bodies using the {{vault:key}} syntax.
Critical Requirement: Vault requires the Requestly desktop app (Electron) for OS-level encryption via safeStorage. It is not available in web-only mode. Linux users must have a D-Bus Secret Service implementation (e.g., GNOME Keyring or KWallet) configured.
Requestly allows adding JavaScript logic to API requests via two types of scripts:
Both script types utilize the global rq object as the primary entry point for interacting with the request/response lifecycle and environment.
Stashing allows you to park uncommitted changes in your working tree to be retrieved later. In Requestly, stashes are managed via the Git panel in a dedicated Stashes section located between Commits and Remotes.
Key Constraints:
The rq.vault object provides read-only access to encrypted secrets during script execution in the Requestly desktop app. Vault secrets are stored locally or fetched from external providers (AWS Secrets Manager, Azure Key Vault) and are excluded from collections, exports, and cloud sync.
Key constraints:
rq.vault.get() are masked in the Requestly console logs.rq.info object provides metadata about the current script execution, which is particularly useful for tracking progress during collection runs.console.log(`Running ${rq.info.requestName}`);
console.log(`Iteration ${rq.info.iteration + 1} of ${rq.info.iterationCount}`);