---
title: id
framework: foundationmodels
role: symbol
role_heading: Instance Property
path: foundationmodels/transcript/prompt/id
---

# id

The identifier of the prompt.

## Declaration

```swift
var id: String
```

## See Also

### Inspecting a prompt

- [responseFormat](foundationmodels/transcript/prompt/responseformat.md)
- [segments](foundationmodels/transcript/prompt/segments.md)
- [options](foundationmodels/transcript/prompt/options.md)
- [contextOptions](foundationmodels/transcript/prompt/contextoptions.md)
- [metadata](foundationmodels/transcript/prompt/metadata.md)
