POST
/
v1
/
threads
/
{threadID}
/
attributes
curl --request POST \
  --url https://api.storytell.ai/v1/threads/{threadID}/attributes \
  --header 'Content-Type: application/json' \
  --data '{
  "label": "<string>",
  "threadId": [
    127
  ]
}'
{
  "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

threadID
string
required

Body

application/json
label
string
required
threadId
integer[]
required

Response

200
application/json
Success response
code
string
required
data
object
required
details
object
required
done
boolean
required
eventKey
string
required
message
string
required