User Management

The user management API returns profile information for the account associated with the current API key, including company, industry, nickname, registration time, and balance.

Get Current User Info

Basic Information

ItemValue
Request MethodPOST
Request Path/user/get_user_info
Request BodyNone
AuthenticationRaw API key in the Authorization header

Request Example

curl -X POST https://api.ai-mcn.tv:10000/user/get_user_info \
  -H "Authorization: YOUR_API_KEY"

Success Example

{
  "code": 200,
  "msg": "success",
  "data": {
    "company": "Gitruck Cloud",
    "industry": "Internet",
    "nickname": "Alice",
    "avatar": "https://example.com/avatar.png",
    "mobile": "13800138000",
    "email": "user@example.com",
    "register_time": "2024-01-01T12:00:00Z",
    "balance": 12800,
    "matrix_member_type": "external",
    "gc_member_type": "external"
  }
}

Response Fields

FieldTypeDescription
companystringCompany name
industrystringIndustry
nicknamestringDisplay name
avatarstringAvatar URL
mobilestringMobile number
emailstringEmail address
register_timestringRegistration time
balancenumberCurrent balance / credit balance
matrix_member_typestringMatrix membership tier, either external or internal. internal = matrix member (eligible for advanced capabilities such as full-library clip search); external = regular customer or not enrolled in the matrix. Note: account identity may come from multiple sources; this field denotes the "matrix" dimension specifically, and future identity dimensions will be expressed as separate fields rather than reusing this one.
gc_member_typestringGitruck Cloud internal membership flag, either external or internal. internal = Gitruck Cloud internal member (eligible for platform-side internal benefits such as the CLI material embedding billing exemption); external = regular customer (the default, also the fallback when unset). An independent identity dimension parallel to matrix_member_type — the two never affect or reuse each other.

Next Steps