> This page is for version 0.12.
> For other versions, use one of these documentation indexes:
> - Latest (default): https://docs.nvidia.com/nemo-helix/latest/llms.txt
> - 0.12: https://docs.nvidia.com/nemo-helix/v0.12/llms.txt
> - 0.11: https://docs.nvidia.com/nemo-helix/v0.11/llms.txt
> - 0.10: https://docs.nvidia.com/nemo-helix/v0.10/llms.txt
> - 0.9: https://docs.nvidia.com/nemo-helix/v0.9/llms.txt
> - 0.8: https://docs.nvidia.com/nemo-helix/v0.8/llms.txt
> - 0.7: https://docs.nvidia.com/nemo-helix/v0.7/llms.txt
> - 0.6: https://docs.nvidia.com/nemo-helix/v0.6/llms.txt
> - 0.5: https://docs.nvidia.com/nemo-helix/v0.5/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/nemo-helix/llms.txt.

# List Models

GET http://localhost:8080/apis/models/v2/workspaces/{workspace}/models

List Models endpoint with filtering, pagination, and sorting.

Supports filter parameters for various criteria (including peft, custom fields),
pagination (page, page_size), sorting, and workspace filtering via query parameter.

Reference: https://docs.nvidia.com/nemo-helix/documentation/reference/api-reference/models/list-models-apis-models-v-2-workspaces-workspace-models-get

## Request

### Path parameters

- `workspace` (string, required)

### Query parameters

- `sort` (enum, optional, default: created_at) — The field to sort by. To sort in decreasing order, use `-` in front of the field name.
  - Allowed values: `name`, `-name`, `created_at`, `-created_at`, `updated_at`, `-updated_at`
- `verbose` (boolean, optional, default: false) — Whether to include full spec details
- `page` (integer, optional, default: 1) — Page number.
- `page_size` (integer, optional, default: 100) — Page size.
- `filter` (ModelEntityFilter, optional) — Filter models by name, project, workspace, base_model, adapters, finetuning_type, prompt, lora_enabled, family, model_providers, description, metadata fields (display_name, capabilities, input_modalities, output_modalities, context_length, max_output_tokens, parameter_count), created_at, and updated_at.

## Response

### 200

Return a list of models

- `data` (list of ModelEntity, required)
- `pagination` (PaginationData, optional, nullable) — Pagination information.
- `sort` (string, optional, nullable) — The field on which the results are sorted.
- `filter` (map from string to any, optional, nullable) — Filtering information.

## Errors

### 422 Unprocessable Entity Error

Validation Error

- `detail` (list of ValidationError, optional)

## Types

### ModelEntityFilter

Filter for Model Entity queries.

