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
134 changes: 67 additions & 67 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 @@ -32,7 +32,7 @@ generation:
generateNewTests: true
skipResponseBodyAssertions: true
go:
version: 0.14.0
version: 0.14.1
additionalDependencies: {}
allowUnknownFieldsInWeakUnions: false
baseErrorName: GleanError
Expand Down
102 changes: 69 additions & 33 deletions .speakeasy/glean-merged-spec.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
openapi: 3.0.0
openapi: 3.1.0
info:
version: "0.9.0"
title: Glean API
x-source-commit-sha: ae20e37cc1d6786192c975f846fbe57527d94d7e
x-open-api-commit-sha: 68a8939fe1b80a3a659ea78c778a5ddfdcb8e999
x-source-commit-sha: f03f70a76680cbbd18de3675ec933dcb6bd5e62d
x-open-api-commit-sha: f03222e4d501006b829e6768bfd4bd3e9938943c
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 @@ -6747,6 +6747,8 @@ components:
PlatformAgentsSearchRequest:
type: object
additionalProperties: false
example:
name: HR Policy Agent
properties:
name:
type: string
Expand Down Expand Up @@ -7070,6 +7072,12 @@ components:
additionalProperties: false
description: |
Request to run an agent. A request MUST supply either `messages` (a non-empty conversation) or `input` (for input-form triggered agents).
example:
messages:
- role: USER
content:
- text: What is our parental leave policy?
type: text
properties:
input:
type: object
Expand Down Expand Up @@ -7186,6 +7194,8 @@ components:
additionalProperties: false
required:
- input
example:
input: What is our parental leave policy?
properties:
input:
description: |
Expand Down Expand Up @@ -7327,8 +7337,9 @@ components:
type: string
minLength: 1
page_number:
type: integer
nullable: true
type:
- integer
- "null"
PlatformChatCitationAnnotation:
type: object
additionalProperties: false
Expand All @@ -7346,16 +7357,19 @@ components:
items:
$ref: "#/components/schemas/PlatformChatCitationSource"
start_index:
type: integer
type:
- integer
- "null"
minimum: 0
nullable: true
end_index:
type: integer
type:
- integer
- "null"
minimum: 0
nullable: true
snippets:
type: array
nullable: true
type:
- array
- "null"
items:
$ref: "#/components/schemas/PlatformChatCitationSnippet"
PlatformChatOutputTextContent:
Expand Down Expand Up @@ -7432,9 +7446,10 @@ components:
store:
type: boolean
conversation_id:
type: string
type:
- string
- "null"
minLength: 1
nullable: true
description: Present when the interaction was persisted.
request_id:
type: string
Expand Down Expand Up @@ -7554,8 +7569,9 @@ components:
type: boolean
description: Whether additional results are available.
next_cursor:
type: string
nullable: true
type:
- string
- "null"
description: Cursor for the next page, or null when no more results are available.
request_id:
type: string
Expand Down Expand Up @@ -7586,6 +7602,9 @@ components:
additionalProperties: false
required:
- source_urls
example:
source_urls:
- https://github.com/anthropics/skills/tree/main/skills/skill-creator
properties:
source_urls:
type: array
Expand Down Expand Up @@ -7678,6 +7697,8 @@ components:
additionalProperties: false
required:
- source_url
example:
source_url: https://github.com/anthropics/skills
properties:
source_url:
type: string
Expand Down Expand Up @@ -7800,6 +7821,8 @@ components:
additionalProperties: false
required:
- status
example:
status: ENABLED
properties:
status:
$ref: "#/components/schemas/PlatformSkillUpdateStatus"
Expand Down Expand Up @@ -7891,8 +7914,9 @@ components:
type: boolean
description: Whether additional results are available.
next_cursor:
type: string
nullable: true
type:
- string
- "null"
description: Cursor for the next page, or null when no more results are available.
request_id:
type: string
Expand Down Expand Up @@ -8011,11 +8035,11 @@ components:
default: 10
description: Number of results to return per page.
cursor:
type: string
nullable: true
type:
- string
- "null"
description: |
Opaque pagination token from a previous response's `next_cursor` field. Omit on the first request.
example: ""
datasources:
type: array
minItems: 1
Expand Down Expand Up @@ -8066,8 +8090,9 @@ components:
description: The datasource this result originates from.
example: confluence
document_type:
type: string
nullable: true
type:
- string
- "null"
minLength: 1
description: The document type within the datasource.
example: page
Expand All @@ -8076,14 +8101,16 @@ components:
owner:
$ref: "#/components/schemas/PlatformPersonReference"
updated_at:
type: string
type:
- string
- "null"
format: date-time
nullable: true
description: When the result was last modified.
created_at:
type: string
type:
- string
- "null"
format: date-time
nullable: true
description: When the result was created.
PlatformSearchResponse:
type: object
Expand All @@ -8105,8 +8132,9 @@ components:
type: boolean
description: Indicates whether additional pages of results are available.
next_cursor:
type: string
nullable: true
type:
- string
- "null"
description: Opaque token to pass as `cursor` in the next request.
request_id:
type: string
Expand Down Expand Up @@ -8283,8 +8311,9 @@ components:
type: boolean
description: Whether additional results are available.
next_cursor:
type: string
nullable: true
type:
- string
- "null"
description: Cursor for the next page, or null when no more results are available.
request_id:
type: string
Expand Down Expand Up @@ -8644,8 +8673,9 @@ components:
type: boolean
description: Whether additional results are available.
next_cursor:
type: string
nullable: true
type:
- string
- "null"
description: Cursor for the next page, or null when no more results are available.
request_id:
type: string
Expand Down Expand Up @@ -12896,15 +12926,18 @@ components:
- EXECUTION
- AUTHENTICATION_SUGGESTION
- VOTE_SUGGESTION
- SANDBOX_EGRESS
description: The type of request made to the user.
x-enumDescriptions:
EXECUTION: Request for approving execution of the tool.
AUTHENTICATION_SUGGESTION: Request for authenticating to a tool, provided as a (tool) suggestion.
VOTE_SUGGESTION: Suggestion to vote for enabling an available-but-not-enabled tool.
SANDBOX_EGRESS: Request to approve an outbound/egress call from the sandbox.
x-speakeasy-enum-descriptions:
EXECUTION: Request for approving execution of the tool.
AUTHENTICATION_SUGGESTION: Request for authenticating to a tool, provided as a (tool) suggestion.
VOTE_SUGGESTION: Suggestion to vote for enabling an available-but-not-enabled tool.
SANDBOX_EGRESS: Request to approve an outbound/egress call from the sandbox.
requestId:
type: string
description: Unique identifier for this request.
Expand Down Expand Up @@ -13004,6 +13037,9 @@ components:

