Skip to main content

queue_positions

Creates, updates, deletes, gets or lists a queue_positions resource.

Overview​

Namequeue_positions
TypeResource
Idnvidia.nvcf_queues.queue_positions

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
function_idstring (uuid)Function id (wire: functionId)
function_version_idstring (uuid)Function version id (wire: functionVersionId)
position_in_queueinteger (int32)Position of request in queue (wire: positionInQueue)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectrequest_idUsing the specified function invocation request id, returns the estimated position of the corresponding message up to 1000 in the queue. Requires a bearer token or an api-key with 'queue_details' scope in the HTTP Authorization header.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
request_idstring (uuid)Function invocation request id

SELECT examples​

Using the specified function invocation request id, returns the estimated position of the corresponding message up to 1000 in the queue. Requires a bearer token or an api-key with 'queue_details' scope in the HTTP Authorization header.

SELECT
function_id,
function_version_id,
position_in_queue
FROM nvidia.nvcf_queues.queue_positions
WHERE request_id = '{{ request_id }}' -- required
;