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

# CreatePresetsMessagesRequest - Go SDK

> CreatePresetsMessagesRequest type definition

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

## Fields

| Field             | Type                                                                               | Required             | Description                                                         | Example                                                                                                                                                                           |
| ----------------- | ---------------------------------------------------------------------------------- | -------------------- | ------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Slug`            | `string`                                                                           | :heavy\_check\_mark: | URL-safe slug identifying the preset. Created if it does not exist. | my-preset                                                                                                                                                                         |
| `MessagesRequest` | [components.MessagesRequest](/client-sdks/go/api-reference/models/messagesrequest) | :heavy\_check\_mark: | N/A                                                                 | `{"max_tokens": 1024,"messages": [{"content": "Hello, how are you?","role": "user"}`<br />],<br />"model": "anthropic/claude-4.5-sonnet-20250929",<br />"temperature": 0.7<br />} |
