Skip to main content

invocation_status

Creates, updates, deletes, gets or lists an invocation_status resource.

Overview​

Nameinvocation_status
TypeResource
Idnvidia.nvcf_invocation.invocation_status

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
responsestringThe invocation response body as returned by the function (JSON text); empty while the request is still pending (HTTP 202)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectrequest_idDeprecated and will be removed soon. Please use the new NVCF Invocation API endpoint to invoke a function and stream results without polling. Retrieves the status of an in-progress or pending request using its unique invocation request ID. If the result is available, it will be included in the response, marking the request as fulfilled. Conversely, if the result is not yet available, the request is deemed pending. Access to this endpoint mandates inclusion of a bearer token with 'invoke_function' scope in the HTTP Authorization header. In-progress responses are returned in order. If no in-progress response is received during polling you will receive the most recent in-progress response. Only the first 256 unread in-progress messages are kept.

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)Invocation Request Id

SELECT examples​

Deprecated and will be removed soon. Please use the new NVCF Invocation API endpoint to invoke a function and stream results without polling. Retrieves the status of an in-progress or pending request using its unique invocation request ID. If the result is available, it will be included in the response, marking the request as fulfilled. Conversely, if the result is not yet available, the request is deemed pending. Access to this endpoint mandates inclusion of a bearer token with 'invoke_function' scope in the HTTP Authorization header. In-progress responses are returned in order. If no in-progress response is received during polling you will receive the most recent in-progress response. Only the first 256 unread in-progress messages are kept.

SELECT
response
FROM nvidia.nvcf_invocation.invocation_status
WHERE request_id = '{{ request_id }}' -- required
;