---
title: "List model versions"
method: GET
path: "/models/{model_owner}/{model_name}/versions"
---

# List model versions

`GET /models/{model_owner}/{model_name}/versions`

Example cURL request:

```console
curl -s \
  -H "Authorization: Bearer $REPLICATE_API_TOKEN" \
  https://api.replicate.com/v1/models/replicate/hello-world/versions
```

The response will be a JSON array of model version objects, sorted with the most recent version first:

```json
{
  "next": null,
  "previous": null,
  "results": [
    {
      "id": "5c7d5dc6dd8bf75c1acaa8565735e7986bc5b66206b55cca93cb72c9bf15ccaa",
      "created_at": "2022-04-26T19:29:04.418669Z",
      "cog_version": "0.3.0",
      "openapi_schema": {...}
    }
  ]
}
```

## Path parameters

- `model_owner` string, required
- `model_name` string, required

## Response `200`

Success

- SchemasPaginatedVersionResponse
  - `next` string, nullable — A URL pointing to the next page of version objects, if any
  - `previous` string, nullable — A URL pointing to the previous page of version objects, if any
  - `results` SchemasVersionResponse[] — An array of version objects
    - `cog_version` string, nullable — The version of Cog used to create this version
    - `created_at` string, date-time — The date and time the version was created
    - `id` string — The ID of the version
    - `openapi_schema` object, nullable — The OpenAPI schema for the model's inputs and outputs

---

[API](https://skmtc.net/replicate/apis/replicate-http-api.md) · [All operations](https://skmtc.net/replicate/apis/replicate-http-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/replicate/replicate-http-api/revisions/7a537f433b0b/schema)
