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
51 changes: 25 additions & 26 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: 89c2eac364945e9c2e201f80cb8a2d72
docChecksum: dd4f304ebf5ed5b02b4d9d54270d33a1
docVersion: 0.9.0
speakeasyVersion: 1.795.1
generationVersion: 2.932.9
releaseVersion: 0.16.0
configChecksum: 05a83106bf0460e0e41a3965278c7a79
releaseVersion: 0.16.1
configChecksum: 48d2ac7302ce9a63522c253c9c4a471c
repoURL: https://github.com/gleanwork/api-client-java.git
installationURL: https://github.com/gleanwork/api-client-java
published: true
persistentEdits:
generation_id: 47ae3e51-6749-481b-afbe-49fc66a8c649
pristine_commit_hash: 710f40aaa4df20a0fa775afb567f06e43495580d
pristine_tree_hash: ddac7f43d9b5deacfe24b76a44ddcb307c28c023
generation_id: eeb1b354-1b97-4742-9517-642c9e4a500b
pristine_commit_hash: 9ec0bb28dbd7b69fd08a45f3207b6f4960af7623
pristine_tree_hash: ed719a9c78ca667b4b205a4ebfdfb78016396497
features:
java:
acceptHeaders: 2.81.2
Expand Down Expand Up @@ -3685,8 +3685,8 @@ trackedFiles:
pristine_git_object: 7ec951818fbef87d1867f6c1756937757ce80b4f
docs/models/operations/PlatformAgentsCreateRunRequest.md:
id: 2f5db74d38b8
last_write_checksum: sha1:6e41fce8e34041c52aceb856120088a71e219b71
pristine_git_object: 5824662e101dec34cea7d95571b953f34c9cbf0f
last_write_checksum: sha1:a7778577c151d610ffded94a2e24466ebd91343e
pristine_git_object: 9661efaa7b454fcd8a948a1d62417588476b4040
docs/models/operations/PlatformAgentsCreateRunResponse.md:
id: 8d49f44f776a
last_write_checksum: sha1:87760fd7793a4f9bf8b1a8bd8b230a19350b887b
Expand Down Expand Up @@ -3813,8 +3813,8 @@ trackedFiles:
pristine_git_object: ab107473ae2b09689ac83c86f8236ed354609ee9
docs/models/operations/PlatformSkillsUpdateRequest.md:
id: 2692217b61e5
last_write_checksum: sha1:b5e6532d7511db810fade1fb26262851b4bd5cd3
pristine_git_object: 09e62ae8d0ba522ea19b5ce6474d5c261a9aa6bb
last_write_checksum: sha1:4f33e4a7bf96793d19e817bf1c94c08c16f87c66
pristine_git_object: 5cdfc3b9e3ed9818357d78f689250eb6a424b567
docs/models/operations/PlatformSkillsUpdateResponse.md:
id: 6057bcad9a86
last_write_checksum: sha1:1d43e00eeadd464570e5eded37d4b800dfcdbdf2
Expand Down Expand Up @@ -4213,8 +4213,8 @@ trackedFiles:
pristine_git_object: f3ecb5fda2b888721a48e50acb4e541bcc09a757
docs/sdks/agents/README.md:
id: 5965d8232fd8
last_write_checksum: sha1:f16716509e89dd8d19a1a5c7dc391dcad4375493
pristine_git_object: 0a59344534a59d2476be83b11d2c666caf2d09eb
last_write_checksum: sha1:e94641869ee01675bab21e5a9d95c5e7e4d4c7d6
pristine_git_object: 533ce032f047619546e1ee660ba66f5678bab8ca
docs/sdks/announcements/README.md:
id: 3d2e130a217c
last_write_checksum: sha1:d518fe37c613bdef6f738b2e1ef52918bc782324
Expand All @@ -4225,8 +4225,8 @@ trackedFiles:
pristine_git_object: 6603db8c8828357d67059a746ee541aee6c45301
docs/sdks/chat/README.md:
id: 393193527c2c
last_write_checksum: sha1:36c595a0690289f5cf94877d506c537b7e366f18
pristine_git_object: 3996d64f769ae6b62e3749561467d9257cdb3d1a
last_write_checksum: sha1:aa8e2380bd25a27804130a980ef4c944518b9578
pristine_git_object: 5b57b52cddaf421eba965b743f88a4ef1d18cdd0
docs/sdks/clientagents/README.md:
id: 8e00e6d6b64e
last_write_checksum: sha1:615a2f97f25e280e0396d9af0beb3931ecb67c42
Expand Down Expand Up @@ -4325,8 +4325,8 @@ trackedFiles:
pristine_git_object: bbc29f620235b3508b12b22e9e1551f4ef8958ee
docs/sdks/skills/README.md:
id: 3a14a5c90791
last_write_checksum: sha1:2cc2175160f0d48c3176bd58fd82e9c73e19baa2
pristine_git_object: b6e66173eedbb1a5067244dd1fd727313e18dc23
last_write_checksum: sha1:1b61b775e75e104b21a0b908613f01f7db486dd5
pristine_git_object: 028bc2a4155874c35c16ee30b744aa551df9e1bd
docs/sdks/tools/README.md:
id: 044286549bac
last_write_checksum: sha1:a27f265c26b26d70b8b11dcfd1289ac92c7f8dde
Expand All @@ -4349,8 +4349,8 @@ trackedFiles:
pristine_git_object: 3decbce5bd40edbe278c1c5d2dbf585808e51d9a
gradle.properties:
id: 2afbb999f001
last_write_checksum: sha1:f73a2a3237328e1d3d4410a4b9d3d5612fe6d0a8
pristine_git_object: 34dfd5c9d0aad531c5deab951442253e7a5f944b
last_write_checksum: sha1:0768003c524b3e51f5ae9cfcb87250ccd5af56e4
pristine_git_object: c482e4d00d808621b14f8c303ffa48dbe7ab048f
gradle/wrapper/gradle-wrapper.jar:
id: ec27dae6e852
last_write_checksum: sha1:f725fb1467084142d74fd7cd8eab691ab3442611
Expand Down Expand Up @@ -4673,8 +4673,8 @@ trackedFiles:
pristine_git_object: ffae914775eb41ff311371f62504344a59d090fd
src/main/java/com/glean/api_client/glean_api_client/SDKConfiguration.java:
id: d5fcc61f5992
last_write_checksum: sha1:f1fb999dfd444c61579db75f4fe04ffdd4744aad
pristine_git_object: 053e9244ad818fde213e2587cfa9daf56d5a99b4
last_write_checksum: sha1:10cc7201e955c02b33802b56a9b79036f7771be0
pristine_git_object: 0edfb78753136e4fbf29910a31445ec7436fb467
src/main/java/com/glean/api_client/glean_api_client/Search.java:
id: f22d94b920b5
last_write_checksum: sha1:14e024607aebae4b1197445ad31984898c4735a3
Expand Down Expand Up @@ -12804,7 +12804,7 @@ examples:
path:
agent_id: "<id>"
requestBody:
application/json: {"messages": [{"role": "USER", "content": []}], "stream": false}
application/json: {"messages": [{"role": "USER", "content": [{"text": "What is our parental leave policy?", "type": "text"}]}], "stream": false}
responses:
"200":
application/json: {"run": {"agent_id": "<id>", "messages": [{"role": "USER", "content": []}], "status": "error"}, "messages": [{"role": "USER", "content": []}], "request_id": "<id>"}
Expand Down Expand Up @@ -12969,7 +12969,7 @@ examples:
platform-chat-create:
speakeasy-default-platform-chat-create:
requestBody:
application/json: {"input": "<value>", "stream": false, "store": true}
application/json: {"input": "What is our parental leave policy?", "stream": false, "store": true}
responses:
"200":
application/json: {"id": "<id>", "object": "RESPONSE", "created_at": "2026-05-19T05:32:52.505Z", "status": "COMPLETED", "output": [{"type": "MESSAGE", "role": "ASSISTANT", "content": [{"type": "OUTPUT_TEXT", "text": "<value>"}]}], "store": false, "request_id": "<id>"}
Expand All @@ -12981,7 +12981,7 @@ examples:
platform-skills-import:
speakeasy-default-platform-skills-import:
requestBody:
application/json: {"source_urls": ["<value 1>"]}
application/json: {"source_urls": ["https://github.com/anthropics/skills/tree/main/skills/skill-creator"]}
responses:
"200":
application/json: {"skills": [], "request_id": "<id>"}
Expand All @@ -12992,7 +12992,7 @@ examples:
platform-skills-preview-source:
speakeasy-default-platform-skills-preview-source:
requestBody:
application/json: {"source_url": "https://ugly-information.name/", "stream": false}
application/json: {"source_url": "https://github.com/anthropics/skills", "stream": false}
responses:
"200":
application/json: {"skills": [], "failures": [{"source_url": "https://slimy-availability.org", "code": "SKILL_FETCH_FAILED", "detail": "<value>"}], "request_id": "<id>"}
Expand All @@ -13007,7 +13007,7 @@ examples:
path:
skill_id: "<id>"
requestBody:
application/json: {"status": "DISABLED"}
application/json: {"status": "ENABLED"}
responses:
"200":
application/json: {"skill": {"id": "<id>", "display_name": "Afton14", "description": "taut netsuke duh sonata boastfully elegantly management come", "latest_version": 425795, "latest_minor_version": 741364, "status": "DISABLED", "origin": "CUSTOM", "owner": {"name": "<value>"}, "created_at": "2024-12-20T01:31:39.364Z", "updated_at": "2025-12-04T02:59:37.124Z"}, "request_id": "<id>"}
Expand Down Expand Up @@ -13333,7 +13333,6 @@ 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.chat.create()`: \n * `request.input.union(Array<PlatformChatInputMessage>)[].role` **Changed** (Breaking ⚠)\n * `response` **Changed** (Breaking ⚠)\n* `glean.triggers.listPresets()`: **Added**\n* `glean.triggers.listPresetInputValues()`: **Added**\n* `glean.triggers.update()`: **Added**\n* `glean.triggers.delete()`: **Added**\n* `glean.triggers.searchEvents()`: **Added**\n* `glean.triggers.create()`: **Added**\n* `glean.triggers.getPreset()`: **Added**\n* `glean.triggers.get()`: **Added**\n* `glean.triggers.searchPresetEvents()`: **Added**\n* `glean.triggers.list()`: **Added**\n* `glean.client.chat.create()`: \n * `request.chatRequest.messages[].citations[].sourceSkill` **Added**\n * `response.messages[].citations[].sourceSkill` **Added**\n* `glean.client.chat.retrieve()`: `response.chatResult.chat.messages[].citations[].sourceSkill` **Added**\n* `glean.client.chat.createStream()`: \n * `request.chatRequest.messages[].citations[].sourceSkill` **Added**\n* `glean.client.search.retrieveFeed()`: \n * `request.feedRequest.categories[]` **Changed**\n * `response.results[]` **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.16.0
version: 0.16.1
additionalDependencies: []
additionalPlugins: []
artifactID: glean-api-client
Expand Down
21 changes: 19 additions & 2 deletions .speakeasy/glean-merged-spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ openapi: 3.0.0
info:
version: "0.9.0"
title: Glean API
x-source-commit-sha: ae20e37cc1d6786192c975f846fbe57527d94d7e
x-open-api-commit-sha: 68a8939fe1b80a3a659ea78c778a5ddfdcb8e999
x-source-commit-sha: 53029bb32ea9b1d7870da58ad4546c6954833b85
x-open-api-commit-sha: 4ed8f1ec3fa297e3e16e7f32489a482cc40cd86c
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 Down Expand Up @@ -6747,6 +6747,8 @@ components:
PlatformAgentsSearchRequest:
type: object
additionalProperties: false
example:
name: HR Policy Agent
properties:
name:
type: string
Expand Down Expand Up @@ -7070,6 +7072,12 @@ components:
additionalProperties: false
description: |
Request to run an agent. A request MUST supply either `messages` (a non-empty conversation) or `input` (for input-form triggered agents).
example:
messages:
- role: USER
content:
- text: What is our parental leave policy?
type: text
properties:
input:
type: object
Expand Down Expand Up @@ -7186,6 +7194,8 @@ components:
additionalProperties: false
required:
- input
example:
input: What is our parental leave policy?
properties:
input:
description: |
Expand Down Expand Up @@ -7586,6 +7596,9 @@ components:
additionalProperties: false
required:
- source_urls
example:
source_urls:
- https://github.com/anthropics/skills/tree/main/skills/skill-creator
properties:
source_urls:
type: array
Expand Down Expand Up @@ -7678,6 +7691,8 @@ components:
additionalProperties: false
required:
- source_url
example:
source_url: https://github.com/anthropics/skills
properties:
source_url:
type: string
Expand Down Expand Up @@ -7800,6 +7815,8 @@ components:
additionalProperties: false
required:
- status
example:
status: ENABLED
properties:
status:
$ref: "#/components/schemas/PlatformSkillUpdateStatus"
Expand Down
10 changes: 5 additions & 5 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ speakeasyVersion: 1.795.1
sources:
Glean API:
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:90133ae2ed4bca7f388138e9d043405e381f920c07c8e54bdf3af2505b0a24ae
sourceBlobDigest: sha256:ffea0cebe421d06f6145114c557713c6b11600ae8dc1e06469304d89e720bf27
sourceRevisionDigest: sha256:1d43dd06960c5d8d8cf58e52a4396604766d355251a35ba3c7da0ec27f11f090
sourceBlobDigest: sha256:c48ecb8cf02826e9844b6acb2c98c00ecd23dd077ce4bcc1fbc579680cca31e9
tags:
- latest
Glean-OAS:
Expand All @@ -17,10 +17,10 @@ targets:
glean:
source: Glean API
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:90133ae2ed4bca7f388138e9d043405e381f920c07c8e54bdf3af2505b0a24ae
sourceBlobDigest: sha256:ffea0cebe421d06f6145114c557713c6b11600ae8dc1e06469304d89e720bf27
sourceRevisionDigest: sha256:1d43dd06960c5d8d8cf58e52a4396604766d355251a35ba3c7da0ec27f11f090
sourceBlobDigest: sha256:c48ecb8cf02826e9844b6acb2c98c00ecd23dd077ce4bcc1fbc579680cca31e9
codeSamplesNamespace: glean-api-specs-java-code-samples
codeSamplesRevisionDigest: sha256:ddf9dd5cbbd862309aa41daa91879d560ebe98abe45b256ed28022e253b91eb1
codeSamplesRevisionDigest: sha256:7156be7e486f10278fd9af21f32cb7d781183cfe96ac1ffaaa880b1ea5858389
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.16.0'
implementation 'com.glean.api-client:glean-api-client:0.16.1'
```

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

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

## 2026-08-23 01:47:40
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.795.1 (2.932.9) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v0.16.1] .
### Releases
- [Maven Central v0.16.1] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.16.1 - .
8 changes: 4 additions & 4 deletions docs/models/operations/PlatformAgentsCreateRunRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

## Fields

| Field | Type | Required | Description |
| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- |
| `agentId` | *String* | :heavy_check_mark: | ID of the agent to run. |
| `platformAgentRunCreateRequest` | [PlatformAgentRunCreateRequest](../../models/components/PlatformAgentRunCreateRequest.md) | :heavy_check_mark: | N/A |
| Field | Type | Required | Description | Example |
| ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- |
| `agentId` | *String* | :heavy_check_mark: | ID of the agent to run. | |
| `platformAgentRunCreateRequest` | [PlatformAgentRunCreateRequest](../../models/components/PlatformAgentRunCreateRequest.md) | :heavy_check_mark: | N/A | {<br/>"messages": [<br/>{<br/>"role": "USER",<br/>"content": [<br/>{<br/>"text": "What is our parental leave policy?",<br/>"type": "text"<br/>}<br/>]<br/>}<br/>]<br/>} |
Loading