# PromptGuard > AI security firewall. Protect LLM applications from prompt injection, data leaks, jailbreaks, and PII exposure. - [PromptGuard](https://docs.promptguard.co/index.md): AI security firewall between your app and any LLM provider. Scans every request and response for prompt injection, data leaks, jailbreaks, and PII exposure. - [Why PromptGuard?](https://docs.promptguard.co/why-promptguard.md): What PromptGuard protects, the risks it addresses, and how to evaluate it, no code required - [Quickstart](https://docs.promptguard.co/quickstart.md): Add PromptGuard to an existing LLM application in 5 minutes. Get an API key, install the SDK, and verify protection. - [Video tutorials](https://docs.promptguard.co/video-tutorials.md): Silent, step-by-step videos of the docs: one task per video, about two to three minutes each, with every command in the description. - [Security Admin Path](https://docs.promptguard.co/guides/security-admin.md): Set up PromptGuard for your organization from the dashboard alone, in the order an admin does it: sign-in, roles, policies, retention, alerts, SIEM and audit. No code. - [Evaluate PromptGuard as a Developer](https://docs.promptguard.co/guides/evaluate-developer.md): A 20-minute proof of concept with pass/fail criteria: block a known injection, redact a test SSN, flag a codename, and find all three in the dashboard. Ends with a production-readiness checklist. - [Evaluate Shadow AI](https://docs.promptguard.co/guides/evaluate-shadow-ai.md): A proof of concept on one test device with pass/fail criteria: a test secret is stopped in a real AI tool, the event reaches your dashboard, and a policy you save applies within a minute. Ends with a production-readiness checklist. - [Evaluate as an MSP](https://docs.promptguard.co/guides/evaluate-msp.md): A proof of concept for a managed service provider with pass/fail criteria: two test clients, one device each, a policy and events that stay in their own client, alerts reaching your SIEM tagged by client, and access that stops when a grant ends. Ends with a production-readiness checklist. - [Security Overview](https://docs.promptguard.co/security/overview.md): Configure PromptGuard security policies to protect your AI applications - [What Detection Can and Cannot Do](https://docs.promptguard.co/security/detection-limits.md): The measured ceiling on prompt-injection detection, why it exists, and which controls do not depend on it - [Threat Detection](https://docs.promptguard.co/security/threat-detection.md): Every PromptGuard detector: what it catches, the identifiers and patterns behind it, and its settings - [How detection decides](https://docs.promptguard.co/security/how-detection-works.md): How a PromptGuard scan moves through its detection tiers, the four decisions it can reach, and how accurate the published benchmark says it is. - [Policy Presets](https://docs.promptguard.co/security/policy-presets.md): Composable security policy presets combining use-case templates with strictness levels - [Write custom security rules](https://docs.promptguard.co/security/custom-rules.md): Create granular policy rules to enforce domain-specific security requirements - [Manage guardrails as code](https://docs.promptguard.co/security/policy-as-code.md): Define guardrail configurations in YAML and manage them with git - [When a Policy Change Takes Effect](https://docs.promptguard.co/security/policy-changes.md): A change you save applies to the next scan PromptGuard makes, and reaches every Shadow AI device within about a minute. - [Validate MCP tool calls](https://docs.promptguard.co/security/mcp-security.md): Validate Model Context Protocol tool calls in agent architectures - [Analyse a full agent run](https://docs.promptguard.co/security/agent-traces.md): Submit a full agent run to catch dataflow and goal-alignment attacks no single message reveals - [Capability Containment](https://docs.promptguard.co/security/capability-containment.md): Fail-closed policy derived from the user objective, so an injection cannot authorize what the user never asked for - [Mark untrusted content in prompts](https://docs.promptguard.co/security/untrusted-content-marking.md): Mark retrieved and tool content so an instruction inside it cannot read as an instruction from you, plus the one model setting that outperforms it - [Scan agent memory before it persists](https://docs.promptguard.co/security/memory-scanning.md): Catch poisoned memory chunks before they persist, the injection that outlives the request that planted it - [How the gateway handles a request](https://docs.promptguard.co/gateway/overview.md): How PromptGuard sits in front of your LLM provider and what it does on every request - [Store your provider keys with PromptGuard](https://docs.promptguard.co/gateway/provider-keys.md): Store your OpenAI / Anthropic / Bedrock credentials once, then forward them server-side on every request - [Allow or block requests by IP, user or country](https://docs.promptguard.co/gateway/access-lists.md): Reject or allow requests by source IP, CIDR block, end-user ID or country before they reach your policies - [Route requests to another model or provider](https://docs.promptguard.co/gateway/routing-rules.md): Rewrite the upstream provider/model on the fly based on request shape, with optional failover and fallback models - [Attribute requests to your end users](https://docs.promptguard.co/gateway/end-users.md): Track per-customer usage, cost, threats, and risk by passing a single header on every request - [Tag requests and filter events by tag](https://docs.promptguard.co/gateway/request-tags.md): Label proxy requests by feature, customer segment or anything else, and filter their events by label - [Cap a project's monthly provider spend](https://docs.promptguard.co/gateway/spend-caps.md): Cap what a project spends on your LLM providers through the proxy each month, even with many requests in flight at once - [Cache repeated requests](https://docs.promptguard.co/gateway/caching.md): Serve repeated requests from cache, per request, without one end user ever receiving another end user’s answer - [Fall back to another model when one fails](https://docs.promptguard.co/gateway/fallback-models.md): Name the models to try when the one you asked for is rate limited or down, and see which one answered - [Integrations](https://docs.promptguard.co/integrations/overview.md): Every LLM provider the PromptGuard proxy forwards to and every framework the SDKs hook, with the way to connect each one - [Auto-instrumentation](https://docs.promptguard.co/integrations/auto-instrumentation.md): Which provider SDKs promptguard.init() patches in Python and Node, which it does not, and how to check at runtime - [SIEM export](https://docs.promptguard.co/integrations/siem-export.md): Send every alert and your audit log to your SIEM, signed and tagged with the Organization, Device and event it came from, or pull them with a read-only export key - [OpenAI](https://docs.promptguard.co/integrations/providers/openai.md): Scan OpenAI Chat Completions and Responses API traffic through the PromptGuard proxy or the SDK auto-instrumentation - [Anthropic](https://docs.promptguard.co/integrations/providers/anthropic.md): Scan Claude traffic through the PromptGuard proxy with the Anthropic SDK, or with the SDK auto-instrumentation - [Google Gemini](https://docs.promptguard.co/integrations/providers/gemini.md): Scan Gemini traffic through the PromptGuard proxy with any OpenAI client, or with the SDK auto-instrumentation - [Azure OpenAI](https://docs.promptguard.co/integrations/providers/azure-openai.md): Scan Azure OpenAI deployments through the PromptGuard proxy by naming the deployment and the resource - [AWS Bedrock](https://docs.promptguard.co/integrations/providers/bedrock.md): Scan Amazon Bedrock Runtime calls made with boto3 or the AWS SDK for JavaScript, or send them through the PromptGuard proxy with a Bedrock API key - [Mistral AI](https://docs.promptguard.co/integrations/providers/mistral.md): Scan Mistral AI traffic through the PromptGuard proxy with any OpenAI client - [Groq](https://docs.promptguard.co/integrations/providers/groq.md): Scan Groq traffic through the PromptGuard proxy with any OpenAI client - [DeepSeek](https://docs.promptguard.co/integrations/providers/deepseek.md): Scan DeepSeek traffic through the PromptGuard proxy with any OpenAI client - [Cohere](https://docs.promptguard.co/integrations/providers/cohere.md): Scan Cohere Command traffic with the SDK auto-instrumentation, or through the PromptGuard proxy over HTTP - [Hugging Face](https://docs.promptguard.co/integrations/providers/huggingface.md): Scan Hugging Face Inference Providers traffic through the PromptGuard proxy with any OpenAI client - [OpenAI-compatible hosts](https://docs.promptguard.co/integrations/providers/openai-compatible.md): Scan OpenRouter, Together, Fireworks, xAI, Perplexity, Cerebras, SambaNova, Nebius, DeepInfra or your own OpenAI-compatible server through the PromptGuard proxy - [Ollama](https://docs.promptguard.co/integrations/providers/ollama.md): Scan traffic to your own Ollama server through a self-hosted PromptGuard deployment - [vLLM](https://docs.promptguard.co/integrations/providers/vllm.md): Scan traffic to your own vLLM server through a self-hosted PromptGuard deployment - [LangChain](https://docs.promptguard.co/integrations/frameworks/langchain.md): Scan LangChain chains and agents with auto-instrumentation, an inline LCEL guard, or the PromptGuard proxy - [LangGraph](https://docs.promptguard.co/integrations/frameworks/langgraph.md): Scan the model calls inside a LangGraph graph with auto-instrumentation, or guard a node input with the inline LangChain guard - [LlamaIndex](https://docs.promptguard.co/integrations/frameworks/llamaindex.md): Scan LlamaIndex queries and LLM calls with a callback handler, a query guard, or auto-instrumentation - [CrewAI](https://docs.promptguard.co/integrations/frameworks/crewai.md): Scan a CrewAI crew’s inputs and result with kickoff callbacks, guard individual tools, and scan model calls with auto-instrumentation - [FastAPI and ASGI](https://docs.promptguard.co/integrations/frameworks/fastapi.md): Scan prompts as requests reach a FastAPI or other ASGI app, before your route runs - [Vercel AI SDK](https://docs.promptguard.co/integrations/frameworks/vercel-ai.md): Scan Vercel AI SDK calls with the PromptGuard middleware from the Node.js SDK - [Shadow AI](https://docs.promptguard.co/shadow-ai/overview.md): Stop secrets and customer data leaking into ChatGPT, Claude, Gemini, and other AI tools your team uses, checked before anything reaches the AI tool. - [Get Started](https://docs.promptguard.co/shadow-ai/quickstart.md): Protect your team’s AI usage in a few clicks. No security expertise, no command line, open the app, sign in, done. - [Test It Yourself](https://docs.promptguard.co/shadow-ai/test-drive.md): Install Shadow AI, turn it on, and try to leak a secret to Claude, the complete hands-on walkthrough, start to finish, about 15 minutes. - [Install the desktop agent](https://docs.promptguard.co/shadow-ai/desktop-agent.md): Install the Shadow AI agent and your Mac or PC checks every AI tool, ChatGPT, Claude, Cursor, and more, before anything sensitive is sent. - [Browser Extension](https://docs.promptguard.co/shadow-ai/browser-extension.md): The PromptGuard Shadow browser extension for Chrome, Edge and Firefox: checks a prompt on the page before it is sent, with the same policy as the desktop agent, and lets a person send an uncertain one anyway with a reason. - [Enroll your team's devices](https://docs.promptguard.co/shadow-ai/fleet-enrollment.md): Roll Shadow AI out to your whole team, each device gets its own scoped, revocable credential, and you see all AI activity in one dashboard. - [Deployment Modes](https://docs.promptguard.co/shadow-ai/deployment-modes.md): Decide where your prompts get scanned, in our cloud, on your own servers reporting to ours, or entirely inside your network. - [Privacy & Data Handling](https://docs.promptguard.co/shadow-ai/privacy-data-handling.md): What Shadow AI inspects, what it logs, and what leaves the device. On-device enforcement, PII-redacted event logs, and GDPR/CCPA subject rights. - [Supported AI Tools](https://docs.promptguard.co/shadow-ai/supported-tools.md): Which AI tools the desktop agent captures on macOS, Windows and Linux, for desktop apps, command-line tools and the browser, and what each gap means. - [What Each Part of a Request Is Checked For](https://docs.promptguard.co/shadow-ai/what-is-scanned.md): A desktop AI app sends much more than the words someone typed. Here is what PromptGuard checks in each part, and why. - [Customise What Shadow AI Detects](https://docs.promptguard.co/shadow-ai/customise-policies.md): Tune the built-in checks, warn instead of block, add your own rules, describe a rule in plain English, and silence one false positive. Lightest change first. - [Known Limitations](https://docs.promptguard.co/shadow-ai/known-limitations.md): An honest list of what Shadow AI does not cover, certificate-pinned apps, QUIC/HTTP-3, WebSocket messages, remote images, the host-allowlist model, and how to request a vendor. - [Troubleshooting](https://docs.promptguard.co/shadow-ai/troubleshooting.md): Fix common Shadow AI problems, traffic not intercepted, browser QUIC/HTTP-3 bypass, cert-pinned apps, engine unreachable, and how to collect support logs. - [Uninstall & Offboarding](https://docs.promptguard.co/shadow-ai/uninstall.md): Cleanly remove the Shadow AI agent, drop the route, untrust the certificate, delete local data, and what happens when a device is revoked from the fleet. - [SDKs](https://docs.promptguard.co/guides/sdks.md): The Python and Node.js SDKs: where to start, how-to guides, the generated reference, the 2.0 upgrade guide and troubleshooting - [Python SDK](https://docs.promptguard.co/guides/python-sdk.md): Secure every LLM call in your Python application with one line of code - [Node.js SDK](https://docs.promptguard.co/guides/node-sdk.md): Drop-in security for AI applications -- auto-instrument OpenAI, Anthropic, Google, Cohere, and AWS Bedrock SDKs with a single line of code - [Streaming](https://docs.promptguard.co/guides/streaming.md): How streamed responses pass through the PromptGuard proxy: buffered, scanned, then released - [Migration from OpenAI](https://docs.promptguard.co/guides/migration-from-openai.md): Step-by-step guide to migrate your existing OpenAI integration to PromptGuard - [Developer tools](https://docs.promptguard.co/tools/overview.md): The CLI, the VS Code extension, Cursor support, the MCP servers and the GitHub scanner: what each one is for and where its docs are - [CLI Tool](https://docs.promptguard.co/tools/cli.md): Find LLM SDK calls in your codebase, route them through PromptGuard, and scan text for threats from your terminal - [VS Code Extension](https://docs.promptguard.co/tools/vscode.md): PromptGuard for VS Code, see unprotected LLM SDK calls in your editor, with quick fixes that run the PromptGuard CLI. - [Cursor](https://docs.promptguard.co/tools/cursor.md): Use PromptGuard in Cursor: the MCP server, the editor extension, and the agent rules and commands - [MCP Server](https://docs.promptguard.co/tools/mcp.md): Connect PromptGuard to Claude, ChatGPT, Cursor and any other MCP client - [GitHub Code Scanner](https://docs.promptguard.co/tools/github-scanner.md): Connect a GitHub repository and PromptGuard finds every unprotected LLM API call in it, then opens a pull request that adds protection. - [Protect a chatbot from prompt injection](https://docs.promptguard.co/cookbooks/chatbot-protection.md): Scan a chatbot's prompts and responses for prompt injection, data leaks and abuse - [Moderate prompts and responses](https://docs.promptguard.co/cookbooks/content-moderation.md): Filter harmful content in prompts and LLM responses with PromptGuard - [Detect and redact PII](https://docs.promptguard.co/cookbooks/data-privacy.md): Find and redact personal data in prompts and responses with PromptGuard - [Protect a LangChain agent](https://docs.promptguard.co/cookbooks/langchain-agents.md): Scan a LangChain agent's prompts, tool calls and chains with PromptGuard - [Redact PII in a RAG pipeline](https://docs.promptguard.co/cookbooks/rag-pii-redaction.md): Redact sensitive data from user queries and retrieved documents before they reach the LLM - [Protect a streamed response](https://docs.promptguard.co/cookbooks/streaming-protection.md): Three ways to protect streamed LLM responses: through the proxy, with auto-instrumentation, or by scanning windows yourself, and what each one costs. - [Dashboard and platform](https://docs.promptguard.co/platform/overview.md): The dashboard at app.promptguard.co: where to start, the how-to guides for projects, teams, alerts and audit, the reference pages and troubleshooting - [Create and manage projects](https://docs.promptguard.co/platform/projects.md): Organize your applications with PromptGuard projects - [Monitoring Dashboard](https://docs.promptguard.co/platform/dashboard.md): Access security metrics, usage analytics, and configure policies via the PromptGuard dashboard - [Analytics Cookbook](https://docs.promptguard.co/platform/analytics-cookbook.md): Copy-pasteable SQL for your PromptGuard telemetry, p95 latency, token volume by model, high-risk users, blocked-over-time, threats by detector, and daily roll-ups. - [Track your usage and spend](https://docs.promptguard.co/platform/usage-tracking.md): See how much of your monthly request allowance is used, your PromptGuard spend this cycle, and token volume per model - [Get security alerts by webhook](https://docs.promptguard.co/platform/webhooks.md): Receive real-time notifications for security events - [Review security events and the audit trail](https://docs.promptguard.co/platform/audit-logs.md): View security events, compliance audit trails, and interactions in your dashboard - [Share projects with your team](https://docs.promptguard.co/platform/organizations.md): Collaborate with your team using shared projects and role-based access - [Managed Service Providers](https://docs.promptguard.co/platform/msp.md): Run PromptGuard for several client organizations from one place: create a client, act in it, roll out Shadow AI per client, triage every client's alerts, and reconcile what each client was billed. - [Set up single sign-on (SSO)](https://docs.promptguard.co/platform/sso.md): Let your team sign in to PromptGuard with your identity provider via SAML or OIDC - [Provision members with Directory Sync (SCIM)](https://docs.promptguard.co/platform/scim.md): Automatically provision and deprovision PromptGuard members from your identity provider - [Two-factor authentication and sessions](https://docs.promptguard.co/platform/account-security.md): Protect your PromptGuard sign-in with an authenticator app or a passkey, require it across your organization, and sign out everywhere - [Best Practices](https://docs.promptguard.co/production/best-practices.md): Production best practices for PromptGuard implementation - [Reliability & Status](https://docs.promptguard.co/production/reliability.md): System health, uptime monitoring, and health check endpoints - [Rate Limits & Quotas](https://docs.promptguard.co/production/rate-limits.md): Understanding PromptGuard rate limiting and monthly quotas - [Latency Budgets](https://docs.promptguard.co/production/latency-budgets.md): Per-detector p99 latency budgets, the three-tier detection path, and how to keep the guard call fast in production. - [Error Handling](https://docs.promptguard.co/production/error-handling.md): Every error code the PromptGuard API returns, and how to handle each one - [Set up PromptGuard for an enterprise](https://docs.promptguard.co/production/enterprise-setup.md): Set up PromptGuard for an enterprise: create the organization, invite your team, deploy the engine on your own infrastructure and connect SSO - [Self-host configuration reference](https://docs.promptguard.co/production/self-host-reference.md): Environment variables, Helm chart settings, licensing and monitoring for a self-hosted PromptGuard engine. - [Self-Host vs Cloud](https://docs.promptguard.co/production/self-host-vs-cloud.md): An honest capability matrix of PromptGuard Cloud versus Self-hosted (Hybrid or Air-gapped), what is identical, what differs, why some parts are cloud-only. - [Troubleshooting](https://docs.promptguard.co/production/troubleshooting.md): Common issues and solutions for PromptGuard integration - [Glossary](https://docs.promptguard.co/glossary.md): Plain-language definitions of the security and product terms used throughout PromptGuard - [Compliance & Security](https://docs.promptguard.co/security/compliance.md): Security certifications, data handling, and compliance information - [Data flow](https://docs.promptguard.co/security/data-flow.md): Where prompt content and metadata travel for each PromptGuard surface (proxy, Guard API, SDK auto-instrumentation, Shadow desktop agent, hosted inference), what is stored where, and how Hybrid and Air-gapped change it. - [Third-Party Models](https://docs.promptguard.co/security/third-party-models.md): The open models PromptGuard detection runs on, their licences, and the terms that pass through to you - [Extended Threat Coverage](https://docs.promptguard.co/security/ai-agent-traps.md): The AI Agent Traps vectors PromptGuard detects beyond standard prompt injection, including agentic and multimodal ones, and which are not yet active. - [Plans & Limits](https://docs.promptguard.co/pricing.md): PromptGuard plan limits, quotas, rate limiting, and usage calculation - [Changelog](https://docs.promptguard.co/changelog.md): Product updates for PromptGuard: what changed for you, dated by the Release that delivered it, newest first. - [Platform upgrade notes](https://docs.promptguard.co/releases/platform.md): What to do when you upgrade a self-hosted PromptGuard deployment, one entry per Release. - [Shadow AI desktop agent upgrade notes](https://docs.promptguard.co/releases/desktop-agent.md): What to do when you roll out a new version of the PromptGuard Shadow AI desktop agent. - [Upgrade to SDK and CLI 2.0](https://docs.promptguard.co/releases/sdk-v2-upgrade.md): What the Python SDK, Node.js SDK and CLI 2.0.0 removed, what to use instead, and how to find the calls in your code. - [Versioning & support](https://docs.promptguard.co/versioning-and-support.md): How the API is versioned, what counts as a breaking change, how much notice you get, how long each version is supported, and what has been removed. - [CI/CD Security Gate](https://docs.promptguard.co/tools/ci-cd-security-gate.md): Gate every pull request on AI security tests, run PromptGuard red-team checks in CI and block merges that regress security. Coming soon. - [API Reference](https://docs.promptguard.co/api-reference/introduction.md): PromptGuard REST API reference, authentication, the Guard API, proxy endpoints, agent security, rate limits, and error handling. - [Guard API](https://docs.promptguard.co/api-reference/guard.md): Scan content for threats without proxying to an LLM provider - [Security Scan, Redact & Test](https://docs.promptguard.co/api-reference/security-endpoints.md): Standalone endpoints for threat scanning, PII redaction, and red-team testing of your own policy - [Agent Security API](https://docs.promptguard.co/api-reference/agent-security.md): Agent Security API, validate tool calls and monitor agent behaviour. - [MCP Manifest Scan](https://docs.promptguard.co/api-reference/mcp-manifest-scan.md): Scan an MCP server's tool list for poisoned descriptions, invisible characters and shadowed names, and pin it so a later change is flagged - [API Keys Management](https://docs.promptguard.co/api-reference/api-keys.md): Create, list, and manage API keys programmatically - [Python SDK reference](https://docs.promptguard.co/sdk-reference/python.md): Every public class, function and method in promptguard-sdk 2.4.2, generated from the published package - [Node.js SDK reference](https://docs.promptguard.co/sdk-reference/node.md): Every public class, function and method in promptguard-sdk 2.4.1, generated from the published package - [Proxy Chat Completions](https://docs.promptguard.co/api-reference/proxy-chat-completions.md): Proxy OpenAI-style chat completions through policy engine - [Proxy Messages](https://docs.promptguard.co/api-reference/proxy-messages.md): Proxy Anthropic-style messages endpoint through policy engine. - [Proxy Responses](https://docs.promptguard.co/api-reference/proxy-responses.md): Proxy OpenAI's Responses API through the policy engine. - [Proxy Count Tokens](https://docs.promptguard.co/api-reference/proxy-count-tokens.md): Proxy Anthropic's token-counting endpoint. - [Proxy Models](https://docs.promptguard.co/api-reference/proxy-models.md): OpenAI's model list, fetched with the caller's OpenAI key. - [Root](https://docs.promptguard.co/api-reference/root.md): API root endpoint. - [Health](https://docs.promptguard.co/api-reference/health.md): Health check endpoint. - [Version](https://docs.promptguard.co/api-reference/version.md): Public version probe. - [List Api Keys](https://docs.promptguard.co/api-reference/api-keys/list-api-keys.md): List all API keys for the current user - [Create Api Key](https://docs.promptguard.co/api-reference/api-keys/create-api-key.md): Create a new API key - [Delete Api Key](https://docs.promptguard.co/api-reference/api-keys/delete-api-key.md): Delete an API key - [Toggle Api Key](https://docs.promptguard.co/api-reference/api-keys/toggle-api-key.md): Toggle API key active status - [Get Usage Stats](https://docs.promptguard.co/api-reference/usage/get-usage-stats.md): Usage against the allowance this key's requests are metered on. - [List Projects](https://docs.promptguard.co/api-reference/projects/list-projects.md): List all projects for the current user - [Create Project](https://docs.promptguard.co/api-reference/projects/create-project.md): Create a new project, in the Organization the API key belongs to. - [Get Project](https://docs.promptguard.co/api-reference/projects/get-project.md): Get a specific project - [Delete Project](https://docs.promptguard.co/api-reference/projects/delete-project.md): Delete a project - [Export Alerts](https://docs.promptguard.co/api-reference/siem-export/export-alerts.md): The Organization's alerts, oldest first: every threat that was blocked, or found at the alert confidence -- exactly the events a webhook delivery is sent for. - [Export Interactions](https://docs.promptguard.co/api-reference/siem-export/export-interactions.md): Every security event in the Organization, oldest first, threat or not. - [Stream Interactions](https://docs.promptguard.co/api-reference/siem-export/stream-interactions.md): The Organization's events as server-sent events, from where the reader left off. - [Export Audit Events](https://docs.promptguard.co/api-reference/siem-export/export-audit-events.md): The Organization's audit trail, oldest first: what its people, keys and the system did there -- role changes, key rotations, policy edits, sign-ins. - [Stream Audit Events](https://docs.promptguard.co/api-reference/siem-export/stream-audit-events.md): The Organization's audit trail as server-sent events, from where the reader left off. - [Get Project Guardrails](https://docs.promptguard.co/api-reference/guardrails/get-project-guardrails.md): Return the effective guardrail config for one of the caller's projects. - [Update Project Guardrails](https://docs.promptguard.co/api-reference/guardrails/update-project-guardrails.md): Replace the guardrail config for one of the caller's projects. - [List Own Org Devices](https://docs.promptguard.co/api-reference/fleet-device/list-own-org-devices.md): Devices in this device's own organization. - [Describe Own Identity](https://docs.promptguard.co/api-reference/fleet-device/describe-own-identity.md): What this device is enrolled as, one row, its own. - [Revoke Self](https://docs.promptguard.co/api-reference/fleet-device/revoke-self.md): Revoke this device's own credential, the server half of Disconnect. - [Validate Tool Call](https://docs.promptguard.co/api-reference/agent/validate-tool-call.md): Validate a tool call before execution. - [Ingest Agent Trace](https://docs.promptguard.co/api-reference/agent/ingest-agent-trace.md): Ingest a full agent execution trace and run the trace-level detectors. - [Scan Agent Memory](https://docs.promptguard.co/api-reference/agent/scan-agent-memory.md): Scan a chunk of agent memory for poisoning (OWASP Agentic ASI06). - [Get Agent Stats](https://docs.promptguard.co/api-reference/agent/get-agent-stats.md): Get statistics for an agent. - [End Agent Session](https://docs.promptguard.co/api-reference/agent/end-agent-session.md): Deprecated no-op. Agent session state is not retained server-side across requests, so there is nothing to end. Returns 200 for compatibility; scheduled for removal, see the Sunset header. - [Agent Security Health](https://docs.promptguard.co/api-reference/agent/agent-security-health.md): Health check for agent security service. - [Managed Policy](https://docs.promptguard.co/api-reference/agent/managed-policy.md): The org-managed update policy for this enrolled device (resolved from the API key's org + its ``shadow_fleet_management`` entitlement). The desktop agent polls this and lets it override the local user preference (managed wins). - [Scan Content](https://docs.promptguard.co/api-reference/security/scan-content.md): Scan content for security threats without proxying to an LLM. - [Redact Content](https://docs.promptguard.co/api-reference/security/redact-content.md): Redact PII from content without proxying to an LLM. - [Scan Mcp Manifest](https://docs.promptguard.co/api-reference/mcp/scan-mcp-manifest.md): Scan an MCP server's tool list for poisoned descriptions and pin it. - [Run All Tests](https://docs.promptguard.co/api-reference/security-testing/run-all-tests.md): Run the full adversarial corpus against a policy preset. - [Run Custom Test](https://docs.promptguard.co/api-reference/security-testing/run-custom-test.md): Run one adversarial prompt of the caller's choosing against a preset. - [List Tests Route](https://docs.promptguard.co/api-reference/security-testing/list-tests-route.md): List the attack corpus without running it. - [Run Named Test](https://docs.promptguard.co/api-reference/security-testing/run-named-test.md): Run a single named attack from the corpus. - [Guard Content](https://docs.promptguard.co/api-reference/guard/guard-content.md): Scan messages for security threats without proxying to an LLM. - [Enroll Device](https://docs.promptguard.co/api-reference/enroll/enroll-device.md): Guide: [Enroll your team's devices](https://docs.promptguard.co/shadow-ai/fleet-enrollment) - [List Exceptions](https://docs.promptguard.co/api-reference/shadow-exceptions/list-exceptions.md): Guide: [Enroll your team's devices](https://docs.promptguard.co/shadow-ai/fleet-enrollment#why-per-device-credentials) - [Create Exception](https://docs.promptguard.co/api-reference/shadow-exceptions/create-exception.md): Guide: [Enroll your team's devices](https://docs.promptguard.co/shadow-ai/fleet-enrollment#why-per-device-credentials) - [List Active Grants](https://docs.promptguard.co/api-reference/shadow-exceptions/list-active-grants.md): The destinations this agent may currently send to via an approved grant. The interceptor caches these and lets matching sends through. - [Get Exception](https://docs.promptguard.co/api-reference/shadow-exceptions/get-exception.md): Guide: [Enroll your team's devices](https://docs.promptguard.co/shadow-ai/fleet-enrollment#why-per-device-credentials) - [Cancel Exception](https://docs.promptguard.co/api-reference/shadow-exceptions/cancel-exception.md): Guide: [Enroll your team's devices](https://docs.promptguard.co/shadow-ai/fleet-enrollment#why-per-device-credentials) - [List Policies](https://docs.promptguard.co/api-reference/policies/list-policies.md): Active policies enforced on this device, highest-priority first. - [Preview Overlay](https://docs.promptguard.co/api-reference/overlays/preview-overlay.md): Evaluate a candidate overlay in shadow against a traffic sample. - [Apply Overlay Endpoint](https://docs.promptguard.co/api-reference/overlays/apply-overlay-endpoint.md): Promote the overlay to active as a new version for the key's scope. - [Get Active Overlay](https://docs.promptguard.co/api-reference/overlays/get-active-overlay.md): Return the current active overlay for the key's scope, if any. - [List Tool Requests](https://docs.promptguard.co/api-reference/tool-requests/list-tool-requests.md): Guide: [Enroll your team's devices](https://docs.promptguard.co/shadow-ai/fleet-enrollment#why-per-device-credentials) - [Create Tool Request](https://docs.promptguard.co/api-reference/tool-requests/create-tool-request.md): Guide: [Enroll your team's devices](https://docs.promptguard.co/shadow-ai/fleet-enrollment#why-per-device-credentials) - [Cancel Tool Request](https://docs.promptguard.co/api-reference/tool-requests/cancel-tool-request.md): Guide: [Enroll your team's devices](https://docs.promptguard.co/shadow-ai/fleet-enrollment#why-per-device-credentials) - [Handle Webhook](https://docs.promptguard.co/api-reference/github-webhooks/handle-webhook.md): Receive and process GitHub App webhook events. ## OpenAPI Specs - [openapi-developer](/api-reference/openapi-developer.json) ## Optional - [Dashboard](https://app.promptguard.co) - [Blog](https://promptguard.co/blog) This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.