> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# STTEntity

A detected entity, returned when the provider runs entity detection

## Example Usage

```typescript theme={null}
import { STTEntity } from "@openrouter/sdk/models";

let value: STTEntity = {
  endChar: 25,
  startChar: 15,
  text: "John Smith",
  type: "name",
};
```

## Fields

| Field | Type | Required | Description | Example |
| - | - | - | - | - |
| `endChar` | *number* | :heavy\_check\_mark: | Zero-based exclusive character offset of the entity end within the response-level text (not seconds) | 25 |
| `startChar` | *number* | :heavy\_check\_mark: | Zero-based character offset of the entity start within the response-level text (not seconds) | 15 |
| `text` | *string* | :heavy\_check\_mark: | Entity text as it appears in the transcript | |
| `type` | *string* | :heavy\_check\_mark: | Provider entity type label | name |
