Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
collection_id
string<uuid>
required
title
string
required
source_type
enum<string>
required

Content type. web_page reserved for Phase 2.

Available options:
text,
markdown
raw_content
string
required

The text or markdown content to ingest (max 100KB)

source_url
string

Optional source URL for attribution

Response

Source ingested

source
object
ingest_job
object
document
object