> ## 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.
# PresetWithDesignatedVersion
A preset with its currently designated version.
## Example Usage
```typescript theme={null}
import { PresetWithDesignatedVersion } from "@openrouter/sdk/models";
let value: PresetWithDesignatedVersion = {
createdAt: "2026-04-20T10:00:00Z",
creatorUserId: "user_2dHFtVWx2n56w6HkM0000000000",
description: null,
designatedVersionId: "550e8400-e29b-41d4-a716-446655440000",
id: "650e8400-e29b-41d4-a716-446655440001",
name: "my-preset",
slug: "my-preset",
status: "active",
statusUpdatedAt: null,
updatedAt: "2026-04-20T10:00:00Z",
workspaceId: "750e8400-e29b-41d4-a716-446655440002",
designatedVersion: {
config: {
"model": "openai/gpt-4o",
"temperature": 0.7,
},
createdAt: "2026-04-20T10:00:00Z",
creatorId: "user_2dHFtVWx2n56w6HkM0000000000",
id: "550e8400-e29b-41d4-a716-446655440000",
presetId: "650e8400-e29b-41d4-a716-446655440001",
systemPrompt: "You are a helpful assistant.",
updatedAt: "2026-04-20T10:00:00Z",
version: 1,
},
};
```
## 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 | |
| `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` | [models.PresetStatus](../models/presetstatus.mdx) | :heavy\_check\_mark: | The status of a preset. | active |
| `statusUpdatedAt` | *string* | :heavy\_check\_mark: | N/A | |
| `updatedAt` | *string* | :heavy\_check\_mark: | N/A | |
| `workspaceId` | *string* | :heavy\_check\_mark: | N/A | |
| `designatedVersion` | [models.PresetDesignatedVersion](../models/presetdesignatedversion.mdx) | :heavy\_check\_mark: | A specific version of a preset, containing config and optional system prompt. | \{
"config": \{
"model": "openai/gpt-4o",
"temperature": 0.7
},
"created\_at": "2026-04-20T10:00:00Z",
"creator\_id": "user\_2dHFtVWx2n56w6HkM0000000000",
"id": "550e8400-e29b-41d4-a716-446655440000",
"preset\_id": "650e8400-e29b-41d4-a716-446655440001",
"system\_prompt": "You are a helpful assistant.",
"updated\_at": "2026-04-20T10:00:00Z",
"version": 1
} |