Skip to content
Skip to Content
Coder Docs

Get chat debug retention days

GET
/api/v2/chats/config/debug-retention-days

Authorization

CoderSessionToken
headerCoder-Session-Token<token>

Response Body

OK

application/json
  1. response
debug_retention_days?integer

The 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}