Skip to main content
POST
/
api
/
agents
/
{agentId}
/
test-results
/
{promptId}
Run test for prompt
curl --request POST \
  --url https://rippletide-backend.azurewebsites.net/api/agents/{agentId}/test-results/{promptId}
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "agentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "promptId": 123,
  "status": "<string>",
  "sessionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "response": "<string>",
  "expectedAnswer": "<string>",
  "hallucinationLabel": "<string>",
  "hallucinationFindings": {},
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Path Parameters

agentId
string<uuid>
required
promptId
integer
required

Response

200 - application/json

Test result

id
string<uuid>
agentId
string<uuid>
promptId
integer
status
string
sessionId
string<uuid> | null
response
string | null
expectedAnswer
string | null
hallucinationLabel
string | null
hallucinationFindings
object
created_at
string<date-time>
updated_at
string<date-time>