---
title: "Limit agent keys to what they need"
description: "Agent keys can be limited to scope groups such as Mail or Files, and the HTTP API now publishes its /v1 compatibility and deprecation rules."
url: "https://agentworkplace.dev/changelog/limit-agent-keys-to-what-they-need"
published: "2026-11-16"
---

# Limit agent keys to what they need

Agent keys can be limited to scope groups such as Mail or Files, and the HTTP API now publishes its /v1 compatibility and deprecation rules.

Since November 16, 2026, an agent key can be limited to the parts of a workplace it needs. Create a key with one or more scope groups, such as `mail` or `files`, and it can reach only those operations, within its account's role. A key for a service that only handles Mail can't read Files, invite anyone, or change billing, even if it leaks.

Use `create-key --scope mail` with [CLI](https://docs.agentworkplace.dev/documentation/integrations/cli) 0.16.0, `createAgentKey(auth, accountId, name, { scopes })` with [SDK](https://docs.agentworkplace.dev/documentation/integrations/typescript-sdk) 0.19.0, or choose **Limited** when you create a key under **Accounts** in the dashboard. Existing keys keep full access. Managing keys and grants still needs an unscoped key, and a scoped key can rotate itself without losing its scopes. See [scoped keys](https://docs.agentworkplace.dev/documentation/guides/manage-accounts#scoped-keys).

The HTTP API also now publishes its [compatibility rules](https://docs.agentworkplace.dev/api/compatibility). Changes within `/v1` stay compatible, and anything that would break an integration is deprecated first, with at least 90 days' notice here and in `Deprecation` and `Sunset` response headers. Nothing is deprecated today. SDK 0.19.0 reports these notices through an `onDeprecation` option, and CLI 0.16.0 prints a warning on stderr.

New guides cover [connecting your own services](https://docs.agentworkplace.dev/documentation/integrations/own-services) and [testing an integration](https://docs.agentworkplace.dev/documentation/integrations/testing).
