Models class for handling model-related operations.

Hierarchy (view full)

Constructors

Properties

Methods

Constructors

Properties

Client instance for API calls.

Memberof

GatewayResource

Methods

  • List all models or models for a specific provider.

    Parameters

    • Optional params: ListAllModelsParams = {}

      Parameters for listing all models or models for a provider.

    Returns Promise<Model[]>

    • A promise that resolves with the list of models.

    Throws

    If validation fails or an error occurs during the request.