Current User
current_userRetrieve the authenticated AFFiNE user profile to verify credentials before workspace or document operations with a read-only check.
Instructions
Return the currently authenticated AFFiNE user profile. Use this read-only check to verify credentials before workspace or document operations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| ok | No | ||
| code | No | ||
| name | No | ||
| No | |||
| error | No | ||
| details | No | ||
| disabled | No | ||
| avatarUrl | No | ||
| causeCode | No | ||
| retryable | No | ||
| emailVerified | No | ||
| recoveryGuidance | No |