---
title: "Retrieve a model and its sizes (needle-3, needle-3-depth-N, or model-…)"
method: GET
path: "/models/{model_id}"
---

# Retrieve a model and its sizes (needle-3, needle-3-depth-N, or model-…)

`GET /models/{model_id}`

## Request

- Base URL: `https://cactuscompute.com/v1`
- URL: `https://cactuscompute.com/v1/models/{model_id}`
- Auth: HTTP bearer

## Path parameters

- `model_id` string, required

## Response `200`

Model

- Model
  - `id` string, required
  - `object` 'model', required
  - `owned_by` string, required
  - `name` string, nullable
  - `depth` integer, required: Layers
  - `bytes` integer
  - `created_at` integer: Unix seconds
  - `job_id` string
  - `variants` object[], required: Every size this model was exported at; `is_full` marks the one equal to max_depth
    - `id` string, required
    - `depth` integer, required
    - `is_full` boolean, required
    - `bytes` integer

## Other responses

- `4XX`: The request was rejected; `code` says why and `url` (when present) is the console page that clears it

---

[API](https://skmtc.dev/cactuscompute/apis/needle-fine-tuning-api.md) - [All operations](https://skmtc.dev/cactuscompute/apis/needle-fine-tuning-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cactuscompute/apis/needle-fine-tuning-api/revisions/227acc9b45e8?raw)
