{
"success": true,
"message": "Human-readable summary",
"data": { /* endpoint-specific payload */ }
}{
"success": false,
"message": "What went wrong",
"errors": { /* optional structured detail — present on validation & some 4xx */ }
}data / errors may be omitted when there is none. Always branch on the HTTPsuccess, not on message text.