- `name` (ModelEntityFilterName, optional) — Filter by name.
- `project` (string, optional) — Filter by project name.
- `workspace` (string, optional) — Filter by workspace id.
- `base_model` (ModelEntityFilterBaseModel, optional) — Filter by base model: true = has a base model, false = no base model, string = match base model name.
- `adapters` (boolean, optional) — Filter by Parameter Efficient Fine-tuning adapters: true = has at least one adapter, false = has none.
- `finetuning_type` (ModelEntityFilterFinetuningType, optional) — Filter models that have been perviously finetuned.
- `prompt` (boolean, optional) — Filter models with prompt engineering data.
- `lora_enabled` (boolean, optional) — Filter models by whether their deployment config has LoRA enabled.
- `description` (ModelEntityFilterDescription, optional) — Filter by description.
- `fileset` (ModelEntityFilterFileset, optional) — Filter by fileset: true = has a fileset, false = no fileset, string = match a fileset reference. Either a fileset name or 'workspace/fileset_name'. A bare name is resolved in the request workspace (the platform default workspace is named 'default'). Each segment is 2-63 characters: lowercase letters, digits, hyphens, and temporarily @ . + _; no consecutive hyphens, and it cannot end with a hyphen.
- `family` (ModelEntityFilterFamily, optional) — Filter by model architecture family (e.g. 'llama', 'mixtral').
- `model_providers` (ModelEntityFilterModelProviders, optional) — Filter models served by a ModelProvider, in the form \{workspace}/\{provider\_name}. A name without a workspace is looked up in the workspace being listed. A list matches models served by all of them; use $in for any and $nin for none, e.g. filter\[model\_providers]\[$in]=default/a&filter[model_providers][$in]=default/b.
- `display_name` (ModelEntityFilterDisplayName, optional) — Filter by the display name in the model's metadata.
- `capabilities` (ModelEntityFilterCapabilities, optional) — Filter models whose metadata lists this capability, e.g. 'tool_calling'. A list matches models with all of them; use $in for any and $nin for none.
- `input_modalities` (ModelEntityFilterInputModalities, optional) — Filter models whose metadata says they accept this modality, e.g. 'image'. A list matches models that accept all of them; use $in for any and $nin for none.
- `output_modalities` (ModelEntityFilterOutputModalities, optional) — Filter models whose metadata says they produce this modality. A list matches models that produce all of them; use $in for any and $nin for none.
- `context_length` (ModelEntityFilterContextLength, optional) — Filter by context window in tokens, e.g. filter[context_length][$gte]=128000.
- `max_output_tokens` (ModelEntityFilterMaxOutputTokens, optional) — Filter by maximum output tokens, e.g. filter[max_output_tokens][$gte]=8192.
- `parameter_count` (ModelEntityFilterParameterCount, optional) — Filter by total parameter count, e.g. filter[parameter_count][$lte]=10000000000.
- `created_at` (DatetimeFilter, optional) — Filter entities based on creation date.
- `updated_at` (DatetimeFilter, optional) — Filter entities based on update date.

### ModelEntity

Model Entity represents a versioned model registered within the platform. Uses EntityBase for entity store compatibility.

- `id` (string, required) — Autogenerated id
- `name` (string, required) — Name of the entity. Name/workspace combo must be unique across all entities. Name must start with a lowercase letter, be 2-63 characters, and use lowercase letters, digits, hyphens, and dots (no consecutive hyphens, cannot end with a hyphen).
- `workspace` (string, required) — The workspace of the entity. Allowed characters: letters (a-z, A-Z), digits (0-9), underscores, hyphens, and dots.
- `created_at` (datetime, required) — The timestamp of model entity creation
- `updated_at` (datetime, required) — The timestamp of the last model entity update
- `project` (string, optional) — The URN of the project associated with this model entity.
- `description` (string, optional) — Optional description of the model.
- `spec` (ModelSpec, optional) — Detailed specification for the model
- `metadata` (ModelMetadata, optional) — Descriptive model details such as capabilities, modalities, and context length.
- `finetuning_type` (enum, optional) — Set for full weight finetuned models
  - Allowed values: `lora_merged`, `all_weights`, `last_layer`, `top_layers`, `gradual_unfreezing`, `bias_only`, `attention_only`, `lora`, `qlora`, `adalora`, `dora`, `lora_plus`, `prompt_tuning`, `prefix_tuning`, `p_tuning`, `p_tuning_v2`, `soft_prompt`, `ppo`, `dpo`, `cdpo`, `ipo`, `orpo`, `kto`, `rrhf`, `grpo`
- `fileset` (string, optional) — A set of checkpoint files, configs, and other auxiliary info associated with this model. Either a fileset name or 'workspace/fileset_name'. A bare name is resolved in the request workspace (the platform default workspace is named 'default'). Each segment is 2-63 characters: lowercase letters, digits, hyphens, and temporarily @ . + _; no consecutive hyphens, and it cannot end with a hyphen.
- `trust_remote_code` (boolean, optional, default: false) — Whether to trust remote code to load this model checkpoint.
- `base_model` (string, optional) — Link to another model which is used as a base for the current model
- `api_endpoint` (APIEndpointData, optional) — Data about the inference endpoint for this model
- `backend_format` (enum, optional, nullable) — Inference API wire format expected by the backend. If unset, inference routing treats the model as OPENAI_CHAT.
  - Allowed values: `OPENAI_CHAT`, `ANTHROPIC_MESSAGES`, `SYSTEMONE`
