Evaluate stored capability versions.
Evaluate a stored capability version against an input. The response gives the verdict, the nodes that drove it, the evaluation id, the capability and version that produced it, the id of this call and when the evaluation was recorded.
| capability_id required | string <uuid> (Capability Id) |
| version_id required | string <uuid> (Version Id) |
required | Input (string) or Array of ApiChatInput (objects) (Input) The content to evaluate against: a string or a list of text parts |
{- "input": "string"
}{- "verdict": "True",
- "explanation": [
- {
- "node": "string",
- "question": "string",
- "verdict": "True",
- "reasoning": "string",
- "evidence": "string"
}
], - "evaluation_id": "4108ec8e-6efd-4b9b-bace-0bb4c296c324",
- "capability_id": "9da5e075-205b-4e46-9854-c4586fb11057",
- "version_id": "9e94c502-ca41-4342-a7f7-af96b444512c",
- "request_id": "string",
- "timestamp": "2019-08-24T14:15:22Z"
}