Agent Versioning - Versions

Test call with version config

Changed on

Deprecated. Test-calls are exempt from the v1 write-block and remain functional. Migrate to POST /agent/{id}/branches/{branchId}/test-call with revisionId. Will be removed at the sunset date.

| Initiate a test call using a specific published version's configuration. The response always includes conversationId and callId. For webcall and chat, it also includes token, roomName, and host. Those fields are omitted for telephony.

post/agent/{id}/versions/{versionId}/test-call

Request

  • Base URL
    https://api.smallest.ai/atoms/v1
  • URL
    https://api.smallest.ai/atoms/v1/agent/{id}/versions/{versionId}/test-call
  • Auth
    HTTP bearer

Path parameters

idstring required

The agent ID.

versionIdstring required

The published version ID

Request body

mode'webcall' | 'chat' | 'telephony'

Test call mode. Defaults to webcall when omitted.

toPhonestring

Phone number to call. Required only when mode is telephony. Omit for webcall and chat.

Response

Test call initiated

statusboolean

Example response

{
  "status": true
}

Changes