Error handling

Each endpoint description includes notes about the possible error conditions, which we describe with HTTP status codes. For client errors, the 400 responses include a message indicating the invalid parameter.