v1 (deprecated)
Enqueue Execution
POST
/
public
/
v1
/
enqueue
Path
curl \
-X POST \
-u :<access-token> \
-d '{"name": "sayHello", "arguments": ["John Doe"], "metadata": { "foo": "bar" }}' \
https://api.defer.run/public/v1/enqueue
{
"id": "0ujtsYcgvSTl8PAuAdqWYSMnLOv"
}
Endpoint
POST https://api.defer.run/public/v1/enqueue
Request
Body Parameters
name
string
requiredThe name of the function.
arguments
array<any>
The arguments of the function.
scheduled_for
string
The datetime when the execution should be executed.
metadata
object
Metadata to add on the execution.
Response
Body
id
string
requiredThe ID of the execution.
Was this page helpful?
curl \
-X POST \
-u :<access-token> \
-d '{"name": "sayHello", "arguments": ["John Doe"], "metadata": { "foo": "bar" }}' \
https://api.defer.run/public/v1/enqueue
{
"id": "0ujtsYcgvSTl8PAuAdqWYSMnLOv"
}