Legs

Start answering machine detection on a connected leg

post/legs/{id}/amd

Request body

initial_silence_timeoutinteger

Max milliseconds of silence before declaring no_speech

greeting_durationinteger

Speech duration threshold (ms) above which answerer is classified as machine

after_greeting_silenceinteger

Silence duration (ms) after initial speech to declare human

total_analysis_timeinteger

Max analysis window in milliseconds. A threshold longer than this window suppresses that verdict; a window shorter than all of initial_silence_timeout, greeting_duration and after_greeting_silence is rejected, since the call could only end not_sure.

minimum_word_lengthinteger

Minimum speech burst duration (ms) to count as a word

beep_timeoutinteger

Max time (ms) to wait for the voicemail beep after machine detection. 0 or omitted = disabled.

Response

AMD started

instance_idstring

Instance identifier

statusstring required

Changes

Changed in 3 of the 67 revisions of this API.33

  • 8fca8ce718d022See the full diff
    • request body became required

      request-body-became-required

    • the response's body type/format changed from / to object/ for status 200

      response-body-type-changed

    • added the optional property instance_id to the response with the 200 status

      response-optional-property-added

    • the response property status became required for the status 200

      response-property-became-required

    • endpoint added

      endpoint-added

    • api path removed without deprecation

      api-path-removed-without-deprecation

    This revision also has 40 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog