Delete Automatic Speech Recognition (ASR) Evaluation API
Call this API to delete the specified Automatic Speech Recognition (ASR) evaluation, including in-progress evaluations.
HTTP method and path
DELETE v1/skills/{skillId}/asrEvaluations/{evaluationId} HTTP/1.1
Attributes | Type | Description | Required |
---|---|---|---|
skillId | String | Skill Id as part of the URI path. | Yes |
evaluationId | String | Evaluation Id as part of the request URI. | Yes |
Request
Request Headers
Content-Type: application/json
Accept: application/json
Request Body
None.
Response
HTTP Status
HTTP 204 No Content
Response Headers
Content-Type: application/json
Response Body
None.
Error Response
This section lists call-specific errors. For a reference of errors that can apply to all ASR APIs, see Automatic Speech Recognition (ASR) API Error Reference.
HTTP Status Code | Error Code | Scenario |
---|---|---|
404 Not Found |
RESOURCE_NOT_FOUND |
Requested skill does not exist. |
Requested evaluation does not exist. |
||
400 Bad Request |
INVALID_REQUEST_PARAMETER |
Evaluation Id is malformed. |
500 Internal Server error |
INTERNAL_SERVER_ERROR |
Request failed due to an internal server error. |
Examples
Sample Request | Sample Response |
---|---|
DELETE /v1/skills/1234/asrEvaluations/1234-1234-1234-12341234 HTTP/1.1
|
HTTP 204 NO CONTENT
|
DELETE /v1/skills/1234/asrEvaluations/1234-1234-1234-12341234 HTTP/1.1
|
HTTP 404 Not Found
Content-Type: application/json
{
"message": "Evaluation with identifier \"1234-1234-1234-12341234\" cannot be found",
"code": "RESOURCE_NOT_FOUND
}
|
Related topics
- What is Automatic Speech Recognition?
- Create an Annotation Set for Automatic Speech Recognition (ASR)
- Run an Automatic Speech Recognition (ASR) Evaluation
- Improve your Automatic Speech Recognition (ASR) Test Results
- Create annotation set API
- Update annotation set annotations API
- Post ASR evaluation API
- Get ASR evaluation results API
- Create catalog API
- Batch Test Your Natural Language Understanding (NLU) Model