Updated on 2025-12-02 GMT+08:00

Stop answer generation

Function

Stop answer generation

URI

POST /v1/{project_id}/applications/{application_id}/uni-search/experience/stop/chat/{chat_id}

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Definition:

Project ID. For details about how to obtain the project ID, see Obtaining a Project ID.

Constraints:

N/A

Value range:

The value can contain 1 to 64 characters. Only digits, letters, hyphens (-), and underscores (_) are allowed. The value must start with a letter.

Default value:

N/A

application_id

Yes

String

Definition:

Application ID. For details about how to obtain the application ID, see Obtaining an Application ID.

Constraints:

Character string

Value range:

The value can contain 1 to 64 characters. Only digits, letters, hyphens (-), and underscores (_) are allowed. The value must start with a letter.

Default value:

N/A

chat_id

Yes

String

Definition:

Chat ID

Constraints:

N/A

Value range:

A maximum of 128 characters is allowed.

Default value:

N/A

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

Definition:

Token used for API authentication. For details about how to obtain the token, see Obtaining an IAM User Token.

Constraints:

N/A

Value range:

N/A

Default value:

N/A

Response Parameters

Status code: 200

Success response

None

Example Requests

/v1/123/applications/1233453/uni-search/experience/stop/chat/cc84be57-3fc1-4365-a54d-417f098e8a19

Example Responses

Status code: 200

Success response

""

Status Codes

Status Code

Description

200

Success response

Error Codes

See Error Codes.