Error Shape
All errors return JSON with at minimum anerror field:
message field provides detail when available.
Status Codes
| Code | Meaning |
|---|---|
200 | Success |
201 | Resource created |
400 | Bad request — invalid input or missing required fields |
401 | Unauthorized — missing or invalid X-API-Key |
404 | Resource not found, or does not belong to your organization |
500 | Internal server error |