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

# DecisionsRequest

## Example Usage

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

let value: DecisionsRequest = {
  model: "Fiesta",
  questions: {},
  state: {
    "key": "Virginia",
  },
};
```

## Fields

| Field       | Type                                                            | Required             | Description                                                                                                                                                                                                                                                                                                             | Example                                                                        |
| ----------- | --------------------------------------------------------------- | -------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------ |
| `model`     | *string*                                                        | :heavy\_check\_mark: | N/A                                                                                                                                                                                                                                                                                                                     |                                                                                |
| `provider`  | [models.ProviderPreferences](../models/providerpreferences.mdx) | :heavy\_minus\_sign: | N/A                                                                                                                                                                                                                                                                                                                     | \{<br />"allow\_fallbacks": true<br />}                                        |
| `questions` | Record\<string, *models.Questions*>                             | :heavy\_check\_mark: | N/A                                                                                                                                                                                                                                                                                                                     |                                                                                |
| `sessionId` | *string*                                                        | :heavy\_minus\_sign: | A unique identifier for grouping related requests (e.g., a conversation or agent workflow). Used for observability grouping in Broadcast and private logging; never sent to the provider. If provided in both the request body and the x-session-id header, the body value takes precedence. Maximum of 256 characters. | session-1234                                                                   |
| `state`     | *models.State*                                                  | :heavy\_check\_mark: | The content to evaluate: a plain string, or a JSON object or array of related context.                                                                                                                                                                                                                                  |                                                                                |
| `trace`     | [models.TraceConfig](../models/traceconfig.mdx)                 | :heavy\_minus\_sign: | Metadata for observability and tracing. Known keys (trace\_id, trace\_name, span\_name, generation\_name, parent\_span\_id) have special handling. Additional keys are passed through as custom metadata to configured broadcast destinations.                                                                          | \{<br />"trace\_id": "trace-abc123",<br />"trace\_name": "my-app-trace"<br />} |
| `user`      | *string*                                                        | :heavy\_minus\_sign: | N/A                                                                                                                                                                                                                                                                                                                     |                                                                                |
