POST
/
batch-add
curl --request POST \
  --url https://ragapi.sno.ai/v1/batch-add \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "urls": [
    "<string>"
  ],
  "contents": [
    {
      "content": "<string>",
      "title": "<string>",
      "type": "note"
    }
  ],
  "spaces": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}'
"<string>"

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200
text/event-stream

Server-Sent Events stream with progress updates.

Events like: data: {"type": "progress", "processed": 1, "total": 5}

data: {"type": "success", "id": "uuid", "url": "https://..."}

data: {"type": "complete"}