---
title: "Test Models"
method: POST
path: "/api/models/test"
tags: ["models"]
---

# Test Models

`POST /api/models/test`

Test model configurations

## Request body

- ModelTestRequest — Model test request schema
  - `model_ids` string[], nullable

## Response `200`

Successful Response

- ModelTestResponse[]
  - `model_id` string, required
  - `status` string, required
  - `response_time` number, nullable, required
  - `message` string, nullable, required
  - `error` string, nullable, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/xorbitsai/apis/xagent.md) · [All operations](https://skmtc.net/xorbitsai/apis/xagent/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/xorbitsai/xagent/revisions/33e4ba4936ad/schema)
