---
title: "Retrieve a model"
method: GET
path: "/genai/{connection_id}/model/{id}"
tags: ["genai", "model"]
---

# Retrieve a model

`GET /genai/{connection_id}/model/{id}`

## Request

- Base URL: `http://api.unified.to`
- URL: `http://api.unified.to/genai/{connection_id}/model/{id}`
- Auth: API key in header `authorization`

## Path parameters

- `connection_id` string, required
- `id` string, required

## Query parameters

- `fields` string[]
- `raw` string

## Response `200`

Successful

- GenaiModel
  - `id` string
  - `name` string
  - `description` string
  - `max_tokens` number: The maximum number of tokens that the model can process in a single response. This limits ensures computational efficiency and resource management.
  - `web_url` string
  - `has_temperature` boolean: Controls randomness of responses. A lower temperature leads to more predictable outputs while a higher temperature results in more varies and sometimes more creative outputs. 0-1
  - `has_questions` boolean: Whether the model is a decision model (such as TypeSafe Jev or Cloudflare Clef) that answers the typed questions of a prompt with answers instead of generating text responses.
  - `has_vision` boolean: Whether the model accepts images as input (see the images on each prompt message).
  - `raw` unknown

---

[API](https://skmtc.dev/unified/apis/unified-to-api-2.md) · [All operations](https://skmtc.dev/unified/apis/unified-to-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/unified/apis/unified-to-api-2/revisions/7a38bdd7f089?raw)
