> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# DataSliceHeaders

- Package: [@gooddata/sdk-ui](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/index.md)
- Kind: type-alias
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-ui/src/base/results/dataAccess.ts

Data slice name is specified using the result headers.

**Signature:**

```typescript
export type DataSliceHeaders = {
    readonly headers: Array<IResultAttributeHeader | IResultTotalHeader>;
    readonly isTotal?: boolean;
};
```
**References:** [IResultAttributeHeader](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.iresultattributeheader/index.md), [IResultTotalHeader](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.iresulttotalheader/index.md)

## Remarks

The headers describe attribute elements (title+ID) for the slice. The slice MAY be for a total calculation, in which case the last header will be for the total.
