retrieve

@Contract(pure = true)
open fun retrieve(assistant: Assistant): Assistant

Retrieves the assistant with the given id. This method will return a new instance of the assistant, and will not modify the given instance.

This method is useful for getting the latest data for an assistant (Though, in general, you should be using the return value of the modify method instead of making additional API calls).

Return

The new instance of the retrieved assistant

Parameters

assistant

The assistant to retrieve


@Contract(pure = true)
abstract fun retrieve(id: String): Assistant

Retrieve the assistant with the given id.

Return

The assistant with the given id

Parameters

id

The id of the assistant to retrieve