GET
/
integrations
/
notion
/
import
curl --request GET \
  --url https://ragapi.sno.ai/v1/integrations/notion/import \
  --header 'Authorization: Bearer <token>'
"data: {\"type\": \"progress\", \"message\": \"Fetching Notion pages...\", \"count\": 0}\n\ndata: {\"type\": \"progress\", \"message\": \"Processing page: Page Title\", \"count\": 1}\n\ndata: {\"type\": \"success\", \"message\": \"Import completed\", \"totalProcessed\": 10}"

Authorizations

Authorization
string
header
required

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

Response

200
text/event-stream

Server-Sent Events stream with progress updates.

The response is of type string.

Example:

"data: {\"type\": \"progress\", \"message\": \"Fetching Notion pages...\", \"count\": 0}\n\ndata: {\"type\": \"progress\", \"message\": \"Processing page: Page Title\", \"count\": 1}\n\ndata: {\"type\": \"success\", \"message\": \"Import completed\", \"totalProcessed\": 10}"