Skip to content

Commit b4be626

Browse files
committed
## Python SDK Changes:
* `glean.client.announcements.create()`: * `request.body.structured_list.[].document.metadata.author.related_documents.[].results.[].structured_results.[]` **Changed** **Breaking** ⚠️ * `response.body.structured_list.[].document.metadata.author.related_documents.[].results.[].structured_results.[]` **Changed** **Breaking** ⚠️ * `glean.client.announcements.update()`: * `request.body.structured_list.[].document.metadata.author.related_documents.[].results.[].structured_results.[]` **Changed** **Breaking** ⚠️ * `response.body.structured_list.[].document.metadata.author.related_documents.[].results.[].structured_results.[]` **Changed** **Breaking** ⚠️ * `glean.client.answers.create()`: * `request.data.added_roles.[].person.related_documents.[].results.[].structured_results.[]` **Changed** **Breaking** ⚠️ * `response` **Changed** **Breaking** ⚠️ * `glean.client.answers.update()`: * `request.added_roles.[].person.related_documents.[].results.[].structured_results.[]` **Changed** **Breaking** ⚠️ * `response` **Changed** **Breaking** ⚠️ * `glean.client.answers.retrieve()`: `response.answer_result.answer` **Changed** **Breaking** ⚠️ * `glean.client.answers.list()`: `response.answer_results.[].answer` **Changed** **Breaking** ⚠️ * `glean.client.chat.create()`: * `request.messages.[].citations.[].source_document.metadata.author.related_documents.[].results.[].structured_results.[]` **Changed** **Breaking** ⚠️ * `response.messages.[].citations.[].source_document.metadata.author.related_documents.[].results.[].structured_results.[]` **Changed** **Breaking** ⚠️ * `glean.client.chat.retrieve()`: `response.chat_result.chat.created_by.related_documents.[].results.[].structured_results.[]` **Changed** **Breaking** ⚠️ * `glean.client.chat.list()`: `response.chat_results.[].chat.created_by.related_documents.[].results.[].structured_results.[]` **Changed** **Breaking** ⚠️ * `glean.client.chat.create_stream()`: * `request.messages.[].citations.[].source_document.metadata.author.related_documents.[].results.[].structured_results.[]` **Changed** **Breaking** ⚠️ * `glean.client.collections.add_items()`: `response.collection.added_roles.[].person.related_documents.[].results.[].structured_results.[]` **Changed** **Breaking** ⚠️ * `glean.client.collections.create()`: * `request.added_roles.[].person.related_documents.[].results.[].structured_results.[]` **Changed** **Breaking** ⚠️ * `response.[class].collection.added_roles.[].person.related_documents.[].results.[].structured_results.[]` **Changed** **Breaking** ⚠️ * `glean.client.collections.delete_item()`: `response.collection.added_roles.[].person.related_documents.[].results.[].structured_results.[]` **Changed** **Breaking** ⚠️ * `glean.client.collections.update()`: * `request.added_roles.[].person.related_documents.[].results.[].structured_results.[]` **Changed** **Breaking** ⚠️ * `response.added_roles.[].person.related_documents.[].results.[].structured_results.[]` **Changed** **Breaking** ⚠️ * `glean.client.collections.update_item()`: `response.collection.added_roles.[].person.related_documents.[].results.[].structured_results.[]` **Changed** **Breaking** ⚠️ * `glean.client.collections.retrieve()`: `response.collection.added_roles.[].person.related_documents.[].results.[].structured_results.[]` **Changed** **Breaking** ⚠️ * `glean.client.collections.list()`: `response.collections.[].added_roles.[].person.related_documents.[].results.[].structured_results.[]` **Changed** **Breaking** ⚠️ * `glean.client.documents.retrieve()`: `response.documents.{}.[document].metadata.author.related_documents.[].results.[].structured_results.[]` **Changed** **Breaking** ⚠️ * `glean.client.documents.retrieve_by_facets()`: `response.documents.[].metadata.author.related_documents.[].results.[].structured_results.[]` **Changed** **Breaking** ⚠️ * `glean.client.insights.retrieve()`: `response` **Changed** **Breaking** ⚠️ * `glean.client.messages.retrieve()`: `response.search_response.results.[].structured_results.[]` **Changed** **Breaking** ⚠️ * `glean.client.pins.update()`: `response.attribution.related_documents.[].results.[].structured_results.[]` **Changed** **Breaking** ⚠️ * `glean.client.pins.retrieve()`: `response.pin.attribution.related_documents.[].results.[].structured_results.[]` **Changed** **Breaking** ⚠️ * `glean.client.pins.list()`: `response.pins.[].attribution.related_documents.[].results.[].structured_results.[]` **Changed** **Breaking** ⚠️ * `glean.client.pins.create()`: `response.attribution.related_documents.[].results.[].structured_results.[]` **Changed** **Breaking** ⚠️ * `glean.client.search.query_as_admin()`: * `request.source_document.metadata.author.related_documents.[].results.[].structured_results.[]` **Changed** **Breaking** ⚠️ * `response.results.[].structured_results.[]` **Changed** **Breaking** ⚠️ * `glean.client.search.autocomplete()`: `response.results.[].document.metadata.author.related_documents.[].results.[].structured_results.[]` **Changed** **Breaking** ⚠️ * `glean.client.search.retrieve_feed()`: `response.results.[].primary_entry.created_by.related_documents.[].results.[].structured_results.[]` **Changed** **Breaking** ⚠️ * `glean.client.search.recommendations()`: * `request.source_document.metadata.author.related_documents.[].results.[].structured_results.[]` **Changed** **Breaking** ⚠️ * `response.results.[].structured_results.[]` **Changed** **Breaking** ⚠️ * `glean.client.search.query()`: * `request.source_document.metadata.author.related_documents.[].results.[].structured_results.[]` **Changed** **Breaking** ⚠️ * `response.results.[].structured_results.[]` **Changed** **Breaking** ⚠️ * `glean.client.entities.list()`: `response.results.[].related_documents.[].results.[].structured_results.[]` **Changed** **Breaking** ⚠️ * `glean.client.entities.read_people()`: `response.results.[].related_documents.[].results.[].structured_results.[]` **Changed** **Breaking** ⚠️ * `glean.client.shortcuts.create()`: * `request.data.added_roles.[].person.related_documents.[].results.[].structured_results.[]` **Changed** **Breaking** ⚠️ * `response.shortcut.added_roles.[].person.related_documents.[].results.[].structured_results.[]` **Changed** **Breaking** ⚠️ * `glean.client.shortcuts.retrieve()`: `response.shortcut.added_roles.[].person.related_documents.[].results.[].structured_results.[]` **Changed** **Breaking** ⚠️ * `glean.client.shortcuts.list()`: `response.shortcuts.[].added_roles.[].person.related_documents.[].results.[].structured_results.[]` **Changed** **Breaking** ⚠️ * `glean.client.shortcuts.update()`: * `request.added_roles.[].person.related_documents.[].results.[].structured_results.[]` **Changed** **Breaking** ⚠️ * `response.shortcut.added_roles.[].person.related_documents.[].results.[].structured_results.[]` **Changed** **Breaking** ⚠️ * `glean.client.verification.add_reminder()`: `response.metadata.last_verifier.related_documents.[].results.[].structured_results.[]` **Changed** **Breaking** ⚠️ * `glean.client.verification.list()`: `response.documents.[].metadata.last_verifier.related_documents.[].results.[].structured_results.[]` **Changed** **Breaking** ⚠️ * `glean.client.verification.verify()`: `response.metadata.last_verifier.related_documents.[].results.[].structured_results.[]` **Changed** **Breaking** ⚠️ * `glean.client.governance.data.policies.download()`: `error.status[400]` **Added** * `glean.governance.createfindingsexport()`: * `request.filter.archived` **Added** * `response.filter.archived` **Added** * `glean.governance.listfindingsexports()`: `response.exports.[].filter.archived` **Added**
1 parent 36dc640 commit b4be626

