---
title: "Create Agent-Level Dataset"
method: POST
path: "/api/v2/projects/{project_id}/agent-datasets"
tags: ["Agent Datasets"]
---

# Create Agent-Level Dataset

`POST /api/v2/projects/{project_id}/agent-datasets`

Create a new dataset for agent-level testing. Use to organize test cases for evaluating full agent workflows.

## Path parameters

- `project_id` string, required

## Request body

- object
  - `name` string, required
  - `description` string, nullable
  - `compatible_agent_ids` string[], nullable
  - `tags` string[], nullable

## Response `201`

AgentDatasetResponse(id: uuid.UUID, name: str, description: Optional[str], compatible_agent_ids: list[uuid.UUID], tags: list[server.api_routes.agent_datasets_api_v2.TagResponse] = None)

- object
  - `id` string, uuid, required
  - `name` string, required
  - `description` string, nullable, required
  - `compatible_agent_ids` string[], required
  - `tags` TagResponse[]
    - `id` string, required
    - `name` string, required
    - `color` string, required
    - `association_count` integer

---

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