Developer Resources
Reach Guard programmatically with the Praetorian CLI, the Python SDK, API keys, and the Guard Customer API.
- PGP API KeysCreate an expiring API key in Guard and load it into the praetorian CLI keychain or environment variables.
- Guard Customer APICreate API credentials, then query and export your assets, seeds, technologies, vulnerabilities, and retests programmatically.
- AI and Compute Cost Visibility per CustomerQuery per-customer AI and compute costs broken down by period and customer type using the cost economics API.
- CLI BasicsList, get, and search your Guard assets, risks, and attributes from the command line with the praetorian CLI.
- CLI Script DevelopmentExtend the praetorian CLI with your own Python scripts, which load as commands under the script group.
- Using the Guard SDK in your ScriptCall the Guard SDK from a Python script to add assets and risks, upload proof files, and set risk status.
- Getting Started with the Praetorian CLIInstall the praetorian CLI, create an API key in Guard, and save it to a profile or environment variables.