tencent cloud

Feedback

Querying Audio Quality Inspection Task Progress

Last updated: 2024-07-18 18:07:16
    Use the taskId to query the progress and results of the audio quality inspection.

    Calling Protocol

    HTTPS + JSON
    POST /v2/ivh/assetmanager/zeroshotservice/getdetectprogress
    Header Content-Type: application/json;charset=utf-8

    Request Parameters

    Parameters
    Type
    Mandatory
    Description
    TaskId
    string
    Yes

    Response Parameter

    Parameters
    Type
    Mandatory
    Description
    AudioId
    string
    Yes
    Audio ID
    DetectionCode
    int
    Yes
    Detection codes: 0: indicating that the current audio passed. -1: indicating that detection failed and needs to be retried. -2: indicating that audio did not pass; user is prompted to re-record (usually due to missing, incorrect, or extra reading). -3: indicating that significant noise in the audio, did not pass.
    DetectionMsg
    string
    No
    Detection prompt message
    TaskState
    string
    No
    Detection task status: PROCESSING: In progress SUCCESS: Task processing completed FAIL: Task processing failed

    Request Sample

    { "Header": {}, "Payload": { "TaskId": 666 } }

    Response Sample

    { "Header": { "RequestID": "gz1a74c25f17030396653416949", "SessionID": "gz1a74c25f17030396653416950", "DialogID": "", "Code": 0, "Message": "ok" }, "Payload": { "TaskState": "SUCCESS", "AudioId": "ZZZ", "DetectionCode": 0, "DetectionMsg":"success" } }
    
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support