Get run#

Gets the current state of the run for polling asynchronous execution.

ThreadGuid*[Text] Required chat GUID.
RunGuid*[Text] Required run GUID.
Timeout[Number] HTTP request timeout in seconds; default value is 60.
RunFull run object.
Status[Text] Current status: for example waiting, in_progress, completed, chat_completed, error, or cancelled.
IterationStage[Number] Current iteration of the agent mode.
LastError[Text | null] Last error of the run. When the status is error, this block also directs it to the standard error branch.
Error Handling Level

Select the error handling level.

Possible values:

  • "Default" - default;
  • "Ignore" - errors are ignored;
  • "Handle" - errors are handled.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Message Level

Select the message level that blocks will output during operation.

Possible values:

  • "Default" - default;
  • "Release" - output is disabled;
  • "Debug" - main information output;
  • "Detailed" - detailed information output.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Error Text[Text] Returns detailed information about the error in case of incorrect execution of the block's work.