run-endpoint
Submit an asynchronous job to a RunPod Serverless endpoint, receive an immediate job ID, and either poll for results or use a webhook notification. Results are stored for 30 minutes.
Instructions
Submit an asynchronous job to a Serverless endpoint. Returns a job ID immediately — use get-job-status to poll for results. Async results are available for 30 minutes after completion.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endpointId | Yes | ID of the Serverless endpoint to run | |
| input | Yes | Input payload for the worker handler. The expected fields depend on the deployed model or worker. | |
| webhook | No | Webhook URL to receive job completion notifications instead of polling | |
| policy | No | Execution policy options | |
| s3Config | No | S3-compatible storage config for large outputs |