All Products
Search
Document Center

Artificial Intelligence Recommendation:AttachIndexVersion

Last Updated:Oct 16, 2025

Brings a specified index version online.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

POST /v2/openapi/instances/{instanceId}/filtering-algorithms/{algorithmId}/index-versions/{versionId}/actions/attach HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

instanceId

string

Yes

The instance ID.

airec-test

algorithmId

string

Yes

The retrieval configuration ID.

123

versionId

string

Yes

The index version ID.

v1

Response elements

Element

Type

Description

Example

object

result

boolean

Indicates whether the switch is successful. TRUE: Yes. FALSE: No.

TRUE

requestId

string

The request ID.

E63A27A4-3411-4910-B7D5-12EEAC19389B

Examples

Success response

JSON format

{
  "result": true,
  "requestId": "E63A27A4-3411-4910-B7D5-12EEAC19389B"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.