- `adapters` (list of Adapter, optional) — Adapters that have been created against this model
- `prompt` (PromptData, optional) — Configuration for prompt engineering
- `custom_fields` (map from string to any, optional) — Custom fields for additional metadata
- `ownership` (map from string to any, optional) — Ownership information for the model
- `model_providers` (list of string, optional) — List of ModelProvider workspace/name resource names that provide inference for this Model Entity

### PaginationData

- `page` (integer, required) — The current page number.
- `page_size` (integer, required) — The page size used for the query.
- `current_page_size` (integer, required) — The size for the current page.
- `total_pages` (integer, required) — The total number of pages.
- `total_results` (integer, required) — The total number of results.

### ValidationError

- `loc` (list of ValidationErrorLocItems, required)
- `msg` (string, required)
- `type` (string, required)
- `input` (any, optional)
- `ctx` (map from string to any, optional)

### ModelEntityFilterName

Filter by name.

- StringFilter: StringFilter
- string

### ModelEntityFilterBaseModel

Filter by base model: true = has a base model, false = no base model, string = match base model name.

- boolean
- string

### ModelEntityFilterFinetuningType

Filter models that have been perviously finetuned.

- FinetuningType: enum
  - Allowed values: `lora_merged`, `all_weights`, `last_layer`, `top_layers`, `gradual_unfreezing`, `bias_only`, `attention_only`, `lora`, `qlora`, `adalora`, `dora`, `lora_plus`, `prompt_tuning`, `prefix_tuning`, `p_tuning`, `p_tuning_v2`, `soft_prompt`, `ppo`, `dpo`, `cdpo`, `ipo`, `orpo`, `kto`, `rrhf`, `grpo`
- boolean

### ModelEntityFilterDescription

Filter by description.

- StringFilter: StringFilter
- string

### ModelEntityFilterFileset

Filter by fileset: true = has a fileset, false = no fileset, string = match a fileset reference. Either a fileset name or 'workspace/fileset_name'. A bare name is resolved in the request workspace (the platform default workspace is named 'default'). Each segment is 2-63 characters: lowercase letters, digits, hyphens, and temporarily @ . + _; no consecutive hyphens, and it cannot end with a hyphen.

- boolean
- string

### ModelEntityFilterFamily

Filter by model architecture family (e.g. 'llama', 'mixtral').

- StringFilter: StringFilter
- string

### ModelEntityFilterModelProviders

Filter models served by a ModelProvider, in the form \{workspace}/\{provider\_name}. A name without a workspace is looked up in the workspace being listed. A list matches models served by all of them; use $in for any and $nin for none, e.g. filter\[model\_providers]\[$in]=default/a&filter[model_providers][$in]=default/b.

- string
- list of string

### ModelEntityFilterDisplayName

Filter by the display name in the model's metadata.

- StringFilter: StringFilter
- string

### ModelEntityFilterCapabilities

Filter models whose metadata lists this capability, e.g. 'tool_calling'. A list matches models with all of them; use $in for any and $nin for none.

- ModelCapability: enum
  - Allowed values: `tool_calling`, `reasoning`, `structured_output`, `embedding`, `reranking`
- list of enum
  - Allowed values: `tool_calling`, `reasoning`, `structured_output`, `embedding`, `reranking`

### ModelEntityFilterInputModalities

Filter models whose metadata says they accept this modality, e.g. 'image'. A list matches models that accept all of them; use $in for any and $nin for none.

- ModelModality: enum
  - Allowed values: `text`, `image`, `audio`, `video`, `pdf`
- list of enum
  - Allowed values: `text`, `image`, `audio`, `video`, `pdf`

### ModelEntityFilterOutputModalities

Filter models whose metadata says they produce this modality. A list matches models that produce all of them; use $in for any and $nin for none.

- ModelModality: enum
  - Allowed values: `text`, `image`, `audio`, `video`, `pdf`
- list of enum
  - Allowed values: `text`, `image`, `audio`, `video`, `pdf`

