Skip to content
Open
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
167 changes: 77 additions & 90 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,15 @@ generation:
generateNewTests: true
skipResponseBodyAssertions: true
go:
version: 0.11.18
version: 0.11.19
additionalDependencies: {}
allowUnknownFieldsInWeakUnions: false
baseErrorName: GleanError
clientServerStatusCodesAsErrors: true
defaultErrorName: APIError
envVarPrefix: GLEAN
flattenGlobalSecurity: true
forwardCompatibleEnumsByDefault: false
imports:
option: openapi
paths:
Expand Down
93 changes: 50 additions & 43 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: 6c18cdaa8da169e191cc66885c326e2ea6d13644
x-source-commit-sha: 447e640999b874cebc334cdcf4ddbc0996fb73da
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: c7a6190b989a16d24b879348f08e27efcb304566
x-open-api-commit-sha: c140483d90a8b671eaaa5580ba2003ed962d7bbf
x-speakeasy-name: 'Glean API'
servers:
- url: https://{instance}-be.glean.com
Expand Down Expand Up @@ -3350,6 +3350,8 @@ paths:
schema:
description: CSV of all the violations found for this policy.
type: string
"400":
description: Bad request error (e.g., continuous policies are not supported).
"403":
description: Permissions error
"500":
Expand Down Expand Up @@ -5293,39 +5295,6 @@ components:
items:
$ref: "#/components/schemas/FacetFilter"
description: Filters which restrict who should see this Collection. Values are taken from the corresponding filters in people search.
AnswerBoardMutableProperties:
allOf:
- $ref: "#/components/schemas/CollectionBaseMutableProperties"
AnswerBoard:
allOf:
- $ref: "#/components/schemas/AnswerBoardMutableProperties"
- $ref: "#/components/schemas/PermissionedObject"
- type: object
required:
- id
- description
properties:
id:
type: integer
description: The unique ID of the Answer Board.
createTime:
type: string
format: date-time
updateTime:
type: string
format: date-time
creator:
$ref: "#/components/schemas/Person"
updatedBy:
$ref: "#/components/schemas/Person"
itemCount:
type: integer
description: The number of items currently in the Answer Board. Separated from the actual items so we can grab the count without items.
roles:
type: array
description: A list of user roles for the Answer Board.
items:
$ref: "#/components/schemas/UserRoleSpecification"
Thumbnail:
properties:
photoId:
Expand Down Expand Up @@ -5622,9 +5591,6 @@ components:
$ref: "#/components/schemas/Person"
verification:
$ref: "#/components/schemas/Verification"
board:
$ref: "#/components/schemas/AnswerBoard"
description: The parent board this answer is in.
collections:
type: array
description: The collections to which the answer belongs.
Expand Down Expand Up @@ -5873,6 +5839,21 @@ components:
attendees:
$ref: "#/components/schemas/CalendarAttendees"
description: The attendee list, including their response status
isCancelled:
type: boolean
description: Whether the meeting has been cancelled
location:
type: string
description: The location/venue of the meeting
responseStatus:
type: string
description: The current user's response status (accepted, declined, tentativelyAccepted, none)
conferenceUri:
type: string
description: The meeting join link (Teams, Zoom, etc.)
conferenceProvider:
type: string
description: The conference provider (e.g., "Microsoft Teams", "Zoom")
AppResult:
required:
- datasource
Expand Down Expand Up @@ -6132,8 +6113,6 @@ components:
$ref: "#/components/schemas/AppResult"
collection:
$ref: "#/components/schemas/Collection"
answerBoard:
$ref: "#/components/schemas/AnswerBoard"
code:
$ref: "#/components/schemas/Code"
shortcut:
Expand Down Expand Up @@ -7617,6 +7596,9 @@ components:
chatId:
type: string
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.
agentConfig:
$ref: "#/components/schemas/AgentConfig"
description: Describes the agent that will execute the request.
ChatRestrictionFilters:
allOf:
- $ref: "#/components/schemas/RestrictionFilters"
Expand All @@ -7635,9 +7617,6 @@ components:
- $ref: "#/components/schemas/ChatRequestBase"
- type: object
properties:
agentConfig:
$ref: "#/components/schemas/AgentConfig"
description: Describes the agent that will execute the request.
inclusions:
$ref: "#/components/schemas/ChatRestrictionFilters"
description: A list of filters which only allows chat to access certain content.
Expand Down Expand Up @@ -8190,6 +8169,7 @@ components:
- DOCUMENT_CONTENT
- CUSTOM_METADATA
DocumentOrError:
x-omit-error-on-success: true
oneOf:
- $ref: "#/components/schemas/Document"
- type: object
Expand All @@ -8199,6 +8179,7 @@ components:
error:
type: string
description: The text for error, reason.
x-is-error-field: true
GetDocumentsResponse:
properties:
documents:
Expand Down Expand Up @@ -8718,6 +8699,30 @@ components:
$ref: "#/components/schemas/LabeledCountInfo"
dailyActiveUserTimeseries:
$ref: "#/components/schemas/LabeledCountInfo"
searchMonthlyActiveUserTimeseries:
$ref: "#/components/schemas/LabeledCountInfo"
searchWeeklyActiveUserTimeseries:
$ref: "#/components/schemas/LabeledCountInfo"
searchDailyActiveUserTimeseries:
$ref: "#/components/schemas/LabeledCountInfo"
assistantMonthlyActiveUserTimeseries:
$ref: "#/components/schemas/LabeledCountInfo"
assistantWeeklyActiveUserTimeseries:
$ref: "#/components/schemas/LabeledCountInfo"
assistantDailyActiveUserTimeseries:
$ref: "#/components/schemas/LabeledCountInfo"
agentsMonthlyActiveUserTimeseries:
$ref: "#/components/schemas/LabeledCountInfo"
agentsWeeklyActiveUserTimeseries:
$ref: "#/components/schemas/LabeledCountInfo"
agentsDailyActiveUserTimeseries:
$ref: "#/components/schemas/LabeledCountInfo"
searchesTimeseries:
$ref: "#/components/schemas/LabeledCountInfo"
assistantInteractionsTimeseries:
$ref: "#/components/schemas/LabeledCountInfo"
agentRunsTimeseries:
$ref: "#/components/schemas/LabeledCountInfo"
searchDatasourceCounts:
type: object
additionalProperties:
Expand Down Expand Up @@ -13045,6 +13050,8 @@ components:
$ref: "#/components/schemas/DlpSeverity"
timeRange:
$ref: "#/components/schemas/TimeRangeFilter"
archived:
type: boolean
ExportInfo:
properties:
createdBy:
Expand Down
14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
speakeasyVersion: 1.675.4
speakeasyVersion: 1.682.0
sources:
Glean API:
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:a38a82dd27fe58019cf7c85c19cbd402e93361c9df38ce070f2ca419eeab832f
sourceBlobDigest: sha256:3840e8da76cb1e20b3c7f053acee46de0e4bcb58e17379e235342990ead4c8f8
sourceRevisionDigest: sha256:71784508eaa5abba73e036952709bc721f40da3131664fa42f4c1cade3a57b73
sourceBlobDigest: sha256:d16fca9ccf5794fb7ada8de11b20b590278ee0897b0ecd0ad0820f0f650be135
tags:
- latest
- speakeasy-sdk-regen-1765502290
- speakeasy-sdk-regen-1765586447
petstore-oas:
sourceNamespace: petstore-oas
sourceRevisionDigest: sha256:97b2eff2f43ce14276d28efc41ec5de8034cde61db8445f12b626e4dc88ea40e
Expand All @@ -18,10 +18,10 @@ targets:
glean:
source: Glean API
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:a38a82dd27fe58019cf7c85c19cbd402e93361c9df38ce070f2ca419eeab832f
sourceBlobDigest: sha256:3840e8da76cb1e20b3c7f053acee46de0e4bcb58e17379e235342990ead4c8f8
sourceRevisionDigest: sha256:71784508eaa5abba73e036952709bc721f40da3131664fa42f4c1cade3a57b73
sourceBlobDigest: sha256:d16fca9ccf5794fb7ada8de11b20b590278ee0897b0ecd0ad0820f0f650be135
codeSamplesNamespace: glean-api-specs-go-code-samples
codeSamplesRevisionDigest: sha256:dcae1f2208b7924c016bddaaf8da432bdeb8e3d57100977c302257305eb0acb5
codeSamplesRevisionDigest: sha256:647807154b5de80eb4c1b397e94d2aa575f97ea4f7578b07d109d7826bd88f61
petstore:
source: petstore-oas
sourceNamespace: petstore-oas
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -478,4 +478,14 @@ Based on:
### Generated
- [go v0.11.18] .
### Releases
- [Go v0.11.18] https://github.com/gleanwork/api-client-go/releases/tag/v0.11.18 - .
- [Go v0.11.18] https://github.com/gleanwork/api-client-go/releases/tag/v0.11.18 - .

## 2026-01-08 01:21:19
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.682.0 (2.791.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [go v0.11.19] .
### Releases
- [Go v0.11.19] https://github.com/gleanwork/api-client-go/releases/tag/v0.11.19 - .
Loading