💻How to share your collections
A guide to sharing your collections with Vector AI
Vector AI is focused on ensuring that data remains secured even when sharing.
You can securely share data with other accounts/users using the following endpoint:
https://vectorai-development-api.azurewebsites.net/project/copy_collection_from_another_user
import requests
response = requests.post(
url="https://vectorai-development-api.azurewebsites.net/project/copy_collection_from_another_user",
json={
"collection_name": "string",
"username": "string",
"api_key": "string",
"source_collection_name": "string",
"source_username": "string",
"source_api_key": "string"
})
let request = await fetch("https://vectorai-development-api.azurewebsites.net/project/copy_collection_from_another_user",
{
"method": "POST",
"headers": {
"Content-Type": "application/json"
},
"body": JSON.stringify({
"username": "string",
"api_key": "string",
"collection_name": "string",
"original_collection_name": "string",
"collection_schema": { },
"rename_fields": { },
"remove_fields": [ ]
})
}
)
let json = await request.json()
Ensure that you are using write API keys for both usernames and collections.