List chats
Changed onRequest
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/v2/chats
- AuthAPI key in header Coder-Session-Token
Query parameters
Search query. Supports title:<substring> (case-insensitive, quote multi-word values), archived:bool, has_unread:bool, status:<waiting\|running\|error\|requires_action\|interrupting\|paused> (chat status, repeated or comma-separated), pr_status:<draft\|open\|merged\|closed\|none> (none matches chats with no pull request) as repeated or comma-separated values, source:<created_by_me\|shared_with_me>, diff_url:<url> (quote values containing colons), pr:<number> (exact PR number match), repo:<owner/repo> (case-insensitive substring match against git remote origin or URL), pr_title:<text> (case-insensitive PR title substring), search:<text> (full-text search across chat titles, PR titles, PR numbers, and message bodies; message bodies match English word stems, e.g. refactor matches refactoring, and ignore English stopwords; titles and PR titles match whole words case-insensitively without stemming; quote multi-word values; cannot be combined with title, pr_title, or pr; a value that tokenizes to no searchable words, e.g. punctuation only, returns an empty list). Bare terms are not supported; use title:<value> or search:<value>.
Filter by label as key:value. Repeat for multiple (AND logic).
After ID
Page limit
Page offset
Only chats in this project.
Response
OK
Changes
- warning
deleted the
queryrequest parameterautomation_id
- warning
- info
added the new optional
queryrequest parameterautomation_id
- info