Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 25 additions & 24 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
lockVersion: 2.0.0
id: 9d90eb9e-33f8-4170-8944-988f4000aad0
management:
docChecksum: 34cd4112e4c32279bed69c71c169040f
docChecksum: 0d9b59660a5364dd79e7a3c022738ce9
docVersion: 0.9.0
speakeasyVersion: 1.757.1
generationVersion: 2.866.2
releaseVersion: 0.11.34
configChecksum: 8539660793fbbf721e207604485e6f0b
speakeasyVersion: 1.759.0
generationVersion: 2.869.3
releaseVersion: 0.11.35
configChecksum: b3c3374686d97bf123c990e3b6cb0111
repoURL: https://github.com/gleanwork/api-client-go.git
installationURL: https://github.com/gleanwork/api-client-go
persistentEdits:
generation_id: 417a50a5-f828-472a-8457-b185ea81458e
pristine_commit_hash: 67b67b08e0a64a4b868a12bb70d1e53c685705ce
pristine_tree_hash: 99fab20752513d7df4aa6220436816881ee623ff
generation_id: 5a9bc7c6-ad1f-4caa-9bef-8cbc93756cd4
pristine_commit_hash: ac1f8530a0b724f54b650ef403773a36f4695e0b
pristine_tree_hash: cf9d2bd04b35f21d778591c2a9d6f840e0d8f2ce
features:
go:
additionalDependencies: 0.1.0
Expand Down Expand Up @@ -442,8 +442,8 @@ trackedFiles:
pristine_git_object: 021175d3911ff3c4cf4a6abccbf24759e4b6a232
docs/models/components/chatmessagecitation.md:
id: f779f459e302
last_write_checksum: sha1:60bfa572819116ea31318866f051c4fcf5e202de
pristine_git_object: d02a6f3b1e255506bb6d678a9b6a86709288cdfc
last_write_checksum: sha1:ee149afa4c48eadfa593adcfd274fa407969d58e
pristine_git_object: 92ada0464db3a2c9c8f77c596549e9b0d0d3c263
docs/models/components/chatmessagefragment.md:
id: 3a80e2474b95
last_write_checksum: sha1:4b786bb225b283f2897298f5d0de0b0792376e51
Expand Down Expand Up @@ -1486,8 +1486,8 @@ trackedFiles:
pristine_git_object: 1c56c012d3fec5d103299ec2cfa554ccf8358d7d
docs/models/components/insightsoverviewresponse.md:
id: e490ed19892d
last_write_checksum: sha1:38e127d6e64a29dae1cfaad74cd188f3faefebaa
pristine_git_object: b3110d46e43e6241c235ea1b10fe5ffee058116d
last_write_checksum: sha1:3dc72f0fa89d6c5847fb430ea755bfc6e8f37962
pristine_git_object: bb4cbf281fa75c1d19eff2c4ef5f84993c8280d4
docs/models/components/insightsrequest.md:
id: cf96ae543699
last_write_checksum: sha1:f76505c6ea86309e8dc7798b77307ef90c208d49
Expand Down Expand Up @@ -3286,8 +3286,8 @@ trackedFiles:
pristine_git_object: 87f13ac7b1bb396e778a90fbb59d605bd00a9276
glean.go:
id: f5ed099b8e85
last_write_checksum: sha1:44eb224439622a2891facc4c45d532be328f1c08
pristine_git_object: 00fde73014ce6213d383518f61d0d8d40967b226
last_write_checksum: sha1:91c70796eeeb58a9172350cbb17f301614cce6b4
pristine_git_object: d8777aee3f9251998d927dd1bb659cf5d3cf25ec
go.mod:
id: c47645c391ad
last_write_checksum: sha1:86e3d2575dc26780579383eddbc5be5adbd21501
Expand Down Expand Up @@ -3630,8 +3630,8 @@ trackedFiles:
pristine_git_object: 886427a4dd086dfa5aa122c6d612348b3842656e
models/components/chatmessagecitation.go:
id: ed01eb6fe323
last_write_checksum: sha1:94bea6a05c4084e3e5cb3840d01e3d5595513f30
pristine_git_object: ce70a3c90a511664b4458bb8fe93be39945fd86e
last_write_checksum: sha1:3b12cd0eecd1b84c90f9bece7936688a1b7ed200
pristine_git_object: cb73fb2f22e26699d87853f3bf5b0ad174198e92
models/components/chatmessagefragment.go:
id: 8b451ad53a7d
last_write_checksum: sha1:0d8fbc173b3d0e0ca97ded6593a7e966af939fa1
Expand Down Expand Up @@ -4470,8 +4470,8 @@ trackedFiles:
pristine_git_object: b2ff4ceeed20d491ef94779a586f62759397c3fa
models/components/insightsoverviewresponse.go:
id: ac8d586dce6f
last_write_checksum: sha1:98904a987980934acf5a3e88ccffc1e76568025f
pristine_git_object: 8eba4094a43060e2adfb16fdb6ade85a3fbe8f45
last_write_checksum: sha1:d6d9db3d992467c8be552dec716e1ccd974cea7e
pristine_git_object: c968c42207bf93291083fb339e3d1d7943911ff5
models/components/insightsrequest.go:
id: 864d5ff0b637
last_write_checksum: sha1:10c2b3d25ce68b783f5981548a0e21aa0a43a908
Expand Down Expand Up @@ -5742,8 +5742,8 @@ trackedFiles:
pristine_git_object: 6d9cbca42012c2760de3ecaf4f569c53d32197da
tests/messages_test.go:
id: 3433c956b7a3
last_write_checksum: sha1:1cd91a5da0532448c95e970af3d91952394a6cb9
pristine_git_object: f927c36464e8eb191ae67582831be04e3db1e5dc
last_write_checksum: sha1:352ecfa3a01795bbe7fad9b0202c4ccaa02448c3
pristine_git_object: 64ef64fe1c0ccbc223987d87ddddf3d6e2de7799
tests/mockserver/.gitignore:
last_write_checksum: sha1:228e1b05712a973948fd771323a2140a3b355ff4
tests/mockserver/Dockerfile:
Expand Down Expand Up @@ -6079,7 +6079,7 @@ trackedFiles:
tests/mockserver/internal/sdk/models/components/chatmessage.go:
last_write_checksum: sha1:b813b4301b77532bbbc60fa85f3b44e21d7a740d
tests/mockserver/internal/sdk/models/components/chatmessagecitation.go:
last_write_checksum: sha1:c6225814e79eac17f90ebb8d86a98bb0038c20b6
last_write_checksum: sha1:f5b371efdd863a1d6d2f83041371ceb7601bc07f
tests/mockserver/internal/sdk/models/components/chatmessagefragment.go:
last_write_checksum: sha1:1834d9a43544e8cca44d147a1e2f99e120fb09ae
tests/mockserver/internal/sdk/models/components/chatmetadata.go:
Expand Down Expand Up @@ -6499,7 +6499,7 @@ trackedFiles:
tests/mockserver/internal/sdk/models/components/insightsoverviewrequest.go:
last_write_checksum: sha1:f41a223c0da4e4edee140cdd8a7697a45969a239
tests/mockserver/internal/sdk/models/components/insightsoverviewresponse.go:
last_write_checksum: sha1:6b78d9baa749aa3e03c2e20964a9a5ddcaab97ad
last_write_checksum: sha1:926270f59a7276459f6efea061ad9d0a5fd0d857
tests/mockserver/internal/sdk/models/components/insightsrequest.go:
last_write_checksum: sha1:f8bb4f19bca0be78fec51bf4d8e90d29ad25b940
tests/mockserver/internal/sdk/models/components/insightsresponse.go:
Expand Down Expand Up @@ -7138,8 +7138,8 @@ trackedFiles:
pristine_git_object: 8276fc3a8313ccbdb884ac378657dea8e7a24776
tests/summarize_test.go:
id: 1b63b0a16e69
last_write_checksum: sha1:363bed5255b9e55cdb58a8d97fb8f2cc399d3877
pristine_git_object: cf370440c325e4da2b01e20af977447f35e35943
last_write_checksum: sha1:dfed75e0b9e7ac03c0e3e8b08dedf41010b00a9f
pristine_git_object: 712f098bf86bd12805fc035e9c4597e8140f25cd
tests/testclient.go:
id: 78d36c6e169c
last_write_checksum: sha1:507c44e437934fbff8d295201c1327e18bd00df8
Expand Down Expand Up @@ -8105,6 +8105,7 @@ generatedTests:
checkdatasourceauth: "2026-02-19T15:51:40Z"
getDatasourceInstanceConfiguration: "2026-03-09T18:37:01Z"
updateDatasourceInstanceConfiguration: "2026-03-09T18:37:01Z"
releaseNotes: "## Go SDK Changes:\n* `Glean.Client.Chat.Create()`: \n * `request.ChatRequest.Messages[].Citations[].SourceCustomEntity` **Added**\n * `response.Messages[].Citations[].SourceCustomEntity` **Added**\n* `Glean.Client.Chat.Retrieve()`: `response.ChatResult.Chat.Messages[].Citations[].SourceCustomEntity` **Added**\n* `Glean.Client.Chat.CreateStream()`: \n * `request.ChatRequest.Messages[].Citations[].SourceCustomEntity` **Added**\n* `Glean.Client.Insights.Retrieve()`: `response.OverviewResponse` **Changed**\n"
generatedFiles:
- .devcontainer/README.md
- .devcontainer/devcontainer.json
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ generation:
generateNewTests: true
skipResponseBodyAssertions: true
go:
version: 0.11.34
version: 0.11.35
additionalDependencies: {}
allowUnknownFieldsInWeakUnions: false
baseErrorName: GleanError
Expand Down
15 changes: 13 additions & 2 deletions .speakeasy/glean-merged-spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ openapi: 3.0.0
info:
version: 0.9.0
title: Glean API
x-source-commit-sha: b82cd7608fd801b317cf9df15ebfb73f83d9febc
x-source-commit-sha: 797f674a2b57a6822c26cc194a8d32f63ca07772
description: |
# Introduction
In addition to the data sources that Glean has built-in support for, Glean also provides a REST API that enables customers to put arbitrary content in the search index. This is useful, for example, for doing permissions-aware search over content in internal tools that reside on-prem as well as for searching over applications that Glean does not currently support first class. In addition these APIs allow the customer to push organization data (people info, organization structure etc) into Glean.
Expand All @@ -22,7 +22,7 @@ info:
These API clients provide type-safe, idiomatic interfaces for working with Glean IndexingAPIs in your language of choice.
x-logo:
url: https://app.glean.com/images/glean-text2.svg
x-open-api-commit-sha: 0b2689b6010d15de5b45dc85490080ea14936ea6
x-open-api-commit-sha: d6699c2fdcecd8d48bf88ebde2e820d349e89769
x-speakeasy-name: 'Glean API'
servers:
- url: https://{instance}-be.glean.com
Expand Down Expand Up @@ -7881,6 +7881,8 @@ components:
$ref: "#/components/schemas/ChatFile"
sourcePerson:
$ref: "#/components/schemas/Person"
sourceCustomEntity:
$ref: "#/components/schemas/CustomEntity"
referenceRanges:
description: Each reference range and its corresponding snippets
type: array
Expand Down Expand Up @@ -9071,6 +9073,15 @@ components:
$ref: "#/components/schemas/InsightsSearchSummary"
chatSummary:
$ref: "#/components/schemas/InsightsChatSummary"
searchActiveUsers:
$ref: "#/components/schemas/CurrentActiveUsers"
description: Search-specific active user counts for the specified departments.
assistantActiveUsers:
$ref: "#/components/schemas/CurrentActiveUsers"
description: Assistant-specific active user counts for the specified departments.
agentsActiveUsers:
$ref: "#/components/schemas/CurrentActiveUsers"
description: Agents-specific active user counts for the specified departments.
extensionSummary:
$ref: "#/components/schemas/CurrentActiveUsers"
ugcSummary:
Expand Down
12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
speakeasyVersion: 1.757.1
speakeasyVersion: 1.759.0
sources:
Glean API:
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:cd1b70d6a8034c274c2032fa245dc1f410d81cba955c6954a85f47f8e64d6f2f
sourceBlobDigest: sha256:82d37f119622340b0c9d7352ac8a90c2df320b24c8e49c396d6531f9fe2b890b
sourceRevisionDigest: sha256:18cac6b4f1f41c2511d56b5d483f24bd551e42707f411faa034155a963a74237
sourceBlobDigest: sha256:4dfab61c244d27c8851d08e60b2a2b5c6f5d251901954ab3b32565f2d703c8e2
tags:
- latest
petstore-oas:
Expand All @@ -17,10 +17,10 @@ targets:
glean:
source: Glean API
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:cd1b70d6a8034c274c2032fa245dc1f410d81cba955c6954a85f47f8e64d6f2f
sourceBlobDigest: sha256:82d37f119622340b0c9d7352ac8a90c2df320b24c8e49c396d6531f9fe2b890b
sourceRevisionDigest: sha256:18cac6b4f1f41c2511d56b5d483f24bd551e42707f411faa034155a963a74237
sourceBlobDigest: sha256:4dfab61c244d27c8851d08e60b2a2b5c6f5d251901954ab3b32565f2d703c8e2
codeSamplesNamespace: glean-api-specs-go-code-samples
codeSamplesRevisionDigest: sha256:966d01de0104b8115d550cd15b6f8d3046cc912bba6ac2e78e67aaa66f209a40
codeSamplesRevisionDigest: sha256:3f02b1096e3a6e3951183cb447b2c7325e36f64b195f344eb468cca2b874cb8c
petstore:
source: petstore-oas
sourceNamespace: petstore-oas
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -638,4 +638,14 @@ Based on:
### Generated
- [go v0.11.34] .
### Releases
- [Go v0.11.34] https://github.com/gleanwork/api-client-go/releases/tag/v0.11.34 - .
- [Go v0.11.34] https://github.com/gleanwork/api-client-go/releases/tag/v0.11.34 - .

## 2026-03-21 01:42:10
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.759.0 (2.869.3) https://github.com/speakeasy-api/speakeasy
### Generated
- [go v0.11.35] .
### Releases
- [Go v0.11.35] https://github.com/gleanwork/api-client-go/releases/tag/v0.11.35 - .
1 change: 1 addition & 0 deletions docs/models/components/chatmessagecitation.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ Information about the source for a ChatMessage.
| `SourceDocument` | [*components.Document](../../models/components/document.md) | :heavy_minus_sign: | N/A | |
| `SourceFile` | [*components.ChatFile](../../models/components/chatfile.md) | :heavy_minus_sign: | Structure for file uploaded by a user for Chat. | |
| `SourcePerson` | [*components.Person](../../models/components/person.md) | :heavy_minus_sign: | N/A | {<br/>"name": "George Clooney",<br/>"obfuscatedId": "abc123"<br/>} |
| `SourceCustomEntity` | [*components.CustomEntity](../../models/components/customentity.md) | :heavy_minus_sign: | N/A | |
| `ReferenceRanges` | [][components.ReferenceRange](../../models/components/referencerange.md) | :heavy_minus_sign: | Each reference range and its corresponding snippets | |
Loading
Loading