Get chat debug retention days
GET
CoderSessionTokenheader
Coder-Session-Token<token>OK
application/json- response
debug_retention_days?integerThe samples read CODER_URL and CODER_SESSION_TOKEN: set up your environment.
curl -X GET \ "$CODER_URL/api/v2/chats/config/debug-retention-days" \ -H "Coder-Session-Token: $CODER_SESSION_TOKEN"Example Response200
{ "debug_retention_days": 0}