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
41 changes: 21 additions & 20 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
lockVersion: 2.0.0
id: 0359d4fe-2923-46fc-aaca-cf70b48dcfa1
management:
docChecksum: 34cd4112e4c32279bed69c71c169040f
docChecksum: 0d9b59660a5364dd79e7a3c022738ce9
docVersion: 0.9.0
speakeasyVersion: 1.757.1
generationVersion: 2.866.2
releaseVersion: 0.12.29
configChecksum: fbb4d73f586b3d6808ec47242ac52796
speakeasyVersion: 1.759.0
generationVersion: 2.869.3
releaseVersion: 0.12.30
configChecksum: 51d786475d7b56500da1f96c624ef0b7
repoURL: https://github.com/gleanwork/api-client-java.git
installationURL: https://github.com/gleanwork/api-client-java
published: true
persistentEdits:
generation_id: 1376f32d-3677-46cc-b1fb-f6868f7f29ac
pristine_commit_hash: 59897d7b2dc6b2271d1a6586df0f2c61fea56acb
pristine_tree_hash: 0554641fc376f6851344552750852e12841f8287
generation_id: d2acd85b-2430-49a8-a8f7-29958ec44caa
pristine_commit_hash: 1e24f47ec4555f0e01ae9800fdd585239e5acf2c
pristine_tree_hash: ff301928426c7bfb29106cba5093917e7f2ac5b8
features:
java:
additionalDependencies: 0.1.0
Expand Down Expand Up @@ -355,8 +355,8 @@ trackedFiles:
pristine_git_object: 44a0e8f5a48bd0202cf999977cf54b02440ad48f
docs/models/components/ChatMessageCitation.md:
id: 4c679e41e387
last_write_checksum: sha1:91b411ee25667a37455da12c93070f85c261355f
pristine_git_object: 1063b42f7c3315a7434443ce4639d62a8e56e09e
last_write_checksum: sha1:4b253ab9a194ec567b1d001db42d5de15f158982
pristine_git_object: d87bcee5df0550dbcac033293ba4f1662723997c
docs/models/components/ChatMessageFragment.md:
id: 998e5c5b431f
last_write_checksum: sha1:9b4d789359e4ef9b2cb4aae25bbc6f1ffe1f3fa6
Expand Down Expand Up @@ -1403,8 +1403,8 @@ trackedFiles:
pristine_git_object: 58b92865edd1fade5a400b24eecb30d6e2192526
docs/models/components/InsightsOverviewResponse.md:
id: eb8d62a9cad4
last_write_checksum: sha1:9c2aedb331bcde5d65e4f6dd2b862fb8920382e6
pristine_git_object: 6724bad81901ac0eaec3efad35d784cd1adc0aff
last_write_checksum: sha1:a8f64b428a2bba8d0b4c4ebe2628cffca126b07d
pristine_git_object: 6e556f24f2a9b724a9e11f2d5b7151cb6f7aa1cb
docs/models/components/InsightsRequest.md:
id: bca39583d1ca
last_write_checksum: sha1:5bf841888c51c1ac5666f3a0ce26fe728ba5439d
Expand Down Expand Up @@ -3211,8 +3211,8 @@ trackedFiles:
pristine_git_object: 3decbce5bd40edbe278c1c5d2dbf585808e51d9a
gradle.properties:
id: 2afbb999f001
last_write_checksum: sha1:baa1cdb96fb4ede979270e5b8ccb7e0b837f1402
pristine_git_object: d7ca93adb15c04fa1ac89cc293b3260b58942f71
last_write_checksum: sha1:c21653a07bf918d0e1be1a826469f6895d01a258
pristine_git_object: 99e2ec040a6d88f460a7c47b98d040cceeff695b
gradle/wrapper/gradle-wrapper.jar:
id: ec27dae6e852
last_write_checksum: sha1:f725fb1467084142d74fd7cd8eab691ab3442611
Expand Down Expand Up @@ -3531,8 +3531,8 @@ trackedFiles:
pristine_git_object: ffae914775eb41ff311371f62504344a59d090fd
src/main/java/com/glean/api_client/glean_api_client/SDKConfiguration.java:
id: d5fcc61f5992
last_write_checksum: sha1:ae20c8a861d3c6693af212c1a8ee33add7f51f28
pristine_git_object: 5d7abec3a18af82eed9c37746438ba13f9b29e6f
last_write_checksum: sha1:f79d627b25b58874cd3da07916942dd68d119d5f
pristine_git_object: 3eacd385bb5cf4a9ad08cea0903f19bba8961a9b
src/main/java/com/glean/api_client/glean_api_client/Search.java:
id: f22d94b920b5
last_write_checksum: sha1:ac38d1ed47be207940dd6fb7e4c688dddccc6a8b
Expand Down Expand Up @@ -3863,8 +3863,8 @@ trackedFiles:
pristine_git_object: 650b5da3a0948e4264ae19a722d7b87f62e199ef
src/main/java/com/glean/api_client/glean_api_client/models/components/ChatMessageCitation.java:
id: c239b058e1e3
last_write_checksum: sha1:b527db5653c32759daf24b364447b2590e4ec065
pristine_git_object: bb5333a258b7afb3a8ded5009559cec5afca6b99
last_write_checksum: sha1:6e25ac0ef6ff150ba4a76906d3908ef142f0fa96
pristine_git_object: d074d871e31881d51b24374d6c45bdb8046d0e1d
src/main/java/com/glean/api_client/glean_api_client/models/components/ChatMessageFragment.java:
id: c22528520aec
last_write_checksum: sha1:b129bfbd798039c162a300a0df7d40e619f61110
Expand Down Expand Up @@ -4911,8 +4911,8 @@ trackedFiles:
pristine_git_object: b8ec936bceaff6ca8ffc907fc064779808bd328b
src/main/java/com/glean/api_client/glean_api_client/models/components/InsightsOverviewResponse.java:
id: 2df162b5c362
last_write_checksum: sha1:1067b7e06f0d23757486125a3dfe1453ae0c03e1
pristine_git_object: fc9c067f885a44840db361fb266357aab60be910
last_write_checksum: sha1:7cef5e4dd70eb3fa7f03ec3d716fefe645c99990
pristine_git_object: ba67584f56d747b6d1eb01ca06cba9e37eb1f8fe
src/main/java/com/glean/api_client/glean_api_client/models/components/InsightsRequest.java:
id: d18f487ace2b
last_write_checksum: sha1:9f4f66fe84e8930d611b20bf21d4a9a044f7c9cd
Expand Down Expand Up @@ -9656,6 +9656,7 @@ generatedTests:
get_/rest/api/v1/tools/list: "2025-06-09T18:03:44Z"
post_/rest/api/v1/tools/call: "2025-06-09T18:03:44Z"
listpolicies: "2025-06-09T18:03:44Z"
releaseNotes: "## Java 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:
- .gitattributes
- USAGE.md
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ generation:
generateNewTests: false
skipResponseBodyAssertions: false
java:
version: 0.12.29
version: 0.12.30
additionalDependencies: []
additionalPlugins: []
artifactID: glean-api-client
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
Glean-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-java-code-samples
codeSamplesRevisionDigest: sha256:5c1e0de0a4bb5a5a6cc0554db079c05a21c45781c14ae4b66661cf07e51a4671
codeSamplesRevisionDigest: sha256:3967d1d626c1defd024afc59469b9ed8395c8d1e99cc507e8ac589e2dcadac10
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,15 @@ The samples below show how a published SDK artifact is used:

