Skip to content

Commit 6d9c511

Browse files
committed
## Python SDK Changes Detected:
* `glean.client.insights.retrieve()`: `response` **Changed**
1 parent 7393e02 commit 6d9c511

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+2083
-54
lines changed

.speakeasy/gen.lock

Lines changed: 45 additions & 8 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ generation:
2727
generateNewTests: true
2828
skipResponseBodyAssertions: true
2929
python:
30-
version: 0.9.3
30+
version: 0.10.0
3131
additionalDependencies:
3232
dev: {}
3333
main: {}

.speakeasy/glean-merged-spec.yaml

Lines changed: 266 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8467,40 +8467,306 @@ components:
84678467
items:
84688468
type: string
84698469
description: List of departments applicable for users tab.
8470+
CurrentActiveUsers:
8471+
properties:
8472+
monthlyActiveUsers:
8473+
type: integer
8474+
description: Number of current Monthly Active Users, in the specified departments.
8475+
weeklyActiveUsers:
8476+
type: integer
8477+
description: Number of current Weekly Active Users, in the specified departments.
8478+
InsightsSearchSummary:
8479+
allOf:
8480+
- $ref: "#/components/schemas/CurrentActiveUsers"
8481+
- type: object
8482+
properties:
8483+
numSearches:
8484+
type: integer
8485+
description: Total number of searches by users over the specified time period.
8486+
numSearchUsers:
8487+
type: integer
8488+
description: Total number of distinct users who searched over the specified time period.
8489+
InsightsChatSummary:
8490+
allOf:
8491+
- $ref: "#/components/schemas/CurrentActiveUsers"
8492+
- type: object
8493+
properties:
8494+
numChats:
8495+
type: integer
8496+
description: Total number of chats by users over the specified time period.
8497+
numChatUsers:
8498+
type: integer
8499+
description: Total number of distinct users who used Chat over the specified time period.
8500+
InsightsDepartmentsSummary:
8501+
allOf:
8502+
- $ref: "#/components/schemas/CurrentActiveUsers"
8503+
- type: object
8504+
properties:
8505+
departments:
8506+
type: array
8507+
items:
8508+
type: string
8509+
description: Department name(s).
8510+
employeeCount:
8511+
type: integer
8512+
description: Number of current employees in the specified departments, according to the Org Chart.
8513+
totalSignups:
8514+
type: integer
8515+
description: Number of current signed up employees in the specified departments, according to the Org Chart.
8516+
searchSummary:
8517+
$ref: "#/components/schemas/InsightsSearchSummary"
8518+
chatSummary:
8519+
$ref: "#/components/schemas/InsightsChatSummary"
8520+
extensionSummary:
8521+
$ref: "#/components/schemas/CurrentActiveUsers"
8522+
ugcSummary:
8523+
$ref: "#/components/schemas/CurrentActiveUsers"
8524+
PerUserInsight:
8525+
properties:
8526+
person:
8527+
$ref: "#/components/schemas/Person"
8528+
numSearches:
8529+
type: integer
8530+
description: Total number of searches by this user over the specified time period.
8531+
numChats:
8532+
type: integer
8533+
description: Total number of chats by this user over the specified time period.
8534+
InsightsOverviewResponse:
8535+
allOf:
8536+
- $ref: "#/components/schemas/InsightsDepartmentsSummary"
8537+
- type: object
8538+
properties:
8539+
lastUpdatedTs:
8540+
type: integer
8541+
description: Unix timestamp of the last update for the insights data in the response.
8542+
searchSessionSatisfaction:
8543+
type: number
8544+
format: float
8545+
description: Search session satisfaction rate, over the specified time period in the specified departments.
8546+
monthlyActiveUserTimeseries:
8547+
$ref: "#/components/schemas/LabeledCountInfo"
8548+
weeklyActiveUserTimeseries:
8549+
$ref: "#/components/schemas/LabeledCountInfo"
8550+
dailyActiveUserTimeseries:
8551+
$ref: "#/components/schemas/LabeledCountInfo"
8552+
searchDatasourceCounts:
8553+
type: object
8554+
additionalProperties:
8555+
type: integer
8556+
description: Counts of search result clicks, by datasource, over the specified time period in the specified departments.
8557+
chatDatasourceCounts:
8558+
type: object
8559+
additionalProperties:
8560+
type: integer
8561+
description: Counts of cited documents in chat, by datasource, over the specified time period in the specified departments.
8562+
perUserInsights:
8563+
type: array
8564+
items:
8565+
$ref: "#/components/schemas/PerUserInsight"
8566+
description: Top power users, over the specified time period in the specified departments.
8567+
engagementBreakdown:
8568+
type: object
8569+
properties:
8570+
nonUsers:
8571+
type: integer
8572+
description: Number of non-user employees in the specified departments.
8573+
dormantUsers:
8574+
type: integer
8575+
description: Number of currently dormant users in the specified departments.
8576+
regularUsers:
8577+
type: integer
8578+
description: Number of currently regular users in the specified departments.
8579+
powerUsers:
8580+
type: integer
8581+
description: Number of currently power users in the specified departments.
8582+
PerUserAssistantInsight:
8583+
properties:
8584+
person:
8585+
$ref: "#/components/schemas/Person"
8586+
numChatMessages:
8587+
type: integer
8588+
description: Total number of chat messages sent by this user over the specified time period.
8589+
numSummarizations:
8590+
type: integer
8591+
description: Total number of summarized items by this user over the specified time period.
8592+
numAiAnswers:
8593+
type: integer
8594+
description: Total number of AI Answers interacted with by this user over the specified time period.
8595+
numGleanbotInteractions:
8596+
type: integer
8597+
description: Total number of Gleanbot interacted with by this user over the specified time period.
8598+
numDaysActive:
8599+
type: integer
8600+
description: Total number of days this user was active over the specified time period.
8601+
AssistantInsightsResponse:
8602+
allOf:
8603+
- $ref: "#/components/schemas/CurrentActiveUsers"
8604+
- type: object
8605+
properties:
8606+
lastUpdatedTs:
8607+
type: integer
8608+
description: Unix timestamp of the last update for the insights data in the response.
8609+
monthlyActiveUserTimeseries:
8610+
$ref: "#/components/schemas/LabeledCountInfo"
8611+
weeklyActiveUserTimeseries:
8612+
$ref: "#/components/schemas/LabeledCountInfo"
8613+
dailyActiveUserTimeseries:
8614+
$ref: "#/components/schemas/LabeledCountInfo"
8615+
totalSignups:
8616+
type: integer
8617+
description: Number of current signed up employees in the specified departments, according to the Org Chart.
8618+
chatMessagesTimeseries:
8619+
$ref: "#/components/schemas/LabeledCountInfo"
8620+
summarizationsTimeseries:
8621+
$ref: "#/components/schemas/LabeledCountInfo"
8622+
aiAnswersTimeseries:
8623+
$ref: "#/components/schemas/LabeledCountInfo"
8624+
gleanbotInteractionsTimeseries:
8625+
$ref: "#/components/schemas/LabeledCountInfo"
8626+
perUserInsights:
8627+
type: array
8628+
items:
8629+
$ref: "#/components/schemas/PerUserAssistantInsight"
8630+
upvotesTimeseries:
8631+
$ref: "#/components/schemas/LabeledCountInfo"
8632+
downvotesTimeseries:
8633+
$ref: "#/components/schemas/LabeledCountInfo"
8634+
PerAgentInsight:
8635+
properties:
8636+
agentId:
8637+
type: string
8638+
description: Agent ID
8639+
agentName:
8640+
type: string
8641+
description: Agent name
8642+
userCount:
8643+
type: integer
8644+
description: Total number of users for this agent over the specified time period.
8645+
runCount:
8646+
type: integer
8647+
description: Total number of runs for this agent over the specified time period.
8648+
AgentsUsageByDepartmentInsight:
8649+
properties:
8650+
department:
8651+
type: string
8652+
description: Name of the department
8653+
agentAdoptionRate:
8654+
type: number
8655+
format: float
8656+
description: Percentage of employees in the department who have used agents at least once over the specified time period.
8657+
userCount:
8658+
type: integer
8659+
description: Total number of users in this department who have used any agent over the specified time period.
8660+
runCount:
8661+
type: integer
8662+
description: Total number of runs in this department over the specified time period.
8663+
agentId:
8664+
type: string
8665+
description: ID of the agent to be shown in the agent column in this department over the specified time period.
8666+
agentName:
8667+
type: string
8668+
description: Name of the agent to be shown in the agent column in this department over the specified time period.
8669+
AgentUsersInsight:
8670+
properties:
8671+
person:
8672+
$ref: "#/components/schemas/Person"
8673+
departmentName:
8674+
type: string
8675+
description: Department name
8676+
agentsUsedCount:
8677+
type: integer
8678+
description: Total number of agents used by this user over the specified time period.
8679+
averageRunsPerDayCount:
8680+
type: number
8681+
format: float
8682+
description: Average number of runs per day for this user over the specified time period.
8683+
agentsCreatedCount:
8684+
type: integer
8685+
description: Total number of agents created by this user over the specified time period.
8686+
runCount:
8687+
type: integer
8688+
description: Total number of agent runs for this user over the specified time period.
8689+
AgentsInsightsV2Response:
8690+
allOf:
8691+
- $ref: "#/components/schemas/CurrentActiveUsers"
8692+
- type: object
8693+
properties:
8694+
monthlyActiveUserTimeseries:
8695+
$ref: "#/components/schemas/LabeledCountInfo"
8696+
weeklyActiveUserTimeseries:
8697+
$ref: "#/components/schemas/LabeledCountInfo"
8698+
dailyActiveUserTimeseries:
8699+
$ref: "#/components/schemas/LabeledCountInfo"
8700+
sharedAgentsCount:
8701+
type: integer
8702+
description: Total number of shared agents.
8703+
topAgentsInsights:
8704+
type: array
8705+
items:
8706+
$ref: "#/components/schemas/PerAgentInsight"
8707+
agentsUsageByDepartmentInsights:
8708+
type: array
8709+
items:
8710+
$ref: "#/components/schemas/AgentsUsageByDepartmentInsight"
8711+
agentUsersInsights:
8712+
type: array
8713+
items:
8714+
$ref: "#/components/schemas/AgentUsersInsight"
8715+
dailyAgentRunsTimeseries:
8716+
$ref: "#/components/schemas/LabeledCountInfo"
84708717
InsightsResponse:
84718718
properties:
84728719
timeseries:
8720+
deprecated: true
84738721
type: array
84748722
items:
84758723
$ref: "#/components/schemas/LabeledCountInfo"
84768724
description: List of timeseries to make charts (if applicable).
84778725
users:
8726+
deprecated: true
84788727
$ref: "#/components/schemas/UserInsightsResponse"
84798728
content:
8729+
deprecated: true
84808730
$ref: "#/components/schemas/ContentInsightsResponse"
84818731
queries:
8732+
deprecated: true
84828733
$ref: "#/components/schemas/QueryInsightsResponse"
84838734
collections:
8735+
deprecated: true
84848736
$ref: "#/components/schemas/ContentInsightsResponse"
84858737
collectionsV2:
8738+
deprecated: true
84868739
$ref: "#/components/schemas/ContentInsightsResponse"
84878740
shortcuts:
8741+
deprecated: true
84888742
$ref: "#/components/schemas/ShortcutInsightsResponse"
84898743
announcements:
8744+
deprecated: true
84908745
$ref: "#/components/schemas/ContentInsightsResponse"
84918746
answers:
8747+
deprecated: true
84928748
$ref: "#/components/schemas/ContentInsightsResponse"
84938749
ai:
8750+
deprecated: true
84948751
$ref: "#/components/schemas/AiInsightsResponse"
84958752
aiApps:
8753+
deprecated: true
84968754
$ref: "#/components/schemas/AiAppsInsightsResponse"
84978755
gleanAssist:
8756+
deprecated: true
84988757
$ref: "#/components/schemas/GleanAssistInsightsResponse"
84998758
departments:
8759+
deprecated: true
85008760
type: array
85018761
items:
85028762
type: string
85038763
description: list of all departments.
8764+
overviewResponse:
8765+
$ref: "#/components/schemas/InsightsOverviewResponse"
8766+
assistantResponse:
8767+
$ref: "#/components/schemas/AssistantInsightsResponse"
8768+
agentsResponse:
8769+
$ref: "#/components/schemas/AgentsInsightsV2Response"
85048770
MessagesRequest:
85058771
required:
85068772
- id

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
speakeasyVersion: 1.633.1
1+
speakeasyVersion: 1.635.1
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:973ad5e684eb699f9e585ec03cc02a48e243146bb66be2014682d3eb48998606
6-
sourceBlobDigest: sha256:d764346b0c5d0e79a5abc614b36967702bd4f7ecc279ec0d13d6ec75d6d129fa
5+
sourceRevisionDigest: sha256:59f33c7b266e4be55b638e66c1bf0b8e712348622553d81c1dcbc6932921a7f5
6+
sourceBlobDigest: sha256:cf433ba37ae063d57ca9c98e960a85b0ba2420161e55d4e801f85b2968ea27a4
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1759350524
9+
- speakeasy-sdk-regen-1759451489
1010
Glean Client API:
1111
sourceNamespace: glean-client-api
1212
sourceRevisionDigest: sha256:4edc63ad559e4f2c9fb9ebf5edaaaaa9269f1874d271cfd84b441d6dacac43d2
@@ -17,10 +17,10 @@ targets:
1717
glean:
1818
source: Glean API
1919
sourceNamespace: glean-api-specs
20-
sourceRevisionDigest: sha256:973ad5e684eb699f9e585ec03cc02a48e243146bb66be2014682d3eb48998606
21-
sourceBlobDigest: sha256:d764346b0c5d0e79a5abc614b36967702bd4f7ecc279ec0d13d6ec75d6d129fa
20+
sourceRevisionDigest: sha256:59f33c7b266e4be55b638e66c1bf0b8e712348622553d81c1dcbc6932921a7f5
21+
sourceBlobDigest: sha256:cf433ba37ae063d57ca9c98e960a85b0ba2420161e55d4e801f85b2968ea27a4
2222
codeSamplesNamespace: glean-api-specs-python-code-samples
23-
codeSamplesRevisionDigest: sha256:5fe7ff2fe40f994516845cf5b898a09218f76d4176b9396fd0543f596195ce44
23+
codeSamplesRevisionDigest: sha256:0d1a660f011a38e27a21f4c12262125a96c0408cc6efda8952c81d8feca2fb46
2424
workflow:
2525
workflowVersion: 1.0.0
2626
speakeasyVersion: latest

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,4 +268,14 @@ Based on:
268268
### Generated
269269
- [python v0.9.3] .
270270
### Releases
271-
- [PyPI v0.9.3] https://pypi.org/project/glean/0.9.3 - .
271+
- [PyPI v0.9.3] https://pypi.org/project/glean/0.9.3 - .
272+
273+
## 2025-10-07 01:24:39
274+
### Changes
275+
Based on:
276+
- OpenAPI Doc
277+
- Speakeasy CLI 1.635.1 (2.722.2) https://github.com/speakeasy-api/speakeasy
278+
### Generated
279+
- [python v0.10.0] .
280+
### Releases
281+
- [PyPI v0.10.0] https://pypi.org/project/glean/0.10.0 - .

0 commit comments

Comments
 (0)