Claude Platform Docs

File checks (beta)

Check files that members upload on claude.ai with your AI security server before they’re stored.

A file check sends the details of a file that a member uploads on claude.ai to your AI security server. It does so before the file is stored or reaches Claude. The request, called a file frame, holds the file’s metadata and sensitivity labels. It also holds the member’s ID and, when available, email address, the app they used, and the conversation ID that the app sent.

File checks are in beta for Claude Enterprise organizations, and some organizations, such as those on a HIPAA-ready Enterprise plan, can’t use them; see Choose what to check.

Security teams can check MIP labels without inspecting the full file. See Check Microsoft Purview sensitivity labels (MIP labels) without file content.

How a file check works

With Check files and Enforce verdicts on, outside shadow mode and inside the rollout percentage, a covered upload goes through these steps:

  1. A member attaches a file on claude.ai.
  2. If the file is over your organization’s size limit, Anthropic refuses it. No frame is sent.
  3. Anthropic reads the file’s sensitivity labels.
  4. Anthropic sends a file frame to your AI security server. The frame holds the whole file only if Send file content is on. The upload waits.
  5. Your server returns a verdict within the File verdict timeout (ms) that you set.
  6. On allow, the file proceeds as usual. On deny, that upload is refused: Anthropic doesn’t store the file or pass that upload to Claude.

These steps show what happens when your server answers. If it doesn’t, Failure handling determines what happens; see Set up Inference hooks. File checks use the same endpoint, signing secret, and Failure handling setting as prompt checks. Shadow mode, the rollout percentage, and Limit by role apply to them too.

When a file is refused, the member usually sees a message, and the file isn’t sent. They might need to remove it before they can send what they typed. After a deny, the message is usually your server’s deny_reason followed by your custom blocked prompt message. Some screens and older versions of the apps can show a general error or no text instead.

Tell your members that a file’s details go to your server when they attach it, not when they send the message.

What a file check covers

A file check covers these uploads, including in Claude Desktop and the mobile apps, apart from the cases under What a file check doesn’t cover:

  • Files that a member attaches in a chat, including a chat in the unified Claude experience, or in a project. A plain text or code file that the app reads itself is an exception. For the new version of projects, see the next section.
  • Files that a member attaches from a connector and that are stored as files, such as images.
  • Project documents that a member saves, or that Claude Code or Cowork on a member’s computer writes while it’s signed in with the member’s account.
  • Files, such as a spreadsheet, that Claude saves to a project from the environment where it runs code. This doesn’t include project documents that Claude writes there.

An upload that this page doesn’t list might not be checked. Zero data retention and customer-managed keys don’t change how file checks work.

What a file check doesn’t cover

A file check covers some uploads on claude.ai, and it’s not a hard boundary. It doesn’t cover every Claude product or every way that content reaches Claude. These aren’t checked, or aren’t always checked:

  • Products and screens other than chats and projects. Claude Code, Cowork, cloud sessions (including a chat that continues as one), the new version of projects, the Files API, Claude Tag, and Claude in Chrome.
  • Large files. In shadow mode or outside the rollout percentage, a covered file over your size limit isn’t refused, and your server gets no frame for it.
  • Content that a member doesn’t upload on claude.ai. Files that Claude fetches or sends through a connector, or moves from a linked computer. Text that syncs from a connected source, such as Google Drive. Files from Slack, Microsoft Teams, Discord, or email, and meeting content.
  • Files that the app sends as text. The app can read a plain text or code file itself and send its text with the message, as it usually does in the unified Claude experience. Pasted text and voice text go the same way. This text gets no file check, and it can be stored before your server answers. Only a prompt check can see it, and of a long text it might see only part, or nothing, so keep Check prompts and tool calls on. If the app also uploads a copy, a deny of the copy might not stop the text.

A member who sets out to get around the check can do so.

Was this page helpful?