---
title: "Ingest from datasource cache/registry"
method: POST
path: "/api/knowledge-rag/ingest/from-datasource"
tags: ["Knowledge RAG"]
---

# Ingest from datasource cache/registry

`POST /api/knowledge-rag/ingest/from-datasource`

## Request

- Base URL: `https://api.cernion.de`
- URL: `https://api.cernion.de/api/knowledge-rag/ingest/from-datasource`
- Auth: none declared

## Query parameters

- `token` string

## Request body

- object
  - `collection` string
  - `sourceId` string, required
  - `limit` number
  - `offset` number
  - `rowsPerDocument` number
  - `chunking` object
  - `metadata` object
  - `token` string: Optional Cernion MCP token for this request. Overrides CERNION_TOKEN when provided.

## Response `202`

Job accepted and queued for async processing

- object
  - `success` boolean
  - `jobId` string
  - `status` 'queued'
  - `message` string
  - `statusUrl` string
  - `resultUrl` string

---

[API](https://skmtc.dev/cernion/apis/cernion-energy-tools-api.md) · [All operations](https://skmtc.dev/cernion/apis/cernion-energy-tools-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cernion/apis/cernion-energy-tools-api/revisions/cdb94473b538?raw)
