Skip to main content

04.6.2.21 Retrieve Run

Node Description

Retrieve Run is an action type node for getting information about a given run by its ID and thread ID.

Node Configuration

To configure the Retrieve Run node, you must fill in the required fields.

The required* fields include:

  • API Key;
  • Thread ID;
  • Run ID.

API Key

The field required for entering the API key (see more details here).

Thread ID

A field for entering the ID of the thread to which the run belongs.

Run ID

The field for entering the identifier of the run for which information is to be obtained.

Example of launching a node

It is necessary to run the node Retrieve Run once with the parameters:

  • API Key - Your API key;
  • Thread ID - Your Thread ID;
  • Run ID - Your Run ID.

The result of the Retrieve Run node execution is information about the requested run, including:

  • assistant_id,
  • cancelled_at,
  • completed_at,
  • created_at,
  • expires_at,
  • failed_at,
  • file_ids,
  • id,
  • instructions,
  • last_error,
  • metadata,
  • model,
  • object: thread.run,
  • started_at,
  • status,
  • thread_id,
  • tools,
  • usage.