Skip to main content
POST
/
api
/
models
/
test
Test Models
curl --request POST \
  --url https://api.example.com/api/models/test \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "model_ids": [
    "<string>"
  ]
}
'
[
  {
    "model_id": "<string>",
    "status": "<string>",
    "response_time": 123,
    "message": "<string>",
    "error": "<string>"
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Model test request schema

model_ids
string[] | null

Response

Successful Response

model_id
string
required
status
string
required
response_time
number | null
required
message
string | null
required
error
string | null
required