Get Invocation Output
Fetching the status and output of an invocation
Once an invocation has been initiated, you can fetch the status and output of it
using the ID. It is expected that an invocation will take time to finish. While it is
in progress, a status
field will indicate it as Pending
or Running
. Once the invocation
has finished, the status
will be set to Complete
.
Request
The ID of the automation that was invoked.
The ID of the invocation. This is the value returned when the invocation was initiated.
Response
The unique identifier for this invocation.
The status of the invocation. Possible values:
- Pending: The invocation has been queued for execution.
- Running: The invocation is currently running.
- Complete: The invocation has finished successfully.
- Failed: The invocation has finished unsuccessfully.
ISO-8601 timestamp indicating when the invocation began.
An array indicating the files that were used as input to the invocation, if any.
If the invocation has completed, an ISO-8601 timestamp indicating when it completed.
The input to the invocation. If files were present, this will include data extracted from the files.
A presigned URL, from where the output of the invocation can be downloaded.
If status
is Failed
, then this field indicates the reason for the failure.