---
title: "GET /v1/documents:searchDocumentChunks"
method: GET
path: "/v1/documents:searchDocumentChunks"
tags: ["documents"]
---

# GET /v1/documents:searchDocumentChunks

`GET /v1/documents:searchDocumentChunks`

Searches for developer knowledge across Google's developer documentation. Returns DocumentChunks based on the user's query. There may be many chunks from the same Document. To retrieve full documents, use DeveloperKnowledge.GetDocument or DeveloperKnowledge.BatchGetDocuments with the DocumentChunk.parent returned in the SearchDocumentChunksResponse.results.

## Query parameters

- `filter` string
- `pageSize` integer
- `pageToken` string
- `query` string

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/developerknowledge.md) · [All operations](https://skmtc.dev/google/apis/developerknowledge/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/developerknowledge/revisions/cf6ec5c5b3c1/schema)
