---
title: "List ingestion job logs grouped by document"
method: GET
path: "/v1/knowledge-base/ingestion-jobs/{job_id}/logs"
tags: ["knowledge-base"]
---

# List ingestion job logs grouped by document

`GET /v1/knowledge-base/ingestion-jobs/{job_id}/logs`

Returns one group per child document with its logs in chronological order.
Pagination is at the document level (`limit` = max documents per page).

## Path parameters

- `job_id` string, uuid, required

## Query parameters

- `limit` integer
- `cursor` string, nullable

## Response `200`

Successful Response

- CursorPageDocumentLogGroup
  - `items` DocumentLogGroup[], required
    - `document_id` string, uuid, nullable, required
    - `title` string, nullable
    - `status` string, required
    - `logs` IngestionTaskLogResponse[], required
      - `id` string, uuid, required
      - `document_id` string, uuid, nullable
      - `task_name` string, required
      - `status` string, required
      - `input_summary` object, nullable
      - `output_summary` object, nullable
      - `error_message` string, nullable
      - `duration_ms` integer, nullable
      - `started_at` string, date-time, required
      - `completed_at` string, date-time, nullable
  - `next_cursor` string, nullable
  - `has_more` boolean, required

## Other responses

- `400` — Bad request
- `401` — Authentication required
- `404` — Resource not found
- `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/revisions/5a5597ebb2d6/schema)
