"type" string mapped uniquely to their implementation.
text
Represents explicit string content.
Schema:
integer / float
Represents numeric data, distinguishing purely integer numbers from decimals.
Schema:
boolean
Represents a binary true/false state.
Schema:
choice
Used in dropdowns or rigid enum selection inputs.
Schema:
message
The comprehensive payload unit representing generative AI prompts, replies, and contexts. It is structured to support tool usage, multimodal content via file attachments referenced by alias, and other components.
Schema:
type key, and its own fields follow it, as the shapes show:
A thread item accepts every one of these blocks, so a message posts to a thread as it is. One validator serves both
the values and the items, and it checks:
The validator runs on every post of a thread item, and on every upload of a
message or messages object. There the
check is by shape only: a file is not looked up.
Any block may carry a vendor_data object beside its own fields (a reasoning block may also hold one inside
reasoning). It holds what a vendor needs back on a later turn: {"vendor", "model", "dialect", "data"}, where data
is the vendor’s original object, serialized once to a string so that storage cannot reorder it. It goes back only to
its writer: a call sends a block’s vendor_data when its own vendor and dialect match, and leaves out a reasoning
block another vendor wrote. Media bytes never sit in it; the image’s file holds them. See
Tool Calling and
Chat Component.
An answer’s metadata
A language model’s answer is onemessage, and its metadata records the call and where it was posted:
Messages can include file attachments via
file content blocks, which reference file session objects by alias. The order of blocks is significant — a file block may sit between text blocks, and multimodal consumers read the file at that position rather than after the text. For details on the file session object and its properties, see File session object.
messages
An array containing sequential message objects, representing structured conversation strings or dialogue logs. A
data.thread reads as one, each message carrying its
item’s id as attributes.id. See Messages and Threads.
Schema:
credential
Abstract identifier mapping to a securely stored alias in BlobHub’s secret vault.
Schema:
credential names the credential type it accepts, api_key or generic, and the editor offers every
credential of that type.
list / object
Structural types whose shape the component’s manifest declares. An item or a field is text, integer, float,
boolean, choice, credential, list or object, and never message, messages, thread, graph, file or
vectors.
Schema:
object without fields holds any JSON object. key names a field of the items that no two items share.
Value: only the top level carries the envelope; the items and the fields are stored as plain data.
object value, {"id", "settings"?}, in a genai.model.language entry of the run’s
input_data. See
Choosing a Model per Run.
