Create Eval Run
curl --request POST \
--url https://demo.rotavision.com/api/v1/vidhi/eval-runs \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"suite": "<string>",
"n_samples": 2,
"metrics": {},
"agent_id": "<string>",
"model_ref": "<string>",
"data_source": "<string>",
"scorer": "<string>",
"gates": [
{
"metric": "<string>",
"min": 123,
"max": 123
}
],
"detail": {}
}
'import requests
url = "https://demo.rotavision.com/api/v1/vidhi/eval-runs"
payload = {
"suite": "<string>",
"n_samples": 2,
"metrics": {},
"agent_id": "<string>",
"model_ref": "<string>",
"data_source": "<string>",
"scorer": "<string>",
"gates": [
{
"metric": "<string>",
"min": 123,
"max": 123
}
],
"detail": {}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
suite: '<string>',
n_samples: 2,
metrics: {},
agent_id: '<string>',
model_ref: '<string>',
data_source: '<string>',
scorer: '<string>',
gates: [{metric: '<string>', min: 123, max: 123}],
detail: {}
})
};
fetch('https://demo.rotavision.com/api/v1/vidhi/eval-runs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://demo.rotavision.com/api/v1/vidhi/eval-runs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'suite' => '<string>',
'n_samples' => 2,
'metrics' => [
],
'agent_id' => '<string>',
'model_ref' => '<string>',
'data_source' => '<string>',
'scorer' => '<string>',
'gates' => [
[
'metric' => '<string>',
'min' => 123,
'max' => 123
]
],
'detail' => [
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://demo.rotavision.com/api/v1/vidhi/eval-runs"
payload := strings.NewReader("{\n \"suite\": \"<string>\",\n \"n_samples\": 2,\n \"metrics\": {},\n \"agent_id\": \"<string>\",\n \"model_ref\": \"<string>\",\n \"data_source\": \"<string>\",\n \"scorer\": \"<string>\",\n \"gates\": [\n {\n \"metric\": \"<string>\",\n \"min\": 123,\n \"max\": 123\n }\n ],\n \"detail\": {}\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://demo.rotavision.com/api/v1/vidhi/eval-runs")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"suite\": \"<string>\",\n \"n_samples\": 2,\n \"metrics\": {},\n \"agent_id\": \"<string>\",\n \"model_ref\": \"<string>\",\n \"data_source\": \"<string>\",\n \"scorer\": \"<string>\",\n \"gates\": [\n {\n \"metric\": \"<string>\",\n \"min\": 123,\n \"max\": 123\n }\n ],\n \"detail\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://demo.rotavision.com/api/v1/vidhi/eval-runs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"suite\": \"<string>\",\n \"n_samples\": 2,\n \"metrics\": {},\n \"agent_id\": \"<string>\",\n \"model_ref\": \"<string>\",\n \"data_source\": \"<string>\",\n \"scorer\": \"<string>\",\n \"gates\": [\n {\n \"metric\": \"<string>\",\n \"min\": 123,\n \"max\": 123\n }\n ],\n \"detail\": {}\n}"
response = http.request(request)
puts response.read_body{}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}vidhi
Create Eval Run
Store a citable eval run. Metrics are supplied (scored offline by
exact-match, the Indic judge, or humans — recorded in scorer); the
platform computes the GATE VERDICT against Wilson confidence intervals
and stores the exact artifact. Packs cite it by id as validation
evidence.
POST
/
api
/
v1
/
vidhi
/
eval-runs
Create Eval Run
curl --request POST \
--url https://demo.rotavision.com/api/v1/vidhi/eval-runs \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"suite": "<string>",
"n_samples": 2,
"metrics": {},
"agent_id": "<string>",
"model_ref": "<string>",
"data_source": "<string>",
"scorer": "<string>",
"gates": [
{
"metric": "<string>",
"min": 123,
"max": 123
}
],
"detail": {}
}
'import requests
url = "https://demo.rotavision.com/api/v1/vidhi/eval-runs"
payload = {
"suite": "<string>",
"n_samples": 2,
"metrics": {},
"agent_id": "<string>",
"model_ref": "<string>",
"data_source": "<string>",
"scorer": "<string>",
"gates": [
{
"metric": "<string>",
"min": 123,
"max": 123
}
],
"detail": {}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
suite: '<string>',
n_samples: 2,
metrics: {},
agent_id: '<string>',
model_ref: '<string>',
data_source: '<string>',
scorer: '<string>',
gates: [{metric: '<string>', min: 123, max: 123}],
detail: {}
})
};
fetch('https://demo.rotavision.com/api/v1/vidhi/eval-runs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://demo.rotavision.com/api/v1/vidhi/eval-runs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'suite' => '<string>',
'n_samples' => 2,
'metrics' => [
],
'agent_id' => '<string>',
'model_ref' => '<string>',
'data_source' => '<string>',
'scorer' => '<string>',
'gates' => [
[
'metric' => '<string>',
'min' => 123,
'max' => 123
]
],
'detail' => [
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://demo.rotavision.com/api/v1/vidhi/eval-runs"
payload := strings.NewReader("{\n \"suite\": \"<string>\",\n \"n_samples\": 2,\n \"metrics\": {},\n \"agent_id\": \"<string>\",\n \"model_ref\": \"<string>\",\n \"data_source\": \"<string>\",\n \"scorer\": \"<string>\",\n \"gates\": [\n {\n \"metric\": \"<string>\",\n \"min\": 123,\n \"max\": 123\n }\n ],\n \"detail\": {}\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://demo.rotavision.com/api/v1/vidhi/eval-runs")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"suite\": \"<string>\",\n \"n_samples\": 2,\n \"metrics\": {},\n \"agent_id\": \"<string>\",\n \"model_ref\": \"<string>\",\n \"data_source\": \"<string>\",\n \"scorer\": \"<string>\",\n \"gates\": [\n {\n \"metric\": \"<string>\",\n \"min\": 123,\n \"max\": 123\n }\n ],\n \"detail\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://demo.rotavision.com/api/v1/vidhi/eval-runs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"suite\": \"<string>\",\n \"n_samples\": 2,\n \"metrics\": {},\n \"agent_id\": \"<string>\",\n \"model_ref\": \"<string>\",\n \"data_source\": \"<string>\",\n \"scorer\": \"<string>\",\n \"gates\": [\n {\n \"metric\": \"<string>\",\n \"min\": 123,\n \"max\": 123\n }\n ],\n \"detail\": {}\n}"
response = http.request(request)
puts response.read_body{}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
Ingest API key or OIDC JWT. See /authentication.
Body
application/json
Required string length:
1 - 200Required range:
x >= 1Show child attributes
Show child attributes
Maximum string length:
200Maximum string length:
400how metrics were produced: exact-match | judge-indic: | human- | debate — provenance, not a claim we ran it
Maximum string length:
120Show child attributes
Show child attributes
optional structured evidence beyond scalar metrics (e.g. the red-team MAP-Elites grid + diverse evasions)
Response
Successful Response
The response is of type Response Create Eval Run Api V1 Vidhi Eval Runs Post · object.
⌘I

