Crawls a URL and creates an asset for the content suitable for chat.
curl --request POST \
--url https://production-storytell-ai-platfor-cds2.encr.app/v1/url/crawl \
--header 'Content-Type: application/json' \
--data '
{
"collectionID": [
127
],
"organizationID": [
127
],
"processInBackground": true,
"processInThread": true,
"tenantID": [
127
],
"url": "<string>"
}
'{
"code": "<string>",
"data": {
"chunkingStrategy": "<string>",
"collectionIds": [
[
127
]
],
"contentType": "<string>",
"displayName": "<string>",
"embeddings": [
{
"model": "<string>",
"state": "<string>"
}
],
"etag": "<string>",
"extractionStrategy": "<string>",
"failureReason": "<string>",
"fileSize": 123,
"htmlArtifactTokenCount": 123,
"id": [
127
],
"keywordStrategy": "<string>",
"keywords": [
"<string>"
],
"keywordsTokenCount": 123,
"lifecycleState": "<string>",
"lifecyclesCompleted": [
"<string>"
],
"markdownTokenCount": 123,
"metadata": {
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": [
127
],
"deletedAt": "2023-11-07T05:31:56Z",
"deletedBy": [
127
],
"embeddings": {
"completedAt": "2023-11-07T05:31:56Z",
"count": 123,
"failedAt": "2023-11-07T05:31:56Z",
"failedReason": "<string>",
"message": "<string>",
"occurredAt": "2023-11-07T05:31:56Z",
"startAt": "2023-11-07T05:31:56Z",
"statusCode": 123,
"step": "<string>"
},
"extract": {
"completedAt": "2023-11-07T05:31:56Z",
"count": 123,
"failedAt": "2023-11-07T05:31:56Z",
"failedReason": "<string>",
"message": "<string>",
"occurredAt": "2023-11-07T05:31:56Z",
"startAt": "2023-11-07T05:31:56Z",
"statusCode": 123,
"step": "<string>"
},
"lastReadyAt": "2023-11-07T05:31:56Z",
"lastReferencedAt": "2023-11-07T05:31:56Z",
"modifiedAt": "2023-11-07T05:31:56Z",
"modifiedBy": [
127
],
"processing": {
"completedAt": "2023-11-07T05:31:56Z",
"count": 123,
"failedAt": "2023-11-07T05:31:56Z",
"failedReason": "<string>",
"message": "<string>",
"occurredAt": "2023-11-07T05:31:56Z",
"startAt": "2023-11-07T05:31:56Z",
"statusCode": 123,
"step": "<string>"
},
"summarize": {
"completedAt": "2023-11-07T05:31:56Z",
"count": 123,
"failedAt": "2023-11-07T05:31:56Z",
"failedReason": "<string>",
"message": "<string>",
"occurredAt": "2023-11-07T05:31:56Z",
"startAt": "2023-11-07T05:31:56Z",
"statusCode": 123,
"step": "<string>"
},
"transcribe": {
"completedAt": "2023-11-07T05:31:56Z",
"count": 123,
"failedAt": "2023-11-07T05:31:56Z",
"failedReason": "<string>",
"message": "<string>",
"occurredAt": "2023-11-07T05:31:56Z",
"startAt": "2023-11-07T05:31:56Z",
"statusCode": 123,
"step": "<string>"
},
"uploadedAt": "2023-11-07T05:31:56Z"
},
"organizationId": [
127
],
"originalFileName": "<string>",
"processingErrMessage": "<string>",
"processingMessage": "<string>",
"producedEmbeddings": true,
"producedHTMLArtifact": true,
"producedKeywords": true,
"producedMarkdownArtifact": true,
"producedSummary": true,
"producedTranscriptionArtifact": true,
"references": [
{
"referenceId": [
127
],
"referencedAt": "2023-11-07T05:31:56Z",
"referencedBy": [
127
],
"referencedFor": [
127
],
"vendor": "<string>",
"vendorIdentifier": "<string>"
}
],
"signedURL": "<string>",
"summary": "<string>",
"summaryStrategy": "<string>",
"summaryTokenCount": 123,
"tenantId": [
127
],
"textTokens": 123,
"transcriptionTokenCount": 123,
"version": 123,
"workerStrategy": "<string>"
},
"details": {
"consumption": {
"units": 123
},
"operation": {
"duration": 123,
"operationId": "<string>"
}
},
"done": true,
"eventKey": "<string>",
"message": "<string>"
}0 <= x <= 2550 <= x <= 255processed in the background. If false, the trigger to process the asset must occur through the threads domain as knowledge is added. Otherwise, the system will begin processing async in the background.
processed through a websocket message.
0 <= x <= 255Success response
Show child attributes
0 <= x <= 255content within the asset.
0 <= x <= 255Show child attributes
0 <= x <= 2550 <= x <= 255Show child attributes
Show child attributes
0 <= x <= 255Show child attributes
Show child attributes
Show child attributes
0 <= x <= 255on disk when it was on the user's system.
period of time. This is a cache of the identifiers used by the vendor to reference the asset. The validity of these identifiers should be confirmed by the vendor before use and the reference dropped or updated.
Show child attributes
0 <= x <= 2550 <= x <= 2550 <= x <= 255mMust be less than 2048 characters.
0 <= x <= 255Was this page helpful?
curl --request POST \
--url https://production-storytell-ai-platfor-cds2.encr.app/v1/url/crawl \
--header 'Content-Type: application/json' \
--data '
{
"collectionID": [
127
],
"organizationID": [
127
],
"processInBackground": true,
"processInThread": true,
"tenantID": [
127
],
"url": "<string>"
}
'{
"code": "<string>",
"data": {
"chunkingStrategy": "<string>",
"collectionIds": [
[
127
]
],
"contentType": "<string>",
"displayName": "<string>",
"embeddings": [
{
"model": "<string>",
"state": "<string>"
}
],
"etag": "<string>",
"extractionStrategy": "<string>",
"failureReason": "<string>",
"fileSize": 123,
"htmlArtifactTokenCount": 123,
"id": [
127
],
"keywordStrategy": "<string>",
"keywords": [
"<string>"
],
"keywordsTokenCount": 123,
"lifecycleState": "<string>",
"lifecyclesCompleted": [
"<string>"
],
"markdownTokenCount": 123,
"metadata": {
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": [
127
],
"deletedAt": "2023-11-07T05:31:56Z",
"deletedBy": [
127
],
"embeddings": {
"completedAt": "2023-11-07T05:31:56Z",
"count": 123,
"failedAt": "2023-11-07T05:31:56Z",
"failedReason": "<string>",
"message": "<string>",
"occurredAt": "2023-11-07T05:31:56Z",
"startAt": "2023-11-07T05:31:56Z",
"statusCode": 123,
"step": "<string>"
},
"extract": {
"completedAt": "2023-11-07T05:31:56Z",
"count": 123,
"failedAt": "2023-11-07T05:31:56Z",
"failedReason": "<string>",
"message": "<string>",
"occurredAt": "2023-11-07T05:31:56Z",
"startAt": "2023-11-07T05:31:56Z",
"statusCode": 123,
"step": "<string>"
},
"lastReadyAt": "2023-11-07T05:31:56Z",
"lastReferencedAt": "2023-11-07T05:31:56Z",
"modifiedAt": "2023-11-07T05:31:56Z",
"modifiedBy": [
127
],
"processing": {
"completedAt": "2023-11-07T05:31:56Z",
"count": 123,
"failedAt": "2023-11-07T05:31:56Z",
"failedReason": "<string>",
"message": "<string>",
"occurredAt": "2023-11-07T05:31:56Z",
"startAt": "2023-11-07T05:31:56Z",
"statusCode": 123,
"step": "<string>"
},
"summarize": {
"completedAt": "2023-11-07T05:31:56Z",
"count": 123,
"failedAt": "2023-11-07T05:31:56Z",
"failedReason": "<string>",
"message": "<string>",
"occurredAt": "2023-11-07T05:31:56Z",
"startAt": "2023-11-07T05:31:56Z",
"statusCode": 123,
"step": "<string>"
},
"transcribe": {
"completedAt": "2023-11-07T05:31:56Z",
"count": 123,
"failedAt": "2023-11-07T05:31:56Z",
"failedReason": "<string>",
"message": "<string>",
"occurredAt": "2023-11-07T05:31:56Z",
"startAt": "2023-11-07T05:31:56Z",
"statusCode": 123,
"step": "<string>"
},
"uploadedAt": "2023-11-07T05:31:56Z"
},
"organizationId": [
127
],
"originalFileName": "<string>",
"processingErrMessage": "<string>",
"processingMessage": "<string>",
"producedEmbeddings": true,
"producedHTMLArtifact": true,
"producedKeywords": true,
"producedMarkdownArtifact": true,
"producedSummary": true,
"producedTranscriptionArtifact": true,
"references": [
{
"referenceId": [
127
],
"referencedAt": "2023-11-07T05:31:56Z",
"referencedBy": [
127
],
"referencedFor": [
127
],
"vendor": "<string>",
"vendorIdentifier": "<string>"
}
],
"signedURL": "<string>",
"summary": "<string>",
"summaryStrategy": "<string>",
"summaryTokenCount": 123,
"tenantId": [
127
],
"textTokens": 123,
"transcriptionTokenCount": 123,
"version": 123,
"workerStrategy": "<string>"
},
"details": {
"consumption": {
"units": 123
},
"operation": {
"duration": 123,
"operationId": "<string>"
}
},
"done": true,
"eventKey": "<string>",
"message": "<string>"
}