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: 26 additions & 25 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
lockVersion: 2.0.0
id: 3e3290ca-0ee8-4981-b1bc-14536048fa63
management:
docChecksum: 91d38b9d4b28ef9b1b98e10a0b5a7371
docChecksum: 703b4dc89a34b57fcd4806bfe611c49b
docVersion: 0.9.0
speakeasyVersion: 1.686.0
generationVersion: 2.796.1
releaseVersion: 0.11.27
configChecksum: 37e1926f5925719f705610da6ba7d40e
speakeasyVersion: 1.688.0
generationVersion: 2.796.4
releaseVersion: 0.11.28
configChecksum: 03e7fbb96c493ad4660d4b3db19252bc
repoURL: https://github.com/gleanwork/api-client-python.git
installationURL: https://github.com/gleanwork/api-client-python.git
published: true
persistentEdits:
generation_id: 8295e5cc-3cba-4720-b40b-d377a32f9ce7
pristine_commit_hash: ec8d0cb548d884b034e3aa08460751054ec7dca1
pristine_tree_hash: f2f4799cb7a7f9af40b1a07a81904fe71f4a3e37
generation_id: fd26cbca-51a4-4d01-b67b-8fe777b2c41f
pristine_commit_hash: 43f64e104c061a20eb36be5926f50428b3d3e885
pristine_tree_hash: c299bb07117c7145d9c00749fffd3451fd1475f8
features:
python:
additionalDependencies: 1.0.0
Expand Down Expand Up @@ -75,8 +75,8 @@ trackedFiles:
pristine_git_object: a6800fed5ba94f25934cdd5b8fe3fa6832f51239
docs/errors/gleandataerror.md:
id: d8679ae13234
last_write_checksum: sha1:bc595bf0967592999c683a4e3a43fa69783bbd10
pristine_git_object: f1df02d4e5daa03df8e8c1b5684fcc91bcabc8a7
last_write_checksum: sha1:a6567c83c6c0bf8eaed55f50af08001869d6a5de
pristine_git_object: 7c4c0d90fd0a2de3e48b99ce691c1e9a6ab03041
docs/models/activity.md:
id: 78c9fe854b65
last_write_checksum: sha1:2bb3d1005124784d416910cff9777277facaebb2
Expand Down Expand Up @@ -1391,8 +1391,8 @@ trackedFiles:
pristine_git_object: 51f7027a16bc10bb4effbdd438eab18581703421
docs/models/gleandataerror.md:
id: feb7c60631e4
last_write_checksum: sha1:bc595bf0967592999c683a4e3a43fa69783bbd10
pristine_git_object: f1df02d4e5daa03df8e8c1b5684fcc91bcabc8a7
last_write_checksum: sha1:a6567c83c6c0bf8eaed55f50af08001869d6a5de
pristine_git_object: 7c4c0d90fd0a2de3e48b99ce691c1e9a6ab03041
docs/models/grantpermission.md:
id: 740a53de1e0a
last_write_checksum: sha1:6f0d12e70708144b4978da20cccda528785c9e0d
Expand Down Expand Up @@ -2607,8 +2607,8 @@ trackedFiles:
pristine_git_object: 8e34b78a71b8bb97bad6dea99d0f791beb134e5b
pyproject.toml:
id: 5d07e7d72637
last_write_checksum: sha1:e74ee3184e376810b0ad328b5c651c9c3cc31cd0
pristine_git_object: a92333900a6aabd7e86b21f5b1cc0e4c5a232b11
last_write_checksum: sha1:64ad0265b35e1f7b8e4b1e63978a4a5682155fc2
pristine_git_object: 0907c294cdfd5063c422800361e711b026cb226a
scripts/prepare_readme.py:
id: e0c5957a6035
last_write_checksum: sha1:c2c83f71dea61eb50c9e05da83b16d18b4da8794
Expand All @@ -2635,8 +2635,8 @@ trackedFiles:
pristine_git_object: 58c4d70ac1797b86ff5c4237cafbc344c42d8f64
src/glean/api_client/_version.py:
id: 0ce22b26136b
last_write_checksum: sha1:188529d678c18f5c3fb9c35fc9cd1e0f75e4297e
pristine_git_object: 64da52a597a1b036329005760a371e97949a7eb6
last_write_checksum: sha1:e66b2d7825e786577b70cd553e44fba834649ba5
pristine_git_object: 99716d7607a70660995e74d7fd6708c658dd5659
src/glean/api_client/agents.py:
id: b925701a9217
last_write_checksum: sha1:56f1329fbf799ea92ed30229d4ed2404666d455d
Expand Down Expand Up @@ -2715,8 +2715,8 @@ trackedFiles:
pristine_git_object: b2f7acde3c293f63d1af370cf1bd4266048c3834
src/glean/api_client/errors/gleandataerror.py:
id: 8bae5389c0bf
last_write_checksum: sha1:29d39ccabff4905216e98b25d1d265a71d731785
pristine_git_object: 978b0be0e85d64351fd71c8cfe765dbd341cf5ee
last_write_checksum: sha1:d9db844614059154744d99927a7468306de298c2
pristine_git_object: 754c85de70a38e982ea6368b9c4f922883a9a040
src/glean/api_client/errors/gleanerror.py:
id: 9f1d85652f59
last_write_checksum: sha1:a7a2bc1335123c6bd8c9f945a9c653f061e14167
Expand Down Expand Up @@ -3831,8 +3831,8 @@ trackedFiles:
pristine_git_object: 9bd865818900f5e18df747e941b941d023d9cd92
src/glean/api_client/models/gleandataerror.py:
id: 86e8dc6c1eb5
last_write_checksum: sha1:e6f673d62bb9e46c48d64bc562439a86192d2f58
pristine_git_object: 49567e8d31ff0e8224f5bf2da0e0cd615f209c80
last_write_checksum: sha1:965386c5e2bc833aa410ea407dd114ae2172cc00
pristine_git_object: 953126e2faefa6d9b050921194fb22953b1a6b8e
src/glean/api_client/models/grantpermission.py:
id: 0cfd67112b08
last_write_checksum: sha1:55769b361ff0127e010631f8523cffdf20e47fd2
Expand Down Expand Up @@ -4882,7 +4882,7 @@ trackedFiles:
tests/mockserver/internal/handler/pathpostrestapiv1createauthtoken.go:
last_write_checksum: sha1:6ce83ba03066acb436796c018d19715615f548c1
tests/mockserver/internal/handler/pathpostrestapiv1createcollection.go:
last_write_checksum: sha1:14b4a1d98dd55ce2b487ae1aaab4a7dece08df25
last_write_checksum: sha1:f9f4c718408bddadbdf826194f07970bb111e57e
tests/mockserver/internal/handler/pathpostrestapiv1createshortcut.go:
last_write_checksum: sha1:dcdf684a85e20db1aee571db9a54a3ee259d71d5
tests/mockserver/internal/handler/pathpostrestapiv1deleteallchats.go:
Expand Down Expand Up @@ -5476,7 +5476,7 @@ trackedFiles:
tests/mockserver/internal/sdk/models/components/gleanassistinsightsresponse.go:
last_write_checksum: sha1:5b8a4fdefd05ed9e53cbee94c32b0a428175ad22
tests/mockserver/internal/sdk/models/components/gleandataerror.go:
last_write_checksum: sha1:e2ba36c9aeaebae5a4f57509af9597481a809f8b
last_write_checksum: sha1:fa6d4a5917a90f72a97628ba20e31dd31b02af0c
tests/mockserver/internal/sdk/models/components/grantpermission.go:
last_write_checksum: sha1:83d69c5a502306994095bc1a515d6c52798fa696
tests/mockserver/internal/sdk/models/components/greenlistusersrequest.go:
Expand Down Expand Up @@ -6096,7 +6096,7 @@ trackedFiles:
tests/mockserver/internal/sdk/models/sdkerrors/collectionerror.go:
last_write_checksum: sha1:a8ce08145cf00a84487714f875ba1d3a8d84be1d
tests/mockserver/internal/sdk/models/sdkerrors/gleandataerror.go:
last_write_checksum: sha1:8b2cb972da36ace2356aac3c81b133626315fd6c
last_write_checksum: sha1:ee697c8e2807f2b86c3de73bcbc013bbaf4ee2e9
tests/mockserver/internal/sdk/types/bigint.go:
last_write_checksum: sha1:49b004005d0461fb04b846eca062b070b0360b31
tests/mockserver/internal/sdk/types/date.go:
Expand Down Expand Up @@ -6249,8 +6249,8 @@ trackedFiles:
pristine_git_object: df2944ebda36db652b2770dd1c23be83df90fc99
tests/test_summarize.py:
id: a255d8a6f627
last_write_checksum: sha1:4f50b660d414adea1d509dfc957eb74a12654ee4
pristine_git_object: 63b4eb8541c2b110dab6dda746fef9ac074611f1
last_write_checksum: sha1:54133b124c0940a3188a5f22c3705e89e04c0599
pristine_git_object: 4752dda147dc1265028d19e0fadeb80528c82927
tests/test_tools.py:
id: 70889bdf7321
last_write_checksum: sha1:3c0c220f8975b050c322f6475e95f7af4e65b995
Expand Down Expand Up @@ -7138,6 +7138,7 @@ generatedTests:
updateshortcut: "2025-06-12T19:13:52-04:00"
listfindingsexports: "2025-12-10T17:53:31Z"
downloadfindingsexport: "2025-12-10T17:53:31Z"
releaseNotes: "## Python SDK Changes:\n* `glean.client.messages.retrieve()`: `response.search_response.glean_data_error.federated_search_rate_limit_error` **Added**\n* `glean.client.search.query_as_admin()`: \n * `response.glean_data_error.federated_search_rate_limit_error` **Added**\n * `error.federated_search_rate_limit_error` **Added**\n* `glean.client.search.autocomplete()`: `response.glean_data_error.federated_search_rate_limit_error` **Added**\n* `glean.client.search.recommendations()`: `response.glean_data_error.federated_search_rate_limit_error` **Added**\n* `glean.client.search.query()`: \n * `response.glean_data_error.federated_search_rate_limit_error` **Added**\n * `error.federated_search_rate_limit_error` **Added**\n"
generatedFiles:
- .devcontainer/README.md
- .devcontainer/devcontainer.json
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ generation:
generateNewTests: true
skipResponseBodyAssertions: true
python:
version: 0.11.27
version: 0.11.28
additionalDependencies:
dev: {}
main: {}
Expand Down
7 changes: 5 additions & 2 deletions .speakeasy/glean-merged-spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ openapi: 3.0.0
info:
version: 0.9.0
title: Glean API
x-source-commit-sha: 17a84cfc3e3f0e0a3eec1792cf57a65f444d613e
x-source-commit-sha: d4f2fa72a23a5da96d1ac7baaee268890c9e5b22
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 All @@ -22,7 +22,7 @@ info:
These API clients provide type-safe, idiomatic interfaces for working with Glean IndexingAPIs in your language of choice.
x-logo:
url: https://app.glean.com/images/glean-text2.svg
x-open-api-commit-sha: 3bb1859df9ba2cff7a43d5b1c336bb826a766b4c
x-open-api-commit-sha: 45b2188fe1c63b00dea76e7623d58f7a3b89bbf2
x-speakeasy-name: 'Glean API'
servers:
- url: https://{instance}-be.glean.com
Expand Down Expand Up @@ -9025,6 +9025,9 @@ components:
type: array
items:
$ref: "#/components/schemas/ErrorMessage"
federatedSearchRateLimitError:
type: boolean
description: Indicates the federated search results could not be fetched due to rate limiting.
x-speakeasy-name-override: GleanDataError
ResultsResponse:
properties:
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.686.0
speakeasyVersion: 1.688.0
sources:
Glean API:
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:fcb56a3a1b355cdff7e63a0b76385f81472ce01a748f25a409b13b70d89436cc
sourceBlobDigest: sha256:01a8dbd2649712ab871b1799b6c76f92f4edb070c675738cac74685c81879a37
sourceRevisionDigest: sha256:c1096f27a43ac85246b3da84ba98a970543a511af0558ddbd7d673adc911db6f
sourceBlobDigest: sha256:f78b68b993a5fdbee35f43e582c483f18660c8a58af7f7b0518a361738b33c95
tags:
- latest
- speakeasy-sdk-regen-1768441819
- speakeasy-sdk-regen-1768614376
Glean Client API:
sourceNamespace: glean-client-api
sourceRevisionDigest: sha256:4edc63ad559e4f2c9fb9ebf5edaaaaa9269f1874d271cfd84b441d6dacac43d2
Expand All @@ -17,10 +17,10 @@ targets:
glean:
source: Glean API
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:fcb56a3a1b355cdff7e63a0b76385f81472ce01a748f25a409b13b70d89436cc
sourceBlobDigest: sha256:01a8dbd2649712ab871b1799b6c76f92f4edb070c675738cac74685c81879a37
sourceRevisionDigest: sha256:c1096f27a43ac85246b3da84ba98a970543a511af0558ddbd7d673adc911db6f
sourceBlobDigest: sha256:f78b68b993a5fdbee35f43e582c483f18660c8a58af7f7b0518a361738b33c95
codeSamplesNamespace: glean-api-specs-python-code-samples
codeSamplesRevisionDigest: sha256:77edd92d12a6f8e9e87bc2578f8369e25dba1060192ba455304996c267701c6a
codeSamplesRevisionDigest: sha256:33309b0a12ef7143fac9644b24cb1001e4e1d67ee1c7f428133866823345f5cc
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -498,4 +498,14 @@ Based on:
### Generated
- [python v0.11.27] .
### Releases
- [PyPI v0.11.27] https://pypi.org/project/glean-api-client/0.11.27 - .
- [PyPI v0.11.27] https://pypi.org/project/glean-api-client/0.11.27 - .