### ModelEntityFilterContextLength

Filter by context window in tokens, e.g. filter[context_length][$gte]=128000.

- NumberFilter: NumberFilter
- integer

### ModelEntityFilterMaxOutputTokens

Filter by maximum output tokens, e.g. filter[max_output_tokens][$gte]=8192.

- NumberFilter: NumberFilter
- integer

### ModelEntityFilterParameterCount

Filter by total parameter count, e.g. filter[parameter_count][$lte]=10000000000.

- NumberFilter: NumberFilter
- integer

### DatetimeFilter

- `$gte` (datetime, optional) — Filter for results greater than or equal to this datetime.
- `$lte` (datetime, optional) — Filter for results less than or equal to this datetime.

### ModelSpec

Detailed specification for a model.

- `checkpoint_model_name` (string, required) — Checkpoint Model identifier or model path
- `family` (string, required) — Model architecture family (e.g., 'llama', 'mixtral', 'gpt2')
- `num_layers` (integer, required) — Number of transformer layers
- `hidden_size` (integer, required) — Hidden dimension size
- `num_attention_heads` (integer, required) — Number of attention heads
- `num_kv_heads` (integer, required) — Number of key-value heads (for GQA/MQA)
- `ffn_hidden_size` (integer, required) — FFN intermediate size
- `vocab_size` (integer, required) — Vocabulary size
- `tied_embeddings` (boolean, required) — Whether embeddings are tied
- `gated_mlp` (boolean, required) — Whether MLP uses gated activation
- `base_num_parameters` (integer, required) — Total model parameters
- `precision` (string, required) — Model precision (e.g., 'float16', 'bfloat16', 'float32', 'int8', 'int4')
- `context_size` (integer, optional) — Context window size
- `num_virtual_tokens` (integer, optional) — Number of virtual tokens for prompt tuning
- `is_chat` (boolean, optional) — Whether this is a chat model
- `head_type` (enum, optional, default: unknown) — Task-specific head persisted in the checkpoint.
  - Allowed values: `causal_lm`, `embedding`, `cross_encoder`, `unknown`
- `architectures` (list of string, optional) — Architectures declared in the checkpoint's top-level config.json. For a multimodal checkpoint this names the whole model (e.g., 'NemotronH_Omni_Reasoning_V3'), while the other fields describe its language model.
- `moe_config` (MoEConfig, optional) — MoE configuration if applicable
- `mamba_config` (MambaConfig, optional) — Mamba/SSM configuration if applicable
- `sliding_window_config` (SlidingWindowConfig, optional) — Sliding window attention config if applicable
- `has_vision_tower` (boolean, optional, default: false) — True when the checkpoint config contains a vision tower.
- `vision_patch_size` (integer, optional) — Side length, in pixels, of one image token. Read from the checkpoint vision config as patch_size times the spatial merge. None when the checkpoint does not declare a patch size.
- `vision_processor_keys` (list of string, optional) — Keys in the image processor's config file (processor_config.json or preprocessor_config.json). A job's processor_arguments are checked against these. None for a text checkpoint, a checkpoint without a processor config, or a spec registered before this field.
- `has_audio_tower` (boolean, optional, default: false) — True when the checkpoint config contains an audio tower.
- `num_experts` (integer, optional) — Routed expert count when the checkpoint declares more than one. None for a dense model.
- `num_nextn_predict_layers` (integer, optional) — Multi-token prediction depth declared by the checkpoint. None when the config has no such field.
- `linear_layers` (list of LinearLayerSpec, optional) — List of all linear/Conv1D layers with their dimensions. Used for LoRA parameter estimation without requiring model instantiation. Each entry contains the module name, in_features, and out_features.
- `chat_template` (string, optional) — Jinja2 chat template string for the model. Used by NIM to format chat completions. If not set, the model's built-in tokenizer template is used.
- `tool_call_config` (ToolCallConfig, optional) — Tool calling configuration for NIM deployments. Controls how the model handles function/tool calling in chat completions.
- `minimum_gpus_all_weights` (integer, optional) — Minimum GPUs required for full fine-tuning using default configurations.
- `minimum_gpus_lora` (integer, optional) — Minimum GPUs required for LoRA fine-tuning using default configurations.
- `is_embedding_model` (boolean, optional, default: false, deprecated) — Deprecated compatibility alias for head_type == 'embedding'.

