curl --request GET \
--url 'https://api-prod.usefini.com/v2/test-sets/public' \
--header 'Authorization: Bearer fini_your_api_key'
const response = await fetch('https://api-prod.usefini.com/v2/test-sets/public', {
method: 'GET',
headers: {
Authorization: 'Bearer fini_your_api_key'
}
});
const testSets = await response.json();
import requests
response = requests.get(
"https://api-prod.usefini.com/v2/test-sets/public",
headers={"Authorization": "Bearer fini_your_api_key"},
)
test_sets = response.json()
[
{
"id": "44c1f705-8e1a-4f61-8c4c-d519d37fb6b7",
"name": "Refund regression set",
"description": "Refund-policy conversations to re-check before prompt changes.",
"conversationCount": 12,
"criteriaCount": 2,
"createdBy": null,
"createdAt": "2026-07-28T08:55:32.000Z",
"updatedAt": "2026-07-28T08:55:32.000Z"
}
]
Test Sets
List test sets
List all Test Suite regression sets in the workspace.
GET
/
v2
/
test-sets
/
public
curl --request GET \
--url 'https://api-prod.usefini.com/v2/test-sets/public' \
--header 'Authorization: Bearer fini_your_api_key'
const response = await fetch('https://api-prod.usefini.com/v2/test-sets/public', {
method: 'GET',
headers: {
Authorization: 'Bearer fini_your_api_key'
}
});
const testSets = await response.json();
import requests
response = requests.get(
"https://api-prod.usefini.com/v2/test-sets/public",
headers={"Authorization": "Bearer fini_your_api_key"},
)
test_sets = response.json()
[
{
"id": "44c1f705-8e1a-4f61-8c4c-d519d37fb6b7",
"name": "Refund regression set",
"description": "Refund-policy conversations to re-check before prompt changes.",
"conversationCount": 12,
"criteriaCount": 2,
"createdBy": null,
"createdAt": "2026-07-28T08:55:32.000Z",
"updatedAt": "2026-07-28T08:55:32.000Z"
}
]
Returns all test sets in the workspace, newest first.
Headers
string
required
Bearer token containing your Fini workspace API key. Format:
Bearer fini_... The key needs read scope.Response
Returns an array of test set summaries. List responses includeconversationCount and criteriaCount instead of the full conversationIds array.
curl --request GET \
--url 'https://api-prod.usefini.com/v2/test-sets/public' \
--header 'Authorization: Bearer fini_your_api_key'
const response = await fetch('https://api-prod.usefini.com/v2/test-sets/public', {
method: 'GET',
headers: {
Authorization: 'Bearer fini_your_api_key'
}
});
const testSets = await response.json();
import requests
response = requests.get(
"https://api-prod.usefini.com/v2/test-sets/public",
headers={"Authorization": "Bearer fini_your_api_key"},
)
test_sets = response.json()
[
{
"id": "44c1f705-8e1a-4f61-8c4c-d519d37fb6b7",
"name": "Refund regression set",
"description": "Refund-policy conversations to re-check before prompt changes.",
"conversationCount": 12,
"criteriaCount": 2,
"createdBy": null,
"createdAt": "2026-07-28T08:55:32.000Z",
"updatedAt": "2026-07-28T08:55:32.000Z"
}
]
Was this page helpful?
⌘I

