Updated on 2025-08-26 GMT+08:00

Responses to Recognition Start Requests

Since WebSocket operates in full-duplex mode, the response refers to messages sent from the server to the client. However, not every request has a corresponding response. Upon receiving the "recognition start" request, the server will provide the following response message, formatted as a JSON string within the text message.

Response Parameters

Table 1 Response parameters

Parameter

Type

Description

resp_type

String

Response type. The value of this parameter is START, indicating the response to a recognition starting request.

trace_id

String

Service internal token used to trace a specific process in logs

Example

{
    "resp_type": "START",
    "trace_id": "567e8537-a89c-13c3-a882-826321939651"
}

Status Codes

See Status Codes.

Error Codes

See Error Codes.