dots.v2.genAi.models.catalog.get()

Generated on 13 Nov 2026 from DoTs version v1.24.0

Usage

client.v2.genAi.models.catalog.get(requestConfiguration?: RequestConfiguration<CatalogRequestBuilderGetQueryParameters>): Promise<undefined | ApiListModelCatalogOutput>

Description

Returns all available models.

Parameters

page integer optional

Example: 1

Page number for pagination.

limit integer optional

Example: 1

Deprecated. Use per_page instead.

search string optional

Example: llama

Partial, case-insensitive match on the model's display name.

modelType array of strings optional

Example: ["chat"]

Filter by model type. Multiple values use OR semantics.
Accepted values: chat, embedding, image, reasoning, coding, audio, reranking.

provider array of strings optional

Example: ["Meta"]

Filter by model creator/developer. Multiple values use OR semantics.
Values are data-driven; use available_providers from the response to discover valid options.

availability array of strings optional

Example: ["serverless"]

Filter by deployment availability. Multiple values use OR semantics.
Accepted values: serverless, dedicated.

badges array of strings optional

Example: ["featured"]

Filter by badge. Multiple values use OR semantics.
Accepted values: featured, new, preview.

sortBy string optional

Field to sort results by. Default is MODEL_CATALOG_SORT_BY_CREATED_AT.

- MODEL_CATALOG_SORT_BY_CREATED_AT: Default: sort by creation date.
- MODEL_CATALOG_SORT_BY_NAME: Sort by the model's display name (case-insensitive).
- MODEL_CATALOG_SORT_BY_PRICE: Sort by input token price.

One of: MODEL_CATALOG_SORT_BY_CREATED_AT, MODEL_CATALOG_SORT_BY_NAME, MODEL_CATALOG_SORT_BY_PRICE

Default: MODEL_CATALOG_SORT_BY_CREATED_AT

perPage integer optional

Example: 1

Number of items per page. Replaces the deprecated limit field.

sortDirection string optional

Sort direction. Defaults to descending when unspecified.

One of: SORT_DIRECTION_UNSPECIFIED, SORT_DIRECTION_ASC, SORT_DIRECTION_DESC

Default: SORT_DIRECTION_UNSPECIFIED

useCase string optional

Filter by pre-defined use case. When unspecified, no use-case filter is applied.
Accepted values: MODEL_CATALOG_USE_CASE_CODING, MODEL_CATALOG_USE_CASE_AGENTS,
MODEL_CATALOG_USE_CASE_AUDIO, MODEL_CATALOG_USE_CASE_IMAGE,
MODEL_CATALOG_USE_CASE_EMBEDDING, MODEL_CATALOG_USE_CASE_VIDEO.

- MODEL_CATALOG_USE_CASE_UNSPECIFIED: No use-case filter applied; return all models.
- MODEL_CATALOG_USE_CASE_CODING: Coding-optimized models: model_type = coding, or usecases include coding,
agentic_coding, or code_generation.
- MODEL_CATALOG_USE_CASE_AGENTS: Agent-building models: usecases include tool_calling, agentic,
agent_platform, agentic_workflows, or agentic_coding.
- MODEL_CATALOG_USE_CASE_AUDIO: Audio models: model_type is audio, or usecases include audio,
text_to_speech, or voice_cloning, or output modalities include audio.
- MODEL_CATALOG_USE_CASE_IMAGE: Image models: model_type is image, or usecases include image_generation,
text_to_image, or ideogram, or output modalities include image.
- MODEL_CATALOG_USE_CASE_VIDEO: Video models: usecases include video_generation or text_to_video, or
output modalities include video.
- MODEL_CATALOG_USE_CASE_EMBEDDING: Embedding and reranking models: model_type is embedding or reranking, or
usecases include vectorization or reranking.

One of: MODEL_CATALOG_USE_CASE_UNSPECIFIED, MODEL_CATALOG_USE_CASE_CODING, MODEL_CATALOG_USE_CASE_AGENTS, MODEL_CATALOG_USE_CASE_AUDIO, MODEL_CATALOG_USE_CASE_IMAGE, MODEL_CATALOG_USE_CASE_VIDEO, MODEL_CATALOG_USE_CASE_EMBEDDING

Default: MODEL_CATALOG_USE_CASE_UNSPECIFIED

Request Sample

Show Request Sample
import { FetchRequestAdapter } from "@microsoft/kiota-http-fetchlibrary";
import {
    createDigitalOceanClient,
    DigitalOceanApiKeyAuthenticationProvider,
} from "@digitalocean/dots";

const authProvider = new DigitalOceanApiKeyAuthenticationProvider(process.env.DIGITALOCEAN_TOKEN!);
const adapter = new FetchRequestAdapter(authProvider);
const client = createDigitalOceanClient(adapter);

const response = await client.v2.genAi.models.catalog.get();

Response Example

Show Response Example
{
  "available_availability": [
    "example string"
  ],
  "available_badges": [
    "example string"
  ],
  "available_model_types": [
    "example string"
  ],
  "available_providers": [
    "example string"
  ],
  "available_sort_by": [
    "MODEL_CATALOG_SORT_BY_CREATED_AT"
  ],
  "available_sort_directions": [
    "SORT_DIRECTION_UNSPECIFIED"
  ],
  "data": [
    {
      "availability": [
        "example string"
      ],
      "badges": [
        "example string"
      ],
      "capabilities": [
        "example string"
      ],
      "context_window": "128000",
      "created_at": "2021-01-01T00:00:00Z",
      "creator": "\"Meta\"",
      "hugging_face_id": "\"meta-llama/Llama-3.3-70B-Instruct\"",
      "id": "\"506a3371-88d0-4047-9212-e2079497ac68\"",
      "max_output_tokens": "65536",
      "model_id": "\"llama3.1-70b-instruct\"",
      "name": "\"Llama 3.1 70B\"",
      "parameter_count": 70,
      "provider": "MODEL_PROVIDER_DIGITALOCEAN",
      "scaled_pricing_enabled": true,
      "short_description": "\"Fast, efficient model for general tasks\"",
      "type": "\"text-to-text\""
    }
  ],
  "meta": {
    "page": 123,
    "pages": 123,
    "total": 123
  }
}

More Information

See /v2/gen-ai/models/catalog in the API reference for additional detail on responses, headers, parameters, and more.

We can't find any results for your search.

Try using different keywords or simplifying your search terms.