### ModelMetadata

Descriptive details about a model, gathered from the services that serve it.

- `display_name` (string, optional) — Human-readable model name.
- `description` (string, optional) — Summary of what the model is for.
- `capabilities` (list of enum, optional) — Capabilities the model supports, such as tool calling or reasoning.
  - Allowed values: `tool_calling`, `reasoning`, `structured_output`, `embedding`, `reranking`
- `input_modalities` (list of enum, optional) — Content types the model accepts.
  - Allowed values: `text`, `image`, `audio`, `video`, `pdf`
- `output_modalities` (list of enum, optional) — Content types the model produces.
  - Allowed values: `text`, `image`, `audio`, `video`, `pdf`
- `parameter_count` (integer, optional) — Total number of model parameters.
- `context_length` (integer, optional) — Maximum context window, in tokens.
- `max_output_tokens` (integer, optional) — Maximum tokens in a single response.
- `sources` (list of string, optional) — Metadata sources that contributed these values. Empty means the metadata was set by hand, and automatic enrichment leaves it unchanged.
- `refreshed_at` (datetime, optional) — When the metadata was last fetched.

### APIEndpointData

Data about an inference endpoint.

- `url` (string, optional) — Endpoint URL
- `model_id` (string, optional) — Model identifier at the endpoint
- `api_key` (string, optional) — API key for authentication
- `format` (string, optional) — API format (e.g., openai, nvidia)

### Adapter

- `name` (string, required) — Name of the adapter. Name must be unique in the workspace for all Adapters and match the following regex: Allowed characters: letters (a-z, A-Z), digits (0-9), underscores, hyphens, and dots.
- `workspace` (string, required) — Workspace of the adapter. Allowed characters: letters (a-z, A-Z), digits (0-9), underscores, hyphens, and dots.
- `fileset` (string, required) — Fileset where the adapter files are stored. Either a fileset name or 'workspace/fileset_name'. A bare name is resolved in the request workspace (the platform default workspace is named 'default'). Each segment is 2-63 characters: lowercase letters, digits, hyphens, and temporarily @ . + _; no consecutive hyphens, and it cannot end with a hyphen.
- `finetuning_type` (enum, required) — Type of finetuning (LORA, P_TUNING, etc.)
  - Allowed values: `lora_merged`, `all_weights`, `last_layer`, `top_layers`, `gradual_unfreezing`, `bias_only`, `attention_only`, `lora`, `qlora`, `adalora`, `dora`, `lora_plus`, `prompt_tuning`, `prefix_tuning`, `p_tuning`, `p_tuning_v2`, `soft_prompt`, `ppo`, `dpo`, `cdpo`, `ipo`, `orpo`, `kto`, `rrhf`, `grpo`
- `description` (string, optional) — Optional description of the adapter
- `enabled` (boolean, optional, default: true) — Whether to make this adapter available for inference post training
- `lora_config` (Lora, optional) — Lora configuration specifics
- `model` (string, optional) — Parent model entity reference. A single name (2-63 characters) or 'workspace/model_name' where each segment is a valid name (lowercase, digits, hyphens, and temporarily @ . + _; no leading/trailing or consecutive hyphens). If one slash, both sides must be non-empty.
- `created_at` (datetime, optional)
- `updated_at` (datetime, optional)

### PromptData

Configuration for prompt engineering.

- `system_prompt` (string, optional) — System prompt template
- `icl_few_shot_examples` (string, optional) — In-context learning examples
- `inference_params` (InferenceParams, optional) — Inference parameters that should be overridden.
- `system_prompt_template` (string, optional) — The template which will be used to compile the final prompt used for prompting the LLM. Currently supports only \{\{icl\_few\_shot\_examples}}

