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
Placeholder Struct for Thread Content Types
API Reference
Placeholder Struct for Thread Content Types
A utility structure that exists solely to support API code generation templates and content type definitions.
GET
/
v1
/
_
/
gen
/
threads
curl --request GET \
--url https://api.storytell.ai/v1/_/gen/threads
{
"knowledgeChangeV1": {
"createdBy": [
127
],
"kind": "<string>",
"knowledge": {
"assetContext": {
"added": [
[
127
]
],
"removed": [
[
127
]
]
},
"organizationContext": {
"added": [
[
127
]
],
"removed": [
[
127
]
]
},
"world": true
},
"knowledgeFull": {
"assetContext": {
"added": [
{
"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
}
],
"removed": [
{
"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
}
]
},
"world": true
},
"messageId": [
127
],
"organizationId": [
127
],
"progress": {},
"tenantId": [
127
],
"threadId": [
127
]
},
"promptCampaignV1": {
"createdBy": [
127
],
"kind": "<string>",
"knowledge": {
"assetContext": {
"added": [
[
127
]
],
"removed": [
[
127
]
]
},
"organizationContext": {
"added": [
[
127
]
],
"removed": [
[
127
]
]
},
"world": true
},
"messageId": [
127
],
"model": "<string>",
"prompt": "<string>",
"transformationId": "<string>"
},
"promptCampaignV2": {
"createdBy": [
127
],
"kind": "<string>",
"messageId": [
127
],
"model": "<string>",
"prompt": "<string>",
"scope": {
"assetIDs": [
[
127
]
],
"collectionIDs": [
[
127
]
],
"mentions": {
"assets": [
[
[
127
]
]
],
"collections": [
[
[
127
]
]
]
},
"worldKnowledge": true
},
"transformationId": "<string>"
},
"promptV1": {
"context_window": 123,
"createdBy": [
127
],
"frequency_penalty": 123,
"kind": "<string>",
"knowledge": {
"assetContext": {
"added": [
[
127
]
],
"removed": [
[
127
]
]
},
"organizationContext": {
"added": [
[
127
]
],
"removed": [
[
127
]
]
},
"world": true
},
"logit_bias": {},
"max_tokens": 123,
"messageId": [
127
],
"model": "<string>",
"presence_penalty": 123,
"prompt": "<string>",
"stop": [
"<string>"
],
"temperature": 123,
"top_p": 123,
"transformationId": "<string>"
},
"promptV2": {
"context_window": 123,
"createdBy": [
127
],
"frequency_penalty": 123,
"kind": "<string>",
"logit_bias": {},
"max_tokens": 123,
"messageId": [
127
],
"model": "<string>",
"presence_penalty": 123,
"prompt": "<string>",
"scope": {
"assetIDs": [
[
127
]
],
"collectionIDs": [
[
127
]
],
"mentions": {
"assets": [
[
[
127
]
]
],
"collections": [
[
[
127
]
]
]
},
"worldKnowledge": true
},
"stop": [
"<string>"
],
"temperature": 123,
"top_p": 123,
"transformationId": "<string>"
},
"renameThreadV1": {
"createdBy": [
127
],
"kind": "<string>",
"label": "<string>",
"messageId": [
127
]
},
"textV1": {
"createdBy": [
127
],
"isDone": true,
"kind": "<string>",
"label": "<string>",
"messageId": "<string>",
"organizationId": [
127
],
"parts": [
"<string>"
],
"provenance": {
"inputTokens": 123,
"outputTokens": 123,
"processedByModel": "<string>",
"scoped": {
"citations": [
[
127
]
],
"collectionAssets": [
[
127
]
],
"collectionReferenceIDs": [
[
127
]
],
"explicitAssets": [
[
127
]
],
"worldKnowledge": true
},
"suggestedModels": [
{
"category": "<string>",
"model": "<string>",
"score": 123
}
],
"transformationId": "<string>"
},
"tenantId": [
127
],
"textSuggestions": [
"<string>"
],
"threadId": [
127
]
}
}
Response
200
application/json
Success response
The response is of type object
.
curl --request GET \
--url https://api.storytell.ai/v1/_/gen/threads
{
"knowledgeChangeV1": {
"createdBy": [
127
],
"kind": "<string>",
"knowledge": {
"assetContext": {
"added": [
[
127
]
],
"removed": [
[
127
]
]
},
"organizationContext": {
"added": [
[
127
]
],
"removed": [
[
127
]
]
},
"world": true
},
"knowledgeFull": {
"assetContext": {
"added": [
{
"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
}
],
"removed": [
{
"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
}
]
},
"world": true
},
"messageId": [
127
],
"organizationId": [
127
],
"progress": {},
"tenantId": [
127
],
"threadId": [
127
]
},
"promptCampaignV1": {
"createdBy": [
127
],
"kind": "<string>",
"knowledge": {
"assetContext": {
"added": [
[
127
]
],
"removed": [
[
127
]
]
},
"organizationContext": {
"added": [
[
127
]
],
"removed": [
[
127
]
]
},
"world": true
},
"messageId": [
127
],
"model": "<string>",
"prompt": "<string>",
"transformationId": "<string>"
},
"promptCampaignV2": {
"createdBy": [
127
],
"kind": "<string>",
"messageId": [
127
],
"model": "<string>",
"prompt": "<string>",
"scope": {
"assetIDs": [
[
127
]
],
"collectionIDs": [
[
127
]
],
"mentions": {
"assets": [
[
[
127
]
]
],
"collections": [
[
[
127
]
]
]
},
"worldKnowledge": true
},
"transformationId": "<string>"
},
"promptV1": {
"context_window": 123,
"createdBy": [
127
],
"frequency_penalty": 123,
"kind": "<string>",
"knowledge": {
"assetContext": {
"added": [
[
127
]
],
"removed": [
[
127
]
]
},
"organizationContext": {
"added": [
[
127
]
],
"removed": [
[
127
]
]
},
"world": true
},
"logit_bias": {},
"max_tokens": 123,
"messageId": [
127
],
"model": "<string>",
"presence_penalty": 123,
"prompt": "<string>",
"stop": [
"<string>"
],
"temperature": 123,
"top_p": 123,
"transformationId": "<string>"
},
"promptV2": {
"context_window": 123,
"createdBy": [
127
],
"frequency_penalty": 123,
"kind": "<string>",
"logit_bias": {},
"max_tokens": 123,
"messageId": [
127
],
"model": "<string>",
"presence_penalty": 123,
"prompt": "<string>",
"scope": {
"assetIDs": [
[
127
]
],
"collectionIDs": [
[
127
]
],
"mentions": {
"assets": [
[
[
127
]
]
],
"collections": [
[
[
127
]
]
]
},
"worldKnowledge": true
},
"stop": [
"<string>"
],
"temperature": 123,
"top_p": 123,
"transformationId": "<string>"
},
"renameThreadV1": {
"createdBy": [
127
],
"kind": "<string>",
"label": "<string>",
"messageId": [
127
]
},
"textV1": {
"createdBy": [
127
],
"isDone": true,
"kind": "<string>",
"label": "<string>",
"messageId": "<string>",
"organizationId": [
127
],
"parts": [
"<string>"
],
"provenance": {
"inputTokens": 123,
"outputTokens": 123,
"processedByModel": "<string>",
"scoped": {
"citations": [
[
127
]
],
"collectionAssets": [
[
127
]
],
"collectionReferenceIDs": [
[
127
]
],
"explicitAssets": [
[
127
]
],
"worldKnowledge": true
},
"suggestedModels": [
{
"category": "<string>",
"model": "<string>",
"score": 123
}
],
"transformationId": "<string>"
},
"tenantId": [
127
],
"textSuggestions": [
"<string>"
],
"threadId": [
127
]
}
}