Skip to main content
GET
/
api
/
v2
/
projects
/
{project_id}
/
agent-datasets
/
{dataset_id}
/
test-cases
/
{test_case_id}
cURL
curl -X GET 'https://app.freeplay.ai/api/v2/projects/your-project-id/agent-datasets/your-dataset-id/test-cases/your-test-case-id' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "input": true,
  "output": true,
  "metadata": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

project_id
string
required
dataset_id
string
required
test_case_id
string
required

Response

200 - application/json

AgentTestCaseResponse(trace_test_case: shared.sqlalchemy.models.TraceTestCase)

id
string<uuid>
required
input
output
metadata
Metadata · object