tencent cloud

APIs

DocumentationAPIsCloud Security CenterAI-SPM APIsDescribeAIAgentCredentialLocationList

DescribeAIAgentCredentialLocationList

Download
Focus Mode
Font Size
Last updated: 2026-09-01 10:21:34

1. API Description

Domain name for API request: csip.intl.tencentcloudapi.com.

This API is used to query the leaked location list of one credential by credential group row ID in pages. It is used with the DescribeAIAgentCredentialList interface in the split and unfold scenario to avoid performance issues caused by pulling hundreds of thousands of locations at once in data skew scenarios.

A maximum of 20 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

Parameter Name Required Type Description
Action Yes String Common Params. The value used for this API: DescribeAIAgentCredentialLocationList.
Version Yes String Common Params. The value used for this API: 2022-11-21.
Region No String Common Params. This parameter is not required.
ID Yes Integer

Credential group row ID (comes from AIAgentCredentialItem.ID in the DescribeAIAgentCredentialList response)

MemberId.N No Array of String

Group account member id

Offset No Integer

Offset. Default value: 0

Limit No Integer

Number of items per page. Default value: 10. Upper limit: 200.

3. Output Parameters

Parameter Name Type Description
Locations Array of AIAgentCredentialLocation

List of credential leakage locations (sorted by update_time DESC)

TotalCount Integer

Total number of leak locations for this credential

RequestId String The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.

4. Example

Example1 Calling the API

Input Example

POST / HTTP/1.1
Host: csip.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeAIAgentCredentialLocationList
<Common request parameters>

{
    "ID": 3628,
    "MemberId": [
        "mem-tencent-6f5795752f66e429"
    ]
}

Output Example

{
    "Response": {
        "Locations": [
            {
                "ContainerID": "",
                "Content": "\"apiKey\": \"sk-Nsq***mJ2l\",",
                "DelegateID": 0,
                "InstanceID": "ins-ncsifjqf",
                "Line": 126,
                "Path": "/home/ubuntu/.openclaw/openclaw.json",
                "Status": 0
            }
        ],
        "TotalCount": 11,
        "RequestId": "08b1cb53-5cb5-4bae-866a-a0b254635ee1"
    }
}

5. Developer Resources

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

There is no error code related to the API business logic. For other error codes, please see Common Error Codes.

Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback