---
title: "Create Source"
method: POST
path: "/v1/knowledge-base/knowledge-bases/{kb_id}/sources"
tags: ["knowledge-base-connectors"]
---

# Create Source

`POST /v1/knowledge-base/knowledge-bases/{kb_id}/sources`

Attach a connector source (Notion connection, URL, S3, …) to a KB.

## Path parameters

- `kb_id` string, uuid, required

## Request body

- CreateSourceRequest
  - `provider` string
  - `integration_connection_id` string, uuid, nullable
  - `config` object, nullable
  - `credentials` object, nullable

## Response `201`

Successful Response

- SourceResponse
  - `id` string, uuid, required
  - `knowledge_base_id` string, uuid, required
  - `provider` string
  - `integration_connection_id` string, uuid, nullable
  - `config` object, nullable
  - `status` string, required
  - `last_sync_job_id` string, uuid, nullable
  - `integration_key` string, nullable
  - `connection_nickname` string, nullable
  - `connection_metadata` object
  - `auto_sync_enabled` boolean
  - `sync_interval_seconds` integer, nullable
  - `next_sync_at` string, date-time, nullable
  - `last_auto_sync_at` string, date-time, nullable
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/oneloop-hq/apis/feather-api.md) · [All operations](https://skmtc.net/oneloop-hq/apis/feather-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/oneloop-hq/feather-api/versions/888bdd5c076e/schema)
