---
title: "List Available Models"
method: GET
path: "/v2/gen-ai/models"
tags: ["DigitalOcean-public.v2-new_GradientAI Platform"]
---

# List Available Models

`GET /v2/gen-ai/models`

To list all models, send a GET request to `/v2/gen-ai/models`.

## Query parameters

- `usecases` string[]
- `public_only` boolean
- `page` integer
- `per_page` integer

## Response `200`

A successful response.

- ApiListModelsOutputPublic — A list of models
  - `links` ApiLinks — Links to other pages
    - `pages` ApiPages — Information about how to reach other pages
      - `first` string — First page
      - `last` string — Last page
      - `next` string — Next page
      - `previous` string — Previous page
  - `meta` ApiMeta — Meta information about the data set
    - `page` integer — The current page
    - `pages` integer — Total number of pages
    - `total` integer — Total amount of items over all pages
  - `models` ApiModelPublic[] — The models
    - `agreement` ApiAgreement — Agreement Description
      - `description` string
      - `name` string
      - `url` string
      - `uuid` string
    - `created_at` string, date-time — Creation date / time
    - `id` string — Human-readable model identifier
    - `is_foundational` boolean — True if it is a foundational model provided by do
    - `name` string — Display name of the model
    - `parent_uuid` string — Unique id of the model, this model is based on
    - `updated_at` string, date-time — Last modified
    - `upload_complete` boolean — Model has been fully uploaded
    - `url` string — Download url
    - `uuid` string — Unique id
    - `version` ApiModelVersion — Version Information about a Model
      - `major` integer — Major version number
      - `minor` integer — Minor version number
      - `patch` integer — Patch version number

## Other responses

- `401` — Authentication failed due to invalid credentials.
- `404` — The resource was not found.
- `429` — The API rate limit has been exceeded.
- `500` — There was a server error.
- `default` — There was an unexpected error.

---

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