ExportRecallManagementTable

更新时间:
复制 MD 格式

Exports a specified table from the recall engine to a MaxCompute project.

Operation description

Description

Use this API to export a specific table from the recall engine to Alibaba Cloud MaxCompute for further data processing or analysis. Ensure the provided MaxCompute project name, schema, and table name are valid and that you have the required permissions.

Usage notes

  • The Partitions field must be a JSON object that specifies the table partitions to export.

  • The request may fail if any required parameters are missing or incorrect.

  • The export process is asynchronous and may take some time. You can use the returned job ID to track the status of the job.

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

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

pairec:ExportRecallManagementTable

none

*All Resource

*

None None

Request syntax

POST /api/v1/recallmanagementtables/{RecallManagementTableId}/action/export HTTP/1.1

Path Parameters

Parameter

Type

Required

Description

Example

RecallManagementTableId

string

No

The ID of the table to export.

3

Request parameters

Parameter

Type

Required

Description

Example

body

object

No

The request body.

InstanceId

string

No

The instance ID.

pairec-test1

MaxcomputeProjectName

string

No

The MaxCompute project name.

test

MaxcomputeSchema

string

No

The MaxCompute project schema.

default

MaxcomputeTableName

string

No

The name of the destination table in MaxCompute.

table-1

Partitions

object

No

The table partitions to export. The value must be a JSON object where each key is a partition field and its value is the corresponding partition value.

string

No

The value of a partition field.

20260101

RecallManagementTableVersionId

string

No

The version ID of the recall management table. This parameter defaults to the current published version.

20250213000000

Response elements

Element

Type

Description

Example

object

The response data.

RequestId

string

The request ID.

728C5E01-ABF6-5AA8-B9FC-B3BA05DECC77

RecallManagementJobId

string

The export job ID. Use this ID to track the job's status.

1

Examples

Success response

JSON format

{
  "RequestId": "728C5E01-ABF6-5AA8-B9FC-B3BA05DECC77",
  "RecallManagementJobId": "1"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.