Skip to main content
POST
/
v2
/
model_version_configs
Upload a new Model Version Config
curl --request POST \
  --url https://api.scale.com/v2/model_version_configs \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "url": "<string>",
  "params": {},
  "maxConcurrentRequests": 123,
  "maxCompletionTimeSecs": 123
}'
{
  "id": "<string>",
  "name": "<string>",
  "url": "<string>",
  "params": {},
  "customerId": "<string>",
  "modelEndpoint": "<string>",
  "status": "active",
  "createdAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Your API Key is the Bearer token. See the Authentication section to learn how to access your key.

Body

application/json
name
string
required

Human-readable name for the model version config.

url
string

Model endpoint url.

params
object

Configuration parameters for the model.

maxConcurrentRequests
number
maxCompletionTimeSecs
number

Response

Model version config successfully created.

id
string

Unique identifier for the Model Version Config.

name
string

Human-readable name for the Model Version Config.

url
string

Model endpoint URL.

params
object

Configuration parameters for the model.

customerId
string

Owner of the Model Version Config.

modelEndpoint
string

ID of the parent Model Endpoint.

status
enum<string>
Available options:
active,
errored,
archived
createdAt
string<date-time>
I