Method: projects.explain

Performs explanation on the data in the request. AI Platform implements a custom explain verb on top of an HTTP POST method.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



Required. The resource name of a model or a version.

Authorization: requires the predict permission on the specified resource.

Authorization requires one or more of the following IAM permissions on the specified resource name:

  • ml.models.predict
  • ml.versions.predict

Request body

The request body contains data with the following structure:

JSON representation
  "httpBody": {
    object (HttpBody)

object (HttpBody)

Required. The explanation request body.

Response body

If successful, the response is a generic HTTP response whose format is defined by the method.

Authorization Scopes

Requires the following OAuth scope:


For more information, see the Authentication Overview.