For VOTE_SUGGESTION requests:
- voted: whether the user voted for this tool

For SANDBOX_EGRESS requests:
- isGranted: whether the sandbox egress call is approved
x-visibility: Preview
x-glean-experimental:
id: 3eae3ee7-2c06-4027-be14-98260a3ce608
Expand Down Expand Up @@ -13590,7 +13626,7 @@ components:
isDraft:
type: boolean
description: |
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.
Deprecated. Draft mutation semantics are not supported for transient previews. Use transient and parentWorkflowId instead.
required:
- bundle
ImportAgentStatus:
Expand Down
12 changes: 7 additions & 5 deletions .speakeasy/tests.arazzo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -164638,7 +164638,9 @@ workflows:
contentType: application/json
payload:
messages:
- content: []
- content:
- text: What is our parental leave policy?
type: text
role: USER
stream: false
successCriteria:
Expand Down Expand Up @@ -164906,7 +164908,7 @@ workflows:
requestBody:
contentType: application/json
payload:
input: <value>
input: What is our parental leave policy?
store: true
stream: false
successCriteria:
Expand All @@ -164926,7 +164928,7 @@ workflows:
contentType: application/json
payload:
source_urls:
- <value 1>
- https://github.com/anthropics/skills/tree/main/skills/skill-creator
successCriteria:
- condition: $statusCode == 200
- condition: $response.header.Content-Type == application/json
Expand All @@ -164943,7 +164945,7 @@ workflows:
requestBody:
contentType: application/json
payload:
source_url: https://ugly-information.name/
source_url: https://github.com/anthropics/skills
stream: false
successCriteria:
- condition: $statusCode == 200
Expand All @@ -164965,7 +164967,7 @@ workflows:
requestBody:
contentType: application/json
payload:
status: DISABLED
status: ENABLED
successCriteria:
- condition: $statusCode == 200
- condition: $response.header.Content-Type == application/json
Expand Down
12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
speakeasyVersion: 1.795.1
speakeasyVersion: 1.796.0
sources:
Glean API:
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:90133ae2ed4bca7f388138e9d043405e381f920c07c8e54bdf3af2505b0a24ae
sourceBlobDigest: sha256:ffea0cebe421d06f6145114c557713c6b11600ae8dc1e06469304d89e720bf27
sourceRevisionDigest: sha256:ce83ddd7b2957ee9ef22a9f1ec057ceadd80ea0795a38156f2427803add9c759
sourceBlobDigest: sha256:b372d68a25224b37d12bf9456cc186b20bf345cd5b2f59c6e43c455326d675da
tags:
- latest
petstore-oas:
Expand All @@ -17,10 +17,10 @@ targets:
glean:
source: Glean API
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:90133ae2ed4bca7f388138e9d043405e381f920c07c8e54bdf3af2505b0a24ae
sourceBlobDigest: sha256:ffea0cebe421d06f6145114c557713c6b11600ae8dc1e06469304d89e720bf27
sourceRevisionDigest: sha256:ce83ddd7b2957ee9ef22a9f1ec057ceadd80ea0795a38156f2427803add9c759
sourceBlobDigest: sha256:b372d68a25224b37d12bf9456cc186b20bf345cd5b2f59c6e43c455326d675da
codeSamplesNamespace: glean-api-specs-go-code-samples
codeSamplesRevisionDigest: sha256:fc2042aa1a0f6694b8de1bc4283acdce56b3b2dd128d95896e35c1b0492663cd
codeSamplesRevisionDigest: sha256:71f7033329d1327a45956005c8575d16d63f8e771b7ec5923389a018f4e2f706
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 @@ -828,4 +828,14 @@ Based on:
### Generated
- [go v0.14.0] .
### Releases
- [Go v0.14.0] https://github.com/gleanwork/api-client-go/releases/tag/v0.14.0 - .
- [Go v0.14.0] https://github.com/gleanwork/api-client-go/releases/tag/v0.14.0 - .

## 2026-08-27 06:54:34
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.796.0 (2.932.15) https://github.com/speakeasy-api/speakeasy
### Generated
- [go v0.14.1] .
### Releases
- [Go v0.14.1] https://github.com/gleanwork/api-client-go/releases/tag/v0.14.1 - .
Loading
Loading