---
title: "GET /2015-01-01/packages/{PackageID}/history"
method: GET
path: "/2015-01-01/packages/{PackageID}/history"
---

# GET /2015-01-01/packages/{PackageID}/history

`GET /2015-01-01/packages/{PackageID}/history`

Returns a list of versions of the package, along with their creation time and commit message.

## Path parameters

- `PackageID` string, required

## Query parameters

- `maxResults` integer — Set this value to limit the number of results returned.
- `nextToken` string — Paginated APIs accepts NextToken input to returns next page results and provides a NextToken output in the response which can be used by the client to retrieve more results.
- `MaxResults` string
- `NextToken` string

## Response `200`

Success

- GetPackageVersionHistoryResponse — Container for response returned by <code> <a>GetPackageVersionHistory</a> </code> operation.
  - `PackageID` string
  - `PackageVersionHistoryList` PackageVersionHistory[] — List of <code>PackageVersionHistory</code> objects.
    - `PackageVersion` string — Version of the package.
    - `CommitMessage` string — A message associated with the version.
    - `CreatedAt` string, date-time — Timestamp which tells creation time of the package version.
  - `NextToken` string

## Other responses

- `480` — BaseException
- `481` — InternalException
- `482` — ResourceNotFoundException
- `483` — AccessDeniedException
- `484` — ValidationException

---

[API](https://skmtc.net/aws/apis/es.md) · [All operations](https://skmtc.net/aws/apis/es/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/es/versions/2aa0f7663d92/schema)
