Replicate · Arazzo Workflow
Replicate Fetch Webhook Secret and Run a Webhook Prediction
Version 1.0.0
Retrieve the default webhook signing secret, then create a prediction that posts to a webhook.
View Spec
View on GitHub
Artificial IntelligenceMachine LearningImage GenerationLanguage ModelsModel DeploymentArazzoWorkflows
Provider
Workflows
webhook-secured-predict
Get the default webhook secret, then run a prediction that posts to a webhook.
Fetches the default webhook signing secret used to verify Replicate callbacks, creates a prediction wired to a webhook URL with a completed event filter, and polls the prediction until it reaches a terminal status.
1
getWebhookSecret
webhooks.default.secret.get
Retrieve the signing secret for the default webhook endpoint so the consumer can verify that callbacks originate from Replicate.
2
createPrediction
predictions.create
Create a prediction configured with a webhook URL and a completed event filter so Replicate posts to the webhook when the prediction finishes.
3
getPrediction
predictions.get
Retrieve the prediction state, repeating via the retry branch until the prediction reaches a terminal status. The webhook will also fire on completion.