🔨 In Development — This section is still being developed and may change.
Modify thread properties including metadata, title, and visibility settings. OpenAI compatible with Freddy enhancements.
POSThttps://api.freddy.aitronos.com/v1/threads/{thread_id}
Modify thread properties including metadata, title, and visibility settings. Uses partial updates - only provided fields are modified. OpenAI compatible with additional Freddy enhancements.
thread_id string required
The unique identifier of the thread to update.
metadata object optional
Custom key-value pairs for thread metadata. Performs partial update - merges with existing metadata. Maximum 16 key-value pairs.
title string optional
Display name for the thread. Maximum 200 characters. Full replacement of existing title.
visibleInUi boolean optional
Whether this thread should be visible in the user interface. Requires Bearer token authentication.
Bash
- Bash
- Python
- JavaScript
curl -X POST "https://api.freddy.aitronos.com/v1/threads/thread_abc123" \
-H "Authorization: Bearer $FREDDY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"metadata": {
"category": "support",
"priority": "high",
"status": "resolved"
}
}'{
"id": "thread_abc123",
"object": "thread",
"createdAt": 1741476542,
"updatedAt": 1741476700,
"metadata": {
"category": "support",
"priority": "high",
"status": "resolved"
},
"assistantId": "asst_support_agent",
"organizationId": "ORG_123",
"userId": "uid_user123",
"title": "Resolved Billing Issue",
"visibleInUi": false,
"messageCount": 5,
"status": "inactive"
}