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
1,036 changes: 867 additions & 169 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

4 changes: 3 additions & 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.14.4
version: 0.15.0
additionalDependencies: []
additionalPlugins: []
artifactID: glean-api-client
Expand All @@ -53,8 +53,10 @@ java:
generateOptionalUnionAccessors: false
generateSpringBootStarter: true
generateUnionDocs: false
getterStyle: presence-aware
githubURL: github.com/gleanwork/api-client-java
groupID: com.glean.api-client
httpClient: jdk
imports:
option: openapi
paths:
Expand Down
1,258 changes: 1,179 additions & 79 deletions .speakeasy/glean-merged-spec.yaml

Large diffs are not rendered by default.

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.790.3
speakeasyVersion: 1.791.4
sources:
Glean API:
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:bb3bada7cfd1fef35eb00e096010fcd9238a6dde135ee387c782bba65dfa45fb
sourceBlobDigest: sha256:5552ea5e20187c775de44c60abbd112a31cf189b9486aafe2e303b5f71e76f0b
sourceRevisionDigest: sha256:4d19dfbc7913eabdd15138c6c4b9df5a80cd7eb3460ae2ff1af4cc065e76d9ef
sourceBlobDigest: sha256:721b9be4d93803929f0102ff8df294cbd094661ebeb8f464b5ec341365b76f74
tags:
- latest
Glean-OAS:
Expand All @@ -17,10 +17,10 @@ targets:
glean:
source: Glean API
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:bb3bada7cfd1fef35eb00e096010fcd9238a6dde135ee387c782bba65dfa45fb
sourceBlobDigest: sha256:5552ea5e20187c775de44c60abbd112a31cf189b9486aafe2e303b5f71e76f0b
sourceRevisionDigest: sha256:4d19dfbc7913eabdd15138c6c4b9df5a80cd7eb3460ae2ff1af4cc065e76d9ef
sourceBlobDigest: sha256:721b9be4d93803929f0102ff8df294cbd094661ebeb8f464b5ec341365b76f74
codeSamplesNamespace: glean-api-specs-java-code-samples
codeSamplesRevisionDigest: sha256:e3c929dc27f770d7e9fc2453e5efcdb9b60be3e68c39fa24fc2726fb0ffd18a5
codeSamplesRevisionDigest: sha256:f7f28f1faa52eead77b284770386fc704c548cdd30705b0921c7db7bf5a7f484
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
52 changes: 32 additions & 20 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.14.4'
implementation 'com.glean.api-client:glean-api-client:0.15.0'
```

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

Expand Down Expand Up @@ -374,6 +374,10 @@ For more information on obtaining the appropriate token type, please contact you
* [getSchemas](docs/sdks/agents/README.md#getschemas) - Get agent schemas
* [createRun](docs/sdks/agents/README.md#createrun) - Create agent run

### [Chat](docs/sdks/chat/README.md)

* [create](docs/sdks/chat/README.md#create) - Create a chat response

### [Client.Activity](docs/sdks/activity/README.md)

* [report](docs/sdks/activity/README.md#report) - Report document activity
Expand All @@ -385,6 +389,7 @@ For more information on obtaining the appropriate token type, please contact you
* [retrieve](docs/sdks/clientagents/README.md#retrieve) - Retrieve an agent
* [update](docs/sdks/clientagents/README.md#update) - Edit an agent
* [retrieveSchemas](docs/sdks/clientagents/README.md#retrieveschemas) - List an agent's schemas
* [import_](docs/sdks/clientagents/README.md#import_) - Import an agent
* [list](docs/sdks/clientagents/README.md#list) - Search agents
* [runStream](docs/sdks/clientagents/README.md#runstream) - Create an agent run and stream the response
* [run](docs/sdks/clientagents/README.md#run) - Create an agent run and wait for the response
Expand All @@ -408,19 +413,19 @@ For more information on obtaining the appropriate token type, please contact you
* [checkDatasourceAuth](docs/sdks/clientauthentication/README.md#checkdatasourceauth) - Check datasource authorization
* [createToken](docs/sdks/clientauthentication/README.md#createtoken) - Create authentication token

### [Client.Chat](docs/sdks/chat/README.md)
### [Client.Chat](docs/sdks/clientchat/README.md)

* [create](docs/sdks/chat/README.md#create) - Chat
* [deleteAll](docs/sdks/chat/README.md#deleteall) - Deletes all saved Chats owned by a user
* [delete](docs/sdks/chat/README.md#delete) - Deletes saved Chats
* [retrieve](docs/sdks/chat/README.md#retrieve) - Retrieves a Chat
* [list](docs/sdks/chat/README.md#list) - Retrieves all saved Chats
* [retrieveApplication](docs/sdks/chat/README.md#retrieveapplication) - Gets the metadata for a custom Chat application
* [uploadFiles](docs/sdks/chat/README.md#uploadfiles) - Upload files for Chat
* [retrieveFiles](docs/sdks/chat/README.md#retrievefiles) - Get files uploaded by a user for Chat
* [deleteFiles](docs/sdks/chat/README.md#deletefiles) - Delete files uploaded by a user for chat
* [retrieveFile](docs/sdks/chat/README.md#retrievefile) - Download a chat file
* [createStream](docs/sdks/chat/README.md#createstream) - Chat
* [create](docs/sdks/clientchat/README.md#create) - Chat
* [deleteAll](docs/sdks/clientchat/README.md#deleteall) - Deletes all saved Chats owned by a user
* [delete](docs/sdks/clientchat/README.md#delete) - Deletes saved Chats
* [retrieve](docs/sdks/clientchat/README.md#retrieve) - Retrieves a Chat
* [list](docs/sdks/clientchat/README.md#list) - Retrieves all saved Chats
* [retrieveApplication](docs/sdks/clientchat/README.md#retrieveapplication) - Gets the metadata for a custom Chat application
* [uploadFiles](docs/sdks/clientchat/README.md#uploadfiles) - Upload files for Chat
* [retrieveFiles](docs/sdks/clientchat/README.md#retrievefiles) - Get files uploaded by a user for Chat
* [deleteFiles](docs/sdks/clientchat/README.md#deletefiles) - Delete files uploaded by a user for chat
* [retrieveFile](docs/sdks/clientchat/README.md#retrievefile) - Download a chat file
* [createStream](docs/sdks/clientchat/README.md#createstream) - Chat

### [Client.Collections](docs/sdks/collections/README.md)

Expand Down Expand Up @@ -519,6 +524,7 @@ For more information on obtaining the appropriate token type, please contact you
* [authorizeActionPack](docs/sdks/tools/README.md#authorizeactionpack) - Start the OAuth authorization flow for an action pack.
* [retrieveToolServerAuthStatus](docs/sdks/tools/README.md#retrievetoolserverauthstatus) - Get end-user authentication status for a tool server.
* [authorizeToolServer](docs/sdks/tools/README.md#authorizetoolserver) - Start the OAuth authorization flow for a tool server.
* [getToolServerTools](docs/sdks/tools/README.md#gettoolservertools) - Get tool definitions from a tool server.

### [Client.Verification](docs/sdks/verification/README.md)

Expand Down Expand Up @@ -602,12 +608,15 @@ For more information on obtaining the appropriate token type, please contact you
### [Search](docs/sdks/search/README.md)

* [query](docs/sdks/search/README.md#query) - Search
* [listFilters](docs/sdks/search/README.md#listfilters) - List search filters

### [Skills](docs/sdks/skills/README.md)

* [create](docs/sdks/skills/README.md#create) - Create skill
* [list](docs/sdks/skills/README.md#list) - List skills
* [validate](docs/sdks/skills/README.md#validate) - Validate skill bundle
* [previewSource](docs/sdks/skills/README.md#previewsource) - Preview a GitHub skill source
* [update](docs/sdks/skills/README.md#update) - Update skill
* [retrieve](docs/sdks/skills/README.md#retrieve) - Retrieve skill
* [retrieveContent](docs/sdks/skills/README.md#retrievecontent) - Download skill content
* [createVersion](docs/sdks/skills/README.md#createversion) - Create skill version
Expand Down Expand Up @@ -710,7 +719,7 @@ public class Application {
**Primary error:**
* [`GleanError`](./src/main/java/models/errors/GleanError.java): The base class for HTTP error responses.

<details><summary>Less common errors (11)</summary>
<details><summary>Less common errors (14)</summary>

<br />

Expand All @@ -720,11 +729,14 @@ public class Application {
many more subclasses in the JDK platform).

**Inherit from [`GleanError`](./src/main/java/models/errors/GleanError.java)**:
* [`com.glean.api_client.glean_api_client.models.errors.PlatformProblemDetailException`](./src/main/java/models/errors/com.glean.api_client.glean_api_client.models.errors.PlatformProblemDetailException.java): Error response following RFC 9457, extended with `code` and `documentation_url` for machine-readable classification and self-service remediation. Applicable to 14 of 147 methods.*
* [`com.glean.api_client.glean_api_client.models.errors.ErrorResponse`](./src/main/java/models/errors/com.glean.api_client.glean_api_client.models.errors.ErrorResponse.java): Error response returned for failed requests. Applicable to 9 of 147 methods.*
* [`com.glean.api_client.glean_api_client.models.errors.ErrorInfoResponse`](./src/main/java/models/errors/com.glean.api_client.glean_api_client.models.errors.ErrorInfoResponse.java): Error response for custom metadata operations. Applicable to 6 of 147 methods.*
* [`com.glean.api_client.glean_api_client.models.errors.CollectionError`](./src/main/java/models/errors/com.glean.api_client.glean_api_client.models.errors.CollectionError.java): Semantic error. Status code `422`. Applicable to 3 of 147 methods.*
* [`com.glean.api_client.glean_api_client.models.errors.GleanDataError`](./src/main/java/models/errors/com.glean.api_client.glean_api_client.models.errors.GleanDataError.java): Forbidden. Applicable to 2 of 147 methods.*
* [`com.glean.api_client.glean_api_client.models.errors.PlatformProblemDetailException`](./src/main/java/models/errors/com.glean.api_client.glean_api_client.models.errors.PlatformProblemDetailException.java): Error response following RFC 9457, extended with `code` and `documentation_url` for machine-readable classification and self-service remediation. Applicable to 18 of 153 methods.*
* [`com.glean.api_client.glean_api_client.models.errors.ErrorResponse`](./src/main/java/models/errors/com.glean.api_client.glean_api_client.models.errors.ErrorResponse.java): Error response returned for failed requests. Applicable to 10 of 153 methods.*
* [`com.glean.api_client.glean_api_client.models.errors.ErrorInfoResponse`](./src/main/java/models/errors/com.glean.api_client.glean_api_client.models.errors.ErrorInfoResponse.java): Error response for custom metadata operations. Applicable to 6 of 153 methods.*
* [`com.glean.api_client.glean_api_client.models.errors.CollectionError`](./src/main/java/models/errors/com.glean.api_client.glean_api_client.models.errors.CollectionError.java): Semantic error. Status code `422`. Applicable to 3 of 153 methods.*
* [`com.glean.api_client.glean_api_client.models.errors.GleanDataError`](./src/main/java/models/errors/com.glean.api_client.glean_api_client.models.errors.GleanDataError.java): Forbidden. Applicable to 2 of 153 methods.*
* [`com.glean.api_client.glean_api_client.models.errors.UnauthorizedAgentToolsError`](./src/main/java/models/errors/com.glean.api_client.glean_api_client.models.errors.UnauthorizedAgentToolsError.java): Returned when the agent has tools the caller must authorize before the run can start. Each entry in `authenticationSuggestions` names one such tool; POST its `serverId` to `/tool-servers/{serverId}/auth` with `returnUrl` in the request body to obtain an `authorizationUrl` to redirect the end user to, then retry the run once OAuth completes. Status code `422`. Applicable to 2 of 153 methods.*
* [`com.glean.api_client.glean_api_client.models.errors.AccessRequestPermissionDeniedResponseException`](./src/main/java/models/errors/com.glean.api_client.glean_api_client.models.errors.AccessRequestPermissionDeniedResponseException.java): Forbidden. Status code `403`. Applicable to 1 of 153 methods.*
* [`com.glean.api_client.glean_api_client.models.errors.PlatformUnauthorizedAgentToolsProblemException`](./src/main/java/models/errors/com.glean.api_client.glean_api_client.models.errors.PlatformUnauthorizedAgentToolsProblemException.java): Problem detail extended with `authentication_suggestions` naming each tool the caller must authorize. Status code `422`. Applicable to 1 of 153 methods.*


</details>
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -808,4 +808,14 @@ Based on:
### Generated
- [java v0.14.4] .
### Releases
- [Maven Central v0.14.4] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.14.4 - .
- [Maven Central v0.14.4] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.14.4 - .

## 2026-08-06 03:18:04
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.791.4 (2.926.8) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v0.15.0] .
### Releases
- [Maven Central v0.15.0] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.15.0 - .
Loading