queue_positions
Creates, updates, deletes, gets or lists a queue_positions resource.
Overview​
| Name | queue_positions |
| Type | Resource |
| Id | nvidia.nvcf_queues.queue_positions |
Fields​
The following fields are returned by SELECT queries:
- get
| Name | Datatype | Description |
|---|---|---|
function_id | string (uuid) | Function id (wire: functionId) |
function_version_id | string (uuid) | Function version id (wire: functionVersionId) |
position_in_queue | integer (int32) | Position of request in queue (wire: positionInQueue) |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | request_id | 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. |
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.
| Name | Datatype | Description |
|---|---|---|
request_id | string (uuid) | Function invocation request id |
SELECT examples​
- get
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
;