---
title: "Create Agent Test Folder"
method: POST
path: "/v1/convai/agent-testing/folders"
tags: ["Agents Platform"]
---

# Create Agent Test Folder

`POST /v1/convai/agent-testing/folders`

Creates a folder for organizing agent tests.

## Headers

- `xi-api-key` string, nullable — Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.

## Request body

- BodyCreateAgentTestFolderV1ConvaiAgentTestingFoldersPost
  - `name` string, required — The name of the folder to create
  - `parent_folder_id` string, nullable — The ID of the parent folder. If not provided, the folder will be created at the root level.

## Response `200`

Folder successfully created

- CreateAgentTestFolderResponseModel
  - `id` string, required
  - `name` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/elevenlabs/apis/elevenlabs-api-documentation.md) · [All operations](https://skmtc.net/elevenlabs/apis/elevenlabs-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elevenlabs/elevenlabs-api-documentation/revisions/7508b542a4bd/schema)
