ThreadSectionModel
ThreadSectionModel =
object
Defined in: packages/schema/src/model.ts:1176
The conversation of a record: the latest limit records of the message resource resource whose relation field
holds the record’s key, oldest first, each text under its sender and time, with earlier ones on request. The text
shows as markdown when the message resource’s view marks it .markdown(). See
Conversations.
Properties
Section titled “Properties”calls?
Section titled “calls?”
optionalcalls?:ToolCallFields&object
Defined in: packages/schema/src/model.ts:1201
The tool calls drawn between the messages in time order: the records of calls.resource whose filterable relation
calls.field holds this record’s key, read by the fields it names.
Type Declaration
Section titled “Type Declaration”field:
string
The filterable relation of resource that holds this record’s key.
resource
Section titled “resource”resource:
string
The tool call resource.
empty?
Section titled “empty?”
optionalempty?:string
Defined in: packages/schema/src/model.ts:1210
What it says while there are no messages.
field:
string
Defined in: packages/schema/src/model.ts:1186
The filterable relation of resource that holds this record’s key.
optionalhelp?:string
Defined in: packages/schema/src/model.ts:1182
A line under the title.
kind:
"thread"
Defined in: packages/schema/src/model.ts:1178
A record’s conversation.
limit?
Section titled “limit?”
optionallimit?:number
Defined in: packages/schema/src/model.ts:1208
How many of the latest messages it shows at first; 50 when omitted.
resource
Section titled “resource”resource:
string
Defined in: packages/schema/src/model.ts:1184
The message resource.
sender?
Section titled “sender?”
optionalsender?:string
Defined in: packages/schema/src/model.ts:1188
Who wrote each message: a relation, named as the record it points at, or a text field. Without it, the messages are one author’s and show under no name.
status?
Section titled “status?”
optionalstatus?:string
Defined in: packages/schema/src/model.ts:1194
A short line under each message, such as whether it was delivered: a text or enum field, its enum labels shown.
text:
string
Defined in: packages/schema/src/model.ts:1192
The message itself: a text field.
time:
string
Defined in: packages/schema/src/model.ts:1190
When each message was sent: a date or timestamp field the API can sort by.
title:
string
Defined in: packages/schema/src/model.ts:1180
The section’s title.
optionalwhen?:ShowWhen
Defined in: packages/schema/src/model.ts:1212
Whether it shows on the form, the read view or both.
working?
Section titled “working?”
optionalworking?:string
Defined in: packages/schema/src/model.ts:1196
An AIP-160 condition over the saved record, such as state = 'working': while it holds, the thread ends in a working indicator.