Senso
Sign inSign up

What is a raw source?

A raw source is the input: a PDF, a policy document, a spreadsheet, a block of markdown, a support thread someone pasted in. It is what you have before Senso has done anything to it.

Senso deliberately uses "ingest" rather than "upload" because storing the bytes is the least interesting part of what happens next.

bash
curl -X POST https://apiv2.senso.ai/api/v1/org/kb/raw \
  -H "X-API-Key: $SENSO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
        "title": "Refund policy",
        "summary": "When a customer is entitled to a refund",
        "text": "# Refund policy\n\nRefunds are issued within 30 days..."
      }'

Call it

POST/org/kb/rawOpen in API reference →Create content from text or markdown.
POST/org/kb/uploadOpen in API reference →Upload a file.