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
147 changes: 74 additions & 73 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

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.17.0
version: 0.17.1
additionalDependencies:
dev: {}
main: {}
Expand Down
57 changes: 44 additions & 13 deletions .speakeasy/glean-merged-spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ openapi: 3.1.0
info:
version: "0.9.0"
title: Glean API
x-source-commit-sha: 5466f502134b80b23f38908bc64369113503fdea
x-open-api-commit-sha: deb9f3c416b47e6ae3ae9af44a4b6a8ba8f61089
x-source-commit-sha: 6c454c6b185ebe58e74e781a36041222f47897e0
x-open-api-commit-sha: 0df5939226dc378b392825655b036df1e08909a7
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 Down Expand Up @@ -90,6 +90,7 @@ paths:
name: agent_id
description: ID of the agent to retrieve.
required: true
example: "{agent_id}"
schema:
type: string
minLength: 1
Expand Down Expand Up @@ -134,6 +135,7 @@ paths:
name: agent_id
description: ID of the agent whose schemas should be retrieved.
required: true
example: "{agent_id}"
schema:
type: string
minLength: 1
Expand Down Expand Up @@ -186,6 +188,7 @@ paths:
name: agent_id
description: ID of the agent to run.
required: true
example: "{agent_id}"
schema:
type: string
minLength: 1
Expand Down Expand Up @@ -255,7 +258,7 @@ paths:
- Chat
summary: Create a chat response
description: |
Run an assistant turn. Set `stream` to true to receive server-sent events; otherwise the response is a typed JSON response object.
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`.
operationId: platform-chat-create
x-visibility: Public
x-glean-experimental:
Expand Down Expand Up @@ -586,6 +589,7 @@ paths:
in: path
required: true
description: Glean skill ID.
example: "{skill_id}"
schema:
type: string
minLength: 1
Expand Down Expand Up @@ -643,6 +647,7 @@ paths:
in: path
required: true
description: Glean skill ID.
example: "{skill_id}"
schema:
type: string
minLength: 1
Expand Down Expand Up @@ -685,6 +690,7 @@ paths:
in: path
required: true
description: Glean skill ID.
example: "{skill_id}"
schema:
type: string
minLength: 1
Expand Down Expand Up @@ -732,6 +738,7 @@ paths:
in: path
required: true
description: Glean skill ID.
example: "{skill_id}"
schema:
type: string
minLength: 1
Expand Down Expand Up @@ -785,6 +792,7 @@ paths:
in: path
required: true
description: ID of the GitHub-imported skill to sync.
example: "{skill_id}"
schema:
type: string
minLength: 1
Expand Down Expand Up @@ -836,6 +844,7 @@ paths:
in: path
required: true
description: Glean skill ID.
example: "{skill_id}"
schema:
type: string
minLength: 1
Expand Down Expand Up @@ -893,6 +902,7 @@ paths:
in: path
required: true
description: Glean skill ID.
example: "{skill_id}"
schema:
type: string
minLength: 1
Expand Down Expand Up @@ -955,13 +965,15 @@ paths:
in: path
required: true
description: Glean skill ID.
example: "{skill_id}"
schema:
type: string
minLength: 1
- name: version
in: path
required: true
description: Major version number.
example: 1
schema:
type: integer
minimum: 1
Expand Down Expand Up @@ -1009,13 +1021,15 @@ paths:
in: path
required: true
description: Glean skill ID.
example: "{skill_id}"
schema:
type: string
minLength: 1
- name: version
in: path
required: true
description: Major version number.
example: 1
schema:
type: integer
minimum: 1
Expand Down Expand Up @@ -1325,6 +1339,7 @@ paths:
name: trigger_id
description: ID of the trigger to retrieve.
required: true
example: "{trigger_id}"
schema:
type: string
minLength: 1
Expand Down Expand Up @@ -1372,6 +1387,7 @@ paths:
name: trigger_id
description: ID of the trigger to update.
required: true
example: "{trigger_id}"
schema:
type: string
minLength: 1
Expand Down Expand Up @@ -1426,6 +1442,7 @@ paths:
name: trigger_id
description: ID of the trigger to delete.
required: true
example: "{trigger_id}"
schema:
type: string
minLength: 1
Expand Down Expand Up @@ -1469,6 +1486,7 @@ paths:
name: trigger_id
description: ID of the trigger whose events to search.
required: true
example: "{trigger_id}"
schema:
type: string
minLength: 1
Expand Down Expand Up @@ -1585,6 +1603,7 @@ paths:
name: preset_id
description: ID of the preset to retrieve.
required: true
example: "{preset_id}"
schema:
type: string
minLength: 1
Expand Down Expand Up @@ -1632,13 +1651,15 @@ paths:
name: preset_id
description: ID of the preset the input belongs to.
required: true
example: "{preset_id}"
schema:
type: string
minLength: 1
- in: query
name: field
description: Field identifier of the input whose values to list.
required: true
example: "{field}"
schema:
type: string
minLength: 1
Expand Down Expand Up @@ -1693,6 +1714,7 @@ paths:
name: preset_id
description: ID of the preset to preview.
required: true
example: "{preset_id}"
schema:
type: string
minLength: 1
Expand Down Expand Up @@ -1737,7 +1759,7 @@ paths:
- Chat
summary: SDK-only logical operation. HTTP clients must call the base path; the URL fragment is not sent. Create a chat response
description: |
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.
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`.
operationId: platform-chat-create-stream
x-visibility: Public
x-glean-experimental:
Expand Down Expand Up @@ -7293,7 +7315,7 @@ components:
stream:
type: boolean
description: |
When true, respond with `text/event-stream`. When false or omitted, respond with `application/json`.
When true, the HTTP response is `text/event-stream`. When false or omitted, the HTTP response is `application/json`.
default: false
store:
type: boolean
Expand Down Expand Up @@ -8279,14 +8301,6 @@ components:
- query
example:
query: quarterly planning 2026
datasources:
- confluence
- google_drive
filters:
- field: type
values:
- spreadsheet
- presentation
properties:
query:
type: string
Expand Down Expand Up @@ -8589,6 +8603,12 @@ components:
required:
- preset_id
- delivery
example:
preset_id: GITHUB_1
inputs:
repository: "{repository}"
delivery:
webhook_url: https://example.com/webhook
properties:
preset_id:
type: string
Expand Down Expand Up @@ -8760,6 +8780,11 @@ components:
type: object
additionalProperties: false
description: Partial update. Only the supplied fields are changed.
example:
inputs:
repository: "{repository}"
delivery:
webhook_url: https://example.com/webhook
properties:
status:
$ref: "#/components/schemas/PlatformTriggerStatus"
Expand All @@ -8778,6 +8803,8 @@ components:
PlatformTriggerEventSearchRequest:
type: object
additionalProperties: false
example:
page_size: 10
properties:
page_size:
type: integer
Expand Down Expand Up @@ -9044,6 +9071,10 @@ components:
PlatformTriggerPresetEventSearchRequest:
type: object
additionalProperties: false
example:
inputs:
repository: "{repository}"
page_size: 10
properties:
inputs:
type: object
Expand Down
31 changes: 9 additions & 22 deletions .speakeasy/tests.arazzo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -158808,14 +158808,6 @@ workflows:
requestBody:
contentType: application/json
payload:
datasources:
- confluence
- google_drive
filters:
- field: type
values:
- spreadsheet
- presentation
page_size: 10
query: quarterly planning 2026
successCriteria:
Expand Down Expand Up @@ -159296,13 +159288,9 @@ workflows:
contentType: application/json
payload:
delivery:
auth:
secret: secret_test_123
type: BEARER
webhook_url: https://customer.app/webhook
description: Reviews I am tagged on, sent to my team's review channel
webhook_url: https://example.com/webhook
inputs:
repository: acme/payments-api
repository: '{repository}'
preset_id: GITHUB_1
successCriteria:
- condition: $statusCode == 201
Expand Down Expand Up @@ -159359,14 +159347,9 @@ workflows:
contentType: application/json
payload:
delivery:
auth:
secret: secret_test_123
type: BEARER
webhook_url: https://customer.app/webhook
description: Reviews I am tagged on, sent to my team's review channel
webhook_url: https://example.com/webhook
inputs:
repository: acme/payments-api
status: ENABLED
repository: '{repository}'
successCriteria:
- condition: $statusCode == 200
- condition: $response.header.Content-Type == application/json
Expand All @@ -159391,6 +159374,10 @@ workflows:
condition: |
{"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>"}
type: simple
requestBody:
contentType: application/json
payload:
page_size: 10
x-speakeasy-test-group: triggers
x-speakeasy-test-rebuild: true
- workflowId: platform-trigger-presets-list
Expand Down Expand Up @@ -159459,7 +159446,7 @@ workflows:
contentType: application/json
payload:
inputs:
repository: acme/payments-api
repository: '{repository}'
page_size: 10
successCriteria:
- condition: $statusCode == 200
Expand Down
10 changes: 5 additions & 5 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ speakeasyVersion: 1.796.3
sources:
Glean API:
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:c3b4f0e688c6d223d13c83e67e70dc820492ca5fcd414813d666f6fd0f7476f0
sourceBlobDigest: sha256:bded81b38b07e32713883fe38eb46f3f2f1052ed0d3d8f8e3668f14d950eacd3
sourceRevisionDigest: sha256:e247e871123d34059c563050f008462386b91706ae3dff64ae6d76ba1db41c47
sourceBlobDigest: sha256:492a86ef598c2a97eeabd40c94fcbbdfe57c36e0381cf8bb18d91b8f6f8f135f
tags:
- latest
Glean Client API:
Expand All @@ -16,10 +16,10 @@ targets:
glean:
source: Glean API
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:c3b4f0e688c6d223d13c83e67e70dc820492ca5fcd414813d666f6fd0f7476f0
sourceBlobDigest: sha256:bded81b38b07e32713883fe38eb46f3f2f1052ed0d3d8f8e3668f14d950eacd3
sourceRevisionDigest: sha256:e247e871123d34059c563050f008462386b91706ae3dff64ae6d76ba1db41c47
sourceBlobDigest: sha256:492a86ef598c2a97eeabd40c94fcbbdfe57c36e0381cf8bb18d91b8f6f8f135f
codeSamplesNamespace: glean-api-specs-python-code-samples
codeSamplesRevisionDigest: sha256:c631f899a17bf6ae9a7d7762deee068886d03e83282729e1858cd955c45171b0
codeSamplesRevisionDigest: sha256:c6b6b63f8baba5135c3cb416427836a357e7a8506460c0c310e8fd0fe3c39f48
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 @@ -858,4 +858,14 @@ Based on:
### Generated
- [python v0.17.0] .
### Releases
- [PyPI v0.17.0] https://pypi.org/project/glean-api-client/0.17.0 - .
- [PyPI v0.17.0] https://pypi.org/project/glean-api-client/0.17.0 - .

## 2026-09-02 19:43:03
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.796.3 (2.934.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.17.1] .
### Releases
- [PyPI v0.17.1] https://pypi.org/project/glean-api-client/0.17.1 - .
Loading
Loading