### ValidationErrorLocItems

- string
- integer

### StringFilter

- `$eq` (string, optional) — Filter for results equal to this value.
- `$like` (string, optional) — Filter for results matching this pattern.
- `$in` (list of string, optional) — Filter for results in this list of values.
- `$nin` (list of string, optional) — Filter for results not in this list of values.

### NumberFilter

- `$gte` (double, optional) — Filter for results greater than or equal to this value.
- `$lte` (double, optional) — Filter for results less than or equal to this value.
- `$gt` (double, optional) — Filter for results greater than this value.
- `$lt` (double, optional) — Filter for results less than this value.
- `$eq` (double, optional) — Filter for results equal to this value.

### MoEConfig

Mixture of Experts configuration.

- `num_experts` (integer, required) — Total number of routed experts (sharded by EP)
- `num_experts_per_tok` (integer, required) — Number of experts activated per token (top-k routing)
- `num_expert_layers` (integer, required) — Number of layers with MoE
- `expert_ffn_size` (integer, optional) — FFN size for experts (if different from main FFN)
- `num_shared_experts` (integer, optional, default: 0) — Number of shared experts (replicated, not sharded by EP)
- `shared_expert_ffn_size` (integer, optional) — FFN size for shared experts (if different from expert_ffn_size)
- `expert_latent_size` (integer, optional) — Width the routed experts run in when narrower than hidden_size (latent MoE).

### MambaConfig

Mamba/State Space Model configuration.

- `is_hybrid` (boolean, required) — Whether model is Mamba-Transformer hybrid
- `num_mamba_layers` (integer, required) — Number of Mamba/SSM layers
- `num_attention_layers` (integer, optional, default: 0) — Number of attention layers (for hybrids)
- `num_mlp_layers` (integer, optional, default: 0) — Number of standalone MLP layers (for interleaved architectures)
- `state_size` (integer, optional, default: 16) — SSM state expansion factor (d_state)
- `conv_kernel` (integer, optional, default: 4) — Convolution kernel size for Mamba (d_conv)

### SlidingWindowConfig

Sliding window attention configuration.

- `window_size` (integer, required) — Sliding window size (attends to last N tokens)

### LinearLayerSpec

Specification for a single linear layer in the model.

- `name` (string, required) — Module name (e.g., 'model.layers.0.self_attn.q_proj')
- `in_features` (integer, required) — Input feature dimension
- `out_features` (integer, required) — Output feature dimension

### ToolCallConfig

Configuration for tool calling support in NIM deployments.

- `tool_call_parser` (string, optional) — Name of the tool call parser to use (e.g., 'openai', 'hermes', 'pythonic', 'llama3_json', 'mistral').
- `tool_call_plugin` (string, optional) — Reference to a fileset containing the custom tool call plugin Python file. Expected format: '\{workspace}/\{fileset\_name}'. The fileset is mounted separately from the model checkpoint at deployment time.
- `auto_tool_choice` (boolean, optional) — Whether to enable automatic tool choice. When enabled, the model can decide to call tools without explicit user instruction.

### Lora

- `rank` (integer, required) — LoRA Rank
- `alpha` (integer, optional) — Alpha scaling used for this adapter

### InferenceParams

Parameters for model inference. Extra fields can be supplied for additional options applied to the inference request directly. Fields not supported by the model may cause inference errors during evaluation.

- `model` (string, optional) — Model identifier
- `temperature` (double, optional) — Float value between 0 and 1. temp of 0 indicates greedy decoding, where the token with highest prob is chosen. Temperature can't be set to 0.0 currently
- `max_tokens` (integer, optional) — Max tokens to generate
- `max_completion_tokens` (integer, optional) — Max tokens to generate
- `top_p` (double, optional) — Float value between 0 and 1; limits to the top tokens within a certain probability. top_p=0 means the model will only consider the single most likely token for the next prediction
- `stop` (list of string, optional)

## Examples

**Response**

