---
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`

## Request

- The document declares no server URL.
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/oneloop-hq/apis/feather-api/docs/v1/knowledge-base/ingestion-jobs/:job_id/logs/get.ts> (a function with typed inputs; its response is checked against the schema)

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

## Changes

- **2026-08-12** `5a5597ebb2d6`: 6 info
  - added the optional property `retry_after` to the response with the `400` status
  - added the optional property `retry_after` to the response with the `401` status
  - added the optional property `retry_after` to the response with the `404` status
  - added the optional property `retryable` to the response with the `400` status
  - …2 more

[Operation history](https://skmtc.dev/oneloop-hq/apis/feather-api/changes/v1/knowledge-base/ingestion-jobs/:job_id/logs/get.md)

---

[API](https://skmtc.dev/oneloop-hq/apis/feather-api.md) - [All operations](https://skmtc.dev/oneloop-hq/apis/feather-api/llms.txt) - [OpenAPI document](https://skmtc.dev/oneloop-hq/apis/feather-api/revisions/9cd7291d4228?raw)