Gradle:
```groovy
implementation 'com.glean.api-client:glean-api-client:0.12.29'
implementation 'com.glean.api-client:glean-api-client:0.12.30'
```

Maven:
```xml
<dependency>
<groupId>com.glean.api-client</groupId>
<artifactId>glean-api-client</artifactId>
<version>0.12.29</version>
<version>0.12.30</version>
</dependency>
```

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
- [java v0.12.29] .
### Releases
- [Maven Central v0.12.29] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.12.29 - .
- [Maven Central v0.12.29] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.12.29 - .

## 2026-03-21 02:35:55
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.759.0 (2.869.3) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v0.12.30] .
### Releases
- [Maven Central v0.12.30] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.12.30 - .
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` | [Optional\<Document>](../../models/components/Document.md) | :heavy_minus_sign: | N/A | |
| `sourceFile` | [Optional\<ChatFile>](../../models/components/ChatFile.md) | :heavy_minus_sign: | Structure for file uploaded by a user for Chat. | |
| `sourcePerson` | [Optional\<Person>](../../models/components/Person.md) | :heavy_minus_sign: | N/A | {<br/>"name": "George Clooney",<br/>"obfuscatedId": "abc123"<br/>} |
| `sourceCustomEntity` | [Optional\<CustomEntity>](../../models/components/CustomEntity.md) | :heavy_minus_sign: | N/A | |
| `referenceRanges` | List\<[ReferenceRange](../../models/components/ReferenceRange.md)> | :heavy_minus_sign: | Each reference range and its corresponding snippets | |
3 changes: 3 additions & 0 deletions docs/models/components/InsightsOverviewResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
| `totalSignups` | *Optional\<Long>* | :heavy_minus_sign: | Number of current signed up employees in the specified departments, according to the Org Chart. |
| `searchSummary` | [Optional\<InsightsSearchSummary>](../../models/components/InsightsSearchSummary.md) | :heavy_minus_sign: | N/A |
| `chatSummary` | [Optional\<InsightsChatSummary>](../../models/components/InsightsChatSummary.md) | :heavy_minus_sign: | N/A |
| `searchActiveUsers` | [Optional\<CurrentActiveUsers>](../../models/components/CurrentActiveUsers.md) | :heavy_minus_sign: | N/A |
| `assistantActiveUsers` | [Optional\<CurrentActiveUsers>](../../models/components/CurrentActiveUsers.md) | :heavy_minus_sign: | N/A |
| `agentsActiveUsers` | [Optional\<CurrentActiveUsers>](../../models/components/CurrentActiveUsers.md) | :heavy_minus_sign: | N/A |
| `extensionSummary` | [Optional\<CurrentActiveUsers>](../../models/components/CurrentActiveUsers.md) | :heavy_minus_sign: | N/A |
| `ugcSummary` | [Optional\<CurrentActiveUsers>](../../models/components/CurrentActiveUsers.md) | :heavy_minus_sign: | N/A |
| `lastUpdatedTs` | *Optional\<Long>* | :heavy_minus_sign: | Unix timestamp of the last update for the insights data in the response. |
Expand Down
Loading