get_instance#

Interaction.get_instance(domain: InteractionDomain) InteractionInstance#

Get the instance at the specified index for this interaction.

Parameters:
domainInteractionDomain

The interaction domain specifying the instance to retrieve. Must be fully defined

Returns:
InteractionInstance

The instance data for the specified domain.

Raises:
RuntimeError or ValueError

If the interaction is not longer valid (domain invalid or results are incomplete).