---
title: "RefusalDoneEvent"
---

Event emitted when refusal streaming is complete


## Fields

| Field                                                                    | Type                                                                     | Required                                                                 | Description                                                              |
| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ |
| `content_index`                                                          | *int*                                                                    | :heavy_check_mark:                                                       | N/A                                                                      |
| `item_id`                                                                | *str*                                                                    | :heavy_check_mark:                                                       | N/A                                                                      |
| `output_index`                                                           | *int*                                                                    | :heavy_check_mark:                                                       | N/A                                                                      |
| `refusal`                                                                | *str*                                                                    | :heavy_check_mark:                                                       | N/A                                                                      |
| `sequence_number`                                                        | *int*                                                                    | :heavy_check_mark:                                                       | N/A                                                                      |
| `type`                                                                   | [components.RefusalDoneEventType](../components/refusaldoneeventtype.mdx) | :heavy_check_mark:                                                       | N/A                                                                      |