Skip to main content
Once you’ve deployed an app and invoked it, you can monitor its status using streaming for real-time updates or polling for periodic checks.
An invocation ends once its code execution finishes.

Streaming Status Updates

For real-time status monitoring, use follow to stream invocation events. This provides immediate updates as your invocation progresses and is more efficient than polling.

Example

Here’s an example showing how to handle streaming status updates:
Typescript/Javascript

Polling Status Updates

Alternatively, you can poll the status endpoint using retrieve to check the invocation status periodically.