List member usage. GET /api/openapi/v1/analytics/usage/members, scope admin.v1.analytics-usage.read.
- Scope: admin.v1.analytics-usage.read
- Permission: Read organization-wide usage (analytics-usage)
- Permission type: Read
- Endpoint: GET/api/openapi/v1/analytics/usage/members
Authentication and request headers
Call with an application API key. This endpoint checks only the scope above; read, manage and execute permissions do not imply one another.
| Name | Location | Type | Required | Description | Example |
|---|---|---|---|---|---|
| Authorization | header | string | Yes | Application API key, passed as a Bearer token. | Bearer qwk_*** |
| X-Request-Id | header | string | No | Optional request tracing identifier; generated by the server if omitted. | req-20260831-001 |
Request parameters
| Name | Location | Type | Required | Description | Example |
|---|---|---|---|---|---|
| ds | query | string · date | Required | Data date | "<string>" |
| period | query | string | Required | Reporting period | "cycle" |
| keyword | query | string | No | Search keyword | "<string>" |
| department_id | query | string · uuid | No | Optional department filter; includes descendants. | "<uuid>" |
| sort | query | string | No | Sort field | "used_credits" |
| order | query | string | No | Sort direction | "desc" |
| page | query | integer · int64 | No | Page number | 1 |
| page_size | query | integer · int64 | No | Page size | 20 |
Request example
cURL
Responses
200 OK
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
| has_more | boolean | Yes | Whether more results are available | false |
| items | array | null | Yes | Records | [{"avatar":"<string>","cycle_quota_credits":0,"cycle_used_credits":0,"department_name":"<string>","email":"<string>","last_used_at":"<string>","quota_usage_rate":0,"status":"<string>","used_credits":0,"user_id":"<uuid>","user_name":"<string>"}] |
| last_data_update_time | string | null | Yes | Source update time in YYYY-MM-DD HH:mm:ss format, also accepting the legacy YYYY-MM-DD date format. The time zone is not converted, and the value may differ from ds. | "2026-09-21 13:00:00" |
| next_reset_date | string | null · date | Yes | Next reset date | "<string>" |
| page | integer · int64 | Yes | Page number | 0 |
| page_size | integer · int64 | Yes | Page size | 0 |
| total | integer · int64 | Yes | Total count | 0 |
default Flat business error
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
| code | string | No | Stable business error code | "<string>" |
| detail | string | Yes | Human-readable error description | "<string>" |
| details | OpenapiErrorDetails | No | Error details | {"field":"<string>","reason":"<string>","suggestion":"<string>"} |
| details.field | string | No | Request field that failed validation | "<string>" |
| details.reason | string | No | Stable validation failure reason | "<string>" |
| details.suggestion | string | No | Suggested normalized value | "<string>" |
| error | string | Yes | Stable HTTP error type | "<string>" |