Poll for the status and result of an agent run. Returns the output when the run succeeds, or an error message if it fails.
Organization API key. Create one in the Push AI dashboard under Settings → API Keys.
The ID of the agent that owns the run.
The run ID returned by the create run endpoint.
Current run status and result (if complete).
Unique run identifier.
Current run status.
running, succeeded, failed, cancelled When the run was created.
When the run finished. null if still running.
The agent's final output. Only present when status is succeeded.
Error message. Only present when status is failed.