ListRunsResponse

data class ListRunsResponse(val data: List<Run>, val firstId: String?, val lastId: String?, val hasMore: Boolean)

A data class which represents a response from the OpenAI API containing a list of Runs.

When the list is empty, firstId and lastId will be null.

Constructors

Link copied to clipboard
constructor(data: List<Run>, firstId: String?, lastId: String?, hasMore: Boolean)

Properties

Link copied to clipboard
val data: List<Run>

The list of Runs

Link copied to clipboard

The ID of the first Run in the list, or null

Link copied to clipboard

Whether there are more Runs to retrieve from the API

Link copied to clipboard

The ID of the last Run in the list, or null