All Products
Search
Document Center

AI Guardrails:Query a list of individuals

Last Updated:Mar 31, 2026

Call the getPersonList operation to query the IDs of all individuals in an individual group, with pagination support.

QPS limits

This operation supports up to 20 calls per second per account (QPS, queries per second). Exceeding this limit triggers throttling, which may affect your service. Design your call rate accordingly.

Request syntax

POST /green/sface/group/persons HTTPS|HTTP

Request headers

This operation uses only common request headers. For more information, see Common request headers.

Request parameters

ParameterTypeRequiredExampleDescription
clientInfoJSONObjectNo{"userId":"120234234","userNick":"Mike","userType":"others"}The client information from the ClientInfo structure, serialized in JSON format. Contains the unique machine identifier (UMID) and International Mobile Equipment Identity (IMEI) of the client. For more information, see ClientInfo.

RequestBody

ParameterTypeRequiredExampleDescription
groupIdStringYesgroup1The ID of the individual group to query.
currentPageIntegerNo1The page number to return, starting from 1. Default value: 1.
pageSizeIntegerNo20The number of entries per page. Valid values: 1 to 100. Default value: 20.

Response parameters

All responses are returned in JSON format. For common response parameters, see Common response parameters.

The data field contains the following parameters. This field may be empty if an error occurs.

ParameterTypeExampleDescription
codeInteger200The HTTP status code. For more information, see Common error codes.
personIdsStringArray["person1","person2"]The IDs of all individuals in the individual group.
currentPageInteger1The current page number returned.
pageSizeInteger20The number of entries returned on each page.
totalCountInteger100The total number of individuals in the individual group.

Examples

Sample request

POST /green/sface/group/persons HTTP/1.1
Common request headers
{
    "groupId": "group1",
    "pageSize": 10,
    "currentPage": 1
}

Sample success response

{
    "msg": "OK",
    "code": 200,
    "requestId": "36D384DA-8023-4E84-BCFD-0C5581352C16",
    "data": {
        "code": 200,
        "personIds": [
            "person1",
            "person2"
        ],
        "pageSize": 10,
        "currentPage": 1,
        "totalCount": 17
    }
}