function_ratelimits
Creates, updates, deletes, gets or lists a function_ratelimits resource.
Overview​
| Name | function_ratelimits |
| Type | Resource |
| Id | nvidia.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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
update | update | function_id, version_id | 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. | |
delete | delete | function_id, version_id | Delete 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.
| Name | Datatype | Description |
|---|---|---|
function_id | string (uuid) | Function id |
version_id | string (uuid) | Function version id |
UPDATE examples​
- update
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
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
;