Full name: projects.locations.models.listCheckpoints
Lists checkpoints of the specified model version.
Endpoint
gethttps://{service-endpoint}/v1/{name}:listCheckpoints
Where {service-endpoint} is one of the supported service endpoints.
Path parameters
namestring
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
pageSizeinteger
Optional. The standard list page size.
pageTokenstring
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:
List of Model version checkpoints.
nextPageTokenstring
A token to retrieve the next page of results. Pass to ListModelVersionCheckpointsRequest.page_token to obtain that page.
| JSON representation |
|---|
{
"checkpoints": [
{
object ( |
ModelVersionCheckpoint
Describes the machine learning model version checkpoint.
checkpointIdstring
The id of the checkpoint.
The epoch of the checkpoint.
The step of the checkpoint.
| JSON representation |
|---|
{ "checkpointId": string, "epoch": string, "step": string } |