Skip to main content

/functions/rest/v1/functions/{id} REST Method

Retrieves a function by ID.

Updated on
Oct 10, 2024

/functions/rest/v1/functions/{id} REST Method

Path Parameters

id
string
REQUIRED
The ID of the function.

Returns

id
string
The id of the function.
name
string
The name of the function.
description
string
The description of your function.
created_at
string
The timestamp when the function was created.
updated_at
string
The timestamp when the function was updated.
qn_account_id
string
The ID of the QuickNode account that created the function.
exec
object
The code attributes of the function.
kind
string
The runtime for your function. ENUM: "nodejs-qn:20"
code
string
The code for your function encoded in base64.
binary
boolean
Whether the code field contains a zip archive.
limits
object
The limits for the function.
timeout
integer
The maximum time in milliseconds that your function can run.
memory
integer
The maximum memory in MB that your function can use.
Request
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free