Class 5 AI Agent Test

Update an existing Class 5 AI Agent Test record by ID.

put/api/cp/class5/ai-agent-test/{id}

Request

  • Base URL
    https://app.connexcs.com
  • Auth
    • OAuth 2
      Authorization code: https://auth.connexcs.com/authorize
      Token URL: https://auth.connexcs.com/token
    • or HTTP bearer

Path parameters

idinteger required

Id identifier

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

Operation completed successfully

statusstring

Operation status

Example response

{
  "status": "OK"
}

Changes

    • info

      the endpoint scheme security oAuth2 was added to the API

    • info

      the endpoint scheme security opaqueToken was added to the API

    • info

      the endpoint scheme security basicAuth was removed from the API