/chatbotkit-data | Type: Application | PCID required: Yes
Tools
chatbotkit_data_attach_dataset_file
Attach dataset file Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
datasetId | string | Yes | — | The ID of the dataset |
fileId | string | Yes | — | The ID of the file |
type | string | No | — | The dataset file attachment type |
chatbotkit_data_create_contact
Create a new contact Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
description | string | No | — | The associated description |
email | string | No | — | The email address of the contact |
fingerprint | string | No | — | The fingerprint of the contact |
meta | object | No | — | Meta data information |
name | string | No | — | The associated name |
nick | string | No | — | The nickname of the contact |
phone | string | No | — | The phone number of the contact |
preferences | string | No | — | The preferences of the contact |
verifiedAt | number | No | — | The timestamp (ms) when the contact was verified |
chatbotkit_data_create_dataset
Create dataset Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
alias | string | No | — | The unique alias for the instance |
blueprintId | string | No | — | The ID of the blueprint |
description | string | No | — | The associated description |
matchInstruction | string | No | — | An instruction to include before found records |
meta | object | No | — | Meta data information |
mismatchInstruction | string | No | — | An instruction to include if no records where found |
name | string | No | — | The associated name |
recordMaxTokens | number | No | — | The total number of tokens for each record |
reranker | string | No | — | The reranker class for the dataset |
searchMaxRecords | number | No | — | The total number of records to return during search |
searchMaxTokens | number | No | — | The total number of tokens to use during search |
searchMinScore | number | No | — | The minimum score to filter search results by |
separators | string | No | — | A list of separators to use when tokenizing text |
store | string | No | — | The storage class for the dataset |
visibility | string | No | — | The dataset visibility |
chatbotkit_data_create_dataset_record
Create record Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
datasetId | string | Yes | — | Dataset Id |
meta | object | No | — | Meta data information |
source | string | No | — | The source of the record |
text | string | Yes | — | The text of the record |
chatbotkit_data_create_file
Create file Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
alias | string | No | — | The unique alias for the instance |
blueprintId | string | No | — | The ID of the blueprint |
description | string | No | — | The associated description |
meta | object | No | — | Meta data information |
name | string | No | — | The associated name |
visibility | string | No | — | The file visibility |
chatbotkit_data_create_memory
Create a new memory Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
botId | string | No | — | The bot associated with the memory |
contactId | string | No | — | The contact associated with the memory |
description | string | No | — | The associated description |
meta | object | No | — | Meta data information |
name | string | No | — | The associated name |
text | string | Yes | — | The text of the memory |
chatbotkit_data_create_task
Create a new task Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
botId | string | No | — | The bot associated with the task |
contactId | string | No | — | The contact associated with the task |
description | string | No | — | The associated description |
maxIterations | number | No | — | The maximum number of iterations per task execution |
maxTime | number | No | — | The maximum time per task execution in milliseconds |
meta | object | No | — | Meta data information |
name | string | No | — | The associated name |
schedule | string | No | — | The schedule of the task |
sessionDuration | number | No | — | The session duration of the Widget integration |
chatbotkit_data_delete_contact
Delete contact Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
contactId | string | Yes | — | The ID of the contact to delete |
chatbotkit_data_delete_dataset
Delete a dataset Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
datasetId | string | Yes | — | The ID of the dataset to delete |
chatbotkit_data_delete_dataset_record
Delete a record from a dataset Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
datasetId | string | Yes | — | The ID of the dataset |
recordId | string | Yes | — | The ID of the record to delete |
chatbotkit_data_delete_file
Delete a file Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
fileId | string | Yes | — | The ID of the file to delete |
chatbotkit_data_delete_memory
Delete memory Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
memoryId | string | Yes | — | The ID of the memory to delete |
chatbotkit_data_delete_task
Delete task Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
taskId | string | Yes | — | The ID of the task to delete |
chatbotkit_data_detach_dataset_file
Detach dataset file Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
datasetId | string | Yes | — | The ID of the dataset |
fileId | string | Yes | — | The ID of the file |
deleteRecords | boolean | No | — | Delete records associated with the file |
chatbotkit_data_download_file
Download a file Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
fileId | string | Yes | — | The ID of the file to download |
chatbotkit_data_fetch_contact
Fetch contact Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
contactId | string | Yes | — | The ID of the contact to retrieve |
chatbotkit_data_fetch_dataset
Fetch a dataset Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
datasetId | string | Yes | — | The ID of the dataset to retrieve |
chatbotkit_data_fetch_dataset_record
Fetch a record from a dataset Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
datasetId | string | Yes | — | The ID of the dataset |
recordId | string | Yes | — | The ID of the record to retrieve |
chatbotkit_data_fetch_file
Fetch a file Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
fileId | string | Yes | — | The ID of the file to retrieve |
chatbotkit_data_fetch_memory
Fetch memory Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
memoryId | string | Yes | — | The ID of the memory to retrieve |
chatbotkit_data_fetch_task
Fetch task Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
taskId | string | Yes | — | The ID of the task to retrieve |
chatbotkit_data_list_contacts
List contacts Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
cursor | string | No | — | The cursor to use for pagination |
order | string | No | — | The order of the paginated items |
take | integer | No | — | The number of items to retrieve |
meta | object | No | — | Key-value pairs to filter the partner users by metadata |
chatbotkit_data_list_dataset_files
Retrieve a list of dataset files Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
datasetId | string | Yes | — | The ID of the dataset |
cursor | string | No | — | The cursor to use for pagination |
order | string | No | — | The order of the paginated items |
take | integer | No | — | The number of items to retrieve |
chatbotkit_data_list_dataset_records
Retrieve a list of dataset records Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
datasetId | string | Yes | — | The ID of the dataset |
cursor | string | No | — | The cursor to use for pagination |
order | string | No | — | The order of the paginated items |
take | integer | No | — | The number of items to retrieve |
chatbotkit_data_list_datasets
Retrieve a list of datasets Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
cursor | string | No | — | The cursor to use for pagination |
order | string | No | — | The order of the paginated items |
take | integer | No | — | The number of items to retrieve |
meta | object | No | — | Key-value pairs to filter the partner users by metadata |
chatbotkit_data_list_files
Retrieve a list of files Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
cursor | string | No | — | The cursor to use for pagination |
order | string | No | — | The order of the paginated items |
take | integer | No | — | The number of items to retrieve |
meta | object | No | — | Key-value pairs to filter the partner users by metadata |
chatbotkit_data_list_memories
List memories Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
cursor | string | No | — | The cursor to use for pagination |
order | string | No | — | The order of the paginated items |
take | integer | No | — | The number of items to retrieve |
meta | object | No | — | Key-value pairs to filter the partner users by metadata |
chatbotkit_data_list_tasks
List tasks Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
cursor | string | No | — | The cursor to use for pagination |
order | string | No | — | The order of the paginated items |
take | integer | No | — | The number of items to retrieve |
botId | string | No | — | Filter by associated bot |
contactId | string | No | — | Filter by associated contact |
status | string | No | — | Filter by task status |
meta | object | No | — | Key-value pairs to filter the partner users by metadata |
chatbotkit_data_search_dataset
Search a dataset for records matching a given search query Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
datasetId | string | Yes | — | The ID of the dataset to search |
filter | object | No | — | The filter value |
search | string | Yes | — | The keyword/phrase to search for |
chatbotkit_data_search_memory
Search memories for records matching a given search query Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
botId | string | No | — | The ID of the bot to filter memories by |
contactId | string | No | — | The ID of the contact to filter memories by |
search | string | Yes | — | The keyword/phrase to search for |
chatbotkit_data_trigger_task
Trigger a task Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
taskId | string | Yes | — | Task Id |
chatbotkit_data_update_contact
Update contact Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
contactId | string | Yes | — | Contact Id |
description | string | No | — | The associated description |
email | string | No | — | The email address of the contact |
fingerprint | string | No | — | The fingerprint of the contact |
meta | object | No | — | Meta data information |
name | string | No | — | The associated name |
nick | string | No | — | The nickname of the contact |
phone | string | No | — | The phone number of the contact |
preferences | string | No | — | The preferences of the contact |
verifiedAt | number | No | — | The timestamp (ms) when the contact was verified |
chatbotkit_data_update_dataset
Update dataset Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
datasetId | string | Yes | — | Dataset Id |
alias | string | No | — | The unique alias for the instance |
blueprintId | string | No | — | The ID of the blueprint |
description | string | No | — | The associated description |
matchInstruction | string | No | — | An instruction to include before found records |
meta | object | No | — | Meta data information |
mismatchInstruction | string | No | — | An instruction to include if no records where found |
name | string | No | — | The associated name |
recordMaxTokens | number | No | — | The total number of tokens to for each record |
reranker | string | No | — | The reranker class for the dataset |
searchMaxRecords | number | No | — | The total number of records to return during search |
searchMaxTokens | number | No | — | The total number of tokens to use during search |
searchMinScore | number | No | — | The minimum score to filter search results by |
separators | string | No | — | A list of separators to use when tokenizing text |
visibility | string | No | — | The dataset visibility |
chatbotkit_data_update_dataset_record
Update a dataset record Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
datasetId | string | Yes | — | Dataset Id |
recordId | string | Yes | — | Record Id |
meta | object | No | — | Meta data information |
source | string | No | — | The source to update the record with |
text | string | No | — | The text to update the record with |
chatbotkit_data_update_file
Update file Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
fileId | string | Yes | — | File Id |
alias | string | No | — | The unique alias for the instance |
blueprintId | string | No | — | The ID of the blueprint |
description | string | No | — | The associated description |
meta | object | No | — | Meta data information |
name | string | No | — | The associated name |
visibility | string | No | — | The file visibility |
chatbotkit_data_update_memory
Update memory Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
memoryId | string | Yes | — | Memory Id |
botId | string | No | — | The bot associated with the memory |
contactId | string | No | — | The contact associated with the memory |
description | string | No | — | The associated description |
meta | object | No | — | Meta data information |
name | string | No | — | The associated name |
text | string | No | — | The text of the memory |
chatbotkit_data_update_task
Update task Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
taskId | string | Yes | — | Task Id |
botId | string | No | — | The bot associated with the task |
contactId | string | No | — | The contact associated with the task |
description | string | No | — | The associated description |
maxIterations | number | No | — | The maximum number of iterations per task execution |
maxTime | number | No | — | The maximum time per task execution in milliseconds |
meta | object | No | — | Meta data information |
name | string | No | — | The associated name |
schedule | string | No | — | The schedule of the task |
sessionDuration | number | No | — | The session duration of the Widget integration |
chatbotkit_data_upload_file
Upload the specified file Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
fileId | string | Yes | — | File Id |
file | string | Yes | — | The file to upload either as http: or data: URL |

