Method: projects.locations.models.listCheckpoints

Lists checkpoints of the specified model version.

Endpoint

get https://{service-endpoint}/v1/{name}:listCheckpoints

Where {service-endpoint} is one of the supported service endpoints.

Path parameters

name string

Required. The name of the model version to list checkpoints for. projects/{project}/locations/{location}/models/{model}@{version} Example: projects/{project}/locations/{location}/models/{model}@2 or projects/{project}/locations/{location}/models/{model}@golden If no version id or alias is specified, the latest version will be used.

Query parameters

pageSize integer

Optional. The standard list page size.

pageToken string

Optional. The standard list page token. Typically obtained via nextPageToken of the previous models.listCheckpoints call.

Request body

The request body must be empty.

Response body

Response message for ModelService.ListModelVersionCheckpoints

If successful, the response body contains data with the following structure:

Fields
checkpoints[] object (ModelVersionCheckpoint)

List of Model version checkpoints.

nextPageToken string

A token to retrieve the next page of results. Pass to ListModelVersionCheckpointsRequest.page_token to obtain that page.

JSON representation
{
  "checkpoints": [
    {
      object (ModelVersionCheckpoint)
    }
  ],
  "nextPageToken": string
}

ModelVersionCheckpoint

Describes the machine learning model version checkpoint.

Fields
name string

Identifier. The resource name of the ModelVersionCheckpoint. Format: projects/{project}/locations/{location}/models/{model}/versions/{version}/checkpoints/{checkpoint}

checkpointId string

The id of the checkpoint.

epoch string (int64 format)

The epoch of the checkpoint.

step string (int64 format)

The step of the checkpoint.

JSON representation
{
  "name": string,
  "checkpointId": string,
  "epoch": string,
  "step": string
}