Commit 683498c
fix(events): use API key auth for events v2 search endpoint
The SearchEvents endpoint (POST /api/v2/events/search) does not support
OAuth authentication and requires API/App keys. This mirrors the same
issue already fixed for logs, RUM, and other endpoints.
- Add /api/v2/events/search to endpointsWithoutOAuth registry
- Switch runEventsSearch to use getClientForEndpoint for automatic
OAuth→API key fallback
- Add test coverage for the new endpoint requirement
Fixes #85
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 8ac5afa commit 683498c
3 files changed
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
| 123 | + | |
| 124 | + | |
124 | 125 | | |
125 | 126 | | |
126 | 127 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
64 | 67 | | |
65 | 68 | | |
66 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
89 | 95 | | |
90 | 96 | | |
91 | 97 | | |
| |||
0 commit comments