AskAttachment
A file attached to an Ask Paminga IQ message.
type AskAttachment {
id: ID!
name: String!
mime_type: String!
size_bytes: Int!
scan_status: AskAttachmentScanStatus!
unreadable: Boolean!
preview_url: String
reading: AskFileReading
}
Fields
AskAttachment.id ● ID! non-null scalar
AskAttachment.name ● String! non-null scalar
AskAttachment.mime_type ● String! non-null scalar
AskAttachment.size_bytes ● Int! non-null scalar
AskAttachment.scan_status ● AskAttachmentScanStatus! non-null enum
AskAttachment.unreadable ● Boolean! non-null scalar
True when Paminga IQ could not read the file (an image or PDF its model refused). It is no longer sent with the conversation. Show it as an error chip: "Paminga IQ couldn't read this file."
AskAttachment.preview_url ● String scalar
Short-lived signed link to view it; null unless CLEAN.
AskAttachment.reading ● AskFileReading object
What the file says, read once on the turn it was sent: its sections, each fact as the file writes it, with its page. Null until it is read, and for a file that could not be read (that one goes to Paminga IQ as itself). Paminga IQ and its builders use this, never the file again.
Returned By
askAttachments query ● attachAskFile mutation
Member Of
ChatMessage object


