> ## 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.

# Input2 - TypeScript SDK

> Input2 type definition

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

## Example Usage

```typescript lines theme={null}
import { Input2 } from "@openrouter/sdk/models";

let value: Input2 = {
  messages: [
    {
      "content": "What is the meaning of life?",
      "role": "user",
    },
  ],
};
```

## Fields

| Field      | Type     | Required             | Description | Example                                                                     |
| ---------- | -------- | -------------------- | ----------- | --------------------------------------------------------------------------- |
| `messages` | *any*\[] | :heavy\_check\_mark: | N/A         | \[<br />`{"content": "What is the meaning of life?","role": "user"}`<br />] |
