Model Versions

Retrieve

Beta
GET
https://api.vellum.ai/v1/model-versions/:id

Deprecated. Use the deployments/provider-payload endpoint to fetch information that we send to Model providers.

Path parameters

id
string
A UUID string identifying this model version.

Response

This endpoint return an object.
id
string
Vellum-generated ID that uniquely identifies this model version.
created
datetime
Timestamp of when this model version was created.
label
string
Human-friendly name for this model version.
provider
enum

Which LLM provider this model version is associated with.

  • ANTHROPIC - Anthropic
  • AWS_BEDROCK - AWS Bedrock
  • AZURE_OPENAI - Azure OpenAI
  • COHERE - Cohere
  • GOOGLE - Google
  • HOSTED - Hosted
  • MOSAICML - MosaicML
  • OPENAI - OpenAI
  • FIREWORKS_AI - Fireworks AI
  • HUGGINGFACE - HuggingFace
  • MYSTIC - Mystic
  • PYQ - Pyq
  • REPLICATE - Replicate
external_id
string
The unique id of this model version as it exists in the above provider's system.
build_config
object
Configuration used to build this model version.
exec_config
object
Configuration used to execute this model version.
status
optional enum
Allowed values: CREATINGREADYCREATION_FAILEDDISABLED
GET
/v1/model-versions/:id
curl https://api.vellum.ai/v1/model-versions/id \
-H "X_API_KEY: <apiKey>"
Response
{
"id": "id",
"created": "2024-01-15T09:30:00Z",
"label": "label",
"provider": "ANTHROPIC",
"external_id": "external_id",
"build_config": {
"base_model": "base_model",
"sandbox_snapshot": {
"id": "id",
"prompt_index": 1,
"prompt_id": "prompt_id",
"sandbox_id": "sandbox_id"
},
"prompt_version_id": "prompt_version_id"
},
"exec_config": {
"parameters": {
"top_p": 1.1,
"frequency_penalty": 1.1,
"presence_penalty": 1.1,
"temperature": 1.1,
"max_tokens": 1,
"stop": [
"stop"
],
"top_k": 1.1
},
"input_variables": [
{
"id": "id",
"key": "key",
"type": "STRING"
}
],
"prompt_template": "prompt_template",
"prompt_block_data": {
"version": 1,
"blocks": [
{
"id": "id",
"block_type": "CHAT_MESSAGE",
"properties": {}
}
]
},
"prompt_syntax_version": 1
},
"status": "CREATING"
}