POST
/
add
curl --request POST \
  --url https://ragapi.sno.ai/v1/add \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "content": "<string>",
  "spaces": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "id": "<string>",
  "metadata": {},
  "images": [
    "<string>"
  ],
  "prefetched": {
    "contentToVectorize": "<string>",
    "contentToSave": "<string>",
    "title": "<string>",
    "type": "page",
    "description": "<string>",
    "ogImage": "<string>"
  }
}'
{
  "message": "<string>",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "type": "page"
}

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 successfully

The response is of type object.