Skip to main content
Retrieve the number of items in a vectorizer queue when you need to focus on a particular vectorizer or troubleshoot issues.
  • Retrieve the number of pending items for a specific vectorizer
  • Allow for more granular monitoring of individual vectorizer queues

Samples

Using vectorizer name

Using vectorizer ID

Get exact count

A queue with a very large number of items may be slow to count. The optional exact_count parameter is defaulted to false. When false, the count is limited. An exact count is returned if the queue has 10,000 or fewer items, and returns 9223372036854775807 (the max bigint value) if there are greater than 10,000 items. To get an exact count, regardless of queue size:

Arguments

ai.vectorizer_queue_pending can be called in two ways:

With vectorizer ID

Returns

The number of items in the queue for the specified vectorizer.