---
title: "Upload Test Cases For A Given Agent"
method: POST
path: "/v1/orchestrate/agent/{agent_id}/test_case"
tags: ["Agent Evaluation"]
---

# Upload Test Cases For A Given Agent

`POST /v1/orchestrate/agent/{agent_id}/test_case`

Upload test cases for a given agent

## Path parameters

- `agent_id` string, uuid, required

## Response `200`

Successful Response

- UploadTestCasesResponse
  - `test_case_ids` string[], required
  - `total_test_cases` integer, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/ibm/apis/wxo-server-api.md) · [All operations](https://skmtc.dev/ibm/apis/wxo-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ibm/wxo-server-api/revisions/82c114c37196/schema)
