Skip to content
Wazapin
Esc
navigateopen⌘Jpreview

Get AI test run

GET/v1/ai/test-runs/{runID}
Authorization
bearerAuthbearerAuthrequired
or
apiKeyAuthapiKeyAuthrequired
Path parameters
runIDstringrequired
Responses
200OK
agent_idstringrequired
completed_atstring
created_atstringrequired
idstringrequired
inputobjectrequired
outputobjectrequired
playbook_idstring
playbook_version_idstring
requested_bystring
rerun_ofstring
resultsTestResult[] | null
Show properties
Array of TestResult
actualobjectrequired
case_keystringrequired
created_atstringrequired
expectedobjectrequired
idstringrequired
notesstringrequired
scorenumber<double>required
statusstringrequired
scenariostringrequired
started_atstringrequired
statusstringrequired
summaryobjectrequired
superseded_bystring
400Bad Request
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
401Unauthorized
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
403Forbidden
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
404Not Found
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
422Unprocessable Entity
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
500Internal Server Error
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
Request
curl -X GET "/v1/ai/test-runs/string"
Response
{
  "agent_id": "string",
  "completed_at": "string",
  "created_at": "string",
  "id": "string",
  "input": {},
  "output": {},
  "playbook_id": "string",
  "playbook_version_id": "string",
  "requested_by": "string",
  "rerun_of": "string",
  "results": [
    {
      "actual": {},
      "case_key": "string",
      "created_at": "string",
      "expected": {},
      "id": "string",
      "notes": "string",
      "score": 0,
      "status": "string"
    }
  ],
  "scenario": "string",
  "started_at": "string",
  "status": "string",
  "summary": {},
  "superseded_by": "string"
}