curl
curl "https://first-signal-api.fly.dev/v1/agents/6f1d2c3b-4a5e-4f60-8b7a-9c0d1e2f3a4b/tests" \
-H "Authorization: Bearer $SIGNAL_API_KEY"import requests
url = "https://first-signal-api.fly.dev/v1/agents/{agentId}/tests"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://first-signal-api.fly.dev/v1/agents/{agentId}/tests', 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://first-signal-api.fly.dev/v1/agents/{agentId}/tests",
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://first-signal-api.fly.dev/v1/agents/{agentId}/tests"
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://first-signal-api.fly.dev/v1/agents/{agentId}/tests")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://first-signal-api.fly.dev/v1/agents/{agentId}/tests")
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{
"object": "list",
"data": [
{
"object": "test",
"id": "3f1c2d4e-5a6b-4c7d-8e9f-0a1b2c3d4e5f",
"title": "Books a cleaning when the lookup is slow",
"source": "production",
"lane": "integrations",
"intentSlug": "book_appointment",
"tier": "text",
"sourceCallId": "0b9e8d7c-6f5a-4b3c-9d2e-1f0a9b8c7d6e",
"sourceIssueKey": "tool_timeout:check_availability",
"persona": {
"slug": "@source",
"label": "The call's own caller"
},
"revision": 2,
"expect": "pass",
"guard": false,
"gates": true,
"gateReason": "Calibrated: reproduces the failure on version 7 and passes on 8.",
"written": true,
"calibration": {
"state": "stable",
"expect": "pass",
"version": 8,
"k": 3,
"n": 3,
"results": [
"passed",
"passed",
"passed"
],
"runId": "d1e2f3a4-b5c6-4d7e-8f9a-0b1c2d3e4f5a",
"revision": 2,
"epoch": {
"simulatorModel": "claude-haiku-4-5",
"judgeModel": "claude-sonnet-4-5",
"judgePromptHash": "9f2c1a7e",
"scorerVersion": "2026-09-18"
},
"at": "2026-10-02T11:07:41.000Z",
"reason": "Passed 3 of 3 on version 8."
},
"inRelease": true,
"testSets": [
{
"id": "c7d8e9f0-a1b2-4c3d-8e4f-5a6b7c8d9e0f",
"name": "Release"
}
],
"tags": [
"booking"
],
"criteriaCount": 2,
"fixtureCounts": {
"total": 1,
"recorded": 1,
"fromOtherCall": 0,
"ownerSet": 0,
"none": 0
},
"lastAttempt": {
"result": "passed",
"startedAt": "2026-10-02T11:01:15.000Z"
},
"archivedAt": null,
"createdAt": "2026-09-20T16:12:00.000Z",
"updatedAt": "2026-09-28T09:40:31.000Z"
}
],
"hasMore": true,
"nextCursor": "<string>"
}{
"error": {
"type": "not_found_error",
"code": "agent_not_found",
"message": "Agent not found.",
"param": null,
"requestId": "req_8c1f0e2b4a6d9e3f7a5c1b0d"
}
}{
"error": {
"type": "not_found_error",
"code": "agent_not_found",
"message": "Agent not found.",
"param": null,
"requestId": "req_8c1f0e2b4a6d9e3f7a5c1b0d"
}
}{
"error": {
"type": "not_found_error",
"code": "agent_not_found",
"message": "Agent not found.",
"param": null,
"requestId": "req_8c1f0e2b4a6d9e3f7a5c1b0d"
}
}{
"error": {
"type": "not_found_error",
"code": "agent_not_found",
"message": "Agent not found.",
"param": null,
"requestId": "req_8c1f0e2b4a6d9e3f7a5c1b0d"
}
}{
"error": {
"type": "not_found_error",
"code": "agent_not_found",
"message": "Agent not found.",
"param": null,
"requestId": "req_8c1f0e2b4a6d9e3f7a5c1b0d"
}
}{
"error": {
"type": "not_found_error",
"code": "agent_not_found",
"message": "Agent not found.",
"param": null,
"requestId": "req_8c1f0e2b4a6d9e3f7a5c1b0d"
}
}Tests
List tests
The agent’s tests, newest first, each with its gate state and latest result. Archived tests are left out unless asked for.
GET
/
v1
/
agents
/
{agentId}
/
tests
curl
curl "https://first-signal-api.fly.dev/v1/agents/6f1d2c3b-4a5e-4f60-8b7a-9c0d1e2f3a4b/tests" \
-H "Authorization: Bearer $SIGNAL_API_KEY"import requests
url = "https://first-signal-api.fly.dev/v1/agents/{agentId}/tests"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://first-signal-api.fly.dev/v1/agents/{agentId}/tests', 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://first-signal-api.fly.dev/v1/agents/{agentId}/tests",
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://first-signal-api.fly.dev/v1/agents/{agentId}/tests"
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://first-signal-api.fly.dev/v1/agents/{agentId}/tests")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://first-signal-api.fly.dev/v1/agents/{agentId}/tests")
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{
"object": "list",
"data": [
{
"object": "test",
"id": "3f1c2d4e-5a6b-4c7d-8e9f-0a1b2c3d4e5f",
"title": "Books a cleaning when the lookup is slow",
"source": "production",
"lane": "integrations",
"intentSlug": "book_appointment",
"tier": "text",
"sourceCallId": "0b9e8d7c-6f5a-4b3c-9d2e-1f0a9b8c7d6e",
"sourceIssueKey": "tool_timeout:check_availability",
"persona": {
"slug": "@source",
"label": "The call's own caller"
},
"revision": 2,
"expect": "pass",
"guard": false,
"gates": true,
"gateReason": "Calibrated: reproduces the failure on version 7 and passes on 8.",
"written": true,
"calibration": {
"state": "stable",
"expect": "pass",
"version": 8,
"k": 3,
"n": 3,
"results": [
"passed",
"passed",
"passed"
],
"runId": "d1e2f3a4-b5c6-4d7e-8f9a-0b1c2d3e4f5a",
"revision": 2,
"epoch": {
"simulatorModel": "claude-haiku-4-5",
"judgeModel": "claude-sonnet-4-5",
"judgePromptHash": "9f2c1a7e",
"scorerVersion": "2026-09-18"
},
"at": "2026-10-02T11:07:41.000Z",
"reason": "Passed 3 of 3 on version 8."
},
"inRelease": true,
"testSets": [
{
"id": "c7d8e9f0-a1b2-4c3d-8e4f-5a6b7c8d9e0f",
"name": "Release"
}
],
"tags": [
"booking"
],
"criteriaCount": 2,
"fixtureCounts": {
"total": 1,
"recorded": 1,
"fromOtherCall": 0,
"ownerSet": 0,
"none": 0
},
"lastAttempt": {
"result": "passed",
"startedAt": "2026-10-02T11:01:15.000Z"
},
"archivedAt": null,
"createdAt": "2026-09-20T16:12:00.000Z",
"updatedAt": "2026-09-28T09:40:31.000Z"
}
],
"hasMore": true,
"nextCursor": "<string>"
}{
"error": {
"type": "not_found_error",
"code": "agent_not_found",
"message": "Agent not found.",
"param": null,
"requestId": "req_8c1f0e2b4a6d9e3f7a5c1b0d"
}
}{
"error": {
"type": "not_found_error",
"code": "agent_not_found",
"message": "Agent not found.",
"param": null,
"requestId": "req_8c1f0e2b4a6d9e3f7a5c1b0d"
}
}{
"error": {
"type": "not_found_error",
"code": "agent_not_found",
"message": "Agent not found.",
"param": null,
"requestId": "req_8c1f0e2b4a6d9e3f7a5c1b0d"
}
}{
"error": {
"type": "not_found_error",
"code": "agent_not_found",
"message": "Agent not found.",
"param": null,
"requestId": "req_8c1f0e2b4a6d9e3f7a5c1b0d"
}
}{
"error": {
"type": "not_found_error",
"code": "agent_not_found",
"message": "Agent not found.",
"param": null,
"requestId": "req_8c1f0e2b4a6d9e3f7a5c1b0d"
}
}{
"error": {
"type": "not_found_error",
"code": "agent_not_found",
"message": "Agent not found.",
"param": null,
"requestId": "req_8c1f0e2b4a6d9e3f7a5c1b0d"
}
}Authorizations
An API key (sig_...), or a session token from the web app.
Path Parameters
The agent's id.
Pattern:
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$Example:
"3f1c2d4e-5a6b-4c7d-8e9f-0a1b2c3d4e5f"
Query Parameters
Items per page, 1 to 100.
Required range:
1 <= x <= 100Example:
25
nextCursor from the previous page.
Minimum string length:
1Only tests in this set.
Pattern:
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$Example:
"3f1c2d4e-5a6b-4c7d-8e9f-0a1b2c3d4e5f"
Only tests in this lane.
Available options:
hearing, understanding, flow, speaking, integrations Only tests for this intent slug.
Minimum string length:
1Only tests from this source.
Available options:
production, custom, probe Only tests whose latest attempt with their own caller has this result; none: never run.
Available options:
passed, failed, flaky, error, drift, none Archived tests are left out (exclude) unless asked for: include them, or only them.
Available options:
exclude, include, only Was this page helpful?