> ## Documentation Index
> Fetch the complete documentation index at: https://api-reference.orchestratorx.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

# OrchestratorX Intelligent Router

## Overview

The Intelligent Router is a dynamic routing system designed for payment processing. It intelligently routes payments to different processors based on real-time metrics, helping to optimize payment flows and increase transaction success rates.

## Why Intelligent Router?

* 💸 **Increase Payment Success**: Automatically route to the best-performing processors
* 📊 **Data-Driven Decisions**: Make routing choices based on real performance metrics
* 🌐 **Multi-tenant Support**: Isolate routing data between different merchants
* ⚡ **High Performance**: Optimized for maximum efficiency and reliability
* 🔄 **Multiple Routing Strategies**: Choose from success-rate, elimination, or contract-based routing

## Documentation

For integration, installation, and configuration guidance, contact [support@orchestratorx.com](mailto:support@orchestratorx.com).

See the [API Reference](https://api-reference.orchestratorx.com/intelligent-router-api-reference/overview) for endpoint details.

## Usage Examples

### Success Rate Based Routing

```bash theme={null}
# Make a routing decision based on success rates
grpcurl -d '{"id": "merchant1", "params": "card", "labels": ["stripe", "adyen"], "config": {"min_aggregates_size": 5, "default_success_rate": 100}}' \
  -plaintext api.orchestratorx.com:8000 success_rate.SuccessRateCalculator/FetchSuccessRate
```

### Update Payment Results

```bash theme={null}
# Update success rate data with payment results
grpcurl -d '{"id": "merchant1", "params": "card", "labels_with_status": [{"label": "stripe", "status": true}], "config": {"max_aggregates_size": 10, "current_block_threshold": {"max_total_count": 5}}}' \
  -plaintext api.orchestratorx.com:8000 success_rate.SuccessRateCalculator/UpdateSuccessRateWindow
```

## Components

The Intelligent Router consists of:

* **Routing service**: Core routing service with gRPC/HTTP APIs
* **Data processor**: Module for data processing and visualization

## Support

* Email: [support@orchestratorx.com](mailto:support@orchestratorx.com)
