Skip to content

useUsage

useUsage(chatbotId): UseQueryResult<AIDailyQuotaSnapshot | null, Error>

Hook to get the current user’s usage for a chatbot (requests, tokens, daily limits)

Parameter Type
chatbotId string | null

UseQueryResult<AIDailyQuotaSnapshot | null, Error>