AgentChatAttachmentStatus
org.sagebionetworks.repo.model.agent.AgentChatAttachmentStatus
The processing outcome for a single chat attachment. Attachments are processed in the same order as the request's AgentChatRequest.attachments, and one status is returned per attachment in that order.
| Field | Type | Description |
|---|---|---|
| fileHandleId | STRING | The file handle id of the attachment. |
| associateObjectId | STRING | The ID of the object associated with the file. |
| associateObjectType | FileHandleAssociateType | Enumeration of all possible objects types that can be associated with a file. |
| fileName | STRING | The resolved name of the file. Null when the file could not be staged. |
| sessionPath | STRING | The path where the file was staged in the code interpreter session. Null when the file could not be staged. |
| contentType | STRING | The resolved content type of the file. Null when the file could not be staged. |
| contentSizeBytes | INTEGER | The size of the file in bytes. Null when the file could not be staged. |
| status | AgentChatAttachmentState | Whether the attachment was staged into the agent's session. |
| failureMessage | STRING | Human-readable failure reason. Null when the status is STAGED. |
| failureCode | AgentChatAttachmentFailureCode | The failure code when the status is FAILED. Null when the status is STAGED. |