You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .speakeasy/glean-merged-spec.yaml
+95-1Lines changed: 95 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7287,7 +7287,7 @@ components:
7287
7287
additionalProperties:
7288
7288
$ref: "#/components/schemas/WriteActionParameter"
7289
7289
ChatMessageFragment:
7290
-
description: Represents a part of a ChatMessage that originates from a single action/tool. It is designed to support rich data formats beyond simple text, allowing for a more dynamic and interactive chat experience. Each fragment can include various types of content, such as text, search queries, action information, and more. Also, each ChatMessageFragment should only have one of structuredResults, querySuggestion, writeAction, followupAction, or file.
7290
+
description: Represents a part of a ChatMessage that originates from a single action/tool. It is designed to support rich data formats beyond simple text, allowing for a more dynamic and interactive chat experience. Each fragment can include various types of content, such as text, search queries, action information, and more. Also, each ChatMessageFragment should only have one of structuredResults, querySuggestion, writeAction, followupAction, agentRecommendation or file.
7291
7291
allOf:
7292
7292
- $ref: "#/components/schemas/Result"
7293
7293
- type: object
@@ -7489,12 +7489,18 @@ components:
7489
7489
description: A historical representation of a series of chat messages a user had with Glean Assistant.
description: Categories of content requested. An allowlist gives flexibility to request content separately or together.
9157
9164
requestOptions:
9158
9165
$ref: "#/components/schemas/FeedRequestOptions"
@@ -9308,6 +9315,87 @@ components:
9308
9315
type: array
9309
9316
items:
9310
9317
$ref: "#/components/schemas/GeneratedAttachment"
9318
+
SectionType:
9319
+
type: string
9320
+
description: Type of the section. This defines how the section should be interpreted and rendered in the digest.
9321
+
x-enumDescriptions:
9322
+
CHANNEL: A standard section for channel-based digests (e.g. from Slack, Teams).
9323
+
MENTIONS: A dedicated section that surfaces user mentions (actionable, informative, or all).
9324
+
TOPIC: A section driven by a generic topic, not tied to any specific channel or instance.
9325
+
enum:
9326
+
- CHANNEL
9327
+
- MENTIONS
9328
+
- TOPIC
9329
+
UpdateType:
9330
+
type: string
9331
+
description: Optional type classification for the update.
9332
+
x-enumDescriptions:
9333
+
ACTIONABLE: Updates that require user attention or action
9334
+
INFORMATIVE: Updates that are purely informational
9335
+
enum:
9336
+
- ACTIONABLE
9337
+
- INFORMATIVE
9338
+
DigestUpdate:
9339
+
type: object
9340
+
properties:
9341
+
url:
9342
+
type: string
9343
+
description: URL link to the content or document.
9344
+
title:
9345
+
type: string
9346
+
description: Title or headline of the update.
9347
+
datasource:
9348
+
type: string
9349
+
description: Name or identifier of the data source (e.g., slack, confluence, etc.).
9350
+
summary:
9351
+
type: string
9352
+
description: Brief summary or description of the update content.
9353
+
type:
9354
+
$ref: "#/components/schemas/UpdateType"
9355
+
DigestSection:
9356
+
type: object
9357
+
required:
9358
+
- id
9359
+
- type
9360
+
- updates
9361
+
properties:
9362
+
id:
9363
+
type: string
9364
+
description: Unique identifier for the digest section.
9365
+
type:
9366
+
$ref: "#/components/schemas/SectionType"
9367
+
displayName:
9368
+
type: string
9369
+
description: Human-readable name for the digest section.
9370
+
channelName:
9371
+
type: string
9372
+
description: Name of the channel (applicable for CHANNEL type sections). Used to display in the frontend.
9373
+
instanceId:
9374
+
type: string
9375
+
description: Instance identifier for the channel or workspace. Used for constructing channel URLs to display in the frontend.
9376
+
url:
9377
+
type: string
9378
+
description: Optional URL for the digest section. Should be populated only if the section is a CHANNEL type section.
9379
+
updates:
9380
+
type: array
9381
+
items:
9382
+
$ref: "#/components/schemas/DigestUpdate"
9383
+
description: List of updates within this digest section.
9384
+
Digest:
9385
+
type: object
9386
+
properties:
9387
+
podcastFileId:
9388
+
type: string
9389
+
description: Identifier for the podcast file generated from this digest content.
9390
+
digestDate:
9391
+
type: string
9392
+
description: The date this digest covers, in YYYY-MM-DD format. Represents the specific day for which the digest content and updates were compiled. This can be empty if the digest is not yet available.
9393
+
example: "2025-09-03"
9394
+
sections:
9395
+
type: array
9396
+
items:
9397
+
$ref: "#/components/schemas/DigestSection"
9398
+
description: Array of digest sections from which the podcast was created.
9311
9399
ChatSuggestion:
9312
9400
properties:
9313
9401
query:
@@ -9530,6 +9618,7 @@ components:
9530
9618
- ZERO_STATE_STATIC_WORKFLOW_SUGGESTION
9531
9619
- ZERO_STATE_AGENT_SUGGESTION
9532
9620
- PERSONALIZED_CHAT_SUGGESTION
9621
+
- DAILY_DIGEST
9533
9622
description: Type of the justification.
9534
9623
justification:
9535
9624
type: string
@@ -9546,6 +9635,8 @@ components:
9546
9635
$ref: "#/components/schemas/CalendarEvent"
9547
9636
announcement:
9548
9637
$ref: "#/components/schemas/Announcement"
9638
+
digest:
9639
+
$ref: "#/components/schemas/Digest"
9549
9640
collection:
9550
9641
$ref: "#/components/schemas/Collection"
9551
9642
collectionItem:
@@ -9598,6 +9689,7 @@ components:
9598
9689
- ZERO_STATE_WORKFLOW_POPULAR
9599
9690
- ZERO_STATE_WORKFLOW_SUGGESTION
9600
9691
- PERSONALIZED_CHAT_SUGGESTION
9692
+
- DAILY_DIGEST
9601
9693
description: Category of the result, one of the requested categories in incoming request.
9602
9694
primaryEntry:
9603
9695
$ref: "#/components/schemas/FeedEntry"
@@ -11595,6 +11687,7 @@ components:
11595
11687
- EXTERNAL_SHORTCUT
11596
11688
- ENTITY
11597
11689
- CALENDAR
11690
+
- AGENTS
11598
11691
description: The document category of this object type.
11599
11692
propertyDefinitions:
11600
11693
type: array
@@ -11649,6 +11742,7 @@ components:
11649
11742
- EXTERNAL_SHORTCUT
11650
11743
- ENTITY
11651
11744
- CALENDAR
11745
+
- AGENTS
11652
11746
default: UNCATEGORIZED
11653
11747
description: The type of this datasource. It is an important signal for relevance and must be specified and cannot be UNCATEGORIZED. Please refer to [this](https://developers.glean.com/docs/indexing_api_datasource_category/) for more details.
Copy file name to clipboardExpand all lines: docs/models/chat.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,4 +15,6 @@ A historical representation of a series of chat messages a user had with Glean A
15
15
|`application_id`|*Optional[str]*|:heavy_minus_sign:| The ID of the AI App that this Chat is associated to. ||
16
16
|`application_name`|*Optional[str]*|:heavy_minus_sign:| The display name of the AI App that this Chat is associated to. ||
17
17
|`icon`|[Optional[models.IconConfig]](../models/iconconfig.md)|:heavy_minus_sign:| Defines how to render an icon | {<br/>"color": "#343CED",<br/>"key": "person_icon",<br/>"iconType": "GLYPH",<br/>"name": "user"<br/>} |
18
-
|`messages`| List[[models.ChatMessage](../models/chatmessage.md)]|:heavy_minus_sign:| The chat messages within a Chat. ||
Copy file name to clipboardExpand all lines: docs/models/chatmessagefragment.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# ChatMessageFragment
2
2
3
-
Represents a part of a ChatMessage that originates from a single action/tool. It is designed to support rich data formats beyond simple text, allowing for a more dynamic and interactive chat experience. Each fragment can include various types of content, such as text, search queries, action information, and more. Also, each ChatMessageFragment should only have one of structuredResults, querySuggestion, writeAction, followupAction, or file.
3
+
Represents a part of a ChatMessage that originates from a single action/tool. It is designed to support rich data formats beyond simple text, allowing for a more dynamic and interactive chat experience. Each fragment can include various types of content, such as text, search queries, action information, and more. Also, each ChatMessageFragment should only have one of structuredResults, querySuggestion, writeAction, followupAction, agentRecommendation or file.
0 commit comments