Skip to main content
POST
/
api
/
v2
/
projects
/
{project_id}
/
agent-datasets
Create Agent-Level Dataset
curl --request POST \
  --url https://api.example.com/api/v2/projects/{project_id}/agent-datasets \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "compatible_agent_ids": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "description": "<string>",
  "compatible_agent_ids": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}

Path Parameters

project_id
string
required

Body

application/json
name
string
required
description
string | null
compatible_agent_ids
string<uuid>[] | null

Response

201 - application/json

AgentDatasetResponse(id: uuid.UUID, name: str, description: Optional[str], compatible_agent_ids: list[uuid.UUID])

id
string<uuid>
required
name
string
required
description
string | null
required
compatible_agent_ids
string<uuid>[]
required