Retrieve log entries with pagination and sorting using URL query parameters
list()
and alist()
methods allow you to retrieve multiple log entries using URL query parameters. Use list()
for synchronous operations and alist()
for asynchronous operations.
-
prefix for descending order.
Available options: id
, cost
, latency
, prompt_tokens
, completion_tokens
, all_tokens
, time_to_first_token
"true"
, "false"
."true"
, "false"
.LogListResponse
object with:
list()
method only supports URL query parameters. For advanced filtering with operators (gt, lt, contains, etc.), you need to use the direct API endpoint with POST requests.