v1

latestOpenAPI 3.1.02026-07-26157321426.3 KB

Gets a Model API

Fetches a Model API by name, with workspace overlay when added.

get/v1/model_apis/{model_api_name}

Response

namestring required

Identifier of the Model API. Stable, URL-safe slug used as the public identifier.

display_namestring required

Human-readable name of the Model API.

descriptionstring required

Description of the Model API.

model_familystring nullable

Family the underlying model belongs to.

release_datestring date required

Date the Model API was made available.

invoke_urlstring required

Base URL for invoking the Model API. OpenAI-shaped routes (e.g. /v1/chat/completions) live underneath this host.

context_lengthinteger required

The model's context window length, in tokens.

Example response

{
  "name": "llama-3-3-70b-instruct",
  "display_name": "Llama 3.3 70B Instruct",
  "model_family": "META",
  "invoke_url": "https://inference.baseten.co",
  "context_length": 8192,
  "rate_limits": [
    {
      "threshold": 1000
    }
  ]
}