Skip to main content
POST
Save a regression test for an agent

Authorizations

Authorization
string
header
required

Dashboard JWT token from Clerk

Path Parameters

id
string
required

Identifier of the agent the test belongs to.

Body

application/json
name
string
required

Human-readable name for the saved test.

Required string length: 1 - 200
conversation_json
object[]
required

The saved conversation turns to replay.

Required array length: 1 - 40 elements
description
string

Optional note describing what the test covers.

Maximum string length: 1000
expected_outputs
object

Declarative assertions the replayed reply must satisfy.

Response

200 - application/json

The created regression test.

data
object
meta
object