Ivoking items
All tasksāe.g. R / Julia scripts, R Markdown, or Quarto documentsācan be invoked.
Invoking a task causes it to run. If the task is scheduled, you can invoke the item outside of its schedule for one-off execution.
You can use the {ricochet}
R package to invoke a task:
library(ricochet)
invoke("01JSZAXZ3TSTAYXP56ARDVFJCJ")
Or, you can invoke the task using the REST API endpoint.
curl -X POST \
"https://ricochet.rs/api/v0/content/01JSZAXZ3TSTAYXP56ARDVFJCJ/invoke" \
-H "Authorization: Key rico_AJFFXAaFVcw_LjrcKuB10gJ34cL9mS9mQu4oGjrafG56k"