Cody
codyCody is an AI-powered assistant that uses the magic of ChatGPT meets the expertise of a custom-made AI assistant trained on your specific business.
Acciones disponibles (21)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Create ConversationCODY_CREATE_CONVERSATIONAcciónTool to create a new conversation with a specified bot. Use when starting a new conversation thread with optional focus mode to limit bot's knowledge base to specific documents.
CODY_CREATE_CONVERSATIONAcciónTool to create a new conversation with a specified bot. Use when starting a new conversation thread with optional focus mode to limit bot's knowledge base to specific documents.
Parámetros de entrada
namestringObligatorioThe conversation name.
bot_idstringObligatorioThe bot identifier to use for this conversation.
document_idsstring[]List of document IDs to enable focus mode. Only documents that exist in the folders the bot has access to are allowed. Maximum 1,000 elements.
Parámetros de salida
dataobjectObligatorioCreated conversation data.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create DocumentCODY_CREATE_DOCUMENTAcciónTool to create a new document with text or HTML content in Cody AI. Use when you need to add documents to Cody's knowledge base with up to 768 KB of content.
CODY_CREATE_DOCUMENTAcciónTool to create a new document with text or HTML content in Cody AI. Use when you need to add documents to Cody's knowledge base with up to 768 KB of content.
Parámetros de entrada
namestringObligatorioThe document name.
contentstringObligatorioUp to 768 KB of text or HTML content for the document. This field is required.
folder_idstringObligatorioID of the folder to store the document. This field is required.
Parámetros de salida
dataobjectObligatorioCreated document data.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Document From FileCODY_CREATE_DOCUMENT_FROM_FILEAcciónTool to create a document by uploading a file (up to 100 MB). Supports txt, md, rtf, pdf, ppt, pptx, pptm, doc, docx, docm formats. Use when you need to add file-based documents to Cody's knowledge base. The file is processed asynchronously.
CODY_CREATE_DOCUMENT_FROM_FILEAcciónTool to create a document by uploading a file (up to 100 MB). Supports txt, md, rtf, pdf, ppt, pptx, pptm, doc, docx, docm formats. Use when you need to add file-based documents to Cody's knowledge base. The file is processed asynchronously.
Parámetros de entrada
keystringObligatorioThe key received after uploading a file via the /uploads/signed-url endpoint. This key identifies the uploaded file to be converted into a document.
folder_idstringID of the destination folder for the document. If not provided, the document will be stored in the root folder.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Document from WebpageCODY_CREATE_DOCUMENT_FROM_WEBPAGEAcciónTool to create a document from a publicly accessible webpage URL. Use when you need to import content from a webpage into Cody AI. The webpage must be accessible without login. If request fails, ensure the URL is publicly accessible and not blocked by a firewall.
CODY_CREATE_DOCUMENT_FROM_WEBPAGEAcciónTool to create a document from a publicly accessible webpage URL. Use when you need to import content from a webpage into Cody AI. The webpage must be accessible without login. If request fails, ensure the URL is publicly accessible and not blocked by a firewall.
Parámetros de entrada
urlstringObligatorioValid and publicly accessible webpage URL. The webpage must be accessible without login or authentication.
folder_idstringObligatorioThe folder identifier where the document will be stored.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create FolderCODY_CREATE_FOLDERAcciónTool to create a new folder in Cody AI for organizing content. Use when you need to create a folder to organize documents or conversations.
CODY_CREATE_FOLDERAcciónTool to create a new folder in Cody AI for organizing content. Use when you need to create a folder to organize documents or conversations.
Parámetros de entrada
namestringObligatorioThe name of the folder to create.
Parámetros de salida
dataobjectObligatorioContainer for created folder information.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete ConversationCODY_DELETE_CONVERSATIONAcciónTool to delete a conversation by its ID. Use when you need to permanently remove a conversation from the system.
CODY_DELETE_CONVERSATIONAcciónTool to delete a conversation by its ID. Use when you need to permanently remove a conversation from the system.
Parámetros de entrada
idstringObligatorioID of the conversation to delete
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete DocumentCODY_DELETE_DOCUMENTAcciónTool to delete a document by id. Use when removing a document that is no longer needed.
CODY_DELETE_DOCUMENTAcciónTool to delete a document by id. Use when removing a document that is no longer needed.
Parámetros de entrada
idstringObligatorioThe document identifier to delete
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get ConversationCODY_GET_CONVERSATIONAcciónTool to fetch a conversation by its ID from Cody AI. Use when you need to retrieve details about a specific conversation. Supports optional includes parameter to filter response to list document IDs.
CODY_GET_CONVERSATIONAcciónTool to fetch a conversation by its ID from Cody AI. Use when you need to retrieve details about a specific conversation. Supports optional includes parameter to filter response to list document IDs.
Parámetros de entrada
idstringObligatorioThe unique identifier of the conversation to retrieve.
includesstringFilters response to list document IDs the conversation focuses on. Accepts value: 'document_ids'.
Parámetros de salida
dataobjectObligatorioConversation data.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get DocumentCODY_GET_DOCUMENTAcciónTool to retrieve a specific document by its identifier from Cody AI. Use when you need to get details about a particular document including its status, content URL, and metadata.
CODY_GET_DOCUMENTAcciónTool to retrieve a specific document by its identifier from Cody AI. Use when you need to get details about a particular document including its status, content URL, and metadata.
Parámetros de entrada
idstringObligatorioThe unique identifier of the document to retrieve.
Parámetros de salida
dataobjectObligatorioThe document data.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get FolderCODY_GET_FOLDERAcciónTool to retrieve a specific folder by its identifier. Use when you need to get details about a folder.
CODY_GET_FOLDERAcciónTool to retrieve a specific folder by its identifier. Use when you need to get details about a folder.
Parámetros de entrada
idstringObligatorioThe unique identifier of the folder to retrieve.
Parámetros de salida
dataobjectObligatorioContainer for folder information.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get MessageCODY_GET_MESSAGEAcciónTool to fetch a specific message by its ID from Cody AI. Use when you need to retrieve details about a particular message, with optional includes for sources or usage metrics.
CODY_GET_MESSAGEAcciónTool to fetch a specific message by its ID from Cody AI. Use when you need to retrieve details about a particular message, with optional includes for sources or usage metrics.
Parámetros de entrada
idstringObligatorioThe unique identifier of the message to retrieve.
includesstringExtra attributes to include in the response. Accepted values are 'sources' (to include source documents) or 'usage' (to include token and credit consumption metrics). Separate multiple values with commas.
Parámetros de salida
dataobjectObligatorioThe message data.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Upload Signed URLCODY_GET_UPLOADS_SIGNED_URLAcciónTool to get an AWS S3 signed upload URL for file uploads. Use when you need to obtain a signed URL to upload a file to Cody's storage.
CODY_GET_UPLOADS_SIGNED_URLAcciónTool to get an AWS S3 signed upload URL for file uploads. Use when you need to obtain a signed URL to upload a file to Cody's storage.
Parámetros de entrada
file_namestringObligatorioOriginal file name you want to upload, must contain the file extension.
content_typestringObligatorioMIME content type of the file.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List BotsCODY_LIST_BOTSAcciónTool to get all bots with optional keyword filtering. Use when you need to retrieve the list of available bots in a Cody account.
CODY_LIST_BOTSAcciónTool to get all bots with optional keyword filtering. Use when you need to retrieve the list of available bots in a Cody account.
Parámetros de entrada
keywordstringKeyword to filter the list of bots to only those that at least partially match the bot name.
Parámetros de salida
dataobject[]ObligatorioCollection of bot objects.
metaobjectObligatorioMetadata wrapper containing pagination.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List ConversationsCODY_LIST_CONVERSATIONSAcciónTool to get all conversations with optional filtering by bot, keyword, or includes. Use when you need to retrieve conversation history, filter by bot, search by name, or get document associations.
CODY_LIST_CONVERSATIONSAcciónTool to get all conversations with optional filtering by bot, keyword, or includes. Use when you need to retrieve conversation history, filter by bot, search by name, or get document associations.
Parámetros de entrada
bot_idstringFilters conversations to those using a specific bot. Provide the bot's unique identifier.
keywordstringFilters conversations by partial match against conversation names. Case-insensitive search.
includesstringWhen set to 'document_ids', returns document IDs the conversation focuses on. Use this to get additional context about conversations.
Parámetros de salida
dataobject[]ObligatorioList of conversations.
metaobjectObligatorioMetadata including pagination information.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List DocumentsCODY_LIST_DOCUMENTSAcciónTool to retrieve all documents from Cody AI account with optional filtering. Use when you need to list documents by folder, conversation, or search by keyword. Returns document details including learning status and content URL.
CODY_LIST_DOCUMENTSAcciónTool to retrieve all documents from Cody AI account with optional filtering. Use when you need to list documents by folder, conversation, or search by keyword. Returns document details including learning status and content URL.
Parámetros de entrada
keywordstringKeyword to filter the list to documents that partially match the name. Use for searching documents by name.
folder_idstringId of the folder to list documents for. Use to filter documents by folder.
conversation_idstringId of the conversation to only list documents the conversation is focused on. Use to filter documents by conversation.
Parámetros de salida
dataobject[]ObligatorioArray of document objects.
metaobjectObligatorioMetadata object containing pagination.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List FoldersCODY_LIST_FOLDERSAcciónTool to retrieve all folders with optional keyword filtering. Use when you need to list or search for folders in the account.
CODY_LIST_FOLDERSAcciónTool to retrieve all folders with optional keyword filtering. Use when you need to list or search for folders in the account.
Parámetros de entrada
keywordstringKeyword to filter the list to folders that partially match the name.
Parámetros de salida
dataobject[]ObligatorioArray of folder objects.
metaobjectObligatorioPagination metadata.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List MessagesCODY_LIST_MESSAGESAcciónTool to retrieve a paginated list of messages from Cody, optionally filtered by conversation. Use when you need to list messages, with optional filtering by conversation_id and extra attributes (sources or usage).
CODY_LIST_MESSAGESAcciónTool to retrieve a paginated list of messages from Cody, optionally filtered by conversation. Use when you need to list messages, with optional filtering by conversation_id and extra attributes (sources or usage).
Parámetros de entrada
includesstringExtra attributes to include in the response. Accepted values are 'sources' (to include source documents) or 'usage' (to include token and credit consumption metrics). Separate multiple values with commas.
conversation_idstringFilters results to messages within a specific conversation. Provide the conversation ID to narrow down results.
Parámetros de salida
dataobject[]ObligatorioArray of message objects.
metaobjectObligatorioContains pagination information.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Send MessageCODY_SEND_MESSAGEAcciónTool to send a message to Cody AI and receive an AI-generated response. Use when you need to send a user message to a conversation and get the AI's reply.
CODY_SEND_MESSAGEAcciónTool to send a message to Cody AI and receive an AI-generated response. Use when you need to send a user message to a conversation and get the AI's reply.
Parámetros de entrada
contentstringObligatorioUser message text to send (maximum 2000 characters).
conversation_idstringObligatorioIdentifier for the conversation thread to send the message to.
Parámetros de salida
dataobjectObligatorioThe AI-generated message data.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Send Message for StreamCODY_SEND_MESSAGE_FOR_STREAMAcciónTool to send a message to Cody AI and receive a Server-Sent Events (SSE) stream URL for the AI response. Use when you need streaming responses instead of waiting for the complete message. The response contains a stream_url that can be used to connect to the SSE stream and receive the AI's response in real-time chunks.
CODY_SEND_MESSAGE_FOR_STREAMAcciónTool to send a message to Cody AI and receive a Server-Sent Events (SSE) stream URL for the AI response. Use when you need streaming responses instead of waiting for the complete message. The response contains a stream_url that can be used to connect to the SSE stream and receive the AI's response in real-time chunks.
Parámetros de entrada
contentstringObligatorioThe message content to send to the AI (maximum 2000 characters).
redirectbooleanControls response format. When false (default), returns 200 with stream URL in JSON. When true, returns 302 redirect to stream URL.
conversation_idstringObligatorioID of the conversation to send the message to.
Parámetros de salida
dataobjectObligatorioContains the stream_url for accessing the SSE stream.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update ConversationCODY_UPDATE_CONVERSATIONAcciónTool to update a conversation by its ID including name, bot_id, and document_ids. Use when you need to modify an existing conversation's properties.
CODY_UPDATE_CONVERSATIONAcciónTool to update a conversation by its ID including name, bot_id, and document_ids. Use when you need to modify an existing conversation's properties.
Parámetros de entrada
idstringObligatorioThe unique identifier of the conversation to update.
namestringObligatorioThe conversation name to update.
bot_idstringObligatorioThe bot associated with this conversation.
document_idsstring[]Document IDs to limit the bot's knowledge base. Only documents that exist in the folders the bot has access to are allowed. Maximum 1,000 elements.
Parámetros de salida
dataobjectObligatorioUpdated conversation data.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update FolderCODY_UPDATE_FOLDERAcciónTool to update a folder by its ID. Use when you need to modify an existing folder's name.
CODY_UPDATE_FOLDERAcciónTool to update a folder by its ID. Use when you need to modify an existing folder's name.
Parámetros de entrada
idstringObligatorioThe unique identifier of the folder to update.
namestringObligatorioThe new name for the folder.
Parámetros de salida
dataobjectObligatorioContainer for updated folder information.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not