Use the Lens read application programming interface (API) to list agents and sessions, and to read turns, their captured content, and Context Gateway tool results. Every operation is a GET request scoped to your instance.

Download the OpenAPI contract to generate clients or inspect schemas.

See Query sessions and turns for examples, and Limits and errors for request limits and error responses.