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

# responseFormat

An optional response format that describes the desired output structure.

## Declaration

```swift
var responseFormat: Transcript.ResponseFormat?
```

## See Also

### Inspecting a prompt

- [id](foundationmodels/transcript/prompt/id.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)