## 2026-01-19 06:40:43
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.688.0 (2.796.4) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.11.28] .
### Releases
- [PyPI v0.11.28] https://pypi.org/project/glean-api-client/0.11.28 - .
13 changes: 7 additions & 6 deletions docs/errors/gleandataerror.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@

## Fields

| Field | Type | Required | Description |
| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- |
| `bad_gmail_token` | *Optional[bool]* | :heavy_minus_sign: | Indicates the gmail results could not be fetched due to bad token. |
| `bad_outlook_token` | *Optional[bool]* | :heavy_minus_sign: | Indicates the outlook results could not be fetched due to bad token. |
| `invalid_operators` | List[[models.InvalidOperatorValueError](../models/invalidoperatorvalueerror.md)] | :heavy_minus_sign: | Indicates results could not be fetched due to invalid operators in the query. |
| `error_messages` | List[[models.ErrorMessage](../models/errormessage.md)] | :heavy_minus_sign: | N/A |
| Field | Type | Required | Description |
| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- |
| `bad_gmail_token` | *Optional[bool]* | :heavy_minus_sign: | Indicates the gmail results could not be fetched due to bad token. |
| `bad_outlook_token` | *Optional[bool]* | :heavy_minus_sign: | Indicates the outlook results could not be fetched due to bad token. |
| `invalid_operators` | List[[models.InvalidOperatorValueError](../models/invalidoperatorvalueerror.md)] | :heavy_minus_sign: | Indicates results could not be fetched due to invalid operators in the query. |
| `error_messages` | List[[models.ErrorMessage](../models/errormessage.md)] | :heavy_minus_sign: | N/A |
| `federated_search_rate_limit_error` | *Optional[bool]* | :heavy_minus_sign: | Indicates the federated search results could not be fetched due to rate limiting. |
Loading