Skip to content

Commit 799dbb4

Browse files
committed
docs(ai-chat): correct the sessions.list tag filter description
The tag filter matches the session's own top-level tags, not triggerConfig.tags.
1 parent a1ffd4a commit 799dbb4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/ai-chat/sessions.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ for await (const s of sessions.list({
164164
| Filter | Type | Notes |
165165
|---|---|---|
166166
| `type` | `string \| string[]` | e.g. `"chat.agent"` |
167-
| `tag` | `string \| string[]` | Matches `triggerConfig.tags` |
167+
| `tag` | `string \| string[]` | Matches the session's own `tags` (the top-level `tags` on `sessions.start`), not `triggerConfig.tags` |
168168
| `taskIdentifier` | `string \| string[]` | Filter by task |
169169
| `externalId` | `string` | Exact match |
170170
| `status` | `"ACTIVE" \| "CLOSED" \| "EXPIRED"` | Lifecycle state |

0 commit comments

Comments
 (0)