Skip to content

Interface: AttachmentArtifactInput

Makaio Framework


Makaio Framework / services-core / AttachmentArtifactInput

Defined in: ../../../packages/services/core/src/session/attachment-artifacts.ts:26

optional content?: string

Defined in: ../../../packages/services/core/src/session/attachment-artifacts.ts:40

Base64-encoded content, when the source was base64 data.


optional filePath?: string

Defined in: ../../../packages/services/core/src/session/attachment-artifacts.ts:38

Absolute file path on disk, when available.


id: string

Defined in: ../../../packages/services/core/src/session/attachment-artifacts.ts:28

Unique artifact identifier.


metadata: AttachmentArtifactMetadata

Defined in: ../../../packages/services/core/src/session/attachment-artifacts.ts:42

Structured metadata linking the artifact back to its origin.


mimeType: string

Defined in: ../../../packages/services/core/src/session/attachment-artifacts.ts:36

MIME type of the attached file.


scope: "session"

Defined in: ../../../packages/services/core/src/session/attachment-artifacts.ts:30

Always ‘session’ for attachment artifacts created from message blocks.


sessionId: string

Defined in: ../../../packages/services/core/src/session/attachment-artifacts.ts:32

Session the artifact belongs to.


type: "user-upload"

Defined in: ../../../packages/services/core/src/session/attachment-artifacts.ts:34

Always ‘user-upload’ for attachment artifacts.