---
title: Knowledge sources
full: true
_openapi:
  toc:
    - depth: 2
      title: '`GET /v1/knowledge-sources` - list workspace knowledge sources.'
      url: '#get-v1knowledge-sources---list-workspace-knowledge-sources'
    - depth: 2
      title: '`POST /v1/knowledge-sources` - create a workspace knowledge source.'
      url: '#post-v1knowledge-sources---create-a-workspace-knowledge-source'
    - depth: 2
      title: '`GET /v1/knowledge-sources/:id/file` - fetch stored file content.'
      url: '#get-v1knowledge-sourcesidfile---fetch-stored-file-content'
  structuredData:
    headings:
      - content: '`GET /v1/knowledge-sources` - list workspace knowledge sources.'
        id: get-v1knowledge-sources---list-workspace-knowledge-sources
      - content: '`POST /v1/knowledge-sources` - create a workspace knowledge source.'
        id: post-v1knowledge-sources---create-a-workspace-knowledge-source
      - content: '`GET /v1/knowledge-sources/:id/file` - fetch stored file content.'
        id: get-v1knowledge-sourcesidfile---fetch-stored-file-content
    contents: []
---

{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

<APIPage document={"../../docs/openapi.yaml"} webhooks={[]} operations={[{"path":"/v1/knowledge-sources","method":"get"},{"path":"/v1/knowledge-sources","method":"post"},{"path":"/v1/knowledge-sources/{id}/file","method":"get"}]} showTitle showDescription />