# AI Platform Training & Prediction API API

> AI Platform Training & Prediction API API on Apizie: 29 endpoints (Performs explanation on the data in the request. {% dynamic include…, Get the service account information associated with your project. You need this information in order to…, Performs online prediction on the data in the request. {% dynamic include…, Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the…, …) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://www.apizie.tech/v1/analytics:googleapis-ml/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `analytics:googleapis-ml`
- Category: Analytics
- Status: byok
- Source: https://cloud.google.com/ml/
- Page: https://www.apizie.tech/api/analytics/googleapis-ml
- OpenAPI: https://www.apizie.tech/api/analytics/googleapis-ml/openapi.json

An API to enable creating and using machine learning models.

## Endpoints

### Performs explanation on the data in the request. {% dynamic include…
`POST https://www.apizie.tech/v1/analytics:googleapis-ml/ml-projects-explain` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Required. The resource name of a model or a version. Authorization: requires the `predict` permission on the specified resource. |
| body | object | yes | JSON request body |

### Get the service account information associated with your project. You need this information in order to…
`GET https://www.apizie.tech/v1/analytics:googleapis-ml/ml-projects-get-config` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Required. The project name. |

### Performs online prediction on the data in the request. {% dynamic include…
`POST https://www.apizie.tech/v1/analytics:googleapis-ml/ml-projects-predict` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Required. The resource name of a model or a version. Authorization: requires the `predict` permission on the specified resource. |
| body | object | yes | JSON request body |

### Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the…
`POST https://www.apizie.tech/v1/analytics:googleapis-ml/ml-projects-operations-cancel` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | The name of the operation resource to be cancelled. |

### Lists the jobs in the project. If there are no jobs that match the request parameters, the list request…
`GET https://www.apizie.tech/v1/analytics:googleapis-ml/ml-projects-jobs-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| filter | string | no | Optional. Specifies the subset of jobs to retrieve. You can filter on the value of one or more attributes of the job object. For example,… |
| pageSize | integer | no | Optional. The number of jobs to retrieve per "page" of results. If there are more remaining results than this number, the response message… |
| pageToken | string | no | Optional. A page token to request the next page of results. You get the token from the `next_page_token` field of the response from the… |
| parent | string | yes | Required. The name of the project for which to list jobs. |

### Creates a training or a batch prediction job.
`POST https://www.apizie.tech/v1/analytics:googleapis-ml/ml-projects-jobs-create` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| parent | string | yes | Required. The project name. |
| body | object | yes | JSON request body |

### Gets the latest state of a long-running operation. Clients can use this method to poll the operation result…
`GET https://www.apizie.tech/v1/analytics:googleapis-ml/ml-projects-operations-get` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | The name of the operation resource. |

### Updates the specified Version resource. Currently the only update-able fields are `description`,…
`POST https://www.apizie.tech/v1/analytics:googleapis-ml/ml-projects-models-versions-patch` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Required. The name of the model. |
| updateMask | string | no | Required. Specifies the path, relative to `Version`, of the field to update. Must be present and non-empty. For example, to change the… |
| body | object | yes | JSON request body |

### Deletes a model version. Each model can have multiple versions deployed and in use at any given time. Use…
`POST https://www.apizie.tech/v1/analytics:googleapis-ml/ml-projects-models-versions-delete` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Required. The name of the version. You can get the names of all the versions of a model by calling projects.models.versions.list. |

### Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not…
`GET https://www.apizie.tech/v1/analytics:googleapis-ml/ml-projects-models-get-iam-policy` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| options.requestedPolicyVersion | integer | no | Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid… |
| resource | string | yes | REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names)… |

### Sets the access control policy on the specified resource. Replaces any existing policy. Can return…
`POST https://www.apizie.tech/v1/analytics:googleapis-ml/ml-projects-models-set-iam-policy` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| resource | string | yes | REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names)… |
| body | object | yes | JSON request body |

