跳到主要内容

AiThreadMessageLike

A single chat message as it travels on the wire.

NameTypeDescriptionNotes
idStringStorage-assigned message id (absent on inbound drafts).[optional] [example: 22222222-2222-2222-2222-222222222222]
roleStringMessage author role.[required] [example: user] [enum: user, assistant, system]
contentAiThreadMessageLike_content[required]
createdAtStringCreation timestamp, ISO-8601 on the wire.[optional] [example: 2026-01-01T00:00:00.000Z]
statusAiThreadMessageLike_status[optional]
metadataObjectArbitrary per-message metadata.[optional] [example: {}]
attachmentsListAttachments linked to the message.[optional] [example: [55555555-5555-5555-5555-555555555555]]