diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock
index 6a01b49f..71c91498 100644
--- a/.speakeasy/gen.lock
+++ b/.speakeasy/gen.lock
@@ -1,18 +1,18 @@
lockVersion: 2.0.0
id: 0359d4fe-2923-46fc-aaca-cf70b48dcfa1
management:
- docChecksum: aee950fecf1c657983edfc4e58e7b866
+ docChecksum: 21ce555832a44299757fc1032747e81c
docVersion: 0.9.0
- speakeasyVersion: 1.708.0
- generationVersion: 2.811.2
- releaseVersion: 0.12.18
- configChecksum: efdf553eca087dde7d512c900ed5d75c
+ speakeasyVersion: 1.708.2
+ generationVersion: 2.811.4
+ releaseVersion: 0.12.19
+ configChecksum: a206714a277dc957d78bec0bf03b406f
repoURL: https://github.com/gleanwork/api-client-java.git
published: true
persistentEdits:
- generation_id: 56bae724-8fb5-4cef-b1aa-5b02af41398e
- pristine_commit_hash: 7b11705d305d2c7a078300fd91ebc9a0e45f55f0
- pristine_tree_hash: 11e6138a909124eb89020c75db5dd1604c91aeec
+ generation_id: ed4c4db9-303a-4b80-90df-a47c4f08b139
+ pristine_commit_hash: 5c9207399ce9a4a78c2413c5e60107e7829a3085
+ pristine_tree_hash: 4a0e83ec445815bf28e7ca031215c5fdff4250d8
features:
java:
additionalDependencies: 0.1.0
@@ -342,8 +342,8 @@ trackedFiles:
pristine_git_object: ebbb19511b46565159e552579219ca1125c069fa
docs/models/components/ChatMessage.md:
id: 5a104f06640a
- last_write_checksum: sha1:538ecd81d925936bcd561674f83a6c97dceb51bc
- pristine_git_object: fd142cd26762ce226a78959f68c28e2bd3ae1934
+ last_write_checksum: sha1:67b6a498cbe01a56a3eade936394d04247c25367
+ pristine_git_object: 44a0e8f5a48bd0202cf999977cf54b02440ad48f
docs/models/components/ChatMessageCitation.md:
id: 4c679e41e387
last_write_checksum: sha1:91b411ee25667a37455da12c93070f85c261355f
@@ -3142,8 +3142,8 @@ trackedFiles:
pristine_git_object: 3decbce5bd40edbe278c1c5d2dbf585808e51d9a
gradle.properties:
id: 2afbb999f001
- last_write_checksum: sha1:4dd2f2efc07e797a3c408e05f0a98555efb3c2f6
- pristine_git_object: f396ef11cfbfcb33b2043743f816ecff44b8e5ce
+ last_write_checksum: sha1:340db561206a0d03171fd9cd0c1b68cad4860c2a
+ pristine_git_object: df2a0ebd2829d4a3727daf92c5e042f48e6c1962
gradle/wrapper/gradle-wrapper.jar:
id: ec27dae6e852
last_write_checksum: sha1:f725fb1467084142d74fd7cd8eab691ab3442611
@@ -3446,8 +3446,8 @@ trackedFiles:
pristine_git_object: 5e30515ba0d212914ac9a195db6019330b6b0a2b
src/main/java/com/glean/api_client/glean_api_client/SDKConfiguration.java:
id: d5fcc61f5992
- last_write_checksum: sha1:0d9a9ed76280d60ab3498771a41798e200cd20c8
- pristine_git_object: 6bff5425345c69d431abb54e3663511ac01f8922
+ last_write_checksum: sha1:78199929be03bde01079d676a94ad7af07d85a1b
+ pristine_git_object: 8aa047e52bc56b64f06756c31eb4c70604aae1dd
src/main/java/com/glean/api_client/glean_api_client/Search.java:
id: f22d94b920b5
last_write_checksum: sha1:36e225a42ff566cb610d877bb5f41fc09e3e49e5
@@ -3766,8 +3766,8 @@ trackedFiles:
pristine_git_object: edad678bf1b6be4838de09de2d2b8a3bf70c1834
src/main/java/com/glean/api_client/glean_api_client/models/components/ChatMessage.java:
id: "752399768165"
- last_write_checksum: sha1:87f5e267a2e236359e4e6f5310e010e513b54a0b
- pristine_git_object: 3fe2b7b7c74638af1f36bacf94a62bfbedcfefee
+ last_write_checksum: sha1:9c598341bca1715117763b3994747b59f7f24b52
+ pristine_git_object: 6837471c020b16b7acae04e7267b9ac06674652b
src/main/java/com/glean/api_client/glean_api_client/models/components/ChatMessageCitation.java:
id: c239b058e1e3
last_write_checksum: sha1:0361381156f6f700db6c8791fe3a252a2ef07bf3
diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml
index ba1d41ee..0486a27e 100644
--- a/.speakeasy/gen.yaml
+++ b/.speakeasy/gen.yaml
@@ -28,7 +28,7 @@ generation:
generateNewTests: false
skipResponseBodyAssertions: false
java:
- version: 0.12.18
+ version: 0.12.19
additionalDependencies: []
additionalPlugins: []
artifactID: glean-api-client
diff --git a/.speakeasy/glean-merged-spec.yaml b/.speakeasy/glean-merged-spec.yaml
index 02e7e5fa..8b194bba 100644
--- a/.speakeasy/glean-merged-spec.yaml
+++ b/.speakeasy/glean-merged-spec.yaml
@@ -2,7 +2,7 @@ openapi: 3.0.0
info:
version: 0.9.0
title: Glean API
- x-source-commit-sha: 2a745f932cc47169f6ceb0e7b3e9869d02726cea
+ x-source-commit-sha: 29ae3041647f4c92f0c333d6bf325aba502bd6f2
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.
@@ -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: c9207631abff9271cdd02433399797f6ee15e063
+ x-open-api-commit-sha: b4d70b7e81e7f4aa0cb9d2bf300149c5b718de51
x-speakeasy-name: 'Glean API'
servers:
- url: https://{instance}-be.glean.com
@@ -7674,7 +7674,14 @@ components:
type: array
items:
$ref: "#/components/schemas/ChatMessageCitation"
- description: A list of Citations that were used to generate the response.
+ description: "Deprecated: Use inline citations via ChatMessageFragment.citation instead. For detailed reference information, use ChatMessageCitation.referenceRanges. This field is still populated for backward compatibility."
+ deprecated: true
+ x-glean-deprecated:
+ id: 6446f85e-c90e-4c00-9717-796f9db3dc61
+ introduced: "2026-02-06"
+ message: Use inline citations via ChatMessageFragment.citation and ChatMessageCitation.referenceRanges instead. This field is still populated for backward compatibility.
+ removal: "2026-10-15"
+ x-speakeasy-deprecation-message: "Deprecated on 2026-02-06, removal scheduled for 2026-10-15: Use inline citations via ChatMessageFragment.citation and ChatMessageCitation.referenceRanges instead. This field is still populated for backward compatibility."
uploadedFileIds:
type: array
items:
diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock
index 1d2d57bd..4bd7c2f3 100644
--- a/.speakeasy/workflow.lock
+++ b/.speakeasy/workflow.lock
@@ -1,12 +1,12 @@
-speakeasyVersion: 1.708.0
+speakeasyVersion: 1.708.2
sources:
Glean API:
sourceNamespace: glean-api-specs
- sourceRevisionDigest: sha256:a46c82fb26193f4747e1b7eca5ddf4cd77edbb57c9828a17c45e2b1f5fc02f4e
- sourceBlobDigest: sha256:ba6a37b98073179a44805ba67125e23e907ddc0a6ca4c409ff48c53c399495d2
+ sourceRevisionDigest: sha256:938084498d37349df785d7c76e6945fbb0d705625d1207b317c48418af8f7a63
+ sourceBlobDigest: sha256:2409f3b54cf925cda949cf2991478bf856bbb24ea7ec033e8f37ce37faae22c5
tags:
- latest
- - speakeasy-sdk-regen-1770409585
+ - speakeasy-sdk-regen-1770418502
Glean-OAS:
sourceNamespace: glean-oas
sourceRevisionDigest: sha256:8841834dd58ddd4e2dcf98fc90fbd06fbf3626a29df941503cce55b9548a5317
@@ -18,10 +18,10 @@ targets:
glean:
source: Glean API
sourceNamespace: glean-api-specs
- sourceRevisionDigest: sha256:a46c82fb26193f4747e1b7eca5ddf4cd77edbb57c9828a17c45e2b1f5fc02f4e
- sourceBlobDigest: sha256:ba6a37b98073179a44805ba67125e23e907ddc0a6ca4c409ff48c53c399495d2
+ sourceRevisionDigest: sha256:938084498d37349df785d7c76e6945fbb0d705625d1207b317c48418af8f7a63
+ sourceBlobDigest: sha256:2409f3b54cf925cda949cf2991478bf856bbb24ea7ec033e8f37ce37faae22c5
codeSamplesNamespace: glean-api-specs-java-code-samples
- codeSamplesRevisionDigest: sha256:a947d9b9bc28b5fbd6ec50c69df910c8e7609694fdbc50ec8a268fa9b282dfd3
+ codeSamplesRevisionDigest: sha256:cc6cdac3fe1aaca4a62718f767d6c1287ad49a8425337bc84ad0ab84aedc49b0
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
diff --git a/README.md b/README.md
index e9ed9d4d..4f6a93a1 100644
--- a/README.md
+++ b/README.md
@@ -66,7 +66,7 @@ The samples below show how a published SDK artifact is used:
Gradle:
```groovy
-implementation 'com.glean.api-client:glean-api-client:0.12.18'
+implementation 'com.glean.api-client:glean-api-client:0.12.19'
```
Maven:
@@ -74,7 +74,7 @@ Maven:
com.glean.api-client
glean-api-client
- 0.12.18
+ 0.12.19
```
diff --git a/RELEASES.md b/RELEASES.md
index c925e1ed..3fcd5b7c 100644
--- a/RELEASES.md
+++ b/RELEASES.md
@@ -528,4 +528,14 @@ Based on:
### Generated
- [java v0.12.18] .
### Releases
-- [Maven Central v0.12.18] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.12.18 - .
\ No newline at end of file
+- [Maven Central v0.12.18] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.12.18 - .
+
+## 2026-02-07 02:37:19
+### Changes
+Based on:
+- OpenAPI Doc
+- Speakeasy CLI 1.708.2 (2.811.4) https://github.com/speakeasy-api/speakeasy
+### Generated
+- [java v0.12.19] .
+### Releases
+- [Maven Central v0.12.19] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.12.19 - .
\ No newline at end of file
diff --git a/docs/models/components/ChatMessage.md b/docs/models/components/ChatMessage.md
index fd142cd2..44a0e8f5 100644
--- a/docs/models/components/ChatMessage.md
+++ b/docs/models/components/ChatMessage.md
@@ -5,15 +5,15 @@ A message that is rendered as one coherent unit with one given sender.
## Fields
-| Field | Type | Required | Description |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| `agentConfig` | [Optional\](../../models/components/AgentConfig.md) | :heavy_minus_sign: | Describes the agent that executes the request. |
-| `author` | [Optional\](../../models/components/Author.md) | :heavy_minus_sign: | N/A |
-| `citations` | List\<[ChatMessageCitation](../../models/components/ChatMessageCitation.md)> | :heavy_minus_sign: | A list of Citations that were used to generate the response. |
-| `uploadedFileIds` | List\<*String*> | :heavy_minus_sign: | IDs of files uploaded in the message that are referenced to generate the answer. |
-| `fragments` | List\<[ChatMessageFragment](../../models/components/ChatMessageFragment.md)> | :heavy_minus_sign: | A list of rich data used to represent the response or formulate a request. These are linearly stitched together to support richer data formats beyond simple text. |
-| `ts` | *Optional\* | :heavy_minus_sign: | Response timestamp of the message. |
-| `messageId` | *Optional\* | :heavy_minus_sign: | A unique server-side generated ID used to identify a message, automatically populated for any USER authored messages. |
-| `messageTrackingToken` | *Optional\* | :heavy_minus_sign: | Opaque tracking token generated server-side. |
-| `messageType` | [Optional\](../../models/components/MessageType.md) | :heavy_minus_sign: | Semantically groups content of a certain type. It can be used for purposes such as differential UI treatment. USER authored messages should be of type CONTENT and do not need `messageType` specified. |
-| ~~`hasMoreFragments`~~ | *Optional\* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.
Signals there are additional response fragments incoming. |
\ No newline at end of file
+| Field | Type | Required | Description |
+| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `agentConfig` | [Optional\](../../models/components/AgentConfig.md) | :heavy_minus_sign: | Describes the agent that executes the request. |
+| `author` | [Optional\](../../models/components/Author.md) | :heavy_minus_sign: | N/A |
+| ~~`citations`~~ | List\<[ChatMessageCitation](../../models/components/ChatMessageCitation.md)> | :heavy_minus_sign: | : warning: ** DEPRECATED **: Deprecated on 2026-02-06, removal scheduled for 2026-10-15: Use inline citations via ChatMessageFragment.citation and ChatMessageCitation.referenceRanges instead. This field is still populated for backward compatibility..
Deprecated: Use inline citations via ChatMessageFragment.citation instead. For detailed reference information, use ChatMessageCitation.referenceRanges. This field is still populated for backward compatibility. |
+| `uploadedFileIds` | List\<*String*> | :heavy_minus_sign: | IDs of files uploaded in the message that are referenced to generate the answer. |
+| `fragments` | List\<[ChatMessageFragment](../../models/components/ChatMessageFragment.md)> | :heavy_minus_sign: | A list of rich data used to represent the response or formulate a request. These are linearly stitched together to support richer data formats beyond simple text. |
+| `ts` | *Optional\* | :heavy_minus_sign: | Response timestamp of the message. |
+| `messageId` | *Optional\* | :heavy_minus_sign: | A unique server-side generated ID used to identify a message, automatically populated for any USER authored messages. |
+| `messageTrackingToken` | *Optional\* | :heavy_minus_sign: | Opaque tracking token generated server-side. |
+| `messageType` | [Optional\](../../models/components/MessageType.md) | :heavy_minus_sign: | Semantically groups content of a certain type. It can be used for purposes such as differential UI treatment. USER authored messages should be of type CONTENT and do not need `messageType` specified. |
+| ~~`hasMoreFragments`~~ | *Optional\* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.
Signals there are additional response fragments incoming. |
\ No newline at end of file
diff --git a/gradle.properties b/gradle.properties
index f396ef11..df2a0ebd 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -1,4 +1,4 @@
groupId=com.glean.api-client
artifactId=glean-api-client
-version=0.12.18
+version=0.12.19
org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=1g
diff --git a/src/main/java/com/glean/api_client/glean_api_client/SDKConfiguration.java b/src/main/java/com/glean/api_client/glean_api_client/SDKConfiguration.java
index 6bff5425..8aa047e5 100644
--- a/src/main/java/com/glean/api_client/glean_api_client/SDKConfiguration.java
+++ b/src/main/java/com/glean/api_client/glean_api_client/SDKConfiguration.java
@@ -24,8 +24,8 @@ public class SDKConfiguration {
private static final String LANGUAGE = "java";
public static final String OPENAPI_DOC_VERSION = "0.9.0";
- public static final String SDK_VERSION = "0.12.18";
- public static final String GEN_VERSION = "2.811.2";
+ public static final String SDK_VERSION = "0.12.19";
+ public static final String GEN_VERSION = "2.811.4";
private static final String BASE_PACKAGE = "com.glean.api_client.glean_api_client";
public static final String USER_AGENT =
String.format("speakeasy-sdk/%s %s %s %s %s",
diff --git a/src/main/java/com/glean/api_client/glean_api_client/models/components/ChatMessage.java b/src/main/java/com/glean/api_client/glean_api_client/models/components/ChatMessage.java
index 3fe2b7b7..6837471c 100644
--- a/src/main/java/com/glean/api_client/glean_api_client/models/components/ChatMessage.java
+++ b/src/main/java/com/glean/api_client/glean_api_client/models/components/ChatMessage.java
@@ -38,10 +38,15 @@ public class ChatMessage {
private Optional extends Author> author;
/**
- * A list of Citations that were used to generate the response.
+ * Deprecated: Use inline citations via ChatMessageFragment.citation instead. For detailed reference
+ * information, use ChatMessageCitation.referenceRanges. This field is still populated for backward
+ * compatibility.
+ *
+ * @deprecated field: Deprecated on 2026-02-06, removal scheduled for 2026-10-15: Use inline citations via ChatMessageFragment.citation and ChatMessageCitation.referenceRanges instead. This field is still populated for backward compatibility..
*/
@JsonInclude(Include.NON_ABSENT)
@JsonProperty("citations")
+ @Deprecated
private Optional extends List> citations;
/**
@@ -156,8 +161,13 @@ public Optional author() {
}
/**
- * A list of Citations that were used to generate the response.
+ * Deprecated: Use inline citations via ChatMessageFragment.citation instead. For detailed reference
+ * information, use ChatMessageCitation.referenceRanges. This field is still populated for backward
+ * compatibility.
+ *
+ * @deprecated field: Deprecated on 2026-02-06, removal scheduled for 2026-10-15: Use inline citations via ChatMessageFragment.citation and ChatMessageCitation.referenceRanges instead. This field is still populated for backward compatibility..
*/
+ @Deprecated
@SuppressWarnings("unchecked")
@JsonIgnore
public Optional> citations() {
@@ -267,8 +277,13 @@ public ChatMessage withAuthor(Optional extends Author> author) {
}
/**
- * A list of Citations that were used to generate the response.
+ * Deprecated: Use inline citations via ChatMessageFragment.citation instead. For detailed reference
+ * information, use ChatMessageCitation.referenceRanges. This field is still populated for backward
+ * compatibility.
+ *
+ * @deprecated field: Deprecated on 2026-02-06, removal scheduled for 2026-10-15: Use inline citations via ChatMessageFragment.citation and ChatMessageCitation.referenceRanges instead. This field is still populated for backward compatibility..
*/
+ @Deprecated
public ChatMessage withCitations(List citations) {
Utils.checkNotNull(citations, "citations");
this.citations = Optional.ofNullable(citations);
@@ -277,8 +292,13 @@ public ChatMessage withCitations(List citations) {
/**
- * A list of Citations that were used to generate the response.
+ * Deprecated: Use inline citations via ChatMessageFragment.citation instead. For detailed reference
+ * information, use ChatMessageCitation.referenceRanges. This field is still populated for backward
+ * compatibility.
+ *
+ * @deprecated field: Deprecated on 2026-02-06, removal scheduled for 2026-10-15: Use inline citations via ChatMessageFragment.citation and ChatMessageCitation.referenceRanges instead. This field is still populated for backward compatibility..
*/
+ @Deprecated
public ChatMessage withCitations(Optional extends List> citations) {
Utils.checkNotNull(citations, "citations");
this.citations = citations;
@@ -483,6 +503,7 @@ public final static class Builder {
private Optional extends Author> author;
+ @Deprecated
private Optional extends List> citations = Optional.empty();
private Optional extends List> uploadedFileIds = Optional.empty();
@@ -538,8 +559,13 @@ public Builder author(Optional extends Author> author) {
/**
- * A list of Citations that were used to generate the response.
+ * Deprecated: Use inline citations via ChatMessageFragment.citation instead. For detailed reference
+ * information, use ChatMessageCitation.referenceRanges. This field is still populated for backward
+ * compatibility.
+ *
+ * @deprecated field: Deprecated on 2026-02-06, removal scheduled for 2026-10-15: Use inline citations via ChatMessageFragment.citation and ChatMessageCitation.referenceRanges instead. This field is still populated for backward compatibility..
*/
+ @Deprecated
public Builder citations(List citations) {
Utils.checkNotNull(citations, "citations");
this.citations = Optional.ofNullable(citations);
@@ -547,8 +573,13 @@ public Builder citations(List citations) {
}
/**
- * A list of Citations that were used to generate the response.
+ * Deprecated: Use inline citations via ChatMessageFragment.citation instead. For detailed reference
+ * information, use ChatMessageCitation.referenceRanges. This field is still populated for backward
+ * compatibility.
+ *
+ * @deprecated field: Deprecated on 2026-02-06, removal scheduled for 2026-10-15: Use inline citations via ChatMessageFragment.citation and ChatMessageCitation.referenceRanges instead. This field is still populated for backward compatibility..
*/
+ @Deprecated
public Builder citations(Optional extends List> citations) {
Utils.checkNotNull(citations, "citations");
this.citations = citations;