Skip to content

Commit 4d886bf

Browse files
Merge pull request #163 from gleanwork/speakeasy-sdk-regen-1787354779
chore: 🐝 Update SDK - Generate 0.16.1
2 parents 75b595e + fa384a6 commit 4d886bf

38 files changed

Lines changed: 488 additions & 221 deletions

.speakeasy/gen.lock

Lines changed: 78 additions & 78 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.16.0
37+
version: 0.16.1
3838
additionalDependencies:
3939
dev: {}
4040
main: {}

.speakeasy/glean-merged-spec.yaml

Lines changed: 110 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
openapi: 3.0.0
1+
openapi: 3.1.0
22
info:
33
version: "0.9.0"
44
title: Glean API
5-
x-source-commit-sha: ae20e37cc1d6786192c975f846fbe57527d94d7e
6-
x-open-api-commit-sha: 68a8939fe1b80a3a659ea78c778a5ddfdcb8e999
5+
x-source-commit-sha: 607c4a4291218dcc0edb79494bf20e6ac3362cf9
6+
x-open-api-commit-sha: efc6383f39292ed5941021d5bd19afeca4e04a38
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.
@@ -2709,7 +2709,15 @@ paths:
27092709
$ref: '#/components/schemas/ErrorResponse'
27102710
"500":
27112711
description: Internal server error
2712+
deprecated: true
27122713
x-visibility: Preview
2714+
x-glean-deprecated:
2715+
docs: https://developers.glean.com/api/platform-api/agents-overview
2716+
id: e01a59ea-5de0-481f-97b6-d28dd65379e6
2717+
introduced: "2026-08-25"
2718+
message: Use GET /api/agents/{agent_id} instead.
2719+
removal: "2027-04-15"
2720+
x-speakeasy-deprecation-message: "Deprecated on 2026-08-25, removal scheduled for 2027-04-15: Use GET /api/agents/{agent_id} instead."
27132721
x-speakeasy-group: client.agents
27142722
x-speakeasy-name-override: retrieve
27152723
post:
@@ -2802,7 +2810,15 @@ paths:
28022810
$ref: '#/components/schemas/ErrorResponse'
28032811
"500":
28042812
description: Internal server error
2813+
deprecated: true
28052814
x-visibility: Preview
2815+
x-glean-deprecated:
2816+
docs: https://developers.glean.com/api/platform-api/agents-overview
2817+
id: 9ca398ba-cf22-4523-9d9c-86e5f82d6ec7
2818+
introduced: "2026-08-25"
2819+
message: Use GET /api/agents/{agent_id}/schemas instead.
2820+
removal: "2027-04-15"
2821+
x-speakeasy-deprecation-message: "Deprecated on 2026-08-25, removal scheduled for 2027-04-15: Use GET /api/agents/{agent_id}/schemas instead."
28062822
x-speakeasy-group: client.agents
28072823
x-speakeasy-name-override: retrieveSchemas
28082824
/rest/api/v1/agents/{agent_id}/import:
@@ -2895,7 +2911,15 @@ paths:
28952911
$ref: '#/components/schemas/ErrorResponse'
28962912
"500":
28972913
description: Internal server error
2914+
deprecated: true
28982915
x-visibility: Preview
2916+
x-glean-deprecated:
2917+
docs: https://developers.glean.com/api/platform-api/agents-overview
2918+
id: 3ab6f4c0-0b97-4a0b-b5da-e888e4bb7706
2919+
introduced: "2026-08-25"
2920+
message: Use POST /api/agents/search instead.
2921+
removal: "2027-04-15"
2922+
x-speakeasy-deprecation-message: "Deprecated on 2026-08-25, removal scheduled for 2027-04-15: Use POST /api/agents/search instead."
28992923
x-speakeasy-group: client.agents
29002924
x-speakeasy-name-override: list
29012925
/rest/api/v1/agents/runs/stream:
@@ -2961,7 +2985,15 @@ paths:
29612985
$ref: '#/components/schemas/UnauthorizedAgentToolsError'
29622986
"500":
29632987
description: Internal server error
2988+
deprecated: true
29642989
x-visibility: Preview
2990+
x-glean-deprecated:
2991+
docs: https://developers.glean.com/api/platform-api/agents-overview
2992+
id: db3f42a5-8820-451e-b57a-14bf6ca3915c
2993+
introduced: "2026-08-25"
2994+
message: Use POST /api/agents/{agent_id}/runs with stream=true instead.
2995+
removal: "2027-04-15"
2996+
x-speakeasy-deprecation-message: "Deprecated on 2026-08-25, removal scheduled for 2027-04-15: Use POST /api/agents/{agent_id}/runs with stream=true instead."
29652997
x-speakeasy-group: client.agents
29662998
x-speakeasy-name-override: runStream
29672999
/rest/api/v1/agents/runs/wait:
@@ -3002,7 +3034,15 @@ paths:
30023034
$ref: '#/components/schemas/UnauthorizedAgentToolsError'
30033035
"500":
30043036
description: Internal server error
3037+
deprecated: true
30053038
x-visibility: Preview
3039+
x-glean-deprecated:
3040+
docs: https://developers.glean.com/api/platform-api/agents-overview
3041+
id: 683b90e1-48d3-4d7a-a32d-b48eb194fcf0
3042+
introduced: "2026-08-25"
3043+
message: Use POST /api/agents/{agent_id}/runs instead.
3044+
removal: "2027-04-15"
3045+
x-speakeasy-deprecation-message: "Deprecated on 2026-08-25, removal scheduled for 2027-04-15: Use POST /api/agents/{agent_id}/runs instead."
30063046
x-speakeasy-group: client.agents
30073047
x-speakeasy-name-override: run
30083048
/rest/api/v1/addcollectionitems:
@@ -6747,6 +6787,8 @@ components:
67476787
PlatformAgentsSearchRequest:
67486788
type: object
67496789
additionalProperties: false
6790+
example:
6791+
name: HR Policy Agent
67506792
properties:
67516793
name:
67526794
type: string
@@ -7070,6 +7112,12 @@ components:
70707112
additionalProperties: false
70717113
description: |
70727114
Request to run an agent. A request MUST supply either `messages` (a non-empty conversation) or `input` (for input-form triggered agents).
7115+
example:
7116+
messages:
7117+
- role: USER
7118+
content:
7119+
- text: What is our parental leave policy?
7120+
type: text
70737121
properties:
70747122
input:
70757123
type: object
@@ -7186,6 +7234,8 @@ components:
71867234
additionalProperties: false
71877235
required:
71887236
- input
7237+
example:
7238+
input: What is our parental leave policy?
71897239
properties:
71907240
input:
71917241
description: |
@@ -7327,8 +7377,9 @@ components:
73277377
type: string
73287378
minLength: 1
73297379
page_number:
7330-
type: integer
7331-
nullable: true
7380+
type:
7381+
- integer
7382+
- "null"
73327383
PlatformChatCitationAnnotation:
73337384
type: object
73347385
additionalProperties: false
@@ -7346,16 +7397,19 @@ components:
73467397
items:
73477398
$ref: "#/components/schemas/PlatformChatCitationSource"
73487399
start_index:
7349-
type: integer
7400+
type:
7401+
- integer
7402+
- "null"
73507403
minimum: 0
7351-
nullable: true
73527404
end_index:
7353-
type: integer
7405+
type:
7406+
- integer
7407+
- "null"
73547408
minimum: 0
7355-
nullable: true
73567409
snippets:
7357-
type: array
7358-
nullable: true
7410+
type:
7411+
- array
7412+
- "null"
73597413
items:
73607414
$ref: "#/components/schemas/PlatformChatCitationSnippet"
73617415
PlatformChatOutputTextContent:
@@ -7432,9 +7486,10 @@ components:
74327486
store:
74337487
type: boolean
74347488
conversation_id:
7435-
type: string
7489+
type:
7490+
- string
7491+
- "null"
74367492
minLength: 1
7437-
nullable: true
74387493
description: Present when the interaction was persisted.
74397494
request_id:
74407495
type: string
@@ -7554,8 +7609,9 @@ components:
75547609
type: boolean
75557610
description: Whether additional results are available.
75567611
next_cursor:
7557-
type: string
7558-
nullable: true
7612+
type:
7613+
- string
7614+
- "null"
75597615
description: Cursor for the next page, or null when no more results are available.
75607616
request_id:
75617617
type: string
@@ -7586,6 +7642,9 @@ components:
75867642
additionalProperties: false
75877643
required:
75887644
- source_urls
7645+
example:
7646+
source_urls:
7647+
- https://github.com/anthropics/skills/tree/main/skills/skill-creator
75897648
properties:
75907649
source_urls:
75917650
type: array
@@ -7678,6 +7737,8 @@ components:
76787737
additionalProperties: false
76797738
required:
76807739
- source_url
7740+
example:
7741+
source_url: https://github.com/anthropics/skills
76817742
properties:
76827743
source_url:
76837744
type: string
@@ -7800,6 +7861,8 @@ components:
78007861
additionalProperties: false
78017862
required:
78027863
- status
7864+
example:
7865+
status: ENABLED
78037866
properties:
78047867
status:
78057868
$ref: "#/components/schemas/PlatformSkillUpdateStatus"
@@ -7891,8 +7954,9 @@ components:
78917954
type: boolean
78927955
description: Whether additional results are available.
78937956
next_cursor:
7894-
type: string
7895-
nullable: true
7957+
type:
7958+
- string
7959+
- "null"
78967960
description: Cursor for the next page, or null when no more results are available.
78977961
request_id:
78987962
type: string
@@ -8011,11 +8075,11 @@ components:
80118075
default: 10
80128076
description: Number of results to return per page.
80138077
cursor:
8014-
type: string
8015-
nullable: true
8078+
type:
8079+
- string
8080+
- "null"
80168081
description: |
80178082
Opaque pagination token from a previous response's `next_cursor` field. Omit on the first request.
8018-
example: ""
80198083
datasources:
80208084
type: array
80218085
minItems: 1
@@ -8066,8 +8130,9 @@ components:
80668130
description: The datasource this result originates from.
80678131
example: confluence
80688132
document_type:
8069-
type: string
8070-
nullable: true
8133+
type:
8134+
- string
8135+
- "null"
80718136
minLength: 1
80728137
description: The document type within the datasource.
80738138
example: page
@@ -8076,14 +8141,16 @@ components:
80768141
owner:
80778142
$ref: "#/components/schemas/PlatformPersonReference"
80788143
updated_at:
8079-
type: string
8144+
type:
8145+
- string
8146+
- "null"
80808147
format: date-time
8081-
nullable: true
80828148
description: When the result was last modified.
80838149
created_at:
8084-
type: string
8150+
type:
8151+
- string
8152+
- "null"
80858153
format: date-time
8086-
nullable: true
80878154
description: When the result was created.
80888155
PlatformSearchResponse:
80898156
type: object
@@ -8105,8 +8172,9 @@ components:
81058172
type: boolean
81068173
description: Indicates whether additional pages of results are available.
81078174
next_cursor:
8108-
type: string
8109-
nullable: true
8175+
type:
8176+
- string
8177+
- "null"
81108178
description: Opaque token to pass as `cursor` in the next request.
81118179
request_id:
81128180
type: string
@@ -8283,8 +8351,9 @@ components:
82838351
type: boolean
82848352
description: Whether additional results are available.
82858353
next_cursor:
8286-
type: string
8287-
nullable: true
8354+
type:
8355+
- string
8356+
- "null"
82888357
description: Cursor for the next page, or null when no more results are available.
82898358
request_id:
82908359
type: string
@@ -8644,8 +8713,9 @@ components:
86448713
type: boolean
86458714
description: Whether additional results are available.
86468715
next_cursor:
8647-
type: string
8648-
nullable: true
8716+
type:
8717+
- string
8718+
- "null"
86498719
description: Cursor for the next page, or null when no more results are available.
86508720
request_id:
86518721
type: string
@@ -12896,15 +12966,18 @@ components:
1289612966
- EXECUTION
1289712967
- AUTHENTICATION_SUGGESTION
1289812968
- VOTE_SUGGESTION
12969+
- SANDBOX_EGRESS
1289912970
description: The type of request made to the user.
1290012971
x-enumDescriptions:
1290112972
EXECUTION: Request for approving execution of the tool.
1290212973
AUTHENTICATION_SUGGESTION: Request for authenticating to a tool, provided as a (tool) suggestion.
1290312974
VOTE_SUGGESTION: Suggestion to vote for enabling an available-but-not-enabled tool.
12975+
SANDBOX_EGRESS: Request to approve an outbound/egress call from the sandbox.
1290412976
x-speakeasy-enum-descriptions:
1290512977
EXECUTION: Request for approving execution of the tool.
1290612978
AUTHENTICATION_SUGGESTION: Request for authenticating to a tool, provided as a (tool) suggestion.
1290712979
VOTE_SUGGESTION: Suggestion to vote for enabling an available-but-not-enabled tool.
12980+
SANDBOX_EGRESS: Request to approve an outbound/egress call from the sandbox.
1290812981
requestId:
1290912982
type: string
1291012983
description: Unique identifier for this request.
@@ -13004,6 +13077,9 @@ components:
1300413077

1300513078
For VOTE_SUGGESTION requests:
1300613079
- voted: whether the user voted for this tool
13080+
13081+
For SANDBOX_EGRESS requests:
13082+
- isGranted: whether the sandbox egress call is approved
1300713083
x-visibility: Preview
1300813084
x-glean-experimental:
1300913085
id: 3eae3ee7-2c06-4027-be14-98260a3ce608
@@ -13590,7 +13666,7 @@ components:
1359013666
isDraft:
1359113667
type: boolean
1359213668
description: |
13593-
When true, validates and stores a draft preview without publishing (used for PR preview links). Takes precedence over `syncMode`: when `isDraft` is true, `syncMode` is ignored.
13669+
Deprecated. Draft mutation semantics are not supported for transient previews. Use transient and parentWorkflowId instead.
1359413670
required:
1359513671
- bundle
1359613672
ImportAgentStatus:
@@ -18075,6 +18151,7 @@ components:
1807518151
type: array
1807618152
items:
1807718153
$ref: '#/components/schemas/DebugDocumentRequest'
18154+
maxItems: 100
1807818155
description: Documents to fetch debug information for
1807918156
required:
1808018157
- debugDocuments

0 commit comments

Comments
 (0)