---
title: "Response"
sidebar_label: "Response"
description: "Kotlin binding reference: Response."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

//[clika-runtime](../../../index.md)/[io.clika.runtime](../index.md)/[Response](index.md)

# Response

[common]\
class [Response](index.md)

A session's final response: its named outputs, fresh tensors the caller owns; [close](close.md) releases them all.

## Properties

| Name | Summary |
|---|---|
| [outputs](outputs.md) | [common]<br>val [outputs](outputs.md): [Map](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-map/index.html)&lt;[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), [Tensor](../Tensor/index.md)&gt; |

## Functions

| Name | Summary |
|---|---|
| [close](close.md) | [common]<br>open fun [close](close.md)() |
| [output](output.md) | [common]<br>fun [output](output.md)(name: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)): [Tensor](../Tensor/index.md)<br>The output named [name](output.md); fails with `NOT_FOUND` when the response has none. |