Cloud Speech-to-Text API

Converts audio to text by applying powerful neural network models.

Service: speech.googleapis.com

To call this service, we recommend that you use the Google-provided client libraries. If your application needs to use your own libraries to call this service, use the following information when you make the API requests.

Discovery document

A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery documents:

Service endpoint

A service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:

  • https://speech.googleapis.com

REST Resource: v1p1beta1.operations

Methods
get GET /v1p1beta1/operations/{name=**}
Gets the latest state of a long-running operation.
list GET /v1p1beta1/operations
Lists operations that match the specified filter in the request.

REST Resource: v1p1beta1.projects.locations.customClasses

Methods
create POST /v1p1beta1/{parent=projects/*/locations/*}/customClasses
Create a custom class.
delete DELETE /v1p1beta1/{name=projects/*/locations/*/customClasses/*}
Delete a custom class.
get GET /v1p1beta1/{name=projects/*/locations/*/customClasses/*}
Get a custom class.
list GET /v1p1beta1/{parent=projects/*/locations/*}/customClasses
List custom classes.
patch PATCH /v1p1beta1/{customClass.name=projects/*/locations/*/customClasses/*}
Update a custom class.

REST Resource: v1p1beta1.projects.locations.phraseSets

Methods
create POST /v1p1beta1/{parent=projects/*/locations/*}/phraseSets
Create a set of phrase hints.
delete DELETE /v1p1beta1/{name=projects/*/locations/*/phraseSets/*}
Delete a phrase set.
get GET /v1p1beta1/{name=projects/*/locations/*/phraseSets/*}
Get a phrase set.
list GET /v1p1beta1/{parent=projects/*/locations/*}/phraseSets
List phrase sets.
patch PATCH /v1p1beta1/{phraseSet.name=projects/*/locations/*/phraseSets/*}
Update a phrase set.

REST Resource: v1p1beta1.speech

Methods
longrunningrecognize POST /v1p1beta1/speech:longrunningrecognize
Performs asynchronous speech recognition: receive results via the google.longrunning.Operations interface.
recognize POST /v1p1beta1/speech:recognize
Performs synchronous speech recognition: receive results after all audio has been sent and processed.

REST Resource: v1.operations

Methods
get GET /v1/operations/{name=**}
Gets the latest state of a long-running operation.
list GET /v1/operations
Lists operations that match the specified filter in the request.

REST Resource: v1.speech

Methods
longrunningrecognize POST /v1/speech:longrunningrecognize
Performs asynchronous speech recognition: receive results via the google.longrunning.Operations interface.
recognize POST /v1/speech:recognize
Performs synchronous speech recognition: receive results after all audio has been sent and processed.