# Get the mode for a subject. **GET /mode/{subject}** ## Servers - http://localhost:8081: http://localhost:8081 () ## Parameters ### Path parameters - **subject** (string) The subject to get the mode for. ### Query parameters - **defaultToGlobal** (boolean) If true, return the global mode if the subject doesn't have a mode set. ## Responses ### 200 OK #### Body: application/json (object) - **mode** (string) ### 404 Not Found #### Body: application/json (object) - **error_code** (integer) - **message** (string) ### 500 Internal Server Error #### Body: application/json (object) - **error_code** (integer) - **message** (string) [Powered by Bump.sh](https://bump.sh)