cURL
curl --request POST \ --url https://ragapi.sno.ai/v1/spaces/addContent \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "spaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "documentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }'
{ "success": true }
Adds an existing document to an additional space.
Enter your API key as a Bearer token. Example: 'Bearer YOUR_API_KEY'
Content added to space successfully
The response is of type object.
object