πŸ’»How to back up your collections

A guide on backing up your collections

You can back up your collections easily using the "copy_collection" endpoint. As you back up your collection, you may also choose to rename the fields, remove the fields or change the collection schema. All these endpoints allows users to rename the required fields.

import requests 
response = requests.post("https://vectorai-development-api.azurewebsites.net/project/copy_collection",
    json={
        "username": "string",
        "api_key": "string",
        "collection_name": "string",
        "original_collection_name": "string",
        "collection_schema": { },
        "rename_fields": { },
        "remove_fields": [ ]
    })
response.json()

Last updated