Associates multiple threads with a collection, allowing cross-organization relationships with proper access permissions.
curl --request POST \
--url https://production-storytell-ai-platfor-cds2.encr.app/v1/collections/{collectionID}/threads \
--header 'Content-Type: application/json' \
--data '{
"collectionId": [
127
],
"flags": [
"<string>"
],
"threadIds": [
[
127
]
]
}'
{
"code": "<string>",
"data": [
{
"collectionId": [
127
],
"joinId": [
127
],
"threadId": [
127
]
}
],
"details": {
"consumption": {
"units": 123
},
"operation": {
"duration": 123,
"operationId": "<string>"
}
},
"done": true,
"eventKey": "<string>",
"message": "<string>"
}
Success response
The response is of type object
.
curl --request POST \
--url https://production-storytell-ai-platfor-cds2.encr.app/v1/collections/{collectionID}/threads \
--header 'Content-Type: application/json' \
--data '{
"collectionId": [
127
],
"flags": [
"<string>"
],
"threadIds": [
[
127
]
]
}'
{
"code": "<string>",
"data": [
{
"collectionId": [
127
],
"joinId": [
127
],
"threadId": [
127
]
}
],
"details": {
"consumption": {
"units": 123
},
"operation": {
"duration": 123,
"operationId": "<string>"
}
},
"done": true,
"eventKey": "<string>",
"message": "<string>"
}