tencent cloud

账号风控平台

产品简介
产品概述
产品优势
应用场景
购买指南
操作指南
用户管理目录
用户管理
应用管理
认证管理
审计管理
个性化设置
开发对接指南
概述
使用认证 API 接入
获取用户信息
更新用户信息
修改用户密码
重置用户密码
获取 Token
获取 JWT 公钥
刷新 Token
注销 Token
获取 OpenID Provider 配置信息
API 文档
History
Introduction
API Category
Making API Requests
User Management APIs
Data Sync APIs
Audit Management APIs
Data Types
Error Codes
常见问题
功能相关
计费相关
CIAM 政策
隐私协议
数据处理和安全协议

ListLogMessageByCondition

PDF
聚焦模式
字号
最后更新时间: 2025-10-30 21:34:39

1. API Description

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

This API is used to query a specified log.

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: ListLogMessageByCondition.
Version Yes String Common Params. The value used for this API: 2022-03-31.
Region Yes String Common Params. For more information, please see the list of regions supported by the product.
UserStoreId Yes String User pool ID
Pageable Yes Pageable Pagination data
StartTime Yes Integer Start timestamp accurate to the millisecond
Filters.N No Array of Filter Valid values of Key: events.

  • events
  • Values can be one or multiple items in ["SIGNUP", "USER_UPDATE", "USER_DELETE", "USER_CREATE", "ACCOUNT_LINKING"].

    3. Output Parameters

    Parameter Name Type Description
    Total Integer Total number
    Pageable Pageable Pagination object
    Content Array of LogMessage List of logs
    Note: This field may return null, indicating that no valid values can be obtained.
    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 Querying a specified log

    querying a specified log

    Input Example

    POST / HTTP/1.1
    Host: ciam.intl.tencentcloudapi.com
    Content-Type: application/json
    X-TC-Action: ListLogMessageByCondition
    <Common request parameters>
    
    {
        "UserStoreId": "2c3aca3b****************a7efe88e",
        "Pageable": {
            "PageSize": 10,
            "PageNumber": 5
        },
        "Filters": [
            {
                "Key": "nickname",
                "Values": [
                    "nickname1"
                ],
                "Logic": true
            }
        ],
        "StartTime": 1703385600000
    }

    Output Example

    {
        "Response": {
            "Total": 100,
            "Pageable": {
                "PageSize": 10,
                "PageNumber": 5
            },
            "Content": [
                {
                    "LogId": "a23039fd****************44a78adc",
                    "TenantId": "tenantId",
                    "UserStoreId": "2c3aca3b****************a7efe88e",
                    "EventCode": "FORGET_USERNAME",
                    "EventDate": 1703385600000,
                    "Description": "forget username log",
                    "Participant": "TENANT",
                    "ApplicationClientId": "YmFiZTk5********3ZGZiZmY",
                    "ApplicationName": "app1",
                    "AuthSourceId": "5c7df28a********2a3dbbae",
                    "AuthSourceName": "username password 1",
                    "AuthSourceType": "USERNAME_PASSWORD",
                    "AuthSourceCategory": "UNIVERSAL",
                    "Ip": "127.*.*.1",
                    "UserAgent": "agent1",
                    "UserId": "53e25c3****************e4eb5bd1",
                    "Detail": "error detail"
                }
            ],
            "RequestId": "e2e9e8aa********************9ab34c6e"
        }
    }

    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

    The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

    Error Code Description
    AuthFailure A CAM signature/authentication error occurred.
    DryRunOperation DryRun Operation. It means that the request would have succeeded, but the DryRun parameter was used.
    FailedOperation The operation failed.
    FailedOperation.InvalidTenant The tenant is invalid.
    FailedOperation.InvalidUserStore The user pool is invalid.
    FailedOperation.QuotaLimitExceeded The quota is exceeded. Contact customer service.
    InternalError An internal error occurred.
    InternalError.UnknownError An unknown error occurred.
    InvalidParameter The parameter is incorrect.
    InvalidParameter.ParameterIllegal The request parameter is invalid.
    InvalidParameterValue The parameter value is incorrect.
    LimitExceeded The quota limit is exceeded.
    MissingParameter The parameter is missing.
    OperationDenied The operation was denied.
    RequestLimitExceeded The number of requests exceeds the frequency limit.
    RequestLimitExceeded.FrequentRequest Too many requests. Try again later.
    RequestLimitExceeded.RepeatRequest Repeated request. Try again later.
    ResourceInUse The resource is in use.
    ResourceInsufficient The resource is insufficient.
    ResourceNotFound The resource does not exist.
    ResourceUnavailable The resource is unavailable.
    ResourcesSoldOut The resources have been sold out.
    UnauthorizedOperation The operation is unauthorized.
    UnauthorizedOperation.TenantNotActivated The service is not activated.
    UnknownParameter The parameter is unknown.
    UnsupportedOperation The operation is not supported.

    帮助和支持

    本页内容是否解决了您的问题?

    填写满意度调查问卷,共创更好文档体验。

    文档反馈