Skip to main content
POST
https://api.tensormesh.ai
/
v1
/
models:validate
Validate Model Name
curl --request POST \
  --url https://api.tensormesh.ai/v1/models:validate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "modelName": "<string>",
  "userId": "<string>"
}
'
{
  "isValid": true
}

Authorizations

Authorization
string
header
required

Bearer authentication using an access token. Format: Bearer <access_token>

Body

application/json

ValidateModelNameRequest contains the deployment name to validate.

modelName
string

Deployment name to validate. Must be provided.

userId
string

User ID for authorization. Must be a valid UUID.

Response

A successful response.

ValidateModelNameResponse indicates whether the deployment name is valid.

isValid
boolean

Whether the deployment name is valid and available.