Skip to content

Commit 0fe5fca

Browse files
github-actions[bot]speakeasybotspeakeasy-github[bot]
authored
chore: 🐝 Update SDK - Generate 0.17.1 (#166)
* ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.796.3 * empty commit to trigger [run-tests] workflow --------- Co-authored-by: speakeasybot <bot@speakeasyapi.dev> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
1 parent e4e312c commit 0fe5fca

37 files changed

Lines changed: 336 additions & 332 deletions

.speakeasy/gen.lock

Lines changed: 74 additions & 73 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.17.0
37+
version: 0.17.1
3838
additionalDependencies:
3939
dev: {}
4040
main: {}

.speakeasy/glean-merged-spec.yaml

Lines changed: 44 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ openapi: 3.1.0
22
info:
33
version: "0.9.0"
44
title: Glean API
5-
x-source-commit-sha: 5466f502134b80b23f38908bc64369113503fdea
6-
x-open-api-commit-sha: deb9f3c416b47e6ae3ae9af44a4b6a8ba8f61089
5+
x-source-commit-sha: 6c454c6b185ebe58e74e781a36041222f47897e0
6+
x-open-api-commit-sha: 0df5939226dc378b392825655b036df1e08909a7
77
description: |
88
# Introduction
99
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.
@@ -90,6 +90,7 @@ paths:
9090
name: agent_id
9191
description: ID of the agent to retrieve.
9292
required: true
93+
example: "{agent_id}"
9394
schema:
9495
type: string
9596
minLength: 1
@@ -134,6 +135,7 @@ paths:
134135
name: agent_id
135136
description: ID of the agent whose schemas should be retrieved.
136137
required: true
138+
example: "{agent_id}"
137139
schema:
138140
type: string
139141
minLength: 1
@@ -186,6 +188,7 @@ paths:
186188
name: agent_id
187189
description: ID of the agent to run.
188190
required: true
191+
example: "{agent_id}"
189192
schema:
190193
type: string
191194
minLength: 1
@@ -255,7 +258,7 @@ paths:
255258
- Chat
256259
summary: Create a chat response
257260
description: |
258-
Run an assistant turn. Set `stream` to true to receive server-sent events; otherwise the response is a typed JSON response object.
261+
Run an assistant turn. The default response is JSON. HTTP clients request server-sent events by setting `stream` to true in the JSON body. An `Accept: text/event-stream` header does not replace `stream`.
259262
operationId: platform-chat-create
260263
x-visibility: Public
261264
x-glean-experimental:
@@ -586,6 +589,7 @@ paths:
586589
in: path
587590
required: true
588591
description: Glean skill ID.
592+
example: "{skill_id}"
589593
schema:
590594
type: string
591595
minLength: 1
@@ -643,6 +647,7 @@ paths:
643647
in: path
644648
required: true
645649
description: Glean skill ID.
650+
example: "{skill_id}"
646651
schema:
647652
type: string
648653
minLength: 1
@@ -685,6 +690,7 @@ paths:
685690
in: path
686691
required: true
687692
description: Glean skill ID.
693+
example: "{skill_id}"
688694
schema:
689695
type: string
690696
minLength: 1
@@ -732,6 +738,7 @@ paths:
732738
in: path
733739
required: true
734740
description: Glean skill ID.
741+
example: "{skill_id}"
735742
schema:
736743
type: string
737744
minLength: 1
@@ -785,6 +792,7 @@ paths:
785792
in: path
786793
required: true
787794
description: ID of the GitHub-imported skill to sync.
795+
example: "{skill_id}"
788796
schema:
789797
type: string
790798
minLength: 1
@@ -836,6 +844,7 @@ paths:
836844
in: path
837845
required: true
838846
description: Glean skill ID.
847+
example: "{skill_id}"
839848
schema:
840849
type: string
841850
minLength: 1
@@ -893,6 +902,7 @@ paths:
893902
in: path
894903
required: true
895904
description: Glean skill ID.
905+
example: "{skill_id}"
896906
schema:
897907
type: string
898908
minLength: 1
@@ -955,13 +965,15 @@ paths:
955965
in: path
956966
required: true
957967
description: Glean skill ID.
968+
example: "{skill_id}"
958969
schema:
959970
type: string
960971
minLength: 1
961972
- name: version
962973
in: path
963974
required: true
964975
description: Major version number.
976+
example: 1
965977
schema:
966978
type: integer
967979
minimum: 1
@@ -1009,13 +1021,15 @@ paths:
10091021
in: path
10101022
required: true
10111023
description: Glean skill ID.
1024+
example: "{skill_id}"
10121025
schema:
10131026
type: string
10141027
minLength: 1
10151028
- name: version
10161029
in: path
10171030
required: true
10181031
description: Major version number.
1032+
example: 1
10191033
schema:
10201034
type: integer
10211035
minimum: 1
@@ -1325,6 +1339,7 @@ paths:
13251339
name: trigger_id
13261340
description: ID of the trigger to retrieve.
13271341
required: true
1342+
example: "{trigger_id}"
13281343
schema:
13291344
type: string
13301345
minLength: 1
@@ -1372,6 +1387,7 @@ paths:
13721387
name: trigger_id
13731388
description: ID of the trigger to update.
13741389
required: true
1390+
example: "{trigger_id}"
13751391
schema:
13761392
type: string
13771393
minLength: 1
@@ -1426,6 +1442,7 @@ paths:
14261442
name: trigger_id
14271443
description: ID of the trigger to delete.
14281444
required: true
1445+
example: "{trigger_id}"
14291446
schema:
14301447
type: string
14311448
minLength: 1
@@ -1469,6 +1486,7 @@ paths:
14691486
name: trigger_id
14701487
description: ID of the trigger whose events to search.
14711488
required: true
1489+
example: "{trigger_id}"
14721490
schema:
14731491
type: string
14741492
minLength: 1
@@ -1585,6 +1603,7 @@ paths:
15851603
name: preset_id
15861604
description: ID of the preset to retrieve.
15871605
required: true
1606+
example: "{preset_id}"
15881607
schema:
15891608
type: string
15901609
minLength: 1
@@ -1632,13 +1651,15 @@ paths:
16321651
name: preset_id
16331652
description: ID of the preset the input belongs to.
16341653
required: true
1654+
example: "{preset_id}"
16351655
schema:
16361656
type: string
16371657
minLength: 1
16381658
- in: query
16391659
name: field
16401660
description: Field identifier of the input whose values to list.
16411661
required: true
1662+
example: "{field}"
16421663
schema:
16431664
type: string
16441665
minLength: 1
@@ -1693,6 +1714,7 @@ paths:
16931714
name: preset_id
16941715
description: ID of the preset to preview.
16951716
required: true
1717+
example: "{preset_id}"
16961718
schema:
16971719
type: string
16981720
minLength: 1
@@ -1737,7 +1759,7 @@ paths:
17371759
- Chat
17381760
summary: SDK-only logical operation. HTTP clients must call the base path; the URL fragment is not sent. Create a chat response
17391761
description: |
1740-
SDK-only logical operation. HTTP clients must call the base path; the URL fragment is not sent. Run an assistant turn. Set `stream` to true to receive server-sent events; otherwise the response is a typed JSON response object.
1762+
SDK-only logical operation. HTTP clients must call the base path; the URL fragment is not sent. Run an assistant turn. The default response is JSON. HTTP clients request server-sent events by setting `stream` to true in the JSON body. An `Accept: text/event-stream` header does not replace `stream`.
17411763
operationId: platform-chat-create-stream
17421764
x-visibility: Public
17431765
x-glean-experimental:
@@ -7293,7 +7315,7 @@ components:
72937315
stream:
72947316
type: boolean
72957317
description: |
7296-
When true, respond with `text/event-stream`. When false or omitted, respond with `application/json`.
7318+
When true, the HTTP response is `text/event-stream`. When false or omitted, the HTTP response is `application/json`.
72977319
default: false
72987320
store:
72997321
type: boolean
@@ -8279,14 +8301,6 @@ components:
82798301
- query
82808302
example:
82818303
query: quarterly planning 2026
8282-
datasources:
8283-
- confluence
8284-
- google_drive
8285-
filters:
8286-
- field: type
8287-
values:
8288-
- spreadsheet
8289-
- presentation
82908304
properties:
82918305
query:
82928306
type: string
@@ -8589,6 +8603,12 @@ components:
85898603
required:
85908604
- preset_id
85918605
- delivery
8606+
example:
8607+
preset_id: GITHUB_1
8608+
inputs:
8609+
repository: "{repository}"
8610+
delivery:
8611+
webhook_url: https://example.com/webhook
85928612
properties:
85938613
preset_id:
85948614
type: string
@@ -8760,6 +8780,11 @@ components:
87608780
type: object
87618781
additionalProperties: false
87628782
description: Partial update. Only the supplied fields are changed.
8783+
example:
8784+
inputs:
8785+
repository: "{repository}"
8786+
delivery:
8787+
webhook_url: https://example.com/webhook
87638788
properties:
87648789
status:
87658790
$ref: "#/components/schemas/PlatformTriggerStatus"
@@ -8778,6 +8803,8 @@ components:
87788803
PlatformTriggerEventSearchRequest:
87798804
type: object
87808805
additionalProperties: false
8806+
example:
8807+
page_size: 10
87818808
properties:
87828809
page_size:
87838810
type: integer
@@ -9044,6 +9071,10 @@ components:
90449071
PlatformTriggerPresetEventSearchRequest:
90459072
type: object
90469073
additionalProperties: false
9074+
example:
9075+
inputs:
9076+
repository: "{repository}"
9077+
page_size: 10
90479078
properties:
90489079
inputs:
90499080
type: object

.speakeasy/tests.arazzo.yaml

Lines changed: 9 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -158808,14 +158808,6 @@ workflows:
158808158808
requestBody:
158809158809
contentType: application/json
158810158810
payload:
158811-
datasources:
158812-
- confluence
158813-
- google_drive
158814-
filters:
158815-
- field: type
158816-
values:
158817-
- spreadsheet
158818-
- presentation
158819158811
page_size: 10
158820158812
query: quarterly planning 2026
158821158813
successCriteria:
@@ -159296,13 +159288,9 @@ workflows:
159296159288
contentType: application/json
159297159289
payload:
159298159290
delivery:
159299-
auth:
159300-
secret: secret_test_123
159301-
type: BEARER
159302-
webhook_url: https://customer.app/webhook
159303-
description: Reviews I am tagged on, sent to my team's review channel
159291+
webhook_url: https://example.com/webhook
159304159292
inputs:
159305-
repository: acme/payments-api
159293+
repository: '{repository}'
159306159294
preset_id: GITHUB_1
159307159295
successCriteria:
159308159296
- condition: $statusCode == 201
@@ -159359,14 +159347,9 @@ workflows:
159359159347
contentType: application/json
159360159348
payload:
159361159349
delivery:
159362-
auth:
159363-
secret: secret_test_123
159364-
type: BEARER
159365-
webhook_url: https://customer.app/webhook
159366-
description: Reviews I am tagged on, sent to my team's review channel
159350+
webhook_url: https://example.com/webhook
159367159351
inputs:
159368-
repository: acme/payments-api
159369-
status: ENABLED
159352+
repository: '{repository}'
159370159353
successCriteria:
159371159354
- condition: $statusCode == 200
159372159355
- condition: $response.header.Content-Type == application/json
@@ -159391,6 +159374,10 @@ workflows:
159391159374
condition: |
159392159375
{"results":[{"event_type":"DOCUMENT_CHANGE","datasource":"GITHUB","reason":"REVIEW_REQUESTED","doc_type":"pull","doc_id":"<id>","view_url":"https://silent-omelet.biz","title":"<value>","event_time":"2024-06-12T22:23:25.274Z"}],"has_more":false,"request_id":"<id>"}
159393159376
type: simple
159377+
requestBody:
159378+
contentType: application/json
159379+
payload:
159380+
page_size: 10
159394159381
x-speakeasy-test-group: triggers
159395159382
x-speakeasy-test-rebuild: true
159396159383
- workflowId: platform-trigger-presets-list
@@ -159459,7 +159446,7 @@ workflows:
159459159446
contentType: application/json
159460159447
payload:
159461159448
inputs:
159462-
repository: acme/payments-api
159449+
repository: '{repository}'
159463159450
page_size: 10
159464159451
successCriteria:
159465159452
- condition: $statusCode == 200

.speakeasy/workflow.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ speakeasyVersion: 1.796.3
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:c3b4f0e688c6d223d13c83e67e70dc820492ca5fcd414813d666f6fd0f7476f0
6-
sourceBlobDigest: sha256:bded81b38b07e32713883fe38eb46f3f2f1052ed0d3d8f8e3668f14d950eacd3
5+
sourceRevisionDigest: sha256:e247e871123d34059c563050f008462386b91706ae3dff64ae6d76ba1db41c47
6+
sourceBlobDigest: sha256:492a86ef598c2a97eeabd40c94fcbbdfe57c36e0381cf8bb18d91b8f6f8f135f
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:c3b4f0e688c6d223d13c83e67e70dc820492ca5fcd414813d666f6fd0f7476f0
20-
sourceBlobDigest: sha256:bded81b38b07e32713883fe38eb46f3f2f1052ed0d3d8f8e3668f14d950eacd3
19+
sourceRevisionDigest: sha256:e247e871123d34059c563050f008462386b91706ae3dff64ae6d76ba1db41c47
20+
sourceBlobDigest: sha256:492a86ef598c2a97eeabd40c94fcbbdfe57c36e0381cf8bb18d91b8f6f8f135f
2121
codeSamplesNamespace: glean-api-specs-python-code-samples
22-
codeSamplesRevisionDigest: sha256:c631f899a17bf6ae9a7d7762deee068886d03e83282729e1858cd955c45171b0
22+
codeSamplesRevisionDigest: sha256:c6b6b63f8baba5135c3cb416427836a357e7a8506460c0c310e8fd0fe3c39f48
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
@@ -858,4 +858,14 @@ Based on:
858858
### Generated
859859
- [python v0.17.0] .
860860
### Releases
861-
- [PyPI v0.17.0] https://pypi.org/project/glean-api-client/0.17.0 - .
861+
- [PyPI v0.17.0] https://pypi.org/project/glean-api-client/0.17.0 - .
862+
863+
## 2026-09-02 19:43:03
864+
### Changes
865+
Based on:
866+
- OpenAPI Doc
867+
- Speakeasy CLI 1.796.3 (2.934.1) https://github.com/speakeasy-api/speakeasy
868+
### Generated
869+
- [python v0.17.1] .
870+
### Releases
871+
- [PyPI v0.17.1] https://pypi.org/project/glean-api-client/0.17.1 - .

0 commit comments

Comments
 (0)