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: 34cd4112e4c32279bed69c71c169040f
docChecksum: 11b995ea9de2e5d0d16022982d8132bd
docVersion: 0.9.0
speakeasyVersion: 1.757.1
generationVersion: 2.866.2
releaseVersion: 0.12.14
configChecksum: 9101adbd96ff3027e03617cf0da0c24c
speakeasyVersion: 1.759.0
generationVersion: 2.869.3
releaseVersion: 0.12.15
configChecksum: 858a6f3e404133b01ece3499382906d4
repoURL: https://github.com/gleanwork/api-client-python.git
installationURL: https://github.com/gleanwork/api-client-python.git
published: true
persistentEdits:
generation_id: c5b12447-adb2-4889-8afa-21659c2165ea
pristine_commit_hash: 1e2decd2b1ff4202b2d933dc682c3171bda7049a
pristine_tree_hash: 6a647f2d8f18d407db515f9a0bc7c8b25aad15c9
generation_id: 32a7c45d-9dfe-4694-a7a2-47882a763b50
pristine_commit_hash: 1bc10082ed8fadb6ba1c387c35b925eabd154160
pristine_tree_hash: 9d4ac3f1bca41fe3eaa09291c9a254b99396c5da
features:
python:
additionalDependencies: 1.0.0
Expand Down Expand Up @@ -407,8 +407,8 @@ trackedFiles:
pristine_git_object: 7134cbbbb0e874365e08c98808b1fbba6666cd59
docs/models/chatmessagecitation.md:
id: 081d0d2ead7a
last_write_checksum: sha1:d31f16dbc8f428b3013a6f1cb90b961ac354f8dc
pristine_git_object: 976651ca2b66662bfb9186301b7ead0f8f405720
last_write_checksum: sha1:9c7ea402a970b8114589686c1c43730daab4786f
pristine_git_object: 842f2730c228c5816c872437f067f59fddc6023c
docs/models/chatmessagefragment.md:
id: 9f4738df6b1b
last_write_checksum: sha1:c1579999ebb97ae544c1dbc1c9df2f5cfd9d0e65
Expand Down Expand Up @@ -1615,8 +1615,8 @@ trackedFiles:
pristine_git_object: 90e12f31c489fd3953b486a9ba20043f50362bc5
docs/models/insightsoverviewresponse.md:
id: c980a8e3a69e
last_write_checksum: sha1:a897dd65b610928d7980734f630b0e1f8bd3b400
pristine_git_object: 76c9c9a8334d732dd6fb8e01a5aeeeb448b93547
last_write_checksum: sha1:401a36a3c734feb582bb13208d630d3c1895f3c1
pristine_git_object: 13a98a4c2c842d75c5769db52c11cf8cb04b523c
docs/models/insightsrequest.md:
id: 13eaa34edff4
last_write_checksum: sha1:4e221930c7d01a4a6756554a7af5fb4025821778
Expand Down Expand Up @@ -2771,8 +2771,8 @@ trackedFiles:
pristine_git_object: e2fda7fe263c2a111e53872e3ad5bc324b4dccfe
pyproject.toml:
id: 5d07e7d72637
last_write_checksum: sha1:18a372ed7a9fcaba4a08e62b84063ca1704ba7fd
pristine_git_object: aea68fdb35c403f287520b73de0f161384a3b72a
last_write_checksum: sha1:8630defbbda3959b65cdb3fcbc1b7fb9e70d80f5
pristine_git_object: 264116a3253bf2ae68f18f44a47c9c7e4963657b
scripts/prepare_readme.py:
id: e0c5957a6035
last_write_checksum: sha1:c2c83f71dea61eb50c9e05da83b16d18b4da8794
Expand All @@ -2799,8 +2799,8 @@ trackedFiles:
pristine_git_object: 58c4d70ac1797b86ff5c4237cafbc344c42d8f64
src/glean/api_client/_version.py:
id: 0ce22b26136b
last_write_checksum: sha1:f531c1b9c58d5b8d58fa4569ea7c0733c97914d3
pristine_git_object: f186e92857305494dc28675dddba067eb67606d5
last_write_checksum: sha1:bc4633316f5eafc3fe015eda398f644819940756
pristine_git_object: 3fcfda9ce3af900f6a962a5233aede9bb04eec01
src/glean/api_client/agents.py:
id: b925701a9217
last_write_checksum: sha1:ee99ae3d58f7f77ac2eba99c104d04d53c16c09c
Expand Down Expand Up @@ -3195,8 +3195,8 @@ trackedFiles:
pristine_git_object: 5c636cbb81c9c203f4b12047eec4d7c54fe8e6f2
src/glean/api_client/models/chatmessagecitation.py:
id: dae0d568e81c
last_write_checksum: sha1:e280bf3e6243e183e3afb454cd06c8e7c4b42df4
pristine_git_object: 5ed24dfff3f3cc7949e7713f61af56f5d4ff00a3
last_write_checksum: sha1:a785f5a671ee22a96be5feaf53f745ec571e3415
pristine_git_object: e1e0b0b463b7dfdfeb2bd765cd67d0b57ea7caf8
src/glean/api_client/models/chatmessagefragment.py:
id: 86344b2c1c3d
last_write_checksum: sha1:2392b86cce1778d331813a1355430f2665ab9ab2
Expand Down Expand Up @@ -4199,8 +4199,8 @@ trackedFiles:
pristine_git_object: 5be6e4bb1a8d0f3625ca6ba7fcb6267f6b42d9e5
src/glean/api_client/models/insightsoverviewresponse.py:
id: 9f278319d18c
last_write_checksum: sha1:061217b97153e2d043e85d3fe7a2adae8779a0bf
pristine_git_object: 874941a4adbbaab147df806e91818583f04a0ba3
last_write_checksum: sha1:c03228439f793e5145f2414d5c25720410183a8b
pristine_git_object: 23c45162da573641d191560050eacbfbfb773518
src/glean/api_client/models/insightsrequest.py:
id: 72fbc9d1c47b
last_write_checksum: sha1:ba897351884e324f6b7005cbb8ea6893186d1448
Expand Down Expand Up @@ -5250,7 +5250,7 @@ trackedFiles:
tests/mockserver/internal/handler/pathpostrestapiv1getanswer.go:
last_write_checksum: sha1:80bc08894cebfd78f82d3d80f93fd85a11b55d45
tests/mockserver/internal/handler/pathpostrestapiv1getchat.go:
last_write_checksum: sha1:2267292ba8173cf8df70ddbc6ac02ff3439cb879
last_write_checksum: sha1:b48e2313407814ee4f8ed181b8e5299a84960c44
tests/mockserver/internal/handler/pathpostrestapiv1getchatapplication.go:
last_write_checksum: sha1:7b81898137fdb3a89b4dcfa318b9b5b92e8860c0
tests/mockserver/internal/handler/pathpostrestapiv1getchatfiles.go:
Expand Down Expand Up @@ -5436,7 +5436,7 @@ trackedFiles:
tests/mockserver/internal/sdk/models/components/chatmessage.go:
last_write_checksum: sha1:b813b4301b77532bbbc60fa85f3b44e21d7a740d
tests/mockserver/internal/sdk/models/components/chatmessagecitation.go:
last_write_checksum: sha1:c6225814e79eac17f90ebb8d86a98bb0038c20b6
last_write_checksum: sha1:f5b371efdd863a1d6d2f83041371ceb7601bc07f
tests/mockserver/internal/sdk/models/components/chatmessagefragment.go:
last_write_checksum: sha1:1834d9a43544e8cca44d147a1e2f99e120fb09ae
tests/mockserver/internal/sdk/models/components/chatmetadata.go:
Expand Down Expand Up @@ -5856,7 +5856,7 @@ trackedFiles:
tests/mockserver/internal/sdk/models/components/insightsoverviewrequest.go:
last_write_checksum: sha1:f41a223c0da4e4edee140cdd8a7697a45969a239
tests/mockserver/internal/sdk/models/components/insightsoverviewresponse.go:
last_write_checksum: sha1:6b78d9baa749aa3e03c2e20964a9a5ddcaab97ad
last_write_checksum: sha1:926270f59a7276459f6efea061ad9d0a5fd0d857
tests/mockserver/internal/sdk/models/components/insightsrequest.go:
last_write_checksum: sha1:f8bb4f19bca0be78fec51bf4d8e90d29ad25b940
tests/mockserver/internal/sdk/models/components/insightsresponse.go:
Expand Down Expand Up @@ -6591,8 +6591,8 @@ trackedFiles:
pristine_git_object: df2944ebda36db652b2770dd1c23be83df90fc99
tests/test_summarize.py:
id: a255d8a6f627
last_write_checksum: sha1:0d48676ceee44c83f3d45fe057aad051747fe161
pristine_git_object: 5d5ff652e42e7799c18edd2064d53842ef85c577
last_write_checksum: sha1:71c419bc1a3c07cc4fd6a509adb08f3aca93230f
pristine_git_object: 5917ddcb71c5d7818d0f075ade899d7908897c28
tests/test_tools.py:
id: 70889bdf7321
last_write_checksum: sha1:3c0c220f8975b050c322f6475e95f7af4e65b995
Expand Down Expand Up @@ -7520,6 +7520,7 @@ generatedTests:
checkdatasourceauth: "2026-02-19T15:48:52Z"
getDatasourceInstanceConfiguration: "2026-03-09T18:34:29Z"
updateDatasourceInstanceConfiguration: "2026-03-09T18:34:29Z"
releaseNotes: "## Python SDK Changes:\n* `glean.client.chat.create()`: \n * `request.messages[].citations[].source_custom_entity` **Added**\n * `response.messages[].citations[].source_custom_entity` **Added**\n* `glean.client.chat.retrieve()`: `response.chat_result.chat.messages[].citations[].source_custom_entity` **Added**\n* `glean.client.chat.create_stream()`: \n * `request.messages[].citations[].source_custom_entity` **Added**\n* `glean.client.insights.retrieve()`: `response.overview_response` **Changed**\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 @@ -34,7 +34,7 @@ generation:
generateNewTests: true
skipResponseBodyAssertions: true
python:
version: 0.12.14
version: 0.12.15
additionalDependencies:
dev: {}
main: {}
Expand Down
15 changes: 13 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: b82cd7608fd801b317cf9df15ebfb73f83d9febc
x-source-commit-sha: 797f674a2b57a6822c26cc194a8d32f63ca07772
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: 0b2689b6010d15de5b45dc85490080ea14936ea6
x-open-api-commit-sha: fb1ea6d15543bc76391e2796dc62435dcddc598d
x-speakeasy-name: 'Glean API'
servers:
- url: https://{instance}-be.glean.com
Expand Down Expand Up @@ -7881,6 +7881,8 @@ components:
$ref: "#/components/schemas/ChatFile"
sourcePerson:
$ref: "#/components/schemas/Person"
sourceCustomEntity:
$ref: "#/components/schemas/CustomEntity"
referenceRanges:
description: Each reference range and its corresponding snippets
type: array
Expand Down Expand Up @@ -9071,6 +9073,15 @@ components:
$ref: "#/components/schemas/InsightsSearchSummary"
chatSummary:
$ref: "#/components/schemas/InsightsChatSummary"
searchActiveUsers:
$ref: "#/components/schemas/CurrentActiveUsers"
description: Search-specific active user counts for the specified departments.
assistantActiveUsers:
$ref: "#/components/schemas/CurrentActiveUsers"
description: Assistant-specific active user counts for the specified departments.
agentsActiveUsers:
$ref: "#/components/schemas/CurrentActiveUsers"
description: Agents-specific active user counts for the specified departments.
extensionSummary:
$ref: "#/components/schemas/CurrentActiveUsers"
ugcSummary:
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.757.1
speakeasyVersion: 1.759.0
sources:
Glean API:
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:cd1b70d6a8034c274c2032fa245dc1f410d81cba955c6954a85f47f8e64d6f2f
sourceBlobDigest: sha256:82d37f119622340b0c9d7352ac8a90c2df320b24c8e49c396d6531f9fe2b890b
sourceRevisionDigest: sha256:53b31eac2ec62f25dbbd07a30158207961b8f5a44db5f8b0275bbe650786d620
sourceBlobDigest: sha256:f67efda4716029385175a7df3e13322f9e46c7972af157231bd89964798c1a3b
tags:
- latest
Glean Client API:
Expand All @@ -16,10 +16,10 @@ targets:
glean:
source: Glean API
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:cd1b70d6a8034c274c2032fa245dc1f410d81cba955c6954a85f47f8e64d6f2f
sourceBlobDigest: sha256:82d37f119622340b0c9d7352ac8a90c2df320b24c8e49c396d6531f9fe2b890b
sourceRevisionDigest: sha256:53b31eac2ec62f25dbbd07a30158207961b8f5a44db5f8b0275bbe650786d620
sourceBlobDigest: sha256:f67efda4716029385175a7df3e13322f9e46c7972af157231bd89964798c1a3b
codeSamplesNamespace: glean-api-specs-python-code-samples
codeSamplesRevisionDigest: sha256:7a291d2a4b8025032ea44dba8d459ea5bf19f8bb4d96efb84902d9ae31053a3d
codeSamplesRevisionDigest: sha256:7ddd0cc97359d3cb6df96bfd4697e2dda6b4faa4610550da52422caeb57b01dc
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 @@ -648,4 +648,14 @@ Based on:
### Generated
- [python v0.12.14] .
### Releases
- [PyPI v0.12.14] https://pypi.org/project/glean-api-client/0.12.14 - .
- [PyPI v0.12.14] https://pypi.org/project/glean-api-client/0.12.14 - .

## 2026-03-22 02:25:30
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.759.0 (2.869.3) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.12.15] .
### Releases
- [PyPI v0.12.15] https://pypi.org/project/glean-api-client/0.12.15 - .
1 change: 1 addition & 0 deletions docs/models/chatmessagecitation.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ Information about the source for a ChatMessage.
| `source_document` | [Optional[models.Document]](../models/document.md) | :heavy_minus_sign: | N/A | |
| `source_file` | [Optional[models.ChatFile]](../models/chatfile.md) | :heavy_minus_sign: | Structure for file uploaded by a user for Chat. | |
| `source_person` | [Optional[models.Person]](../models/person.md) | :heavy_minus_sign: | N/A | {<br/>"name": "George Clooney",<br/>"obfuscatedId": "abc123"<br/>} |
| `source_custom_entity` | [Optional[models.CustomEntity]](../models/customentity.md) | :heavy_minus_sign: | N/A | |
| `reference_ranges` | List[[models.ReferenceRange](../models/referencerange.md)] | :heavy_minus_sign: | Each reference range and its corresponding snippets | |
Loading
Loading