POST
/
spaces
/
addContent
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
}

Authorizations

Authorization
string
header
required

Enter your API key as a Bearer token. Example: 'Bearer YOUR_API_KEY'

Body

application/json

Response

200
application/json

Content added to space successfully

The response is of type object.