Data payload for `afterGenerateContent` events.

**Signature:**

    export interface AfterGenerateContentData<API extends string = string> extends BeforeGenerateContentData<API> 

**Extends:** [BeforeGenerateContentData](https://firebase.google.com/docs/reference/functions/2nd-gen/node/firebase-functions.ai.beforegeneratecontentdata#aibeforegeneratecontentdata_interface)\<API\>

## Properties

| Property | Type | Description |
|---|---|---|
| [response](https://firebase.google.com/docs/reference/functions/2nd-gen/node/firebase-functions.ai.aftergeneratecontentdata#aiaftergeneratecontentdataresponse) | [AIResponse](https://firebase.google.com/docs/reference/functions/2nd-gen/node/firebase-functions.ai#aiairesponse)\<API\> | The model's response payload. |

## ai.AfterGenerateContentData.response

The model's response payload.

**Signature:**

    response: AIResponse<API>;