Class 5 AI Agent Test

Create

Create a new Class 5 AI Agent Test record.

post/api/cp/class5/ai-agent-test

Request body

idstring

Id

account_idinteger

Account Id

agent_idstring required

Agent Id (references ai_agent.id)

namestring required

Name

conversationstring

Conversation

criteriastring

Criteria

Example request

{
  "id": 12345,
  "account_id": 1,
  "agent_id": 1,
  "name": "Example Name",
  "conversation": "Sample conversation text content",
  "criteria": "Sample criteria text content"
}

Response

Successful response

statusstring

Operation status

Example response

{
  "id": 12345,
  "status": "OK"
}

Changes