Skip to main content
Subscribe to runs from your server-side code or other tasks using async iterators. Get status updates, metadata changes, and streamed data without polling.

What’s available

To learn how to emit streams from your tasks, see Streaming data from tasks.

Authentication

All backend functions support both server-side and client-side authentication:
  • Server-side: Use your API key (automatically handled in tasks)
  • Client-side: Generate a Public Access Token with appropriate scopes
See our authentication guide for detailed information on creating and using tokens.

Quick example

Subscribe to a run: