Skip to main content

Progress API

Getting the Request Context

First, get access to the request context in your function:

Method: progress.update()

Stream progress updates to monitoring systems and frontends.
Parameters:

Basic Usage

Simple progress tracking:
With a message:
With additional metadata:

Using Percentages

You can use percentages instead of step counts:

Consuming Progress Streams

Progress updates are available through the Tensorlake API in real-time.

Polling for Progress Updates

Response:

Learn More

Request Context

Full context API reference.