```json
{
  "data": [
    {
      "id": "string",
      "name": "llama-3.1-8b",
      "workspace": "string",
      "created_at": "2024-01-15T09:30:00Z",
      "updated_at": "2024-01-15T09:30:00Z",
      "project": "string",
      "description": "string",
      "spec": {
        "checkpoint_model_name": "string",
        "family": "string",
        "num_layers": 1,
        "hidden_size": 1,
        "num_attention_heads": 1,
        "num_kv_heads": 1,
        "ffn_hidden_size": 1,
        "vocab_size": 1,
        "tied_embeddings": true,
        "gated_mlp": true,
        "base_num_parameters": 1,
        "precision": "string",
        "context_size": 1,
        "num_virtual_tokens": 1,
        "is_chat": true,
        "head_type": "unknown",
        "architectures": [
          "string"
        ],
        "moe_config": {
          "num_experts": 1,
          "num_experts_per_tok": 1,
          "num_expert_layers": 1,
          "expert_ffn_size": 1,
          "num_shared_experts": 0,
          "shared_expert_ffn_size": 1,
          "expert_latent_size": 1
        },
        "mamba_config": {
          "is_hybrid": true,
          "num_mamba_layers": 1,
          "num_attention_layers": 0,
          "num_mlp_layers": 0,
          "state_size": 16,
          "conv_kernel": 4
        },
        "sliding_window_config": {
          "window_size": 1
        },
        "has_vision_tower": false,
        "vision_patch_size": 1,
        "vision_processor_keys": [
          "string"
        ],
        "has_audio_tower": false,
        "num_experts": 1,
        "num_nextn_predict_layers": 1,
        "linear_layers": [
          {
            "name": "string",
            "in_features": 1,
            "out_features": 1
          }
        ],
        "chat_template": "string",
        "tool_call_config": {
          "tool_call_parser": "string",
          "tool_call_plugin": "string",
          "auto_tool_choice": true
        },
        "minimum_gpus_all_weights": 1,
        "minimum_gpus_lora": 1,
        "is_embedding_model": false
      },
      "metadata": {
        "display_name": "string",
        "description": "string",
        "capabilities": [
          "tool_calling"
        ],
        "input_modalities": [
          "text"
        ],
        "output_modalities": [
          "text"
        ],
        "parameter_count": 1,
        "context_length": 1,
        "max_output_tokens": 1,
        "sources": [
          "string"
        ],
        "refreshed_at": "2024-01-15T09:30:00Z"
      },
      "finetuning_type": "lora_merged",
      "fileset": "string",
      "trust_remote_code": false,
      "base_model": "string",
      "api_endpoint": {
        "url": "string",
        "model_id": "string",
        "api_key": "string",
        "format": "string"
      },
      "backend_format": "OPENAI_CHAT",
      "adapters": [
        {
          "name": "lora-adapter-v1",
          "workspace": "string",
          "fileset": "string",
          "finetuning_type": "lora_merged",
          "description": "string",
          "enabled": true,
          "lora_config": {
            "rank": 1,
            "alpha": 1
          },
          "model": "string",
          "created_at": "2024-01-15T09:30:00Z",
          "updated_at": "2024-01-15T09:30:00Z"
        }
      ],
      "prompt": {
        "system_prompt": "string",
        "icl_few_shot_examples": "string",
        "inference_params": {
          "model": "string",
          "temperature": 1.1,
          "max_tokens": 1,
          "max_completion_tokens": 1,
          "top_p": 0.5,
          "stop": [
            "string"
          ]
        },
        "system_prompt_template": "string"
      },
      "custom_fields": {},
      "ownership": {},
      "model_providers": [
        "string"
      ]
    }
  ],
  "pagination": {
    "page": 1,
    "page_size": 1,
    "current_page_size": 1,
    "total_pages": 1,
    "total_results": 1
  },
  "sort": "string",
  "filter": {}
}
```

**SDK Code**

```python
import requests

url = "http://localhost:8080/apis/models/v2/workspaces/workspace/models"

response = requests.get(url)

print(response.json())
```

```javascript
const url = 'http://localhost:8080/apis/models/v2/workspaces/workspace/models';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```