### Returns permissions that a caller has on the specified resource. If the resource does not exist, this will…
`POST https://www.apizie.tech/v1/analytics:googleapis-ml/ml-projects-models-test-iam-permissions` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| resource | string | yes | REQUIRED: The resource for which the policy detail is being requested. See [Resource… |
| body | object | yes | JSON request body |

### List all locations that provides at least one type of CMLE capability.
`GET https://www.apizie.tech/v1/analytics:googleapis-ml/ml-projects-locations-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| pageSize | integer | no | Optional. The number of locations to retrieve per "page" of results. If there are more remaining results than this number, the response… |
| pageToken | string | no | Optional. A page token to request the next page of results. You get the token from the `next_page_token` field of the response from the… |
| parent | string | yes | Required. The name of the project for which available locations are to be listed (since some locations might be whitelisted for specific… |

### Lists all the studies in a region for an associated project.
`GET https://www.apizie.tech/v1/analytics:googleapis-ml/ml-projects-locations-studies-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| parent | string | yes | Required. The project and location that the study belongs to. Format: projects/{project}/locations/{location} |

### Creates a study.
`POST https://www.apizie.tech/v1/analytics:googleapis-ml/ml-projects-locations-studies-create` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| parent | string | yes | Required. The project and location that the study belongs to. Format: projects/{project}/locations/{location} |
| studyId | string | no | Required. The ID to use for the study, which will become the final component of the study's resource name. |
| body | object | yes | JSON request body |

### Adds a measurement of the objective metrics to a trial. This measurement is assumed to have been taken…
`POST https://www.apizie.tech/v1/analytics:googleapis-ml/ml-projects-locations-studies-trials-add-measurement` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Required. The trial name. |
| body | object | yes | JSON request body |

### Checks whether a trial should stop or not. Returns a long-running operation. When the operation is…
`POST https://www.apizie.tech/v1/analytics:googleapis-ml/ml-projects-locations-studies-trials-check-early-stopping-st` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Required. The trial name. |
| body | object | yes | JSON request body |

### Marks a trial as complete.
`POST https://www.apizie.tech/v1/analytics:googleapis-ml/ml-projects-locations-studies-trials-complete` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Required. The trial name.metat |
| body | object | yes | JSON request body |

### Lists the trials associated with a study.
`GET https://www.apizie.tech/v1/analytics:googleapis-ml/ml-projects-locations-studies-trials-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| parent | string | yes | Required. The name of the study that the trial belongs to. |

### Adds a user provided trial to a study.
`POST https://www.apizie.tech/v1/analytics:googleapis-ml/ml-projects-locations-studies-trials-create` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| parent | string | yes | Required. The name of the study that the trial belongs to. |
| body | object | yes | JSON request body |

### Lists the pareto-optimal trials for multi-objective study or the optimal trials for single-objective study.…
`POST https://www.apizie.tech/v1/analytics:googleapis-ml/ml-projects-locations-studies-trials-list-optimal-trials` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| parent | string | yes | Required. The name of the study that the pareto-optimal trial belongs to. |
| body | object | yes | JSON request body |

### Stops a trial.
`POST https://www.apizie.tech/v1/analytics:googleapis-ml/ml-projects-locations-studies-trials-stop` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Required. The trial name. |
| body | object | yes | JSON request body |

### Adds one or more trials to a study, with parameter values suggested by AI Platform Vizier. Returns a…
`POST https://www.apizie.tech/v1/analytics:googleapis-ml/ml-projects-locations-studies-trials-suggest` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| parent | string | yes | Required. The name of the study that the trial belongs to. |
| body | object | yes | JSON request body |

### Lists the models in a project. Each project can contain multiple models, and each model can have multiple…
`GET https://www.apizie.tech/v1/analytics:googleapis-ml/ml-projects-models-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| filter | string | no | Optional. Specifies the subset of models to retrieve. |
| pageSize | integer | no | Optional. The number of models to retrieve per "page" of results. If there are more remaining results than this number, the response… |
| pageToken | string | no | Optional. A page token to request the next page of results. You get the token from the `next_page_token` field of the response from the… |
| parent | string | yes | Required. The name of the project whose models are to be listed. |

### Creates a model which will later contain one or more versions. You must add at least one version before you…
`POST https://www.apizie.tech/v1/analytics:googleapis-ml/ml-projects-models-create` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| parent | string | yes | Required. The project name. |
| body | object | yes | JSON request body |

### Gets basic information about all the versions of a model. If you expect that a model has many versions, or…
`GET https://www.apizie.tech/v1/analytics:googleapis-ml/ml-projects-models-versions-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| filter | string | no | Optional. Specifies the subset of versions to retrieve. |
| pageSize | integer | no | Optional. The number of versions to retrieve per "page" of results. If there are more remaining results than this number, the response… |
| pageToken | string | no | Optional. A page token to request the next page of results. You get the token from the `next_page_token` field of the response from the… |
| parent | string | yes | Required. The name of the model for which to list the version. |

### Creates a new version of a model from a trained TensorFlow model. If the version created in the cloud by…
`POST https://www.apizie.tech/v1/analytics:googleapis-ml/ml-projects-models-versions-create` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| parent | string | yes | Required. The name of the model. |
| body | object | yes | JSON request body |

### Designates a version to be the default for the model. The default version is used for prediction requests…
`POST https://www.apizie.tech/v1/analytics:googleapis-ml/ml-projects-models-versions-set-default` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Required. The name of the version to make the default for the model. You can get the names of all the versions of a model by calling… |
| body | object | yes | JSON request body |

### Lists operations that match the specified filter in the request. If the server doesn't support this method,…
`GET https://www.apizie.tech/v1/analytics:googleapis-ml/ml-projects-operations-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| filter | string | no | The standard list filter. |
| name | string | yes | The name of the operation's parent resource. |
| pageSize | integer | no | The standard list page size. |
| pageToken | string | no | The standard list page token. |
| returnPartialSuccess | boolean | no | When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the… |

## Example
```
curl "https://www.apizie.tech/v1/analytics:googleapis-ml/ml-projects-explain" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the AI Platform Training & Prediction API API?
Create a free Apizie key, then send POST https://www.apizie.tech/v1/analytics:googleapis-ml/ml-projects-explain with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the AI Platform Training & Prediction API API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. AI Platform Training & Prediction API itself also needs your own key from googleapis.com.

### Can AI agents use the AI Platform Training & Prediction API API?
Yes. Add the Apizie MCP server (https://www.apizie.tech/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key analytics:googleapis-ml.

### What is the status of the AI Platform Training & Prediction API API?
Needs your own provider key (bring your own key)
