| 2027-02-11 | The top-level detail field in a /api/v1 422 (request validation) or a 404 for a path no endpoint serves | Deprecated on 2026-11-13. These responses now carry the standard error envelope, with code invalid_request or not_found, and keep detail beside it until this date. Until then they carry Deprecation: true and a Sunset header with this date. | error.code, and for a 422 the field list in error.details. See Invalid request. |
| 2027-02-11 | POST /api/v1/guard with agreement left out counting how many detectors agree | Deprecated on 2026-11-13. From this date, leaving agreement out means false: the scan stops at its first detection, and detectors_agreeing counts only the detectors that had found the threat when the scan decided. Decisions, threat types and deciding rules are unchanged. Until then such a response carries Deprecation: true and a Sunset header with this date. Shadow AI devices always count agreement and are unaffected. | Send "agreement": true to keep counting, or "agreement": false to opt in to the early stop now. See Detector agreement. |
| 2027-02-06 | POST /api/v1/api-keys with permissions omitted or empty creating a full-access key | Deprecated on 2026-11-06. From this date, such a key gets scan + proxy, as a key created in the dashboard does. Until then the response carries Deprecation: true and a Sunset header with this date. Keys created before it keep their access. | Send permissions explicitly: ["*"] for full access, or the scopes the key needs. See No permissions. |
| 2026-11-14 | The MCP server’s Docker Hub image, abhijoysarkar/promptguard-mcp-server | Removed. It was published under a personal account and had not been updated since the image moved to the GitHub container registry on 2026-11-01. | ghcr.io/promptguardhq/promptguard-mcp-server, the same server. See Other ways to launch the local server. |
| 2026-11-09 | POST /api/v1/agent/register and POST /api/v1/agent/{agent_id}/rotate-credential | Removed. Deprecated on 2026-11-01 with a Sunset date of 2027-02-15, and removed early because nobody had used them: no agent credential had ever been issued. They issued pgag_ agent credentials that no PromptGuard request checked, so a credential from them proved nothing. | Nothing. To tell agents apart, send your own agent_id on tool-call requests, as you do today; an agent’s tool policy is keyed by that ID and is unaffected. |
| 2026-12-09 | DELETE /api/v1/agent/{agent_id}/session/{session_id} | Deprecated on 2026-08-10, to be removed on this date. It has always been a no-op: session state is not kept between requests. | Nothing. Stop calling it. |
| - | active_sessions in the response of GET /api/v1/agent/{agent_id}/stats | Deprecated on 2026-08-10. It is always 0. No removal date: it stays until a new API version. | Nothing. |
| 2026-08-26 | Node.js SDK 2.0.0: pg.completions, pg.embeddings, pg.scrape, pg.redteam.runAutonomous() and pg.redteam.intelligenceStats(), and their exported types | Removed. They called endpoints the API does not serve, so they never worked. | Delete the import. For chat traffic, pg.chat.completions.create(...). |
| 2026-08-26 | Python SDK 2.0.0: completions, embeddings, scrape, redteam.run_autonomous() and redteam.intelligence_stats(), on both clients | Removed, for the same reason. | For chat traffic, client.chat.completions.create(...). For the rest, nothing: delete the call. See Upgrade to SDK and CLI 2.0. |
| 2026-08-26 | CLI 2.0.0: promptguard logs, promptguard events, promptguard redteam --autonomous and the intelligence-stats output | Removed, for the same reason. | Security events are in the dashboard. |
| 2026-08-24 | GET /api/v1/api-keys/{key_id}/reveal | Removed. API keys are stored as a one-way digest and cannot be shown again. | A key is shown once, when it is created. To get a new one, create a key with POST /api/v1/api-keys or rotate it in the dashboard. |
| 2026-04-06 | The Python MCP server package, promptguard-mcp-server | Removed. | promptguard mcp, built into the CLI. |