Skip to main content
Upload your research, brand guidelines, and domain expertise. Autoposting indexes everything with vector embeddings and a knowledge graph — so every AI agent and carousel generation stays grounded in your content, not generic training data.

Create a Knowledge Base

Add Documents

1

Request a presigned URL

Call POST /kb/:kbId/docs/upload with the filename and MIME type to receive a presigned upload URL.
2

Upload directly to storage

PUT the file to the presigned URL. No data passes through the Autoposting backend — uploads are fast regardless of file size.
3

Confirm and ingest

Call POST /kb/:kbId/docs/complete with the storage key to trigger the ingestion pipeline.

Supported Formats

Large PDFs (100+ pages) can take 30–90 seconds to fully index. The KB status returns to active when all pending ingestion jobs complete.

Ingest a URL

Search the Knowledge Base

Find semantically relevant content across all indexed documents:

KB Status

Connect to an Agent

Attach a KB to an agent via the kbId field. Set contentSource: "both" to combine KB grounding with real-time news signals.
Designate one KB as isOrgDefault: true — agents without an explicit kbId automatically use the org default KB.

AI Agents

Connect a KB to an agent for grounded content generation.

Carousels

Use KB content as the source for AI carousel copy.

Posts

KB-powered agent ideas become post drafts in the publish pipeline.

API Reference

Full endpoint reference for KB management and document ingestion.