Some content is hidden

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

45 files changed

+553
-3106
lines changed

.speakeasy/gen.lock

Lines changed: 77 additions & 90 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ generation:
3131
generateNewTests: true
3232
skipResponseBodyAssertions: true
3333
python:
34-
version: 0.11.25
34+
version: 0.11.26
3535
additionalDependencies:
3636
dev: {}
3737
main: {}
@@ -44,6 +44,7 @@ python:
4444
- Glean Technologies, Inc.
4545
baseErrorName: GleanBaseError
4646
clientServerStatusCodesAsErrors: true
47+
constFieldCasing: upper
4748
defaultErrorName: GleanError
4849
description: Python Client SDK Generated by Speakeasy.
4950
enableCustomCodeRegions: false

.speakeasy/glean-merged-spec.yaml

Lines changed: 50 additions & 43 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: 6c18cdaa8da169e191cc66885c326e2ea6d13644
5+
x-source-commit-sha: 10e7b173c275936a5985b926ecab5bd1d7a51593
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: c7a6190b989a16d24b879348f08e27efcb304566
25+
x-open-api-commit-sha: 904b6da49f1b9af89921117bfc542a2617ab4765
2626
x-speakeasy-name: 'Glean API'
2727
servers:
2828
- url: https://{instance}-be.glean.com
@@ -3350,6 +3350,8 @@ paths:
33503350
schema:
33513351
description: CSV of all the violations found for this policy.
33523352
type: string
3353+
"400":
3354+
description: Bad request error (e.g., continuous policies are not supported).
33533355
"403":
33543356
description: Permissions error
33553357
"500":
@@ -5293,39 +5295,6 @@ components:
52935295
items:
52945296
$ref: "#/components/schemas/FacetFilter"
52955297
description: Filters which restrict who should see this Collection. Values are taken from the corresponding filters in people search.
5296-
AnswerBoardMutableProperties:
5297-
allOf:
5298-
- $ref: "#/components/schemas/CollectionBaseMutableProperties"
5299-
AnswerBoard:
5300-
allOf:
5301-
- $ref: "#/components/schemas/AnswerBoardMutableProperties"
5302-
- $ref: "#/components/schemas/PermissionedObject"
5303-
- type: object
5304-
required:
5305-
- id
5306-
- description
5307-
properties:
5308-
id:
5309-
type: integer
5310-
description: The unique ID of the Answer Board.
5311-
createTime:
5312-
type: string
5313-
format: date-time
5314-
updateTime:
5315-
type: string
5316-
format: date-time
5317-
creator:
5318-
$ref: "#/components/schemas/Person"
5319-
updatedBy:
5320-
$ref: "#/components/schemas/Person"
5321-
itemCount:
5322-
type: integer
5323-
description: The number of items currently in the Answer Board. Separated from the actual items so we can grab the count without items.
5324-
roles:
5325-
type: array
5326-
description: A list of user roles for the Answer Board.
5327-
items:
5328-
$ref: "#/components/schemas/UserRoleSpecification"
53295298
Thumbnail:
53305299
properties:
53315300
photoId:
@@ -5622,9 +5591,6 @@ components:
56225591
$ref: "#/components/schemas/Person"
56235592
verification:
56245593
$ref: "#/components/schemas/Verification"
5625-
board:
5626-
$ref: "#/components/schemas/AnswerBoard"
5627-
description: The parent board this answer is in.
56285594
collections:
56295595
type: array
56305596
description: The collections to which the answer belongs.
@@ -5873,6 +5839,21 @@ components:
58735839
attendees:
58745840
$ref: "#/components/schemas/CalendarAttendees"
58755841
description: The attendee list, including their response status
5842+
isCancelled:
5843+
type: boolean
5844+
description: Whether the meeting has been cancelled
5845+
location:
5846+
type: string
5847+
description: The location/venue of the meeting
5848+
responseStatus:
5849+
type: string
5850+
description: The current user's response status (accepted, declined, tentativelyAccepted, none)
5851+
conferenceUri:
5852+
type: string
5853+
description: The meeting join link (Teams, Zoom, etc.)
5854+
conferenceProvider:
5855+
type: string
5856+
description: The conference provider (e.g., "Microsoft Teams", "Zoom")
58765857
AppResult:
58775858
required:
58785859
- datasource
@@ -6132,8 +6113,6 @@ components:
61326113
$ref: "#/components/schemas/AppResult"
61336114
collection:
61346115
$ref: "#/components/schemas/Collection"
6135-
answerBoard:
6136-
$ref: "#/components/schemas/AnswerBoard"
61376116
code:
61386117
$ref: "#/components/schemas/Code"
61396118
shortcut:
@@ -7617,6 +7596,9 @@ components:
76177596
chatId:
76187597
type: string
76197598
description: The id of the Chat that context should be retrieved from and messages added to. An empty id starts a new Chat, and the Chat is saved if saveChat is true.
7599+
agentConfig:
7600+
$ref: "#/components/schemas/AgentConfig"
7601+
description: Describes the agent that will execute the request.
76207602
ChatRestrictionFilters:
76217603
allOf:
76227604
- $ref: "#/components/schemas/RestrictionFilters"
@@ -7635,9 +7617,6 @@ components:
76357617
- $ref: "#/components/schemas/ChatRequestBase"
76367618
- type: object
76377619
properties:
7638-
agentConfig:
7639-
$ref: "#/components/schemas/AgentConfig"
7640-
description: Describes the agent that will execute the request.
76417620
inclusions:
76427621
$ref: "#/components/schemas/ChatRestrictionFilters"
76437622
description: A list of filters which only allows chat to access certain content.
@@ -8190,6 +8169,7 @@ components:
81908169
- DOCUMENT_CONTENT
81918170
- CUSTOM_METADATA
81928171
DocumentOrError:
8172+
x-omit-error-on-success: true
81938173
oneOf:
81948174
- $ref: "#/components/schemas/Document"
81958175
- type: object
@@ -8199,6 +8179,7 @@ components:
81998179
error:
82008180
type: string
82018181
description: The text for error, reason.
8182+
x-is-error-field: true
82028183
GetDocumentsResponse:
82038184
properties:
82048185
documents:
@@ -8718,6 +8699,30 @@ components:
87188699
$ref: "#/components/schemas/LabeledCountInfo"
87198700
dailyActiveUserTimeseries:
87208701
$ref: "#/components/schemas/LabeledCountInfo"
8702+
searchMonthlyActiveUserTimeseries:
8703+
$ref: "#/components/schemas/LabeledCountInfo"
8704+
searchWeeklyActiveUserTimeseries:
8705+
$ref: "#/components/schemas/LabeledCountInfo"
8706+
searchDailyActiveUserTimeseries:
8707+
$ref: "#/components/schemas/LabeledCountInfo"
8708+
assistantMonthlyActiveUserTimeseries:
8709+
$ref: "#/components/schemas/LabeledCountInfo"
8710+
assistantWeeklyActiveUserTimeseries:
8711+
$ref: "#/components/schemas/LabeledCountInfo"
8712+
assistantDailyActiveUserTimeseries:
8713+
$ref: "#/components/schemas/LabeledCountInfo"
8714+
agentsMonthlyActiveUserTimeseries:
8715+
$ref: "#/components/schemas/LabeledCountInfo"
8716+
agentsWeeklyActiveUserTimeseries:
8717+
$ref: "#/components/schemas/LabeledCountInfo"
8718+
agentsDailyActiveUserTimeseries:
8719+
$ref: "#/components/schemas/LabeledCountInfo"
8720+
searchesTimeseries:
8721+
$ref: "#/components/schemas/LabeledCountInfo"
8722+
assistantInteractionsTimeseries:
8723+
$ref: "#/components/schemas/LabeledCountInfo"
8724+
agentRunsTimeseries:
8725+
$ref: "#/components/schemas/LabeledCountInfo"
87218726
searchDatasourceCounts:
87228727
type: object
87238728
additionalProperties:
@@ -13045,6 +13050,8 @@ components:
1304513050
$ref: "#/components/schemas/DlpSeverity"
1304613051
timeRange:
1304713052
$ref: "#/components/schemas/TimeRangeFilter"
13053+
archived:
13054+
type: boolean
1304813055
ExportInfo:
1304913056
properties:
1305013057
createdBy:

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
speakeasyVersion: 1.675.4
1+
speakeasyVersion: 1.683.1
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:a38a82dd27fe58019cf7c85c19cbd402e93361c9df38ce070f2ca419eeab832f
6-
sourceBlobDigest: sha256:3840e8da76cb1e20b3c7f053acee46de0e4bcb58e17379e235342990ead4c8f8
5+
sourceRevisionDigest: sha256:0f8889945d176b664ec3aacb319688f57ea7783bb625e91f66c0d25743fe3ab1
6+
sourceBlobDigest: sha256:eb86957871be08ca1092f0328d7ff856e8b0bd92e7cee2edd73b5b64c39a8f30
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1765503976
9+
- speakeasy-sdk-regen-1765586442
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:a38a82dd27fe58019cf7c85c19cbd402e93361c9df38ce070f2ca419eeab832f
21-
sourceBlobDigest: sha256:3840e8da76cb1e20b3c7f053acee46de0e4bcb58e17379e235342990ead4c8f8
20+
sourceRevisionDigest: sha256:0f8889945d176b664ec3aacb319688f57ea7783bb625e91f66c0d25743fe3ab1
21+
sourceBlobDigest: sha256:eb86957871be08ca1092f0328d7ff856e8b0bd92e7cee2edd73b5b64c39a8f30
2222
codeSamplesNamespace: glean-api-specs-python-code-samples
23-
codeSamplesRevisionDigest: sha256:f411ba167f9247fde5f4d1684411db4c43e5c04dcdcf5a631b904551a5fed7b1
23+
codeSamplesRevisionDigest: sha256:ec92ede5a5a346f2a24e131b7fddb79c0da8e8d12fdea275912577c77fcb849c
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
@@ -478,4 +478,14 @@ Based on:
478478
### Generated
479479
- [python v0.11.25] .
480480
### Releases
481-
- [PyPI v0.11.25] https://pypi.org/project/glean-api-client/0.11.25 - .
481+
- [PyPI v0.11.25] https://pypi.org/project/glean-api-client/0.11.25 - .
482+
483+
## 2026-01-09 01:50:41
484+
### Changes
485+
Based on:
486+
- OpenAPI Doc
487+
- Speakeasy CLI 1.683.1 (2.792.2) https://github.com/speakeasy-api/speakeasy
488+
### Generated
489+
- [python v0.11.26] .
490+
### Releases
491+
- [PyPI v0.11.26] https://pypi.org/project/glean-api-client/0.11.26 - .

0 commit comments

Comments
 (0)