Skip to main content

function_ratelimits

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

Overview​

Namefunction_ratelimits
TypeResource
Idnvidia.nvcf_functions.function_ratelimits

Fields​

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
updateupdatefunction_id, version_idDeprecated: use PUT /v2/nvcf/functions/{functionId}/versions/{versionId} to update ratelimit and other mutable function fields. This legacy endpoint only updates ratelimit for the specified function version and requires a bearer token with 'update_function' scope in the HTTP Authorization header.
deletedeletefunction_id, version_idDelete ratelimit for the specified function version. This endpoint requires a bearer token with 'update_function' 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
function_idstring (uuid)Function id
version_idstring (uuid)Function version id

UPDATE examples​

Deprecated: use PUT /v2/nvcf/functions/{functionId}/versions/{versionId} to update ratelimit and other mutable function fields. This legacy endpoint only updates ratelimit for the specified function version and requires a bearer token with 'update_function' scope in the HTTP Authorization header.

UPDATE nvidia.nvcf_functions.function_ratelimits
SET
llm_invocation_config = '{{ llm_invocation_config }}',
model_updates = '{{ model_updates }}',
rate_limit = '{{ rate_limit }}',
tags = '{{ tags }}'
WHERE
function_id = '{{ function_id }}' --required
AND version_id = '{{ version_id }}' --required;

DELETE examples​

Delete ratelimit for the specified function version. This endpoint requires a bearer token with 'update_function' scope in the HTTP Authorization header.

DELETE FROM nvidia.nvcf_functions.function_ratelimits
WHERE function_id = '{{ function_id }}' --required
AND version_id = '{{ version_id }}' --required
;