Python SDKAPI ReferenceComponentsOpenRouterMetadata - Python SDKCopy pageOpenRouterMetadata method referenceThe Python SDK and docs are currently in beta. Report issues on GitHub. Fields FieldTypeRequiredDescriptionExampleattemptint✔️N/AattemptsList[components.RouterAttempt]➖N/Aendpointscomponents.EndpointsMetadata✔️N/A{"available": [{"model": "openai/gpt-4o","provider": "OpenAI","selected": true}],“total”: 3<br />}is_byokbool✔️N/AparamsOptional[components.RouterParams]➖N/A{"version_group": "anthropic/claude-sonnet-4"}pipelineList[components.PipelineStage]➖N/AregionNullable[str]✔️N/Arequestedstr✔️N/Astrategycomponents.RoutingStrategy✔️N/Adirectsummarystr✔️N/A