List Asset Groups

GET/v1/asset-groups

List asset groups for the current user.

Authentication

Authorization Bearer

API key as bearer token in Authorization header.

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 username, email, or display name.

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.

Request

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

Response

JSON
1{
2  "code": 0,
3  "data": {
4    "records": [
5      {
6        "groupId": "group_123",
7        "name": "Face Assets",
8        "groupKind": "REAL_FACE"
9      }
10    ],
11    "total": 1
12  },
13  "msg": "OK"
14}
Was this page helpful?