API documentation
API Reference
- GETHeal Missing User Snapshots
- POSTHeal Missing User Snapshots
- GETRepair Missing User Data
- GETHealth Check
- POSTGenerate Placeholder IDs
- GETPlaceholder Struct for Server Generation
- GETPlaceholder Struct for Thread Content Types
- POSTUpdate Asset Processing State
- POSTUpdate Asset Properties
- POSTInitialize New Asset Upload
- POSTRegister Uploaded Asset
- POSTSearch Assets by Name
- DELDelete Assets (Recoverable)
- GETGet Asset Details
- GETRedeem Access Token
- GETList Collection Members and Pending Invites
- DELDelete Invitation Token
- GETList Collection Assets
- POSTUpdate Collection Properties
- POSTMove Collection and Descendants
- GETList Collection Threads
- POSTAdd New Collection
- DELPermanently Delete Collections
- GETView Collection Details
- POSTLink Assets to Collection
- POSTLink Threads to Collection
- POSTCreate New Device Identifier
- GETGenerate Admin Diagnostic URL
- POSTUpload User Feedback Diagnostics
- POSTUpdate Collection Access Rights
- GETGet User's Recent Assets
- GETList User's Recent Threads
- POSTEnhance Prompt
- POSTShare Collection With Others
- POSTCreate Organization Thread
- DELDelete Threads (Recoverable)
- GETGet Thread Details
- POSTUpdate Thread Properties
- POSTProcess Thread Message
- POSTShare Thread with Link or Email
- POSTCrawl URL
- PUTMerge User Accounts
- POSTAuth Sync
- GETView Collection Hierarchy
- GETHandle WebSocket Connection
- GETFallback is called for debug endpoints. Not intended for normal use.
- PUTFallback is called for debug endpoints. Not intended for normal use.
- POSTFallback is called for debug endpoints. Not intended for normal use.
- DELFallback is called for debug endpoints. Not intended for normal use.
- HEADFallback is called for debug endpoints. Not intended for normal use.
- PATCHFallback is called for debug endpoints. Not intended for normal use.
API Reference
Get Thread Details
API Reference
Get Thread Details
Retrieves a specific thread using its ID. Requires authentication and active focus on the thread’s tenant organization.
GET
/
v1
/
threads
/
{threadID}
curl --request GET \
--url https://api.storytell.ai/v1/threads/{threadID}
{
"code": "<string>",
"data": {
"activeAssets": [
{
"contentType": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"deletedAt": {
"Time": "2023-11-07T05:31:56Z",
"Valid": true
},
"displayName": "<string>",
"etag": "<string>",
"filesize": 123,
"id": "<string>",
"lifecycleState": "<string>",
"modifiedAt": "2023-11-07T05:31:56Z",
"organizationId": "<string>",
"originalFilename": "<string>",
"processingFailureReason": {
"String": "<string>",
"Valid": true
},
"processingStatusText": {
"String": "<string>",
"Valid": true
},
"projectId": "<string>",
"summary": "<string>",
"tenantId": "<string>",
"textTokens": 123,
"userDisplayName": "<string>",
"userId": "<string>",
"version": -1
}
],
"collectionIDs": [
[
127
]
],
"etag": "<string>",
"knowledgeProvenance": {
"assetRef": {},
"citations": {},
"collectionRef": {},
"inScope": {
"assetIDs": [
[
127
]
],
"collectionIDs": [
[
127
]
],
"mentions": {
"assets": [
[
[
127
]
]
],
"collections": [
[
[
127
]
]
]
},
"worldKnowledge": true
}
},
"label": "<string>",
"lifecycleState": "<string>",
"messages": [
{
"content": "<string>",
"createdBy": [
127
],
"id": [
127
],
"isComplete": true,
"kind": "<string>",
"metadata": {
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": [
127
],
"deletedAt": "2023-11-07T05:31:56Z",
"deletedBy": [
127
],
"modifiedAt": "2023-11-07T05:31:56Z",
"modifiedBy": [
127
]
},
"recipients": [
"<string>"
],
"textSuggestions": [
"<string>"
],
"threadId": [
127
],
"transformationQueue": [
"<string>"
],
"transformations": [
"<string>"
],
"version": 123,
"worldKnowledge": true
}
],
"metadata": {
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": [
127
],
"deletedAt": "2023-11-07T05:31:56Z",
"deletedBy": [
127
],
"modifiedAt": "2023-11-07T05:31:56Z",
"modifiedBy": [
127
]
},
"organizationId": [
127
],
"permanentShareToken": [
{
"messageId": [
127
],
"publicToken": "<string>",
"shareMethod": "<string>",
"sharedAt": "2023-11-07T05:31:56Z",
"sharedBy": [
127
],
"sharedByDisplayName": "<string>",
"sharedToEmails": [
"<string>"
],
"tokenId": [
127
]
}
],
"tenantId": [
127
],
"threadId": [
127
],
"version": 123
},
"details": {
"consumption": {
"units": 123
},
"operation": {
"duration": 123,
"operationId": "<string>"
}
},
"done": true,
"eventKey": "<string>",
"message": "<string>"
}
Path Parameters
Query Parameters
Response
200
application/json
Success response
The response is of type object
.
curl --request GET \
--url https://api.storytell.ai/v1/threads/{threadID}
{
"code": "<string>",
"data": {
"activeAssets": [
{
"contentType": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"deletedAt": {
"Time": "2023-11-07T05:31:56Z",
"Valid": true
},
"displayName": "<string>",
"etag": "<string>",
"filesize": 123,
"id": "<string>",
"lifecycleState": "<string>",
"modifiedAt": "2023-11-07T05:31:56Z",
"organizationId": "<string>",
"originalFilename": "<string>",
"processingFailureReason": {
"String": "<string>",
"Valid": true
},
"processingStatusText": {
"String": "<string>",
"Valid": true
},
"projectId": "<string>",
"summary": "<string>",
"tenantId": "<string>",
"textTokens": 123,
"userDisplayName": "<string>",
"userId": "<string>",
"version": -1
}
],
"collectionIDs": [
[
127
]
],
"etag": "<string>",
"knowledgeProvenance": {
"assetRef": {},
"citations": {},
"collectionRef": {},
"inScope": {
"assetIDs": [
[
127
]
],
"collectionIDs": [
[
127
]
],
"mentions": {
"assets": [
[
[
127
]
]
],
"collections": [
[
[
127
]
]
]
},
"worldKnowledge": true
}
},
"label": "<string>",
"lifecycleState": "<string>",
"messages": [
{
"content": "<string>",
"createdBy": [
127
],
"id": [
127
],
"isComplete": true,
"kind": "<string>",
"metadata": {
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": [
127
],
"deletedAt": "2023-11-07T05:31:56Z",
"deletedBy": [
127
],
"modifiedAt": "2023-11-07T05:31:56Z",
"modifiedBy": [
127
]
},
"recipients": [
"<string>"
],
"textSuggestions": [
"<string>"
],
"threadId": [
127
],
"transformationQueue": [
"<string>"
],
"transformations": [
"<string>"
],
"version": 123,
"worldKnowledge": true
}
],
"metadata": {
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": [
127
],
"deletedAt": "2023-11-07T05:31:56Z",
"deletedBy": [
127
],
"modifiedAt": "2023-11-07T05:31:56Z",
"modifiedBy": [
127
]
},
"organizationId": [
127
],
"permanentShareToken": [
{
"messageId": [
127
],
"publicToken": "<string>",
"shareMethod": "<string>",
"sharedAt": "2023-11-07T05:31:56Z",
"sharedBy": [
127
],
"sharedByDisplayName": "<string>",
"sharedToEmails": [
"<string>"
],
"tokenId": [
127
]
}
],
"tenantId": [
127
],
"threadId": [
127
],
"version": 123
},
"details": {
"consumption": {
"units": 123
},
"operation": {
"duration": 123,
"operationId": "<string>"
}
},
"done": true,
"eventKey": "<string>",
"message": "<string>"
}