Files
openrouter-python-sdk-retry…/docs/components/presetwithdesignatedversion.mdx

23 lines
24 KiB
Plaintext

---
title: "PresetWithDesignatedVersion"
---
A preset with its currently designated version.
## Fields
| Field | Type | Required | Description | Example |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `created_at` | *str* | :heavy_check_mark: | N/A | |
| `creator_user_id` | *Nullable[str]* | :heavy_check_mark: | N/A | |
| `description` | *Nullable[str]* | :heavy_check_mark: | N/A | |
| `designated_version_id` | *Nullable[str]* | :heavy_check_mark: | N/A | |
| `id` | *str* | :heavy_check_mark: | N/A | |
| `name` | *str* | :heavy_check_mark: | N/A | |
| `slug` | *str* | :heavy_check_mark: | N/A | |
| `status` | [components.PresetStatus](../components/presetstatus.mdx) | :heavy_check_mark: | The status of a preset. | active |
| `status_updated_at` | *Nullable[str]* | :heavy_check_mark: | N/A | |
| `updated_at` | *str* | :heavy_check_mark: | N/A | |
| `workspace_id` | *Nullable[str]* | :heavy_check_mark: | N/A | |
| `designated_version` | [Nullable[components.PresetDesignatedVersion]](../components/presetdesignatedversion.mdx) | :heavy_check_mark: | A specific version of a preset, containing config and optional system prompt. | \{<br/>"config": \{<br/>"model": "openai/gpt-4o",<br/>"temperature": 0.7<br/>},<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/>} |