Chats

Get chat workspace time to live

Changed on
get/api/v2/chats/config/workspace-ttl

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v2/chats/config/workspace-ttl
  • Auth
    API key in header Coder-Session-Token

Response

OK

workspace_ttl_msinteger

WorkspaceTTLMillis is the workspace TTL in milliseconds. Zero means disabled; the template's own autostop setting applies.

Changes