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

# PresetWithDesignatedVersion - Go SDK

> PresetWithDesignatedVersion type definition

<Warning>
  The Go SDK and docs are currently in beta.
  Report issues on [GitHub](https://github.com/OpenRouterTeam/go-sdk/issues).
</Warning>

A preset with its currently designated version.

## Fields

| Field                 | Type                                                                                                                   | Required             | Description                                                                   | Example                                                                                                                                                                                                                                                                                                                                                                                                     |
| --------------------- | ---------------------------------------------------------------------------------------------------------------------- | -------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `CreatedAt`           | `string`                                                                                                               | :heavy\_check\_mark: | N/A                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                             |
| `CreatorUserID`       | `*string`                                                                                                              | :heavy\_check\_mark: | N/A                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                             |
| `Description`         | `*string`                                                                                                              | :heavy\_check\_mark: | N/A                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                             |
| `DesignatedVersion`   | [\*components.PresetDesignatedVersion](/client-sdks/go/api-reference/models/presetdesignatedversion)                   | :heavy\_check\_mark: | A specific version of a preset, containing config and optional system prompt. | `{"config": {"model": "openai/gpt-4o","temperature": 0.7}`,<br />"created\_at": "2026-04-20T10:00:00Z",<br />"creator\_id": "user\_2dHFtVWx2n56w6HkM0000000000",<br />"id": "550e8400-e29b-41d4-a716-446655440000",<br />"preset\_id": "650e8400-e29b-41d4-a716-446655440001",<br />"system\_prompt": "You are a helpful assistant.",<br />"updated\_at": "2026-04-20T10:00:00Z",<br />"version": `1<br/>`} |
| `DesignatedVersionID` | `*string`                                                                                                              | :heavy\_check\_mark: | N/A                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                             |
| `ID`                  | `string`                                                                                                               | :heavy\_check\_mark: | N/A                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                             |
| `Name`                | `string`                                                                                                               | :heavy\_check\_mark: | N/A                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                             |
| `Slug`                | `string`                                                                                                               | :heavy\_check\_mark: | N/A                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                             |
| `Status`              | [components.PresetWithDesignatedVersionStatus](/client-sdks/go/api-reference/models/presetwithdesignatedversionstatus) | :heavy\_check\_mark: | N/A                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                             |
| `StatusUpdatedAt`     | `*string`                                                                                                              | :heavy\_check\_mark: | N/A                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                             |
| `UpdatedAt`           | `string`                                                                                                               | :heavy\_check\_mark: | N/A                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                             |
| `WorkspaceID`         | `*string`                                                                                                              | :heavy\_check\_mark: | N/A                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                             |
