Skip to main content
POST
/
api
/
agents
/
{id}
/
test-prompts
Create test prompt
curl --request POST \
  --url https://rippletide-backend.azurewebsites.net/api/agents/{id}/test-prompts \
  --header 'Content-Type: application/json' \
  --data '
{
  "prompt": "<string>",
  "expectedAnswer": "<string>"
}
'
{
  "id": 123,
  "prompt": "<string>",
  "expectedAnswer": "<string>",
  "testAnswer": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Path Parameters

id
string<uuid>
required

Body

application/json
prompt
string
required
expectedAnswer
string | null

Response

Test prompt created

id
integer
prompt
string
expectedAnswer
string | null
testAnswer
string | null
created_at
string<date-time>
updated_at
string<date-time>