Improved
Enhanced Chat History Search
about 1 month ago
Find past conversations quickly with full-text search, date filtering, and thread renaming. Teams with extensive chat histories can now locate specific analyses without scrolling through hundreds of threads, while thread renaming helps organize important conversations for future reference.
What's New
- Full-Text Search: Search across all message content in your chat history to find conversations about specific topics, metrics, or questions
- Thread ID Lookup: Jump directly to a specific conversation using its unique identifier—useful for sharing links or debugging
- Date Range Filtering: Narrow results to conversations from a specific time period, perfect for finding analyses tied to business events
- Thread Renaming: Give conversations meaningful names like "Q4 Revenue Analysis" instead of auto-generated titles
- Cursor-Based Pagination: Efficiently load large histories with infinite scroll, fetching only what's needed
API Enhancements
List Chat Threads
GET /api/v1/accounts/{accountId}/workspaces/{workspaceId}/chat-threads
New query parameters:
| Parameter | Type | Description |
|---|---|---|
search | string | Full-text search across message content |
threadId | string | Exact thread ID lookup |
startDate | ISO 8601 | Filter threads created after this date |
endDate | ISO 8601 | Filter threads created before this date |
cursor | string | Pagination cursor from previous response |
limit | number | Results per page (default: 20, max: 100) |
Rename Thread
PATCH /api/v1/accounts/{accountId}/workspaces/{workspaceId}/chat-threads/{threadId}
{
"title": "Q4 2025 Revenue Deep Dive"
}Examples
# Search for conversations about revenue
curl "https://tenant.bobsled.ai/api/v1/accounts/{accountId}/workspaces/{workspaceId}/chat-threads?search=revenue"
# Find conversations from January 2026
curl "https://tenant.bobsled.ai/api/v1/accounts/{accountId}/workspaces/{workspaceId}/chat-threads?startDate=2026-01-01&endDate=2026-01-31"
# Jump to a specific thread
curl "https://tenant.bobsled.ai/api/v1/accounts/{accountId}/workspaces/{workspaceId}/chat-threads?threadId=thr_abc123"
# Rename a thread
curl -X PATCH "https://tenant.bobsled.ai/api/v1/accounts/{accountId}/workspaces/{workspaceId}/chat-threads/thr_abc123" \
-H "Content-Type: application/json" \
-d '{"title": "Monthly KPI Review"}'Response Format
{
"ok": true,
"data": {
"threads": [
{
"id": "thr_abc123",
"title": "Q4 Revenue Analysis",
"createdAt": "2026-01-15T10:30:00Z",
"messageCount": 12,
"lastMessageAt": "2026-01-15T11:45:00Z"
}
],
"nextCursor": "eyJjcmVhdGVkQXQiOiIyMDI2LTAxLTE0VDA5OjAwOjAwWiJ9",
"hasMore": true
}
}