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

12 lines
12 KiB
Plaintext

---
title: "GetPresetResponse"
---
A preset with its currently designated version.
## Fields
| Field | Type | Required | Description | Example |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `data` | [components.PresetWithDesignatedVersion](../components/presetwithdesignatedversion.mdx) | :heavy_check_mark: | A preset with its currently designated version. | \{<br/>"created_at": "2026-04-20T10:00:00Z",<br/>"creator_user_id": "user_2dHFtVWx2n56w6HkM0000000000",<br/>"description": null,<br/>"designated_version": \{<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/>},<br/>"designated_version_id": "550e8400-e29b-41d4-a716-446655440000",<br/>"id": "650e8400-e29b-41d4-a716-446655440001",<br/>"name": "my-preset",<br/>"slug": "my-preset",<br/>"status": "active",<br/>"status_updated_at": null,<br/>"updated_at": "2026-04-20T10:00:00Z",<br/>"workspace_id": "750e8400-e29b-41d4-a716-446655440002"<br/>} |