Core Resources
Message
A Message is a piece of content and Annotations that are relevant to that Message.
Messages represent the content that is sent to / returned from LLMs. They contain the message text, any associated files with the content, the author of the content, and the role in which the content applies. Annotations at the Message level directly apply to this specific message. For example, the annotation for “response formatting” will be at this level.Documentation Index
Fetch the complete documentation index at: https://docs.genai.scale.com/llms.txt
Use this file to discover all available pages before exploring further.
The role of the sender in the conversation (e.g., user, assistant).
Available options:
system, user, assistant, function The content of the message, including text and any attachments.
The ID of the source system or user that sent the message.
Example:
"source_abc123"
annotations
(Integer · object | Boolean · object | Text · object | Category · object | Category-Multiple · object | File · object | Workspace Container · object | Ranked Choices · object | Ranked Groups · object)[]
required
Annotations specific to this message.
Represents a generic annotation.
- Integer
- Boolean
- Text
- Category
- Category-Multiple
- File
- Workspace Container
- Ranked Choices
- Ranked Groups

