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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 34 additions & 33 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
lockVersion: 2.0.0
id: 3e3290ca-0ee8-4981-b1bc-14536048fa63
management:
docChecksum: 34cd4112e4c32279bed69c71c169040f
docChecksum: bd83469a3c96e8732836267779bd09eb
docVersion: 0.9.0
speakeasyVersion: 1.757.1
generationVersion: 2.866.2
releaseVersion: 0.12.14
configChecksum: 9101adbd96ff3027e03617cf0da0c24c
speakeasyVersion: 1.759.1
generationVersion: 2.869.10
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: fc9fcd20-2c11-4a60-a32b-96decc7ea26d
pristine_commit_hash: 3680cf53d6c4cc28a5b7f059da88e700eb607a67
pristine_tree_hash: 5db2dddff6c234addcab95e7be76929757d00f29
features:
python:
additionalDependencies: 1.0.0
additionalProperties: 1.0.1
configurableModuleName: 0.2.0
constsAndDefaults: 1.0.7
core: 6.0.19
core: 6.0.20
defaultEnabledRetries: 0.2.0
deprecations: 3.0.2
devContainers: 3.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 @@ -1163,8 +1163,8 @@ trackedFiles:
pristine_git_object: f257dc5200e63afb4c756a25661244c101e2363b
docs/models/exporttype.md:
id: b7a0e6ea465b
last_write_checksum: sha1:3ce87da549fb28ffa7bfd06f3ae019730d9a86ea
pristine_git_object: a58a0943f2745a8d64385881b0036538f6ac03c2
last_write_checksum: sha1:6adf430de3351b7007a5c6a7b6fd8c78a4553765
pristine_git_object: 9db29a82aad3b1bc16476946ead94f4d47bc8455
docs/models/externalsharingoptions.md:
id: f1ff0bb532c4
last_write_checksum: sha1:4aa8737cc989465e7ae6d0aecb0dd18d31e1acf6
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:9ced4c740cdda8f8053b0c0bc1b8c404a727f3cd
pristine_git_object: ca0b79bb35a34ca3b19a041fab4ba94b529fe9f4
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 @@ -3639,8 +3639,8 @@ trackedFiles:
pristine_git_object: f68bba2b791930a7eff5708502c833d255211f18
src/glean/api_client/models/dlpexportfindingsrequest.py:
id: 8776242985ea
last_write_checksum: sha1:81c95d4b4d5d5cae491602e8e287ef5ef5cb3044
pristine_git_object: c2495c2d00a83ab042cd5c609e0005a35b8b6c9a
last_write_checksum: sha1:d2a71519821ae410a1120df3f5da7570ad7e3a01
pristine_git_object: b4c54bb45ee19a6e674696ea3ad214a0317c8bd9
src/glean/api_client/models/dlpfindingfilter.py:
id: 6ef2e5304df7
last_write_checksum: sha1:ec6c89e5e0148ab2e76714de8b21b5a480c53d09
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 @@ -5628,7 +5628,7 @@ trackedFiles:
tests/mockserver/internal/sdk/models/components/dlpconfig.go:
last_write_checksum: sha1:d7f7202ea98f70853dbe57afbbf046a63a59f8d0
tests/mockserver/internal/sdk/models/components/dlpexportfindingsrequest.go:
last_write_checksum: sha1:0bc22bf0ef0c29a307616c120f898544e81660f7
last_write_checksum: sha1:3fe8136a1f411c8fc5a8afd6bd18fdd953e94d11
tests/mockserver/internal/sdk/models/components/dlpfindingfilter.go:
last_write_checksum: sha1:c71dd3ed02678385eda72478f6497fc342ad18a8
tests/mockserver/internal/sdk/models/components/dlpfrequency.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 @@ -6567,8 +6567,8 @@ trackedFiles:
pristine_git_object: 6cc8aeec3c52329d389081db0a27f10f53f214b9
tests/test_messages.py:
id: be23089b1f8b
last_write_checksum: sha1:2404e23964ef6a1f5ddc900402b34e597d2d9617
pristine_git_object: 132005ec7d1e35f805b6a8c28e07e043bce22f0a
last_write_checksum: sha1:bef200db8e7fff0aa33ef17846f5054a2d035a88
pristine_git_object: 36643db35a2d2a3cf9d327379ee7a6cb30da51d0
tests/test_people.py:
id: 37c243940039
last_write_checksum: sha1:7c7268ffeebe48d81ed25e9b1cfc3a395abf5c1f
Expand All @@ -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:27f1c7a6c3acd199a3ed350b4bfc8a09c48a96bd
pristine_git_object: 9efa5c1d63d430a96553b99c2e2c987c64941690
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* `glean.governance.createfindingsexport()`: \n * `request.export_type.enum(issues)` **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 @@ -34,7 +34,7 @@ generation:
generateNewTests: true
skipResponseBodyAssertions: true
python:
version: 0.12.14
version: 0.12.15
additionalDependencies:
dev: {}
main: {}
Expand Down
16 changes: 14 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: db2b29749d4a1429e791a15f8dbdd6ad31abafa0
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: ab68eaa48c4b230715551d9eafa33e24d01e4b1d
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 Expand Up @@ -13623,6 +13634,7 @@ components:
enum:
- FINDINGS
- DOCUMENTS
- ISSUES
description: The type of export to perform
filter:
$ref: '#/components/schemas/DlpFindingFilter'
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.1
sources:
Glean API:
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:cd1b70d6a8034c274c2032fa245dc1f410d81cba955c6954a85f47f8e64d6f2f
sourceBlobDigest: sha256:82d37f119622340b0c9d7352ac8a90c2df320b24c8e49c396d6531f9fe2b890b
sourceRevisionDigest: sha256:4c7d55ccd690b64ad2d899c9b4cc567da38df668824f1da78a8816e6c6de3e8d
sourceBlobDigest: sha256:bfb08048dcc28b79b92830c3733fa2f355feec4cf139126e09110ebef080e268
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:4c7d55ccd690b64ad2d899c9b4cc567da38df668824f1da78a8816e6c6de3e8d
sourceBlobDigest: sha256:bfb08048dcc28b79b92830c3733fa2f355feec4cf139126e09110ebef080e268
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-23 09:42:32
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.759.1 (2.869.10) 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 | |
3 changes: 2 additions & 1 deletion docs/models/exporttype.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ value = ExportType.FINDINGS
| Name | Value |
| ----------- | ----------- |
| `FINDINGS` | FINDINGS |
| `DOCUMENTS` | DOCUMENTS |
| `DOCUMENTS` | DOCUMENTS |
| `ISSUES` | ISSUES |
Loading
Loading