---
title: "Add Sources"
method: POST
path: "/api/admin/knowledge-base/{knowledge_base_id}/sources"
tags: ["admin-knowledge-base"]
---

# Add Sources

`POST /api/admin/knowledge-base/{knowledge_base_id}/sources`

## Path parameters

- `knowledge_base_id` string, required

## Request body

- AdminAddSourceRequest
  - `urls` string[]
  - `auto_sync_enabled` boolean

## Response `200`

Successful Response

- AdminAddSourceResponse
  - `success` boolean, required
  - `message` string, required
  - `source_ids` string[]

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/outcallerai/apis/fastapi.md) · [All operations](https://skmtc.net/outcallerai/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/outcallerai/fastapi/revisions/a57f684e7966/schema)
