---
title: "Get chat workspace time to live"
method: GET
path: "/api/v2/chats/config/workspace-ttl"
tags: ["Chats"]
---

# Get chat workspace time to live

`GET /api/v2/chats/config/workspace-ttl`

## Response `200`

OK

- CodersdkChatWorkspaceTTLResponse
  - `workspace_ttl_ms` integer — WorkspaceTTLMillis is the workspace TTL in milliseconds. Zero means disabled; the template's own autostop setting applies.

---

[API](https://skmtc.dev/coder/apis/coder-api.md) · [All operations](https://skmtc.dev/coder/apis/coder-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/coder/coder-api/revisions/369ae60ab00e/schema)
