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
102 changes: 51 additions & 51 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

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
102 changes: 69 additions & 33 deletions .speakeasy/glean-merged-spec.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
openapi: 3.0.0
openapi: 3.1.0
info:
version: "0.9.0"
title: Glean API
x-source-commit-sha: ae20e37cc1d6786192c975f846fbe57527d94d7e
x-open-api-commit-sha: 68a8939fe1b80a3a659ea78c778a5ddfdcb8e999
x-source-commit-sha: f48273c3600db7205cbeadc33bbf4f0fd618937e
x-open-api-commit-sha: 16a45a8fc5024d56778fb90ec329726a02cd0107
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 @@ -7327,8 +7337,9 @@ components:
type: string
minLength: 1
page_number:
type: integer
nullable: true
type:
- integer
- "null"
PlatformChatCitationAnnotation:
type: object
additionalProperties: false
Expand All @@ -7346,16 +7357,19 @@ components:
items:
$ref: "#/components/schemas/PlatformChatCitationSource"
start_index:
type: integer
type:
- integer
- "null"
minimum: 0
nullable: true
end_index:
type: integer
type:
- integer
- "null"
minimum: 0
nullable: true
snippets:
type: array
nullable: true
type:
- array
- "null"
items:
$ref: "#/components/schemas/PlatformChatCitationSnippet"
PlatformChatOutputTextContent:
Expand Down Expand Up @@ -7432,9 +7446,10 @@ components:
store:
type: boolean
conversation_id:
type: string
type:
- string
- "null"
minLength: 1
nullable: true
description: Present when the interaction was persisted.
request_id:
type: string
Expand Down Expand Up @@ -7554,8 +7569,9 @@ components:
type: boolean
description: Whether additional results are available.
next_cursor:
type: string
nullable: true
type:
- string
- "null"
description: Cursor for the next page, or null when no more results are available.
request_id:
type: string
Expand Down Expand Up @@ -7586,6 +7602,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 +7697,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 +7821,8 @@ components:
additionalProperties: false
required:
- status
example:
status: ENABLED
properties:
status:
$ref: "#/components/schemas/PlatformSkillUpdateStatus"
Expand Down Expand Up @@ -7891,8 +7914,9 @@ components:
type: boolean
description: Whether additional results are available.
next_cursor:
type: string
nullable: true
type:
- string
- "null"
description: Cursor for the next page, or null when no more results are available.
request_id:
type: string
Expand Down Expand Up @@ -8011,11 +8035,11 @@ components:
default: 10
description: Number of results to return per page.
cursor:
type: string
nullable: true
type:
- string
- "null"
description: |
Opaque pagination token from a previous response's `next_cursor` field. Omit on the first request.
example: ""
datasources:
type: array
minItems: 1
Expand Down Expand Up @@ -8066,8 +8090,9 @@ components:
description: The datasource this result originates from.
example: confluence
document_type:
type: string
nullable: true
type:
- string
- "null"
minLength: 1
description: The document type within the datasource.
example: page
Expand All @@ -8076,14 +8101,16 @@ components:
owner:
$ref: "#/components/schemas/PlatformPersonReference"
updated_at:
type: string
type:
- string
- "null"
format: date-time
nullable: true
description: When the result was last modified.
created_at:
type: string
type:
- string
- "null"
format: date-time
nullable: true
description: When the result was created.
PlatformSearchResponse:
type: object
Expand All @@ -8105,8 +8132,9 @@ components:
type: boolean
description: Indicates whether additional pages of results are available.
next_cursor:
type: string
nullable: true
type:
- string
- "null"
description: Opaque token to pass as `cursor` in the next request.
request_id:
type: string
Expand Down Expand Up @@ -8283,8 +8311,9 @@ components:
type: boolean
description: Whether additional results are available.
next_cursor:
type: string
nullable: true
type:
- string
- "null"
description: Cursor for the next page, or null when no more results are available.
request_id:
type: string
Expand Down Expand Up @@ -8644,8 +8673,9 @@ components:
type: boolean
description: Whether additional results are available.
next_cursor:
type: string
nullable: true
type:
- string
- "null"
description: Cursor for the next page, or null when no more results are available.
request_id:
type: string
Expand Down Expand Up @@ -12896,15 +12926,18 @@ components:
- EXECUTION
- AUTHENTICATION_SUGGESTION
- VOTE_SUGGESTION
- SANDBOX_EGRESS
description: The type of request made to the user.
x-enumDescriptions:
EXECUTION: Request for approving execution of the tool.
AUTHENTICATION_SUGGESTION: Request for authenticating to a tool, provided as a (tool) suggestion.
VOTE_SUGGESTION: Suggestion to vote for enabling an available-but-not-enabled tool.
SANDBOX_EGRESS: Request to approve an outbound/egress call from the sandbox.
x-speakeasy-enum-descriptions:
EXECUTION: Request for approving execution of the tool.
AUTHENTICATION_SUGGESTION: Request for authenticating to a tool, provided as a (tool) suggestion.
VOTE_SUGGESTION: Suggestion to vote for enabling an available-but-not-enabled tool.
SANDBOX_EGRESS: Request to approve an outbound/egress call from the sandbox.
requestId:
type: string
description: Unique identifier for this request.
Expand Down Expand Up @@ -13004,6 +13037,9 @@ components:

For VOTE_SUGGESTION requests:
- voted: whether the user voted for this tool

For SANDBOX_EGRESS requests:
- isGranted: whether the sandbox egress call is approved
x-visibility: Preview
x-glean-experimental:
id: 3eae3ee7-2c06-4027-be14-98260a3ce608
Expand Down Expand Up @@ -13590,7 +13626,7 @@ components:
isDraft:
type: boolean
description: |
When true, validates and stores a draft preview without publishing (used for PR preview links). Takes precedence over `syncMode`: when `isDraft` is true, `syncMode` is ignored.
Deprecated. Draft mutation semantics are not supported for transient previews. Use transient and parentWorkflowId instead.
required:
- bundle
ImportAgentStatus:
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.795.1
speakeasyVersion: 1.796.2
sources:
Glean API:
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:90133ae2ed4bca7f388138e9d043405e381f920c07c8e54bdf3af2505b0a24ae
sourceBlobDigest: sha256:ffea0cebe421d06f6145114c557713c6b11600ae8dc1e06469304d89e720bf27
sourceRevisionDigest: sha256:896616c197b10fa2a209a2c65142757b565fab39143269282bf7e9deb873d20d
sourceBlobDigest: sha256:26e432a250f02712c7ae9c28e38a1831eda356997e5bf4dfe75d6cf023f1a939
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:896616c197b10fa2a209a2c65142757b565fab39143269282bf7e9deb873d20d
sourceBlobDigest: sha256:26e432a250f02712c7ae9c28e38a1831eda356997e5bf4dfe75d6cf023f1a939
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-31 05:02:01
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.796.2 (2.933.0) 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 - .
Loading