Skip to content
Merged
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
708 changes: 14 additions & 694 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 @@ -22,7 +22,7 @@ generation:
generateNewTests: false
skipResponseBodyAssertions: false
java:
version: 0.9.1
version: 0.10.0
additionalDependencies: []
additionalPlugins: []
artifactID: glean-api-client
Expand Down
130 changes: 106 additions & 24 deletions .speakeasy/glean-merged-spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1366,8 +1366,8 @@ paths:
post:
tags:
- Insights
summary: Read insights
description: Reads the aggregate information for each user, query, and content.
summary: Get insights
description: Gets the aggregate usage insights data displayed in the Insights Dashboards.
operationId: insights
x-visibility: Public
x-codegen-request-body-name: payload
Expand All @@ -1377,7 +1377,7 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/InsightsRequest"
description: Includes request params for insights dashboard data.
description: Includes request parameters for insights requests.
required: true
x-exportParamName: InsightsRequest
responses:
Expand Down Expand Up @@ -3190,6 +3190,7 @@ paths:
description: Conflict
x-speakeasy-name-override: upload
x-speakeasy-group: indexing.shortcuts
/api/index/v1/debug/{datasource}/document/events: {}
/rest/api/v1/governance/data/policies/{id}:
get:
description: Fetches the specified policy version, or the latest if no version is provided.
Expand Down Expand Up @@ -8079,6 +8080,41 @@ components:
cursor:
type: string
description: Cursor that indicates the start of the next page of results. To be passed in "more" requests for this query.
InsightsOverviewRequest:
properties:
departments:
type: array
items:
type: string
description: Departments for which Insights are requested.
dayRange:
$ref: "#/components/schemas/Period"
description: Time period for which Insights are requested.
InsightsAssistantRequest:
properties:
departments:
type: array
items:
type: string
description: Departments for which Insights are requested.
dayRange:
$ref: "#/components/schemas/Period"
description: Time period for which Insights are requested.
AgentsInsightsV2Request:
properties:
agentIds:
type: array
items:
type: string
description: IDs of the Agents for which Insights should be returned. An empty array signifies all.
departments:
type: array
items:
type: string
description: Departments for which Insights are requested.
dayRange:
$ref: "#/components/schemas/Period"
description: Time period for which Insights are requested.
InsightsAiAppRequestOptions:
type: object
properties:
Expand All @@ -8095,16 +8131,33 @@ components:
items:
type: string
description: IDs of the Agents for which Insights should be returned. An empty array signifies all.
DownloadInsightsRequest:
required:
- categories
InsightsRequest:
properties:
overviewRequest:
$ref: "#/components/schemas/InsightsOverviewRequest"
x-visibility: Public
description: If specified, will return data for the Overview section of the Insights Dashboard.
assistantRequest:
$ref: "#/components/schemas/InsightsAssistantRequest"
x-visibility: Public
description: If specified, will return data for the Assistant section of the Insights Dashboard.
agentsRequest:
$ref: "#/components/schemas/AgentsInsightsV2Request"
x-visibility: Public
description: If specified, will return data for the Agents section of the Insights Dashboard.
disablePerUserInsights:
type: boolean
description: If true, suppresses the generation of per-user Insights in the response. Default is false.
categories:
deprecated: true
type: array
items:
type: string
enum:
- AGENTS
- AGENT_USERS
- TOP_AGENTS
- AGENTS_USAGE_BY_DEPARTMENT
- AI
- AI_APPS
- ANNOUNCEMENTS
Expand All @@ -8117,34 +8170,31 @@ components:
- USERS
description: Categories of data requested. Request can include single or multiple types.
departments:
deprecated: true
type: array
items:
type: string
description: Departments that the data is requested for. If this is empty, corresponds to whole company.
dayRange:
deprecated: true
$ref: "#/components/schemas/Period"
aiAppRequestOptions:
deprecated: true
$ref: "#/components/schemas/InsightsAiAppRequestOptions"
agentsRequestOptions:
deprecated: true
$ref: "#/components/schemas/InsightsAgentsRequestOptions"
InsightsRequest:
allOf:
- $ref: "#/components/schemas/DownloadInsightsRequest"
- type: object
properties:
assistantActivityTypes:
type: array
items:
type: string
enum:
- GLEAN_CHAT
- AI_SUMMARY
- AI_ANSWER
- GLEANBOT_RESPONSE
description: Types of activity that should count in the definition of an Assistant Active User. Affects only insights for AI category.
disablePerUserInsights:
type: boolean
description: If true, suppresses the generation of per-user Insights in the response. Default is false.
assistantActivityTypes:
deprecated: true
type: array
items:
type: string
enum:
- GLEAN_CHAT
- AI_SUMMARY
- AI_ANSWER
- GLEANBOT_RESPONSE
description: Types of activity that should count in the definition of an Assistant Active User. Affects only insights for AI category.
LabeledCountInfo:
required:
- label
Expand Down Expand Up @@ -11678,6 +11728,38 @@ components:
- NOT_UPLOADED
- STATUS_UNKNOWN
example: UPLOADED
DebugDocumentLifecycleRequest:
type: object
description: Describes the request body of the /debug/{datasource}/document/events API call.
properties:
objectType:
type: string
description: Object type of the document to get lifecycle events for.
example: Article
docId:
type: string
description: Glean Document ID within the datasource to get lifecycle events for.
example: art123
startDate:
type: string
description: The start date for events to be fetched. Cannot be more than 30 days (default 7 days) in the past.
example: "2025-05-01"
maxEvents:
type: integer
description: Max number of events to be fetched. Cannot be more than 100 (default 20).
example: 50
required:
- objectType
- docId
DebugDocumentLifecycleResponse:
type: object
description: Describes the response body of the /debug/{datasource}/document/events API call
properties:
lifeCycleEvents:
type: array
description: List of lifecycle events corresponding to the document
items:
$ref: "#/components/schemas/LifeCycleEvent"
PropertyDefinition:
properties:
name:
Expand Down
14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
speakeasyVersion: 1.628.2
speakeasyVersion: 1.631.4
sources:
Glean API:
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:3dba87a7b61abaf1f2a6b645c2c9d1c5d79481f48ff3d57b2f1a864b8c8aa02f
sourceBlobDigest: sha256:49403d59f8446958ed5e813bbf322fda12ae91ed0991975bb0f24de0a189f74e
sourceRevisionDigest: sha256:1e44bd4133c298a0460c59b01703274d1c24c9fa389a311005a1f4be384921c3
sourceBlobDigest: sha256:39b7061df492c752b341a36ebde421818f4e84d67a206f853c2558d6f3917fe3
tags:
- latest
- speakeasy-sdk-regen-1758790487
- speakeasy-sdk-regen-1758838236
Glean-OAS:
sourceNamespace: glean-oas
sourceRevisionDigest: sha256:8841834dd58ddd4e2dcf98fc90fbd06fbf3626a29df941503cce55b9548a5317
Expand All @@ -18,10 +18,10 @@ targets:
glean:
source: Glean API
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:3dba87a7b61abaf1f2a6b645c2c9d1c5d79481f48ff3d57b2f1a864b8c8aa02f
sourceBlobDigest: sha256:49403d59f8446958ed5e813bbf322fda12ae91ed0991975bb0f24de0a189f74e
sourceRevisionDigest: sha256:1e44bd4133c298a0460c59b01703274d1c24c9fa389a311005a1f4be384921c3
sourceBlobDigest: sha256:39b7061df492c752b341a36ebde421818f4e84d67a206f853c2558d6f3917fe3
codeSamplesNamespace: glean-api-specs-java-code-samples
codeSamplesRevisionDigest: sha256:958bb890a154a7a14a8790d775d8939bb49f3c732c63fa6138440774a623c0f6
codeSamplesRevisionDigest: sha256:a281546b3cd6ba0de6cd58de6020445c7c13f5ac5f4ef74fa4d33a61b75008a0
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,15 @@ The samples below show how a published SDK artifact is used:

Gradle:
```groovy
implementation 'com.glean.api-client:glean-api-client:0.9.1'
implementation 'com.glean.api-client:glean-api-client:0.10.0'
```

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

Expand Down Expand Up @@ -487,7 +487,7 @@ For more information on obtaining the appropriate token type, please contact you

#### [client().insights()](docs/sdks/insights/README.md)

* [retrieve](docs/sdks/insights/README.md#retrieve) - Read insights
* [retrieve](docs/sdks/insights/README.md#retrieve) - Get insights

#### [client().messages()](docs/sdks/messages/README.md)

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

## 2025-09-29 16:05:35
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.631.4 (2.716.16) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v0.10.0] .
### Releases
- [Maven Central v0.10.0] https://central.sonatype.com/artifact/com.glean.api-client/glean-api-client/0.10.0 - .
Loading