Skip to main content
POST
Create a QA agent

Authorizations

Authorization
string
header
required

Use a Bearer token to access these API endpoints. Example: "Bearer {your-token}"

Body

application/json

Create/update payload. On update only the fields you send are changed.

name
string
required
Maximum string length: 255
Example:

"Support QA Agent"

description
string | null
Example:

"Evaluates support conversations for empathy and compliance"

evaluates_agent_type
enum<string>
default:both

Who this QA agent evaluates: human agents, AI agents, or both.

Available options:
human,
ai,
both
Example:

"human"

is_active
boolean
default:true
Example:

true

is_default
boolean
default:false

Send true to make this the default evaluator. To move the default away from an agent, set another one as default.

Example:

false

evaluation_model
string
default:advanced
Maximum string length: 50
Example:

"advanced"

strictness_level
integer
default:70

How strictly conversations are scored. Higher = harsher.

Required range: 0 <= x <= 100
Example:

70

confidence_threshold
integer
default:85

Minimum AI confidence (%) for a score to be applied.

Required range: 0 <= x <= 100
Example:

85

auto_fail_threshold
integer
default:3

Number of critical violations after which an evaluation fails automatically.

Required range: 0 <= x <= 10
Example:

3

language
string
default:English

Language for evaluation reports and feedback.

Maximum string length: 50
Example:

"English"

custom_instructions
string | null

Extra guidance applied to every evaluation.

Example:

"Focus on product knowledge when evaluating technical support calls."

automatic_scoring
boolean
default:true
Example:

true

sentiment_analysis
boolean
default:true
Example:

true

compliance_checking
boolean
default:true
Example:

true

skills
object[]

The full scorecard. Sending it replaces the existing skills; weights must total 100%. Leave it out on create to start with the standard 5-skill scorecard.

Minimum array length: 1

Response

QA agent created successfully

success
boolean
Example:

true

message
string
Example:

"QA agent created successfully"

data
object

A QA agent with its full scorecard.