Attachments

Read an attachment as text/base64 (agent-friendly)

Text and CSV are returned verbatim, PDFs are text-extracted, images are base64; other types are reported as unsupported.

get/tasks/{taskId}/attachments/{attachmentId}/content

Request

  • Base URL: https://tasg.app/api/v1
  • URL: https://tasg.app/api/v1/tasks/{taskId}/attachments/{attachmentId}/content
  • Auth: HTTP bearer

Path parameters

taskIdstring uuid required

Task id.

attachmentIdstring uuid required

Attachment id.

Response

Extracted content.

idstring uuid required
filenamestring required
mime_typestring required
file_sizeinteger

Bytes.

kindstring

text, image, unsupported …

contentstring nullable
truncatedboolean

Changes

No recorded changes to this operation across all 1 revision of this API.