---
title: dots.v2.genAi.knowledge_bases.byKnowledge_base_uuId().indexing_jobs.get()
description: List Indexing Jobs for a Knowledge Base
product: Reference
url: https://docs.digitalocean.com/reference/dots/reference/agent-platform-api/genai-list-indexing-jobs-by-knowledge-base/
last_updated: "2026-11-18"
---

> **For AI agents:** The documentation index is at [https://docs.digitalocean.com/llms.txt](https://docs.digitalocean.com/llms.txt). Markdown versions of pages use the same URL with `index.html.md` in place of the HTML page (for example, append `index.html.md` to the directory path instead of opening the HTML document).

# dots.v2.genAi.knowledge_bases.byKnowledge_base_uuId().indexing_jobs.get()

Generated on 18 Nov 2026 from DoTs version [`v1.25.0`](https://github.com/digitalocean/dots/releases/tag/v1.25.0)

## Usage

```typescript
client.v2.genAi.knowledge_bases.byKnowledge_base_uuId(knowledge_base_uuId).indexing_jobs.get(requestConfiguration?: RequestConfiguration<object>): Promise<undefined | ApiListKnowledgeBaseIndexingJobsOutput>
```

## Description

To list latest 15 indexing jobs for a knowledge base, send a GET request to [`/v2/gen-ai/knowledge_bases/{knowledge_base_uuid}/indexing_jobs`](https://docs.digitalocean.com/reference/api/reference/agent-platform-api/index.html.md#genai_list_indexing_jobs_by_knowledge_base).

## Parameters

`knowledge_base_uuId` string required

Example: `"123e4567-e89b-12d3-a456-426614174000"`

Knowledge base uuid in string

## Request Sample

## Show Request Sample

```typescript
import { FetchRequestAdapter } from "@microsoft/kiota-http-fetchlibrary";
import {
    createDigitalOceanClient,
    DigitalOceanApiKeyAuthenticationProvider,
} from "@digitalocean/dots";

const authProvider = new DigitalOceanApiKeyAuthenticationProvider(process.env.DIGITALOCEAN_TOKEN!);
const adapter = new FetchRequestAdapter(authProvider);
const client = createDigitalOceanClient(adapter);

const response = await client.v2.genAi.knowledge_bases
    .byKnowledge_base_uuId("\"123e4567-e89b-12d3-a456-426614174000\"").indexing_jobs.get();
```

## Response Example

## Show Response Example

```json
{
  "jobs": [
    {
      "completed_datasources": 123,
      "created_at": "2023-01-01T00:00:00Z",
      "data_source_jobs": [],
      "data_source_uuids": [
        "example string"
      ],
      "finished_at": "2023-01-01T00:00:00Z",
      "is_report_available": true,
      "knowledge_base_uuid": "123e4567-e89b-12d3-a456-426614174000",
      "phase": "BATCH_JOB_PHASE_UNKNOWN",
      "started_at": "2023-01-01T00:00:00Z",
      "status": "INDEX_JOB_STATUS_UNKNOWN",
      "tokens": 123,
      "total_datasources": 123,
      "total_tokens": "12345",
      "updated_at": "2023-01-01T00:00:00Z",
      "uuid": "123e4567-e89b-12d3-a456-426614174000"
    }
  ],
  "links": {
    "pages": {
      "first": "example string",
      "last": "example string",
      "next": "example string",
      "previous": "example string"
    }
  },
  "meta": {
    "page": 123,
    "pages": 123,
    "total": 123
  }
}
```

## More Information

See [`/v2/gen-ai/knowledge_bases/{knowledge_base_uuid}/indexing_jobs`](https://docs.digitalocean.com/reference/api/reference/agent-platform-api/index.html.md#genai_list_indexing_jobs_by_knowledge_base) in the API reference for additional detail on responses, headers, parameters, and more.