Skip to content
Skip to Content
Coder Docs

List chats by workspace

GET
/api/v2/chats/by-workspace

Authorization

CoderSessionToken
headerCoder-Session-Token<token>

Query Parameters

workspace_ids?string

Comma-separated workspace IDs

Response Body

OK

application/json
  1. response
[key: string]?string

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

curl -X GET \	"$CODER_URL/api/v2/chats/by-workspace" \	-H "Coder-Session-Token: $CODER_SESSION_TOKEN"
Example Response200
{  "property1": "string",  "property2": "string"}