---
title: "Fetch Documents"
method: GET
path: "/v1/fetch_documents/"
tags: ["Public"]
---

# Fetch Documents

`GET /v1/fetch_documents/`

## Query parameters

- `start_date` string, date, nullable — Filter documents created after this date (inclusive)
- `end_date` string, date, nullable — Filter documents created before this date (inclusive)
- `folder_id` integer, nullable — Filter documents whose template belongs to this folder (config)
- `template_id` integer, nullable — Filter documents extracted with this template (class)
- `updated_since` string, date-time, nullable — Filter documents created or modified at or after this timestamp. Accepts an ISO 8601 date (YYYY-MM-DD) or full datetime (YYYY-MM-DDTHH:MM:SS). Interpreted as UTC: a timezone-naive value is treated as UTC, and a timezone-aware value (e.g. ...Z or +02:00) is honored. Use the timestamp of your last successful poll to fetch only the delta.

## Response `200`

Successful Response

- integer[]

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/koncile/apis/koncile-api.md) · [All operations](https://skmtc.dev/koncile/apis/koncile-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/koncile/koncile-api/revisions/57d8047aa20b/schema)
