---
search:
  tags:
    - Attachments
    - HEAD
seo:
  description: >-
    Returns the attachment's media type, size, and filename disposition in…
    Reference for the HEAD /attachments/{attachment_id} endpoint in the AI Inbx
    API API.
sidebar:
  label: Inspect attachment metadata
  badge: HEAD
title: Inspect attachment metadata
type: openapi-operation
---
Returns the attachment's media type, size, and filename disposition in response headers without transferring the file — the cheap way to check a size before committing to a download.

<Operation source="api-endpoints" id="inspect-attachment" />
