# getTranscript

The `getTranscript` method gets an enumerated table of history stage objects, which record the user input and Answer Server responses for the current conversation session.

## Syntax

    getTranscript()

## Returns

(table) An enumerated table of history stage objects. Each stage contains the user text and Answer Server response prompt for that stage of the conversation.

NOTE: If you start a conversation session by sending a Converse action with no user text, the response for the first history stage returns `nil` for the user text.

## Example

    local history = taskUtils:getTranscript()

## Methods

The history stage objects that `getTranscript` returns have additional methods, to allow you to inspect the response table.

You can access a history stage object, and call its methods by using the '`:`' operator. For example:

    local first = history[1]
    local usersaid = first:userInput()

Method | Description
--- | ---
userInput | Returns the input text that the user supplied at a particular stage of the conversation.
responsePrompts | returns the table of prompts that were returned by the system at a particular stage of the conversation.

_FT_HTML5_bannerTitle.htm