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
| Item | Value |
|---|
| Request Method | POST |
| Request Path | /user/get_user_info |
| Request Body | None |
| Authentication | Raw 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
| Field | Type | Description |
|---|
company | string | Company name |
industry | string | Industry |
nickname | string | Display name |
avatar | string | Avatar URL |
mobile | string | Mobile number |
email | string | Email address |
register_time | string | Registration time |
balance | number | Current balance / credit balance |
matrix_member_type | string | Matrix 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_type | string | Gitruck 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