List Asset Groups

GET/v1/asset-groups

List asset groups for the current user.

Authentication

Authorization Bearer — JWT session or sk-* API key.

Query Parameters

currentinteger

Page number. Defaults to 1.

sizeinteger

Page size. Defaults to 20. Maximum is 100.

keywordstring

Filter by group name or asset group ID.

groupKindstring

Filter by group kind.

statusstring

Filter by status.

ownedOnlyboolean

If true, list only groups owned by the caller.

createdBystring

Filter by creator within the current accessible scope.

Response

codeinteger

Response status code.

dataobject

Paginated group list response.

data.paginationobject

Pagination metadata.

data.listarray

Asset group records.

msgstring

Response message.

serviceCodestring | null

Service error code on failure.

Solicitar

Shell
1curl "https://api.token360.ai/v1/asset-groups?current=1&size=20" \
2  -H "Authorization: Bearer sk-your-api-key"

Respuesta

JSON
1{
2  "code": 200,
3  "data": {
4    "pagination": {
5      "currentPage": "1",
6      "total": "1",
7      "totalPage": "1",
8      "pageSize": "20"
9    },
10    "list": [
11      {
12        "assetGroupId": "your-real-face-group-id",
13        "name": "Face Assets",
14        "groupKind": "REAL_FACE"
15      }
16    ]
17  },
18  "msg": "success"
19}

Managed asset quota and lifecycle

Virtual Portrait and Real Face uploads share the managed-asset quota for the current personal or tenant scope. Treat Get Asset Quota as the source of truth. The current default is 50,000 for a personal scope and 500,000 for a tenant scope; configured limits may differ.

Use only the public assetId and assetGroupId returned by Token360 in client integrations.

¿Ha sido de ayuda?