Skip to content

Commit d63d359

Browse files
committed
## Python SDK Changes:
* `glean.client.insights.retrieve()`: `response.agents_response` **Changed** * `glean.client.search.retrieve_feed()`: `response.results[].primary_entry.prompt_template.favorite_info.ugc_type.enum(spreadsheet_type)` **Added**
1 parent 856050e commit d63d359

19 files changed

+325
-49
lines changed

.speakeasy/gen.lock

Lines changed: 40 additions & 27 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
@@ -34,7 +34,7 @@ generation:
3434
generateNewTests: true
3535
skipResponseBodyAssertions: true
3636
python:
37-
version: 0.12.19
37+
version: 0.12.20
3838
additionalDependencies:
3939
dev: {}
4040
main: {}

.speakeasy/glean-merged-spec.yaml

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ openapi: 3.0.0
22
info:
33
version: 0.9.0
44
title: Glean API
5-
x-source-commit-sha: 8a0e3a32d5d6639d10ef809d104942a79d54d1a0
5+
x-source-commit-sha: 1483d637252dd129c04a2f4e297e25ad17a26adf
66
description: |
77
# Introduction
88
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.
@@ -22,7 +22,7 @@ info:
2222
These API clients provide type-safe, idiomatic interfaces for working with Glean IndexingAPIs in your language of choice.
2323
x-logo:
2424
url: https://app.glean.com/images/glean-text2.svg
25-
x-open-api-commit-sha: f89c07f572daff630aa6a660c5c20e8aa3227322
25+
x-open-api-commit-sha: 8b6a13c7746970643b1e02b27f20dd9d3bc9d2cd
2626
x-speakeasy-name: 'Glean API'
2727
servers:
2828
- url: https://{instance}-be.glean.com
@@ -9329,6 +9329,27 @@ components:
93299329
runCount:
93309330
type: integer
93319331
description: Total number of agent runs for this user over the specified time period.
9332+
AgentsTimeSavedInsight:
9333+
properties:
9334+
agentId:
9335+
type: string
9336+
description: Agent ID
9337+
agentName:
9338+
type: string
9339+
description: Agent name
9340+
icon:
9341+
$ref: "#/components/schemas/IconConfig"
9342+
description: Agent icon configuration
9343+
isDeleted:
9344+
type: boolean
9345+
description: Indicates whether the agent has been deleted
9346+
runCount:
9347+
type: integer
9348+
description: Total number of runs for this agent over the specified time period.
9349+
minsPerRun:
9350+
type: number
9351+
format: float
9352+
description: Average minutes saved per run for this agent over the specified time period.
93329353
AgentsInsightsV2Response:
93339354
allOf:
93349355
- $ref: "#/components/schemas/CurrentActiveUsers"
@@ -9355,8 +9376,19 @@ components:
93559376
type: array
93569377
items:
93579378
$ref: "#/components/schemas/AgentUsersInsight"
9379+
agentsTimeSavedInsights:
9380+
type: array
9381+
items:
9382+
$ref: "#/components/schemas/AgentsTimeSavedInsight"
9383+
description: Insights for agents time saved over the specified time period.
93589384
dailyAgentRunsTimeseries:
93599385
$ref: "#/components/schemas/LabeledCountInfo"
9386+
successfulRunsTimeseries:
9387+
$ref: "#/components/schemas/LabeledCountInfo"
9388+
failedRunsTimeseries:
9389+
$ref: "#/components/schemas/LabeledCountInfo"
9390+
pausedRunsTimeseries:
9391+
$ref: "#/components/schemas/LabeledCountInfo"
93609392
upvotesTimeseries:
93619393
$ref: "#/components/schemas/LabeledCountInfo"
93629394
downvotesTimeseries:
@@ -10493,6 +10525,7 @@ components:
1049310525
- SCRIBES_TYPE
1049410526
- SHORTCUTS_TYPE
1049510527
- SLIDE_TYPE
10528+
- SPREADSHEET_TYPE
1049610529
- WORKFLOWS_TYPE
1049710530
FavoriteInfo:
1049810531
type: object

.speakeasy/workflow.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ speakeasyVersion: 1.761.1
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:0f10e7b25d98791a46b0ed9fffad9d56ce1e52d63ca5d8c2598ff2fda3df6321
6-
sourceBlobDigest: sha256:59995e53d0ac0527b824756126d89dd7c4638fffb3b57711446f35604d0012a0
5+
sourceRevisionDigest: sha256:41039d025447acd69f087c76b6ff0d2476ebdc747f7221c8307543652c0c5e19
6+
sourceBlobDigest: sha256:194fd5e4394d01049448906387b1e4d44b0aa8631ce0e79019d9bcd7a9072285
77
tags:
88
- latest
99
Glean Client API:
@@ -16,10 +16,10 @@ targets:
1616
glean:
1717
source: Glean API
1818
sourceNamespace: glean-api-specs
19-
sourceRevisionDigest: sha256:0f10e7b25d98791a46b0ed9fffad9d56ce1e52d63ca5d8c2598ff2fda3df6321
20-
sourceBlobDigest: sha256:59995e53d0ac0527b824756126d89dd7c4638fffb3b57711446f35604d0012a0
19+
sourceRevisionDigest: sha256:41039d025447acd69f087c76b6ff0d2476ebdc747f7221c8307543652c0c5e19
20+
sourceBlobDigest: sha256:194fd5e4394d01049448906387b1e4d44b0aa8631ce0e79019d9bcd7a9072285
2121
codeSamplesNamespace: glean-api-specs-python-code-samples
22-
codeSamplesRevisionDigest: sha256:97795efcbae3db6986718ffba511ae7bc145269ba1f5012d30d69bc48b6e5772
22+
codeSamplesRevisionDigest: sha256:236be967997805680d4e427baaf01aeddfc19c362e810b0602bd8c148d0b703b
2323
workflow:
2424
workflowVersion: 1.0.0
2525
speakeasyVersion: latest

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,4 +698,14 @@ Based on:
698698
### Generated
699699
- [python v0.12.19] .
700700
### Releases
701-
- [PyPI v0.12.19] https://pypi.org/project/glean-api-client/0.12.19 - .
701+
- [PyPI v0.12.19] https://pypi.org/project/glean-api-client/0.12.19 - .
702+
703+
## 2026-04-08 19:51:46
704+
### Changes
705+
Based on:
706+
- OpenAPI Doc
707+
- Speakeasy CLI 1.761.1 (2.879.6) https://github.com/speakeasy-api/speakeasy
708+
### Generated
709+
- [python v0.12.20] .
710+
### Releases
711+
- [PyPI v0.12.20] https://pypi.org/project/glean-api-client/0.12.20 - .

