POST
/
v2
/
model_version_configs
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

Response

200
application/json

Model version config successfully created.

The response is of type object.