> For a complete page index, fetch https://docs.synthflow.ai/llms.txt. For full documentation content, fetch https://docs.synthflow.ai/llms-full.txt.

## Knowledge Base Sources: Content field added

Added a new `content` field to the knowledge base sources endpoint to provide text content directly when adding text sources.

* **PDF/Web sources**: Use `url` field with a link to the hosted file or webpage
* **Text sources**: Use `content` field to provide text directly

| Endpoint                                                                                                                        | Title                     |
| ------------------------------------------------------------------------------------------------------------------------------- | ------------------------- |
| [**POST /knowledge\_base/:knowledge\_base\_id/sources**](/api-reference/platform-api/knowledge-bases/attach-document-to-source) | Attach document to source |