AI agent instructions
AI agent instructions
list() retains its array return value.
These operations use the configured client’s authentication and transport. Signatures below preserve positional arguments, optional parameters, and return types. See the OpenAPI schema for HTTP request and response fields.
list
steps
One page of the session’s steps ({ steps, next_cursor }), from
GET /sessions/{session_id}/steps. Each step has the shape of an item of
status().steps. Pass next_cursor back as cursor, as is, for the next
page; it is null on the last page. A NotteAPIError with status 400 means
the cursor is no longer valid: restart from the first page (no cursor).
iterSteps
Every step of the session, followingnext_cursor page by page. A cursor
that is no longer valid stops the iteration with the 400 NotteAPIError,
after the steps already yielded; start a new iteration to read them again.