Get experiment
curl --request GET \
--url https://api.sidenet.ai/v1/experiments/{experimentId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.sidenet.ai/v1/experiments/{experimentId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.sidenet.ai/v1/experiments/{experimentId}', 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://api.sidenet.ai/v1/experiments/{experimentId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.sidenet.ai/v1/experiments/{experimentId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.sidenet.ai/v1/experiments/{experimentId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sidenet.ai/v1/experiments/{experimentId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"experiment": {
"id": "exp_7f31a9c2",
"name": "Refund tone — August",
"description": null,
"status": "completed",
"datasetId": "ds_orders_v3",
"datasetVersion": 2,
"agentVersionId": "b3f7a2c8-5d19-4e6b-8f02-1a4c9e7d3b55",
"totalItems": 12,
"succeededCount": 12,
"failedCount": 0,
"skippedCount": 0,
"metadata": {
"ticket": "ENG-412"
},
"startedAt": "2026-08-04T11:02:11.000Z",
"completedAt": "2026-08-04T11:04:37.000Z",
"createdAt": "2026-08-04T11:02:10.512Z"
},
"results": [
{
"id": "res_3a91c0e7",
"itemId": "dsi_2c7e91b4",
"input": "Can I get a refund on an order I placed yesterday?",
"output": {
"text": "Yes — you can. Orders can be refunded within 14 days; what is the order number?"
},
"groundTruth": "Yes — orders can be refunded within 14 days. Ask for the order number.",
"error": null,
"status": null,
"traceId": "7a1c3e5d9b2f4a6c8e0d1b3f5a7c9e2d",
"retryCount": 0,
"startedAt": "2026-08-04T11:02:12.000Z",
"completedAt": "2026-08-04T11:02:19.000Z",
"scores": [
{
"scorerId": "tone-scorer",
"scorerName": "Tone Scorer",
"score": 0.92,
"reason": null
}
]
}
],
"scores": {
"tone-scorer": {
"mean": 0.88,
"count": 12
}
},
"pagination": {
"total": 12,
"page": 0,
"limit": 50,
"hasMore": false
}
}{
"error": "<string>",
"details": "<string>"
}Scoring & Experiments
Get experiment
One experiment with its per-item results and scores. Poll this after an async run: experiment.status moves from pending through running to completed (or failed), and results appear as items finish. scores averages every score in the run per scorer, across all pages.
GET
/
v1
/
experiments
/
{experimentId}
Get experiment
curl --request GET \
--url https://api.sidenet.ai/v1/experiments/{experimentId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.sidenet.ai/v1/experiments/{experimentId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.sidenet.ai/v1/experiments/{experimentId}', 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://api.sidenet.ai/v1/experiments/{experimentId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.sidenet.ai/v1/experiments/{experimentId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.sidenet.ai/v1/experiments/{experimentId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sidenet.ai/v1/experiments/{experimentId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"experiment": {
"id": "exp_7f31a9c2",
"name": "Refund tone — August",
"description": null,
"status": "completed",
"datasetId": "ds_orders_v3",
"datasetVersion": 2,
"agentVersionId": "b3f7a2c8-5d19-4e6b-8f02-1a4c9e7d3b55",
"totalItems": 12,
"succeededCount": 12,
"failedCount": 0,
"skippedCount": 0,
"metadata": {
"ticket": "ENG-412"
},
"startedAt": "2026-08-04T11:02:11.000Z",
"completedAt": "2026-08-04T11:04:37.000Z",
"createdAt": "2026-08-04T11:02:10.512Z"
},
"results": [
{
"id": "res_3a91c0e7",
"itemId": "dsi_2c7e91b4",
"input": "Can I get a refund on an order I placed yesterday?",
"output": {
"text": "Yes — you can. Orders can be refunded within 14 days; what is the order number?"
},
"groundTruth": "Yes — orders can be refunded within 14 days. Ask for the order number.",
"error": null,
"status": null,
"traceId": "7a1c3e5d9b2f4a6c8e0d1b3f5a7c9e2d",
"retryCount": 0,
"startedAt": "2026-08-04T11:02:12.000Z",
"completedAt": "2026-08-04T11:02:19.000Z",
"scores": [
{
"scorerId": "tone-scorer",
"scorerName": "Tone Scorer",
"score": 0.92,
"reason": null
}
]
}
],
"scores": {
"tone-scorer": {
"mean": 0.88,
"count": 12
}
},
"pagination": {
"total": 12,
"page": 0,
"limit": 50,
"hasMore": false
}
}{
"error": "<string>",
"details": "<string>"
}Authorizations
Organization API key, generated in studio.sidenet.ai. Backend only — never in a browser.
Path Parameters
Experiment id, as returned by POST /v1/experiments.
Example:
"exp_7f31a9c2"
Query Parameters
0-based page.
Required range:
x >= 0Required range:
x <= 500