File citation
objectA citation within the message that points to a specific quote from a specific File associated with the assistant or the message. Generated when the assistant uses the “file_search” tool to search files.
The index of the annotation in the text content part.
Always file_citation.
Allowed values:file_citation
The text in the message content that needs to be replaced.
Show Child Parameters
>= 0
>= 0
File path
objectA URL for the file that’s generated when the assistant used the code_interpreter tool to generate a file.
The index of the annotation in the text content part.
Always file_path.
Allowed values:file_path
The text in the message content that needs to be replaced.
Show Child Parameters
>= 0
>= 0
Text
objectThe text content that is part of a message.
The index of the content part in the message.
Always text.
Allowed values:text
Show Child Parameters
Message delta object
objectRepresents a message delta i.e. any changed fields on a message during streaming.
The identifier of the message, which can be referenced in API endpoints.
The object type, which is always thread.message.delta.
Allowed values:thread.message.delta
The delta containing the fields that have changed on the Message.
Show Child Parameters
The message object
objectRepresents a message within a thread.
The identifier, which can be referenced in API endpoints.
The object type, which is always thread.message.
Allowed values:thread.message
The Unix timestamp (in seconds) for when the message was created.
The thread ID that this message belongs to.
The status of the message, which can be either in_progress, incomplete, or completed.
Allowed values:in_progressincompletecompleted
On an incomplete message, details about why the message is incomplete.
Show Child Parameters
The Unix timestamp (in seconds) for when the message was completed.
The Unix timestamp (in seconds) for when the message was marked as incomplete.
The entity that produced the message. One of user or assistant.
Allowed values:userassistant
One OfThe content of the message in array of text and/or images.
References an image File in the content of a message.
Show Child Parameters
If applicable, the ID of the assistant that authored this message.
The ID of the run associated with the creation of this message. Value is null when messages are created manually using the create message or create thread endpoints.
A list of files attached to the message, and the tools they were added to.
Show Child Parameters
Set of 16 key-value pairs that can be attached to an object. This can be
useful for storing additional information about the object in a structured
format, and querying for objects via API or the dashboard.
Keys are strings with a maximum length of 64 characters. Values are strings
with a maximum length of 512 characters.