ListAssistantRequest

data class ListAssistantRequest(var limit: Int? = null, var order: ListOrder? = null, var after: String? = null, var before: String? = null)

Represents a request sent to the OpenAI API to list assistants.

Constructors

Link copied to clipboard
constructor(limit: Int? = null, order: ListOrder? = null, after: String? = null, before: String? = null)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
@ApiStatus.Internal
fun toMap(): Map<String, Any>

Converts the request to a map of query parameters.

Properties

Link copied to clipboard

The cursor to use for pagination

Link copied to clipboard

The cursor to use for pagination

Link copied to clipboard
var limit: Int?

The maximum number of results to return, between 1 and 100 inclusive

Link copied to clipboard

The order to return the list in