Functions
Prepare a narrowed runtime key
Ask for the capacity a per-function key needs before creating a function with a narrowed preset, then answer the presets as they now stand. Needs the same permission as deploying a function.
post/functions/runtime-grant-presets/runner-request
Request
- Base URLhttps://api.primitive.dev/v1
- URLhttps://api.primitive.dev/v1/functions/runtime-grant-presets/runner-request
- AuthHTTP bearer
Headers
Idempotency-Keystring
Optional client-supplied idempotency key. Retrying a request with the same key returns the original result instead of performing the action a second time; if omitted the server derives one from the canonical payload hash. Safe to retry network failures without duplicating side effects.
Request body
Response
Prepare a narrowed runtime key
Changes
No operation changes recorded.