Debugs a model.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
searchengine:DebugModel |
get |
*Instance
|
None | None |
Request syntax
POST /openapi/ha3/instances/{instanceId}/models/{modelName}/actions/debug HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| instanceId |
string |
No |
The instance ID. |
ha-cn-pl32rf0**** |
| modelName |
string |
No |
The name of the model. |
test |
| isOnline |
string |
No |
Specifies whether to perform an online query. Set this parameter to true to use the search configuration. Set this parameter to false to use the build configuration. |
true |
| body |
object |
No |
The request body. |
|
| input |
string |
No |
The input of the model. |
test |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response schema. |
||
| requestId |
string |
The ID of the request. |
E7B7D598-B080-5C8E-AA35-D43EC0D5F886 |
Examples
Success response
JSON format
{
"requestId": "E7B7D598-B080-5C8E-AA35-D43EC0D5F886"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.