Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
ID of the call to fetch evaluation run for
Response
Evaluation run for a specific call
Evaluation run response payload
Fetch all evaluation run results for a specific call.
import Roark from '@roarkanalytics/sdk';
const client = new Roark({
bearerToken: 'My Bearer Token',
});
const response = await client.call.getEvaluationRuns('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e');
console.log(response.data);{
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"evaluator": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"weight": 123
},
"status": "PENDING",
"score": 0.5,
"result": "SUCCESS",
"summary": "<string>",
"startedAt": "<string>",
"completedAt": "<string>",
"metrics": [
{
"name": "<string>",
"valueType": "<string>",
"numericValue": 123,
"booleanValue": true,
"textValue": "<string>",
"confidence": 0.5,
"reasoning": "<string>",
"role": "<string>",
"createdAt": "<string>"
}
],
"evidence": [
{
"snippetText": "<string>",
"commentText": "<string>",
"isPositive": true,
"createdAt": "<string>"
}
],
"blockRuns": [
{
"blockRunId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"blockDefinitionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"blockName": "<string>",
"status": "PENDING",
"result": "PASSED",
"score": 0.5,
"reason": "<string>",
"createdAt": "<string>"
}
]
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID of the call to fetch evaluation run for
Evaluation run for a specific call
Evaluation run response payload
Show child attributes
import Roark from '@roarkanalytics/sdk';
const client = new Roark({
bearerToken: 'My Bearer Token',
});
const response = await client.call.getEvaluationRuns('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e');
console.log(response.data);{
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"evaluator": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"weight": 123
},
"status": "PENDING",
"score": 0.5,
"result": "SUCCESS",
"summary": "<string>",
"startedAt": "<string>",
"completedAt": "<string>",
"metrics": [
{
"name": "<string>",
"valueType": "<string>",
"numericValue": 123,
"booleanValue": true,
"textValue": "<string>",
"confidence": 0.5,
"reasoning": "<string>",
"role": "<string>",
"createdAt": "<string>"
}
],
"evidence": [
{
"snippetText": "<string>",
"commentText": "<string>",
"isPositive": true,
"createdAt": "<string>"
}
],
"blockRuns": [
{
"blockRunId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"blockDefinitionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"blockName": "<string>",
"status": "PENDING",
"result": "PASSED",
"score": 0.5,
"reason": "<string>",
"createdAt": "<string>"
}
]
}
]
}