API

Using the ingestion API

Allowed mime types:

Websites / text:
text/plain
text/html

Markdown:
text/markdown

PDFs:
application/pdf

RTF / Word / PowerPoint:
text/rtf

Images:
image/jpg
image/jpeg
image/png
image/x-png

Allowed intervals for automatically updating sources:

0, 15, 30, 60

$ curl -X POST \
  -H "Content-Type: application/json" \
  -H 'authorization: XYZ-XYZ-XYZ-XYZ-XYZ' \
  -d '{
    "name": "Jons site via ingestion API",
    "url": "https://jonhainstock.com",
    "mime_type": "text/html",
    "interval": 0
  }' \
  https://chatterdocs.ai/api/pipeline/ingest