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
knowledgeChangeV1
object
required
promptCampaignV1
object
required
promptCampaignV2
object
required
promptV1
object
required
promptV2
object
required
renameThreadV1
object
required
textV1
object
required