Pular para o conteúdo principal
GET
Go (SDK)

Autorizações

Authorization
string
header
obrigatório

Send Authorization: Bearer , using an MKA1 API key for automation or an OAuth API access token for a signed-in application. Use a dynamic security callback to refresh OAuth access tokens. Browser session-only operations still require their declared cookie.

Cabeçalhos

X-On-Behalf-Of
string

Optional external end-user identifier forwarded by the API gateway.

Parâmetros de caminho

model_id
string
obrigatório

Resposta

200 - application/json

OK

id
string
obrigatório
object
any
obrigatório
created
integer
obrigatório
Intervalo obrigatório: -9007199254740991 <= x <= 9007199254740991
owned_by
string
obrigatório
model_type
enum<string>
obrigatório
Opções disponíveis:
llm,
embeddings,
images,
speech_to_text,
text_to_speech,
rerank
input_modalities
string[]
obrigatório

Modalities this model accepts as input, mirroring the registry's capabilities.modalities.input (e.g. ["text", "image"]). Clients use it to decide whether an attachment — an image, audio clip, or video — can be sent to this model at all.

output_modalities
string[]
obrigatório

Modalities this model can produce, mirroring the registry's capabilities.modalities.output. Unconstrained strings rather than a closed enum so a new registry modality reaches clients without a breaking schema change.

context_window
integer | null
obrigatório

Context window in tokens, mirroring the registry's contextWindow. For an LLM it is the input plus output tokens one request can span: the Responses API trims the oldest conversation items to fit it, reserving nothing for the output, unless the request sets truncation to disabled, which rejects an oversized request instead; a separate request-size limit in bytes applies the same way. Chat completions forwards requests unchanged. For an embeddings model /embeddings derives a per-input character cap from it, alongside a gateway-wide per-input ceiling; GET /embeddings/models reports whichever binds first as max_input_length. On other model types the gateway does not read it, so a recorded value is informational only and not enforced. Null when the registry does not record one.

Intervalo obrigatório: -9007199254740991 <= x <= 9007199254740991
max_image_resolution
object | null
obrigatório

Largest input image declared for this model, mirroring the registry's capabilities.maxImageResolution. A recorded bound does not mean the model accepts images; input_modalities decides that. Only the Responses API reads it, scaling a larger image down to fit before forwarding it and keeping its aspect ratio; no other endpoint, chat completions included, resizes for it. When a minimum is also set it is applied last, so an image with an extreme aspect ratio can still end up beyond this bound. Null when the registry does not record a limit.

min_image_resolution
object | null
obrigatório

Smallest input image declared for this model, mirroring the registry's capabilities.minImageResolution. A recorded bound does not mean the model accepts images; input_modalities decides that. Only the Responses API reads it, scaling a smaller image up to meet it before forwarding it and keeping its aspect ratio; no other endpoint, chat completions included, resizes for it. Null when the registry does not record a limit.

embedding_dimension_range
object | null
obrigatório

Output vector sizes declared for this model, mirroring the registry's embeddingLimits.dimensions, which is normally recorded only on embeddings models. When min equals max the size is fixed: /embeddings ignores a requested dimensions and returns that size, and vector stores accept only that size. Otherwise a requested size must lie within the range: /embeddings and vector stores reject one outside it with 400. Null when the registry does not record dimensions; a vector store using such a model must then be created with an explicit size (embedding_dimensions on POST /vector_stores). Distinct from the vector store's own embedding_dimensions, which is a single size.

parameter_count
integer | null
obrigatório

Total parameter count of the weights behind this model, mirroring the registry's modelCard.parameterCount. Null when the registry does not record one (closed-weight API models, or entries nobody has filled in yet).

Intervalo obrigatório: -9007199254740991 <= x <= 9007199254740991
active_parameter_count
integer | null
obrigatório

Parameters active per token for mixture-of-experts models, mirroring the registry's modelCard.activeParameterCount. Null for dense models and whenever unrecorded.

Intervalo obrigatório: -9007199254740991 <= x <= 9007199254740991
release_date
string<date> | null
obrigatório

Public release date of the model as an ISO calendar date (YYYY-MM-DD), mirroring the registry's modelCard.releaseDate. Null when unrecorded.

serving_locations
string[] | null
obrigatório

Where the model may be served from, as the registry declares it (e.g. ["aws:us-west-2"]): short opaque labels, not a guarantee for any one request. A request's own location, when the serving upstream reports it, is on the response object as resolved_serving_location. Null when the registry declares none, which is the case for externally hosted models.

developer
string | null
obrigatório

Who trained the model, mirroring the registry's modelCard.developer (e.g. "MeetKai", "Z.AI"). Null when unrecorded.

base_model
string | null
obrigatório

The model these weights were derived from, as its publisher names it, mirroring modelCard.baseModel. Null for a foundation model and when unrecorded.

weights
enum<string> | null
obrigatório

Whether the weights can be obtained, mirroring modelCard.weights; the licence applies to them. Null when unrecorded.

Opções disponíveis:
open,
closed
license
string | null
obrigatório

Licence of the weights as the developer publishes it, mirroring modelCard.license: an SPDX identifier where one exists (e.g. "apache-2.0"), or "proprietary" for closed weights. An identifier, not validated against the SPDX list. Null when unrecorded.

languages
string[] | null
obrigatório

Languages the model is intended for, as ISO 639-1 codes, mirroring modelCard.languages. Null when unrecorded.

tts
object | null
obrigatório

Available public TTS voices and default voice IDs by language. Provider voice identifiers are not exposed.

limitations
string | null
obrigatório

Known limitations in one short paragraph, mirroring modelCard.limitations. Null when unrecorded.

lifecycle
object
obrigatório

Where the model is in its life. status is active unless the registry says otherwise; a deprecated or retired model carries the dates and, when one is named, the registry id of its successor. MKA1 announces a retirement at least 90 days before retires_at. Informational: a retired model is not yet refused by the gateway.

capabilities
object
obrigatório

Curated public generation capabilities for this model.

alias
object | null
obrigatório

Set when this name is a benchmark-backed model alias rather than a model: it serves whichever of its candidate models scores best on an eval suite, so served_model_id can change over time. Every other field then describes the served model. Null for a model.