docs/models/agentsinsightsv2response.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
| `top_agents_insights` | List[[models.PerAgentInsight](../models/peragentinsight.md)] | :heavy_minus_sign: | N/A |
1515
| `agents_usage_by_department_insights` | List[[models.AgentsUsageByDepartmentInsight](../models/agentsusagebydepartmentinsight.md)] | :heavy_minus_sign: | N/A |
1616
| `agent_users_insights` | List[[models.AgentUsersInsight](../models/agentusersinsight.md)] | :heavy_minus_sign: | N/A |
17+
| `agents_time_saved_insights` | List[[models.AgentsTimeSavedInsight](../models/agentstimesavedinsight.md)] | :heavy_minus_sign: | Insights for agents time saved over the specified time period. |
1718
| `daily_agent_runs_timeseries` | [Optional[models.LabeledCountInfo]](../models/labeledcountinfo.md) | :heavy_minus_sign: | N/A |
19+
| `successful_runs_timeseries` | [Optional[models.LabeledCountInfo]](../models/labeledcountinfo.md) | :heavy_minus_sign: | N/A |
20+
| `failed_runs_timeseries` | [Optional[models.LabeledCountInfo]](../models/labeledcountinfo.md) | :heavy_minus_sign: | N/A |
21+
| `paused_runs_timeseries` | [Optional[models.LabeledCountInfo]](../models/labeledcountinfo.md) | :heavy_minus_sign: | N/A |
1822
| `upvotes_timeseries` | [Optional[models.LabeledCountInfo]](../models/labeledcountinfo.md) | :heavy_minus_sign: | N/A |
1923
| `downvotes_timeseries` | [Optional[models.LabeledCountInfo]](../models/labeledcountinfo.md) | :heavy_minus_sign: | N/A |
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# AgentsTimeSavedInsight
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description | Example |
7+
| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- |
8+
| `agent_id` | *Optional[str]* | :heavy_minus_sign: | Agent ID | |
9+
| `agent_name` | *Optional[str]* | :heavy_minus_sign: | Agent name | |
10+
| `icon` | [Optional[models.IconConfig]](../models/iconconfig.md) | :heavy_minus_sign: | Defines how to render an icon | {<br/>"color": "#343CED",<br/>"key": "person_icon",<br/>"iconType": "GLYPH",<br/>"name": "user"<br/>} |
11+
| `is_deleted` | *Optional[bool]* | :heavy_minus_sign: | Indicates whether the agent has been deleted | |
12+
| `run_count` | *Optional[int]* | :heavy_minus_sign: | Total number of runs for this agent over the specified time period. | |
13+
| `mins_per_run` | *Optional[float]* | :heavy_minus_sign: | Average minutes saved per run for this agent over the specified time period. | |

docs/models/ugctype.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,5 @@ value = UgcType.AGENT_TYPE
3131
| `SCRIBES_TYPE` | SCRIBES_TYPE |
3232
| `SHORTCUTS_TYPE` | SHORTCUTS_TYPE |
3333
| `SLIDE_TYPE` | SLIDE_TYPE |
34+
| `SPREADSHEET_TYPE` | SPREADSHEET_TYPE |
3435
| `WORKFLOWS_TYPE` | WORKFLOWS_TYPE |

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
[project]
33
name = "glean-api-client"
4-
version = "0.12.19"
4+
version = "0.12.20"
55
description = "Python Client SDK Generated by Speakeasy."
66
authors = [{ name = "Glean Technologies, Inc." },]
77
readme = "README-PYPI.md"

src/glean/api_client/_version.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
import importlib.metadata
44

55
__title__: str = "glean-api-client"
6-
__version__: str = "0.12.19"
6+
__version__: str = "0.12.20"
77
__openapi_doc_version__: str = "0.9.0"
88
__gen_version__: str = "2.879.6"
9-
__user_agent__: str = "speakeasy-sdk/python 0.12.19 2.879.6 0.9.0 glean-api-client"
9+
__user_agent__: str = "speakeasy-sdk/python 0.12.20 2.879.6 0.9.0 glean-api-client"
1010

1111
try:
1212
if __package__ is not None:

0 commit comments

Comments
 (0)