Skip to main content

List Prediction

Retrieves a list of predictions from the Replicate AI platform, including their status and details.

Common Properties

  • Name - The custom name of the node.
  • Color - The custom color of the node.
  • Delay Before (sec) - Waits in seconds before executing the node.
  • Delay After (sec) - Waits in seconds after executing node.
  • Continue On Error - Automation will continue regardless of any error. The default value is false.
info

If the ContinueOnError property is true, no error is caught when the project is executed, even if a Catch node is used.

Inputs

  • Connection Id - The identifier of the Replicate AI connection to use.

Options

This node does not have any configurable options.

Output

  • Response - An object containing a list of predictions and pagination information:
    • Next - URL for the next page of results
    • Previous - URL for the previous page of results
    • CompletedAt - Timestamp when the prediction completed
    • CreatedAt - Timestamp when the prediction was created
    • Error - Error information if the prediction failed
    • ID - Unique identifier of the prediction
    • Input - The input parameters used for the prediction
    • Logs - Log information from the prediction
    • Output - The prediction's output/result
    • Source - Source of the prediction
    • StartedAt - Timestamp when the prediction started processing
    • Status - Current status of the prediction (starting, processing, succeeded, failed, canceled)
    • URLs - URLs related to the prediction
    • Version - Model version used for the prediction

How It Works

The List Prediction node integrates with the Replicate AI platform to retrieve a list of predictions. When executed, the node:

  1. Validates the provided Connection Id
  2. Retrieves a list of predictions using the Replicate API directly
  3. Returns a structured object with the predictions and pagination information

Requirements

  • A valid Replicate AI account
  • A configured Replicate AI connection in Robomotion

Error Handling

The node will return specific errors in the following cases:

  • Empty or invalid Connection Id
  • Invalid connection credentials
  • Network issues when communicating with the Replicate API
  • API errors from the Replicate platform
  • Robomotion Credits cannot be used with this node

Usage Notes

  • This node is useful for retrieving multiple predictions at once
  • The response includes pagination information for navigating through results
  • The node only returns information about the first prediction in the results list
  • This node does not support Robomotion Credits - a direct Replicate API key is required
  • Use this node to get an overview of recent predictions and their statuses
  • The predictions are listed in reverse chronological order (newest first)