content_sources registered, AgentOS exposes them through the Knowledge API.
Register sources
Register at least one source incontent_sources on your Knowledge instance. See Cloud Storage Sources for the provider classes (S3Config, GcsConfig, SharePointConfig, GitHubConfig, AzureBlobConfig) and their parameters.
id values (company-s3, docs-repo) are what later cURL examples pass as config_id.
Discover registered sources
The root/knowledge/config endpoint lists every configured remote source under remote_content_sources:
id returned here is the value to pass as config_id when uploading.
type value | Provider |
|---|---|
s3 | Amazon S3 |
gcs | Google Cloud Storage |
sharepoint | SharePoint |
github | GitHub |
azureblob | Azure Blob Storage |
Upload remote content
POST /knowledge/remote-content accepts application/x-www-form-urlencoded and processes the content asynchronously.
Path semantics
- A trailing
/ingests every file under the prefix as a folder. Example:reports/. - No trailing
/ingests a single file. Example:reports/q4-2025.pdf.
config_id and path are required. See the upload-remote-content reference for all form fields and query parameters. Valid reader_id and chunker values come from /knowledge/config under readers and chunkers.
Per-request overrides with source_params
source_params lets one configured source serve multiple targets. Today GitHub is the supported case: pass repo to point a single GitHubConfig at a different repository per request.
source_params, the request uses the values baked into the registered config.
Browse files in a source
GET /knowledge/{knowledge_id}/sources/{source_id}/files returns paginated files and folder prefixes inside a source.
prefix, limit, page, delimiter, and db_id.
For non-S3 sources, list available content with the provider’s own tooling (for example, the GitHub API or the Azure portal) and pass the resulting path directly to POST /knowledge/remote-content.
Next Steps
Cloud Storage Sources
Configure S3, GCS, SharePoint, GitHub, and Azure Blob providers.
Manage Knowledge
Attach Knowledge instances to AgentOS and find their IDs.
Filter Knowledge
Apply metadata filters when agents search the knowledge base.
Upload Remote Content API
Full reference for
POST /knowledge/remote-content.