Returns whether the authenticated user can access AI metadata generation.
Incoming request used to validate authenticated session.
JSON response with canUseAiMetadata flag or an unauthorized error.
canUseAiMetadata
Returns whether the authenticated user can access AI metadata generation.