Google Docs API samples

This section presents a set of Docs API sample applications and utilities that demonstrate how to translate an intended Google Docs action into an API request.

Codelab

Create a transcript of your business meetings using Google Docs & Machine Learning: In this codelab, you'll learn how to send an audio file through the Google Cloud Speech-to-Text API, then output the transcript to a Google document. The Speech-to-Text API is easy-to-use and applies a powerful neural network to enable developers to convert audio to text. Plus, it's powered by Machine Learning.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年12月03日 UTC.