ListAssistantResponse

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

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

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

Constructors

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

Properties

Link copied to clipboard

The list of assistants

Link copied to clipboard

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

Link copied to clipboard

Whether there are more Assistants to retrieve from the API

Link copied to clipboard

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