Actions4
- Content Generation Actions
- Text Humanization Actions
Content Generation → Get Run Status
AI-generatedSummary
Retrieve the current status and result of a StealthGPT content generation run by its run ID, with a single GET request and no polling.
Inputs
- Run ID (required) — The run ID returned when the content generation run was started (e.g. run_...). It is trimmed and URL-encoded. The operation throws an error if it is empty.
Output shape
One output item per input item, containing the JSON run object returned by StealthGPT's content generation (agent) runs endpoint. It includes the run's status and, once finished, its result.
The source only shows that the status can be completed, failed or cancelled once the run is terminal. It also shows runId and an optional error object with message and code. Other fields come from the API and aren't defined in the node. Unlike Start Run with waiting enabled, this operation does not throw when the run has failed or been cancelled. It returns the status object as-is. With Continue On Fail enabled, errors become an item with an error message. API errors for 401, 402, 429 and 400 are mapped to descriptive messages.
Examples
Example 1: Poll later for a run that was started without waiting
Resource: Content Generation; Operation: Get Run Status; Run ID: expression such as {{ $json.runId }} taken from an earlier Start Run node with Wait for Completion off.
Example 2: Recover the result after a Max Wait timeout
Resource: Content Generation; Operation: Get Run Status; Run ID: the ID from the timeout error message.