Commit 2e0d30d
docs(README): add managedBy to monitors.create example
The Quick Start example omitted the `managedBy` field, which the API
requires. Every fresh user copying the snippet from PyPI got
`DevhelmValidationError: managedBy: Field required` on their first
SDK call (verified by a fresh-user devex agent run against prod).
Adds `"managedBy": "DASHBOARD"` with an inline explainer comment
so users understand what the field means and when to override it.
Mirrors the same fix being shipped to docs.devhelm.io and to the
TypeScript SDK README. The cleaner long-term answer is server-side
defaulting from the X-DevHelm-Surface header — tracked separately.
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 731bbb7 commit 2e0d30d
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
34 | 39 | | |
35 | 40 | | |
36 | 41 | | |
| |||
0 commit comments