All Products
Search
Document Center

PolarDB:CreateGatewayConsumerForPolarDBX

Last Updated:Sep 10, 2026

Creates an AI gateway consumer for a PolarDB-X instance.

Operation description

****.

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  HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

RegionId

string

Yes

The region ID of the instance.

cn-hangzhou

DBInstanceName

string

Yes

The instance ID. > You can call the DescribeDBInstances operation to query the details of all instances in the specified region, including instance IDs.

pxc-********

Response elements

Element

Type

Description

Example

object

TaskId

integer

The backend task ID.

422922413

DBInstanceName

string

The instance name.

pxc-**************

RequestId

string

Id of the request

A501A191-BD70-5E50-98A9-C2A486A82****

Examples

Success response

JSON format

{
  "TaskId": 422922413,
  "DBInstanceName": "pxc-**************",
  "RequestId": "A501A191-BD70-5E50-98A9-C2A486A82****"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.