NAiOS IconNAiOS Logo
Volver al catálogo

Cody

cody

Cody 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
21
Triggers
0
Autenticación
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

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ón

Tool 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

  • namestringObligatorio

    The conversation name.

  • bot_idstringObligatorio

    The 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

  • dataobjectObligatorio

    Created conversation data.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create DocumentCODY_CREATE_DOCUMENTAcción

Tool 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

  • namestringObligatorio

    The document name.

  • contentstringObligatorio

    Up to 768 KB of text or HTML content for the document. This field is required.

  • folder_idstringObligatorio

    ID of the folder to store the document. This field is required.

Parámetros de salida

  • dataobjectObligatorio

    Created document data.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Document From FileCODY_CREATE_DOCUMENT_FROM_FILEAcción

Tool 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

  • keystringObligatorio

    The 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_idstring

    ID of the destination folder for the document. If not provided, the document will be stored in the root folder.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Document from WebpageCODY_CREATE_DOCUMENT_FROM_WEBPAGEAcción

Tool 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

  • urlstringObligatorio

    Valid and publicly accessible webpage URL. The webpage must be accessible without login or authentication.

  • folder_idstringObligatorio

    The folder identifier where the document will be stored.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create FolderCODY_CREATE_FOLDERAcción

Tool 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

  • namestringObligatorio

    The name of the folder to create.

Parámetros de salida

  • dataobjectObligatorio

    Container for created folder information.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete ConversationCODY_DELETE_CONVERSATIONAcción

Tool to delete a conversation by its ID. Use when you need to permanently remove a conversation from the system.

Parámetros de entrada

  • idstringObligatorio

    ID of the conversation to delete

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete DocumentCODY_DELETE_DOCUMENTAcción

Tool to delete a document by id. Use when removing a document that is no longer needed.

Parámetros de entrada

  • idstringObligatorio

    The document identifier to delete

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get ConversationCODY_GET_CONVERSATIONAcción

Tool 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

  • idstringObligatorio

    The unique identifier of the conversation to retrieve.

  • includesstring

    Filters response to list document IDs the conversation focuses on. Accepts value: 'document_ids'.

Parámetros de salida

  • dataobjectObligatorio

    Conversation data.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get DocumentCODY_GET_DOCUMENTAcción

Tool 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

  • idstringObligatorio

    The unique identifier of the document to retrieve.

Parámetros de salida

  • dataobjectObligatorio

    The document data.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get FolderCODY_GET_FOLDERAcción

Tool to retrieve a specific folder by its identifier. Use when you need to get details about a folder.

Parámetros de entrada

  • idstringObligatorio

    The unique identifier of the folder to retrieve.

Parámetros de salida

  • dataobjectObligatorio

    Container for folder information.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get MessageCODY_GET_MESSAGEAcción

Tool 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

  • idstringObligatorio

    The unique identifier of the message to retrieve.

  • includesstring

    Extra 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

  • dataobjectObligatorio

    The message data.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Upload Signed URLCODY_GET_UPLOADS_SIGNED_URLAcción

Tool 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_namestringObligatorio

    Original file name you want to upload, must contain the file extension.

  • content_typestringObligatorio

    MIME content type of the file.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List BotsCODY_LIST_BOTSAcción

Tool 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

  • keywordstring

    Keyword to filter the list of bots to only those that at least partially match the bot name.

Parámetros de salida

  • dataobject[]Obligatorio

    Collection of bot objects.

  • metaobjectObligatorio

    Metadata wrapper containing pagination.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List ConversationsCODY_LIST_CONVERSATIONSAcción

Tool 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_idstring

    Filters conversations to those using a specific bot. Provide the bot's unique identifier.

  • keywordstring

    Filters conversations by partial match against conversation names. Case-insensitive search.

  • includesstring

    When set to 'document_ids', returns document IDs the conversation focuses on. Use this to get additional context about conversations.

Parámetros de salida

  • dataobject[]Obligatorio

    List of conversations.

  • metaobjectObligatorio

    Metadata including pagination information.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List DocumentsCODY_LIST_DOCUMENTSAcción

Tool 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

  • keywordstring

    Keyword to filter the list to documents that partially match the name. Use for searching documents by name.

  • folder_idstring

    Id of the folder to list documents for. Use to filter documents by folder.

  • conversation_idstring

    Id of the conversation to only list documents the conversation is focused on. Use to filter documents by conversation.

Parámetros de salida

  • dataobject[]Obligatorio

    Array of document objects.

  • metaobjectObligatorio

    Metadata object containing pagination.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List FoldersCODY_LIST_FOLDERSAcción

Tool 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

  • keywordstring

    Keyword to filter the list to folders that partially match the name.

Parámetros de salida

  • dataobject[]Obligatorio

    Array of folder objects.

  • metaobjectObligatorio

    Pagination metadata.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List MessagesCODY_LIST_MESSAGESAcción

Tool 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

  • includesstring

    Extra 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_idstring

    Filters results to messages within a specific conversation. Provide the conversation ID to narrow down results.

Parámetros de salida

  • dataobject[]Obligatorio

    Array of message objects.

  • metaobjectObligatorio

    Contains pagination information.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Send MessageCODY_SEND_MESSAGEAcción

Tool 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

  • contentstringObligatorio

    User message text to send (maximum 2000 characters).

  • conversation_idstringObligatorio

    Identifier for the conversation thread to send the message to.

Parámetros de salida

  • dataobjectObligatorio

    The AI-generated message data.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Send Message for StreamCODY_SEND_MESSAGE_FOR_STREAMAcción

Tool 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

  • contentstringObligatorio

    The message content to send to the AI (maximum 2000 characters).

  • redirectboolean

    Controls response format. When false (default), returns 200 with stream URL in JSON. When true, returns 302 redirect to stream URL.

  • conversation_idstringObligatorio

    ID of the conversation to send the message to.

Parámetros de salida

  • dataobjectObligatorio

    Contains the stream_url for accessing the SSE stream.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update ConversationCODY_UPDATE_CONVERSATIONAcción

Tool 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

  • idstringObligatorio

    The unique identifier of the conversation to update.

  • namestringObligatorio

    The conversation name to update.

  • bot_idstringObligatorio

    The 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

  • dataobjectObligatorio

    Updated conversation data.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update FolderCODY_UPDATE_FOLDERAcción

Tool to update a folder by its ID. Use when you need to modify an existing folder's name.

Parámetros de entrada

  • idstringObligatorio

    The unique identifier of the folder to update.

  • namestringObligatorio

    The new name for the folder.

Parámetros de salida

  • dataobjectObligatorio

    Container for updated folder information.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not