> ## 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.
# CreatePresetFromInferenceResponse
Response containing the created preset with its designated version.
## Example Usage
```typescript theme={null}
import { CreatePresetFromInferenceResponse } from "@openrouter/sdk/models";
let value: CreatePresetFromInferenceResponse = {
data: {
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 |
| ------ | ------------------------------------------------------------------------------- | -------------------- | ----------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `data` | [models.PresetWithDesignatedVersion](../models/presetwithdesignatedversion.mdx) | :heavy\_check\_mark: | A preset with its currently designated version. | \{
"created\_at": "2026-04-20T10:00:00Z",
"creator\_user\_id": "user\_2dHFtVWx2n56w6HkM0000000000",
"description": null,
"designated\_version": \{
"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
},
"designated\_version\_id": "550e8400-e29b-41d4-a716-446655440000",
"id": "650e8400-e29b-41d4-a716-446655440001",
"name": "my-preset",
"slug": "my-preset",
"status": "active",
"status\_updated\_at": null,
"updated\_at": "2026-04-20T10:00:00Z",
"workspace\_id": "750e8400-e29b-41d4-a716-446655440002"
} |