API usage overview

Stay organized with collections Save and categorize content based on your preferences.

This guide provides an overview of using the Vertex AI API and its reference documentation.

REST, gRPC, and client libraries

You can access the API via REST, gRPC, or one of the provided client libraries (built on gRPC).

Client libraries

Google provides client libraries for many popular languages to access this API. If your desired programming language is supported by the client libraries, you should use this option.

Pros Cons
Maintained by Google.
Built-in authentication.
Built-in retries.
Idiomatic for each language.
Efficient protocol buffer HTTP request body.
Not available for all programming languages.

REST

This API supports REST. See the REST reference for this API. Also see How to call Google APIs: REST edition.