Skip to content
Skip to Content
Coder Docs

Get chat debug logging setting

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

Authorization

CoderSessionToken
headerCoder-Session-Token<token>

Response Body

OK

application/json
  1. response
allow_users?boolean
forced_by_deployment?boolean

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

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