Get Model
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
The Account Id
The Model Id
Response
Human-readable display name of the model. e.g. "My Model" Must be fewer than 64 characters long.
The description of the model. Must be fewer than 1000 characters long.
The creation time of the model.
The email address of the user who created this model.
The state of the model.
STATE_UNSPECIFIED
, UPLOADING
, UNDEPLOYED
, UNDEPLOYING
, DEPLOYING
, DEPLOYED
, READY
Contains detailed message when the last model operation fails.
The kind of model. If not specified, the default is HF_PEFT_ADDON.
KIND_UNSPECIFIED
, HF_BASE_MODEL
, HF_PEFT_ADDON
, HF_TEFT_ADDON
, FLUMINA_BASE_MODEL
The URL to GitHub repository of the model.
The URL to the Hugging Face model.
Base model details. Required if kind is HF_BASE_MODEL. Must not be set otherwise.
PEFT addon details. Required if kind is HF_PEFT_ADDON or HF_TEFT_ADDON.
TEFT addon details. Required if kind is HF_TEFT_ADDON. Must not be set otherwise.
If true, the model will be publicly readable.
If set, the Chat Completions API will be enabled for this model.
The maximum context length supported by the model.
If set, images can be provided as input to the model.
If set, tools (i.e. functions) can be provided as input to the model, and the model may respond with one or more tool calls.
The name of the the model from which this was imported. This field is empty if the model was not imported.
If the model was created from a fine-tuning job, this is the fine-tuning job name.
The default draft model to use when creating a deployment. If empty, speculative decoding is disabled by default.
The default draft token count to use when creating a deployment. Must be specified if default_draft_model is specified.
PRECISION_UNSPECIFIED
, FP16
, FP8
, FP8_MM
, FP8_AR
, FP8_MM_KV_ATTN
, FP8_KV
Populated from GetModel API call only.
The resource name of the BYOC cluster to which this model belongs. e.g. accounts/my-account/clusters/my-cluster. Empty if it belongs to a Fireworks cluster.
If specified, this is the date when the serverless deployment of the model will be taken down.
Was this page helpful?