Add source to knowledge base
Knowledge Bases
Add source to knowledge base
POST
Add source to knowledge base
Documentation Index
Fetch the complete documentation index at: https://docs.oneinbox.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Use api_key from POST /v1/api-keys
Path Parameters
Body
application/json
Source type:
url— a public link; OneInbox fetches and indexes the contenttext— inline text pasted directly into the request bodyfile— a file upload (PDF, Word, plain text, etc.) sent as multipart/form-data
Available options:
url, text, file Example:
"url"
Required for url and text types. The URL or raw text content.
Example:
"https://docs.example.com/faq"
Response
201
Created