You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{"trigger":{"trigger_id":"trigger_test_123","preset_id":"jira_high_priority_bug","description":"High-priority Jira bugs in the Engineering project","status":"ENABLED","inputs":{"project":"ENG"},"delivery":{"webhook_url":"https://customer.app/webhook"},"created_at":"2025-08-17T18:19:46.877Z","updated_at":"2024-09-14T03:27:40.201Z","signing_secret":"whsec_xxx"},"request_id":"<id>"}
{"trigger":{"trigger_id":"trigger_test_123","preset_id":"jira_high_priority_bug","description":"High-priority Jira bugs in the Engineering project","status":"ENABLED","inputs":{"project":"ENG"},"delivery":{"webhook_url":"https://customer.app/webhook"},"created_at":"2024-01-06T01:37:37.232Z","updated_at":"2025-07-02T01:19:47.126Z"},"request_id":"<id>"}
159345
+
type: simple
159346
+
x-speakeasy-test-group: triggers
159347
+
x-speakeasy-test-rebuild: true
159348
+
- workflowId: platform-triggers-update
159349
+
steps:
159350
+
- stepId: test
159351
+
operationId: platform-triggers-update
159352
+
parameters:
159353
+
- name: trigger_id
159354
+
in: path
159355
+
value: <id>
159356
+
requestBody:
159357
+
contentType: application/json
159358
+
payload:
159359
+
delivery:
159360
+
auth:
159361
+
secret: secret_test_123
159362
+
type: BEARER
159363
+
webhook_url: https://customer.app/webhook
159364
+
description: High-priority Jira bugs in the Engineering project
{"trigger":{"trigger_id":"trigger_test_123","preset_id":"jira_high_priority_bug","description":"High-priority Jira bugs in the Engineering project","status":"ENABLED","inputs":{"project":"ENG"},"delivery":{"webhook_url":"https://customer.app/webhook"},"created_at":"2026-09-03T11:57:47.699Z","updated_at":"2026-01-25T02:15:09.513Z"},"request_id":"<id>"}
{"trigger_preset":{"preset_id":"jira_high_priority_bug","datasource":"jira","display_name":"High-priority Jira bugs","description":"Fires when a high-priority bug is created.","inputs":[]},"request_id":"<id>"}
*[search_preset_events](docs/sdks/triggers/README.md#search_preset_events) - Search events for a trigger preset
589
+
577
590
</details>
578
591
<!-- End Available Resources and Operations [operations] -->
579
592
@@ -889,6 +902,20 @@ class CustomClient(AsyncHttpClient):
889
902
890
903
s = Glean(async_client=CustomClient(httpx.AsyncClient()))
891
904
```
905
+
### httpx2 (Pydantic's httpx fork)
906
+
907
+
[httpx2](https://httpx2.pydantic.dev/) is Pydantic's maintained fork of `httpx`. To run this SDK on httpx2, call `alias_httpx()` at your program's entry point, before importing the SDK, so every `import httpx` — including the ones inside the SDK — resolves to `httpx2`:
908
+
```python
909
+
import httpx2
910
+
911
+
httpx2.alias_httpx()
912
+
913
+
from glean.api_client import Glean
914
+
915
+
s = Glean()
916
+
```
917
+
918
+
An SDK can also be generated against httpx2 directly, so it depends on the fork instead of `httpx`, by setting `python.httpClientLibrary: httpx2` in `gen.yaml`.
0 commit comments