Developer Knowledge API (developerknowledge:v1alpha)

2026-03-11

3 removed methods | Removed API

Deletions

    Methods
  • developerknowledge.documents.get

      HTTP Method : GET

      Description : Retrieves a single document with its full Markdown content.

      Flat Path : v1alpha/documents/{documentsId}

      Scopes : https://www.googleapis.com/auth/cloud-platform

      Parameters :

        name

          Type : string

          Location : path

          Required : Yes

          Description : Required. The name of the document to retrieve. Format: `documents/{uri_without_scheme}` Example: `documents/docs.cloud.google.com/storage/docs/creating-buckets`

          Pattern : ^documents/.*$

      Parameter Order : name

      Path : v1alpha/{+name}

  • developerknowledge.documents.searchDocumentChunks

      Parameters :

        query

          Type : string

          Location : query

          Description : Required. The raw query string provided by the user, such as "How to create a Cloud Storage bucket?".

        pageToken

          Type : string

          Location : query

          Description : Optional. A page token, received from a previous `SearchDocumentChunks` call. Provide this to retrieve the subsequent page.

        pageSize

          Location : query

          Description : Optional. The maximum number of results to return. The service may return fewer than this value. If unspecified, at most 5 results will be returned. The maximum value is 20; values above 20 will result in an INVALID_ARGUMENT error.

          Format : int32

          Type : integer

      Scopes : https://www.googleapis.com/auth/cloud-platform

      HTTP Method : GET

      Description : Searches for developer knowledge across Google's developer documentation. This method returns document chunks based on the user's query. There can be many chunks of the same Document. To retrieve full documents, use DeveloperKnowledge.GetDocument or DeveloperKnowledge.BatchGetDocuments with the DocumentChunk.parent returned in the SearchDocumentChunksResponse.results.

      Flat Path : v1alpha/documents:searchDocumentChunks

      Path : v1alpha/documents:searchDocumentChunks

  • developerknowledge.documents.batchGet

      Parameters :

        names

          Type : string

          Repeated : Yes

          Location : query

          Description : Required. The names of the documents to retrieve. A maximum of 20 documents can be retrieved in a batch. The documents are returned in the same order as the `names` in the request. Format: `documents/{uri_without_scheme}` Example: `documents/docs.cloud.google.com/storage/docs/creating-buckets`

      Flat Path : v1alpha/documents:batchGet

      Path : v1alpha/documents:batchGet

      Description : Retrieves multiple documents, each with its full Markdown content.

      HTTP Method : GET

      Scopes : https://www.googleapis.com/auth/cloud-platform