Method: projects.locations.apis.get

Get API resource details including the API versions contained in it.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



Required. The name of the API resource to retrieve. Format: projects/{project}/locations/{location}/apis/{api}

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Api.

Authorization scopes

Requires the following OAuth scope:


IAM Permissions

Requires the following IAM permission on the name resource:

  • apihub.apis.get

For more information, see the IAM documentation.