---
title: "OpenRouterMetadata"
---

## Fields

| Field                                                                                                 | Type                                                                                                  | Required                                                                                              | Description                                                                                           | Example                                                                                               |
| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
| `attempt`                                                                                             | *int*                                                                                                 | :heavy_check_mark:                                                                                    | N/A                                                                                                   |                                                                                                       |
| `attempts`                                                                                            | List[[components.RouterAttempt](../components/routerattempt.mdx)]                                      | :heavy_minus_sign:                                                                                    | N/A                                                                                                   |                                                                                                       |
| `endpoints`                                                                                           | [components.EndpointsMetadata](../components/endpointsmetadata.mdx)                                    | :heavy_check_mark:                                                                                    | N/A                                                                                                   | \{<br/>"available": [<br/>\{<br/>"model": "openai/gpt-4o",<br/>"provider": "OpenAI",<br/>"selected": true<br/>}<br/>],<br/>"total": 3<br/>} |
| `is_byok`                                                                                             | *bool*                                                                                                | :heavy_check_mark:                                                                                    | N/A                                                                                                   |                                                                                                       |
| `params`                                                                                              | [Optional[components.RouterParams]](../components/routerparams.mdx)                                    | :heavy_minus_sign:                                                                                    | N/A                                                                                                   | \{<br/>"version_group": "anthropic/claude-sonnet-4"<br/>}                                              |
| `pipeline`                                                                                            | List[[components.PipelineStage](../components/pipelinestage.mdx)]                                      | :heavy_minus_sign:                                                                                    | N/A                                                                                                   |                                                                                                       |
| `region`                                                                                              | *Nullable[str]*                                                                                       | :heavy_check_mark:                                                                                    | N/A                                                                                                   |                                                                                                       |
| `requested`                                                                                           | *str*                                                                                                 | :heavy_check_mark:                                                                                    | N/A                                                                                                   |                                                                                                       |
| `strategy`                                                                                            | [components.RoutingStrategy](../components/routingstrategy.mdx)                                        | :heavy_check_mark:                                                                                    | N/A                                                                                                   | direct                                                                                                |
| `summary`                                                                                             | *str*                                                                                                 | :heavy_check_mark:                                                                                    | N/A                                                                                                   |                                                                                                       |