List and remove vector store files from OpenAI

This example pipeline demonstrates how to list and remove vector store files from OpenAI.

  1. Configure the OpenAI List Vector Store Files Snap to retrieve the list of all files stored in the specified vector store using the vector store ID (vs_zZUjhOmXoHt0NDKrUu0YA3WI: Test docs).

    On validation, the Snap displays the details of the files available in the vector store, including their file IDs and metadata.

    OpenAI List Vector Store Files Snap Configuration OpenAI List Vector Store Files Snap Output

    OpenAI List Vector Store Files Snap Configuration


    OpenAI List Vector Store Files Snap Output

  2. Configure the OpenAI Remove Vector Store File Snap to remove all the files with the File ID as $id from the specified vector store (vs_zZUjhOmXoHt0NDKrUu0YA3WI: Test docs). You can deselect the Delete file checkbox to avoid permanently deleting the files.
    On validation, the Snap displays the details of the removed files from the vector store.
    Tip: To remove specific files we recommend you to use this Snap individually.
    OpenAI Remove Vector Store File Snap Configuration OpenAI Remove Vector Store File Snap Output

    OpenAI Remove Vector Store File Snap Configuration


    OpenAI Remove Vector Store File Snap Output

To successfully reuse pipelines:
  1. Download and import the pipeline into SnapLogic Platform.
  2. Configure Snap accounts, as applicable.
  3. Provide pipeline parameters, as applicable.