Skip to content
Skip to Content
Coder Docs

Get user chat debug logging setting

GET
/api/v2/chats/config/user-debug-logging

Authorization

CoderSessionToken
headerCoder-Session-Token<token>

Response Body

OK

application/json
  1. response
debug_logging_enabled?boolean
forced_by_deployment?boolean
user_toggle_allowed?boolean

The samples read CODER_URL and CODER_SESSION_TOKEN: set up your environment.

curl -X GET \	"$CODER_URL/api/v2/chats/config/user-debug-logging" \	-H "Coder-Session-Token: $CODER_SESSION_TOKEN"
Example Response200
{  "debug_logging_enabled": true,  "forced_by_deployment": true,  "user_toggle_allowed": true}