NAiOS IconNAiOS Logo
Volver al catálogo

Needle

needle

Needle provides retrieval-augmented generation (RAG) tools that enable semantic search across your data, facilitating the development of AI agents and applications.

Acciones
5
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 (5)

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

Tool to create a new collection. use after confirming the collection name.

Parámetros de entrada

  • namestringObligatorio

    Name of the collection. Must be unique within your account.

  • metadataobject

    Optional arbitrary JSON metadata associated with the collection.

  • descriptionstring

    Optional human-readable description of the collection.

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 files from a collectionNEEDLE_DELETE_FILES_FROM_COLLECTIONAcción

Tool to delete files from a specific collection by providing file ids. use after confirming valid file ids to remove from the collection.

Parámetros de entrada

  • file_idsstring[]Obligatorio

    List of file IDs to delete from the collection

  • collection_idstringObligatorio

    The unique identifier of the collection from which to delete files

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

Tool to retrieve statistics for a specific collection by its id. use when you need document count, index size, and timestamps after confirming the collection exists.

Parámetros de entrada

  • collection_idstringObligatorio

    The unique identifier of the collection.

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

Tool to list all files within a specific collection by its id. use when you have a collection id and need to retrieve its files. supports pagination.

Parámetros de entrada

  • limitinteger

    Number of files to return per page, must be >=1

  • offsetinteger

    Number of items to skip for pagination, must be >=0

  • collection_idstringObligatorio

    Unique identifier of the collection

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

Tool to list collections. use after authenticating with your api key to page through collections.

Parámetros de entrada

  • limitinteger

    Maximum number of collections to return

  • offsetinteger

    Number of collections to skip before collecting results

Parámetros de salida

  • dataobject[]Obligatorio

    List of collections returned by the API

  • errorstring

    Error if any occurred during the execution of the action

  • paginationobjectObligatorio

    Pagination information

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not