We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e70b553 commit 9c990bcCopy full SHA for 9c990bc
README.md
@@ -24,6 +24,20 @@ export HYPERBROWSER_API_KEY="your_api_key"
24
export HYPERBROWSER_BASE_URL="https://api.hyperbrowser.ai" # optional
25
```
26
27
+You can also pass custom headers (for tracing/correlation) via `ClientConfig`:
28
+
29
+```python
30
+from hyperbrowser import ClientConfig, Hyperbrowser
31
32
+config = ClientConfig(
33
+ api_key="your_api_key",
34
+ headers={"X-Correlation-Id": "req-123"},
35
+)
36
37
+with Hyperbrowser(config=config) as client:
38
+ ...
39
+```
40
41
## Clients
42
43
The SDK provides both sync and async clients with mirrored APIs:
0 commit comments