Skip to main content

/functions/rest/v1/namespaces/{id}/functions/{name}/activations/{activationId} REST Method

Retrieve a function activation by ID.

Updated on
Jul 26, 2024

/functions/rest/v1/namespaces/{id}/functions/{name}/activations/{activationId} REST Method

Path Parameters

id
string
REQUIRED
The ID of the namespace associated with the function.
name
string
REQUIRED
The name of the function.
activationId
string
REQUIRED
The ID of the activation associated with the function.

Returns

created_at
string
The timestamp when the activation was created.
updated_at
string
The timestamp when the activation was updated.
qn_account_id
string
The ID of the QuickNode account that created the activation.
name
string
The function name.
activation_id
string
The unique ID of the activation.
namespace
string
The ID of the namespace.
block_number
integer
The block number associated with the activation.
user_data
string
The user data associated with the activation.
result
object
The details related to the activation.
activationId
string
The unique ID of the activation.
start
integer
The start time of the activation.
end
integer
The end time of the activation.
duration
integer
The duration of the activation in milliseconds.
logs
array
The logs associated with the activation.
name
string
The name of the function.
response
object
The response object.
result
object
The result that the activation returned.
size
integer
The size of the response in bytes.
status
string
The status of the activation.
success
boolean
Whether the activation was successful.
billable
boolean
Whether the activation is billable.
activation_source
string
The source of the activation.
quickstream_payload
string
The Streams payload associated with the activation.
stream_id
string
The ID of the stream associated with the activation.
Request
1
curl -X GET \
2
"https://api.quicknode.com/functions/rest/v1/namespaces/{id}/functions/{name}/activations/{activationId}" \
3
-H "accept: application/json" \
4
-H "x-api-key: YOUR_API_KEY"
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free