# Segment

> For the complete documentation index, see [llms.txt](https://docs.midnight.network/llms.txt)

One of many segments for a partially successful transaction result showing success for some segment.

```
type Segment {

  id: Int!

  success: Boolean!

}
```

### Fields[​](#fields "Direct link to Fields")

#### [`Segment.id`](#id) ● [`Int!`](https://docs.midnight.network/api-reference/midnight-indexer/types/scalars/int.md) non-null scalar[​](#id "Direct link to id")

Segment ID.

#### [`Segment.success`](#success) ● [`Boolean!`](https://docs.midnight.network/api-reference/midnight-indexer/types/scalars/boolean.md) non-null scalar[​](#success "Direct link to success")

Successful or not.

### Member Of[​](#member-of "Direct link to Member Of")

[`TransactionResult`](https://docs.midnight.network/api-reference/midnight-indexer/types/objects/transaction-result.md) object
