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
71 changes: 35 additions & 36 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
lockVersion: 2.0.0
id: 3e3290ca-0ee8-4981-b1bc-14536048fa63
management:
docChecksum: 89c2eac364945e9c2e201f80cb8a2d72
docChecksum: dd4f304ebf5ed5b02b4d9d54270d33a1
docVersion: 0.9.0
speakeasyVersion: 1.795.1
generationVersion: 2.932.9
releaseVersion: 0.16.0
configChecksum: 305d1b3865da828cf96c1c98829ad9ba
releaseVersion: 0.16.1
configChecksum: c4ea74bb21e39957d292092ac1c8c45c
repoURL: https://github.com/gleanwork/api-client-python.git
installationURL: https://github.com/gleanwork/api-client-python.git
published: true
persistentEdits:
generation_id: cd37a2f4-9877-4161-9fc7-f557dd9e4231
pristine_commit_hash: 72efbc39af4ca0a33ff8d10dc9395be6ab128f55
pristine_tree_hash: 7d506ac8f9bdc4b783207925aee89b353e41ad64
generation_id: 813fb2c6-7c87-4acc-9c33-bcfdc6e11b6a
pristine_commit_hash: 0eef708b454958090babd9d9f4333a4ac47b0349
pristine_tree_hash: 715fe44cc06ba9367527a49565b53ea36a4be917
features:
python:
acceptHeaders: 3.0.0
Expand Down Expand Up @@ -2253,8 +2253,8 @@ trackedFiles:
pristine_git_object: 6ba12306df49a4d5a78a1c53269fc78d2672b7b7
docs/models/platformagentscreaterunrequest.md:
id: c9a4aa1f28b2
last_write_checksum: sha1:34bcec4aebfc10fa3633b22838cca8370e56496b
pristine_git_object: df93145879eef0a308f74b9241ac16c9b6acacb9
last_write_checksum: sha1:98d453933f6d93d158222fedb82b67180880266c
pristine_git_object: 1e66f04a2f7c8e8d71c1cc063d9c441171fe92af
docs/models/platformagentscreaterunresponse.md:
id: 24710130cfb1
last_write_checksum: sha1:7060b94ca4737945356ac99814fe4cebec042bfe
Expand Down Expand Up @@ -2577,8 +2577,8 @@ trackedFiles:
pristine_git_object: 566f1092589cad8787c57dd7042e2f2c71ea49b4
docs/models/platformskillsupdaterequest.md:
id: f8592c4371a6
last_write_checksum: sha1:32c122889d11396f07aef39f80135d7c15880d70
pristine_git_object: 3ea30e833501442e500b5572098b632d97d0f7ab
last_write_checksum: sha1:fd941f884d06bbe3011eb8e6289bdcb55e54e4b2
pristine_git_object: 7bf2215d7b76b6de9649f86008d3a47360868e95
docs/models/platformskillsyncresponse.md:
id: b449d9f6b2c6
last_write_checksum: sha1:f8f1d23d37aac8ede523cdb7fa744e9c9dc55cbc
Expand Down Expand Up @@ -3589,8 +3589,8 @@ trackedFiles:
pristine_git_object: 61dd41f0319201cc105e29174ab1cc0018cecbce
docs/sdks/agents/README.md:
id: 5965d8232fd8
last_write_checksum: sha1:578b795ea5a1511d0f0540a8d975eb93ca34366f
pristine_git_object: c3384d9d05bd776a0500f2b128218024b22a00da
last_write_checksum: sha1:5b7b93667d435959548d8de1e845783f047e12af
pristine_git_object: f7fb5a042c4484456d1b0065c874b95d06909fb7
docs/sdks/announcements/README.md:
id: 3d2e130a217c
last_write_checksum: sha1:ecfa655bb27dee6890656542cfafda0aa6ed1ab9
Expand All @@ -3601,8 +3601,8 @@ trackedFiles:
pristine_git_object: 85153af7ec594c2dbd1e4a8c2eba5ce713796265
docs/sdks/chatsdk/README.md:
id: 83b4ee321663
last_write_checksum: sha1:47740532523da2b553e05be325f4af9de0fcd998
pristine_git_object: fbb19c8f85059b35437ecc3f384f449499bd38cc
last_write_checksum: sha1:80b27be92fe4d96fca14313eaa9fcb1524f7bac1
pristine_git_object: f541f724429e74e02ddfdc6ae0c99d1fdc38d04d
docs/sdks/clientactivity/README.md:
id: a309613986a5
last_write_checksum: sha1:d9737458d891593ba2fb3372ab6e60ea728fe9a5
Expand Down Expand Up @@ -3709,8 +3709,8 @@ trackedFiles:
pristine_git_object: 2367ff8a3d48bca392eedfc035583e9806bb5b98
docs/sdks/skills/README.md:
id: 3a14a5c90791
last_write_checksum: sha1:49e30084ae2c99ba6a53d5aa6e0851e63cc2dba8
pristine_git_object: 8cdfbc33daa86ae3521cb79c6fdc38bebff866cf
last_write_checksum: sha1:714358973925fabec1cdce11f90d590b401a0312
pristine_git_object: b89e44039e28c1812c19444a36c32f902463cac9
docs/sdks/tools/README.md:
id: 044286549bac
last_write_checksum: sha1:9b9a8e80c1d16018bd66150ba482b83825d6cf67
Expand All @@ -3737,8 +3737,8 @@ trackedFiles:
pristine_git_object: 79e388be87446ab6a4064b372bad0e8376d0cb5e
pyproject.toml:
id: 5d07e7d72637
last_write_checksum: sha1:c24376fbeda6b68fea9fac8500c6133e9a13f7e5
pristine_git_object: d391b6dbed7565288eed49d23677f789e3c487eb
last_write_checksum: sha1:47c4c996133e0a3adbcf155d937d19aa4c5a7d25
pristine_git_object: 3e07b290191d20adb52b0682dcefceb99e4ffd4c
scripts/prepare_readme.py:
id: e0c5957a6035
last_write_checksum: sha1:c2c83f71dea61eb50c9e05da83b16d18b4da8794
Expand All @@ -3765,8 +3765,8 @@ trackedFiles:
pristine_git_object: 55f23c1feabfedeb7e8cd5bea8b910f0ae0b77d9
src/glean/api_client/_version.py:
id: 0ce22b26136b
last_write_checksum: sha1:6da27c6d8ff767845d1be3bae351052f981443bc
pristine_git_object: 6a6123654415d50089aa40e1b02b93a5b42437ec
last_write_checksum: sha1:6431b746b8ab8f0a668fe0c9cbe4d014f8a0cbba
pristine_git_object: b18d2de172672d92408ee5ff6074f4e6885c8027
src/glean/api_client/agents.py:
id: b925701a9217
last_write_checksum: sha1:1d4b152d9d9260d1c97d4983f521f30b5cfa1085
Expand Down Expand Up @@ -7293,8 +7293,8 @@ trackedFiles:
pristine_git_object: ab9263d43404e8e6f07af222a3e785aca2fbf35f
tests/mockserver/internal/handler/pathpostrestapiv1createcollection.go:
id: 3fb93a419933
last_write_checksum: sha1:09a57acc1d004a2fff76290b6c25e24471ad333e
pristine_git_object: 469bd6e6ee30bb11661f2a596a4504b75fa07da0
last_write_checksum: sha1:7b2ffc9e36bbfc20c3bc1894f3727f96aa94ac74
pristine_git_object: 75fb8eb70f6913c8f83c2895f5542bee631ffdaf
tests/mockserver/internal/handler/pathpostrestapiv1createshortcut.go:
id: 8d9d3abb0c34
last_write_checksum: sha1:dcdf684a85e20db1aee571db9a54a3ee259d71d5
Expand Down Expand Up @@ -10641,8 +10641,8 @@ trackedFiles:
pristine_git_object: db4221c9f5953adc8f8219979060f1248ae5c342
tests/test_agents.py:
id: 2eb70a860f3a
last_write_checksum: sha1:6e1b73ba0d82b9ea9bfa33819b2293f35d344dae
pristine_git_object: 8b75a0e000414b7fb57a82ac2523251ca40fc12e
last_write_checksum: sha1:78899739204e9e80aae4337c6396a57ab816a4e0
pristine_git_object: 39a3f77bf4a5c99d3def7a0bb99493a9ef83e95c
tests/test_announcements.py:
id: 720cc07fca06
last_write_checksum: sha1:1d0dcab6446633bc6809bc67e14b6cc1755aa319
Expand All @@ -10657,8 +10657,8 @@ trackedFiles:
pristine_git_object: d2b02f269ac418b9a9240772f28ab1bd3cfa4997
tests/test_chat_sdk.py:
id: d6e6d5c5a1b2
last_write_checksum: sha1:72cb3066bc3db6fba04a615d4a8f4505de1de29c
pristine_git_object: 41b3a54c70ea6fa17f921c13ad06a07899fe0f51
last_write_checksum: sha1:8517d306da079161e7be794bccd264e110a9dbad
pristine_git_object: 0ea26010bc53d5f562beb6a9637aa40cab8c03d6
tests/test_client.py:
id: 6b61d4b06ccc
last_write_checksum: sha1:df970d19cdb9f9e057722699dc73965b6f9b1758
Expand Down Expand Up @@ -10769,12 +10769,12 @@ trackedFiles:
pristine_git_object: c3b37c851073899ae790451988d2617aa065ec9c
tests/test_skills.py:
id: ac5db26bd6b1
last_write_checksum: sha1:88782257782c4a24a77f5ab5d8e50d1129086b6f
pristine_git_object: 98d7f69d362a6770ee01a6c3d9f3684b01a6cbd6
last_write_checksum: sha1:51a01a7104693f6ddde3496296f520a0f1c6243d
pristine_git_object: 63587d5a9e7b7e506ce9daf00d51ce92afb56035
tests/test_summarize.py:
id: a255d8a6f627
last_write_checksum: sha1:6244d4da1522f443776e78aeb31dd83ebdc90c42
pristine_git_object: 2b5d1f38b094214933fc3b8da79ff8ed979c5122
last_write_checksum: sha1:d0245ffca1533446942ac2b0f1109d4f6e9888b4
pristine_git_object: f9c494d59cc7d73c8b3ea1c965b544c79625198a
tests/test_tools.py:
id: 70889bdf7321
last_write_checksum: sha1:e9e37efd6a65d805c02d70d548df9c87dd062b0e
Expand Down Expand Up @@ -11764,7 +11764,7 @@ examples:
path:
agent_id: "<id>"
requestBody:
application/json: {"messages": [{"role": "USER", "content": []}], "stream": false}
application/json: {"messages": [{"role": "USER", "content": [{"text": "What is our parental leave policy?", "type": "text"}]}], "stream": false}
responses:
"200":
application/json: {"run": {"agent_id": "<id>", "messages": [{"role": "USER", "content": []}], "status": "error"}, "messages": [{"role": "USER", "content": []}], "request_id": "<id>"}
Expand Down Expand Up @@ -11929,7 +11929,7 @@ examples:
platform-chat-create:
speakeasy-default-platform-chat-create:
requestBody:
application/json: {"input": "<value>", "stream": false, "store": true}
application/json: {"input": "What is our parental leave policy?", "stream": false, "store": true}
responses:
"200":
application/json: {"id": "<id>", "object": "RESPONSE", "created_at": "2026-05-19T05:32:52.505Z", "status": "COMPLETED", "output": [{"type": "MESSAGE", "role": "ASSISTANT", "content": [{"type": "OUTPUT_TEXT", "text": "<value>"}]}], "store": false, "request_id": "<id>"}
Expand All @@ -11941,7 +11941,7 @@ examples:
platform-skills-import:
speakeasy-default-platform-skills-import:
requestBody:
application/json: {"source_urls": ["<value 1>"]}
application/json: {"source_urls": ["https://github.com/anthropics/skills/tree/main/skills/skill-creator"]}
responses:
"200":
application/json: {"skills": [], "request_id": "<id>"}
Expand All @@ -11952,7 +11952,7 @@ examples:
platform-skills-preview-source:
speakeasy-default-platform-skills-preview-source:
requestBody:
application/json: {"source_url": "https://ugly-information.name/", "stream": false}
application/json: {"source_url": "https://github.com/anthropics/skills", "stream": false}
responses:
"200":
application/json: {"skills": [], "failures": [{"source_url": "https://slimy-availability.org", "code": "SKILL_FETCH_FAILED", "detail": "<value>"}], "request_id": "<id>"}
Expand All @@ -11967,7 +11967,7 @@ examples:
path:
skill_id: "<id>"
requestBody:
application/json: {"status": "DISABLED"}
application/json: {"status": "ENABLED"}
responses:
"200":
application/json: {"skill": {"id": "<id>", "display_name": "Afton14", "description": "taut netsuke duh sonata boastfully elegantly management come", "latest_version": 425795, "latest_minor_version": 741364, "status": "DISABLED", "origin": "CUSTOM", "owner": {"name": "<value>"}, "created_at": "2024-12-20T01:31:39.364Z", "updated_at": "2025-12-04T02:59:37.124Z"}, "request_id": "<id>"}
Expand Down Expand Up @@ -12351,7 +12351,6 @@ generatedTests:
platform-trigger-presets-get: "2026-08-21T02:33:03Z"
platform-trigger-presets-input-values-list: "2026-08-21T02:33:03Z"
platform-trigger-presets-events-search: "2026-08-21T02:33:03Z"
releaseNotes: "## Python SDK Changes:\n* `glean.chat.create()`: \n * `request.input.union(Array<PlatformChatInputMessage>)[].role` **Changed** (Breaking ⚠)\n * `response` **Changed** (Breaking ⚠)\n* `glean.triggers.list_presets()`: **Added**\n* `glean.triggers.list_preset_input_values()`: **Added**\n* `glean.triggers.update()`: **Added**\n* `glean.triggers.delete()`: **Added**\n* `glean.triggers.search_events()`: **Added**\n* `glean.triggers.create()`: **Added**\n* `glean.triggers.get_preset()`: **Added**\n* `glean.triggers.get()`: **Added**\n* `glean.triggers.search_preset_events()`: **Added**\n* `glean.triggers.list()`: **Added**\n* `glean.client.chat.create()`: \n * `request.messages[].citations[].source_skill` **Added**\n * `response.messages[].citations[].source_skill` **Added**\n* `glean.client.chat.retrieve()`: `response.chat_result.chat.messages[].citations[].source_skill` **Added**\n* `glean.client.chat.create_stream()`: \n * `request.messages[].citations[].source_skill` **Added**\n* `glean.client.search.retrieve_feed()`: \n * `request.categories[]` **Changed**\n * `response.results[]` **Changed**\n"
generatedFiles:
- .devcontainer/README.md
- .devcontainer/devcontainer.json
Expand Down
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.16.0
version: 0.16.1
additionalDependencies:
dev: {}
main: {}
Expand Down
21 changes: 19 additions & 2 deletions .speakeasy/glean-merged-spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ openapi: 3.0.0
info:
version: "0.9.0"
title: Glean API
x-source-commit-sha: ae20e37cc1d6786192c975f846fbe57527d94d7e
x-open-api-commit-sha: 68a8939fe1b80a3a659ea78c778a5ddfdcb8e999
x-source-commit-sha: 53029bb32ea9b1d7870da58ad4546c6954833b85
x-open-api-commit-sha: 4ed8f1ec3fa297e3e16e7f32489a482cc40cd86c
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 @@ -7586,6 +7596,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 +7691,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 +7815,8 @@ components:
additionalProperties: false
required:
- status
example:
status: ENABLED
properties:
status:
$ref: "#/components/schemas/PlatformSkillUpdateStatus"
Expand Down
12 changes: 7 additions & 5 deletions .speakeasy/tests.arazzo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -158787,7 +158787,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 @@ -159055,7 +159057,7 @@ workflows:
requestBody:
contentType: application/json
payload:
input: <value>
input: What is our parental leave policy?
store: true
stream: false
successCriteria:
Expand All @@ -159075,7 +159077,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 @@ -159092,7 +159094,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 @@ -159114,7 +159116,7 @@ workflows:
requestBody:
contentType: application/json
payload:
status: DISABLED
status: ENABLED
successCriteria:
- condition: $statusCode == 200
- condition: $response.header.Content-Type == application/json
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.795.1
sources:
Glean API:
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:90133ae2ed4bca7f388138e9d043405e381f920c07c8e54bdf3af2505b0a24ae
sourceBlobDigest: sha256:ffea0cebe421d06f6145114c557713c6b11600ae8dc1e06469304d89e720bf27
sourceRevisionDigest: sha256:1d43dd06960c5d8d8cf58e52a4396604766d355251a35ba3c7da0ec27f11f090
sourceBlobDigest: sha256:c48ecb8cf02826e9844b6acb2c98c00ecd23dd077ce4bcc1fbc579680cca31e9
tags:
- latest
Glean Client API:
Expand All @@ -16,10 +16,10 @@ targets:
glean:
source: Glean API
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:90133ae2ed4bca7f388138e9d043405e381f920c07c8e54bdf3af2505b0a24ae
sourceBlobDigest: sha256:ffea0cebe421d06f6145114c557713c6b11600ae8dc1e06469304d89e720bf27
sourceRevisionDigest: sha256:1d43dd06960c5d8d8cf58e52a4396604766d355251a35ba3c7da0ec27f11f090
sourceBlobDigest: sha256:c48ecb8cf02826e9844b6acb2c98c00ecd23dd077ce4bcc1fbc579680cca31e9
codeSamplesNamespace: glean-api-specs-python-code-samples
codeSamplesRevisionDigest: sha256:985280ee4fe1f57740b53a8a893bbcd79361460bcc2ab8b2696bb0f81e6350f4
codeSamplesRevisionDigest: sha256:cddffa0c7d0913703bc2263e2d063c6c0c45ec84715f99eca2e47b74e01186e5
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 @@ -828,4 +828,14 @@ Based on:
### Generated
- [python v0.16.0] .
### Releases
- [PyPI v0.16.0] https://pypi.org/project/glean-api-client/0.16.0 - .
- [PyPI v0.16.0] https://pypi.org/project/glean-api-client/0.16.0 - .

## 2026-08-23 01:21:10
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.795.1 (2.932.9) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.16.1] .
### Releases
- [PyPI v0.16.1] https://pypi.org/project/glean-api-client/0.16.1 - .
Loading
Loading