Skip to main content
POST
/
test-suites
Create Test Suite
curl --request POST \
  --url https://api.revring.ai/v1/test-suites \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "name": "<string>",
  "targetAgentId": "<string>",
  "testerAgentId": "<string>",
  "maxConcurrency": 51,
  "defaultVariables": {}
}
'
{}

Authorizations

x-api-key
string
header
required

API key for authentication. Generate API keys from the RevRing dashboard.

Body

application/json
name
string
required

Test suite name

Maximum string length: 128
targetAgentId
string
required

ID of the agent to test

testerAgentId
string | null

ID of a custom tester agent (optional)

maxConcurrency
integer | null

Maximum concurrent test calls

Required range: 2 <= x <= 100
defaultVariables
object

Default variables for all test cases

Response

Test suite created

data
object

Test suite for evaluating agent performance