---
search:
  tags:
    - Attachments
    - GET
seo:
  description: >-
    Redirects to a short-lived signed URL for the attachment's… Reference for
    the GET /attachments/{attachment_id}/content endpoint in the AI Inbx API
    API.
sidebar:
  label: Download prepared attachment text
  badge: GET
title: Download prepared attachment text
type: openapi-operation
---
Redirects to a short-lived signed URL for the attachment's prepared text — Markdown where the document has structure, plain text otherwise. Returns 404 `not_prepared` when the file type has no text to extract or preparation failed.

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