Loading scope context...

Routing

Configure provider behavior using simple templates. Save policy settings first, then activate when ready.

encoding_contract_single_encode: mutation query values are encoded once in scoped redirects.

Current Scope

  • Role: platform_admin
  • Tenant: 11111111-1111-1111-1111-111111111111
  • Organization: org-runtime-smoke
  • User: smoke-user
  • Scope Source: baseline

Simple Routing Setup

Guided workflow for tenant/organization/user scope: save a policy template, then activate it when ready. No JSON editing is required for these default flows.

Balanced Quality

Stable default behavior for most organizations.

Cost Saver

Prioritize lower cost providers while preserving fallback safety.

Speed and Reliability

Prioritize low latency and low error paths for user experience.

Advanced JSON diagnostics remain available below for deep troubleshooting only.

Default Provider Summary

Human-readable summary for current default provider resolution.

  • Provider: openai

Organization Policy Summary

  • Total policies: 3
  • Active policies: 1
  • First policy id: plan100-org-1777242814

Cost Policy Summary

  • Total policies: 2
  • Active policies: 1
  • First policy id: plan100-cost-1777242814

Performance Policy Summary

  • Total policies: 2
  • Active policies: 1
  • First policy id: plan100-performance-1777242769
Advanced JSON Disclosure

JSON payloads are available for deep diagnostics. The simple workflow above is the primary path for setup and activation.

View raw JSON disclosure: Effective Default Provider

Default provider payload returned by the API.

{
  "default_provider": "openai"
}
View raw JSON disclosure: Organization Policies

Complete organization policy payload for advanced inspection.

{
  "policies": [
    {
      "tenant_id": "11111111-1111-1111-1111-111111111111",
      "org_id": "org-runtime-smoke",
      "policy_id": "plan100-org-1777242814",
      "display_name": "Plan100 Org Routing",
      "default_provider": "openai",
      "default_model": "gpt-4o-mini",
      "priority": 10,
      "is_active": true,
      "reason": "plan100-routing",
      "claims_version": "v1",
      "created_by_actor_sub": "smoke-user",
      "updated_by_actor_sub": "smoke-user",
      "created_at": "2026-04-26T22:33:34.170837Z",
      "updated_at": "2026-04-26T22:33:34.198333Z"
    },
    {
      "tenant_id": "11111111-1111-1111-1111-111111111111",
      "org_id": "org-runtime-smoke",
      "policy_id": "plan100-org-1777242769",
      "display_name": "Plan100 Org Routing",
      "default_provider": "openai",
      "default_model": "gpt-4o-mini",
      "priority": 10,
      "is_active": false,
      "reason": "plan100-routing",
      "claims_version": "v1",
      "created_by_actor_sub": "smoke-user",
      "updated_by_actor_sub": "smoke-user",
      "created_at": "2026-04-26T22:32:49.275881Z",
      "updated_at": "2026-04-26T22:33:34.198333Z"
    },
    {
      "tenant_id": "11111111-1111-1111-1111-111111111111",
      "org_id": "org-runtime-smoke",
      "policy_id": "baseline-default-provider",
      "display_name": "Baseline Default Provider",
      "default_provider": "openai",
      "default_model": "gpt-4o-mini",
      "priority": 10,
      "is_active": false,
      "reason": "plan86-baseline-activation",
      "claims_version": "v1",
      "created_by_actor_sub": "smoke-user",
      "updated_by_actor_sub": "smoke-user",
      "created_at": "2026-04-26T16:26:33.844263Z",
      "updated_at": "2026-04-26T22:32:49.298033Z"
    }
  ]
}
View raw JSON disclosure: Cost Policies

Complete cost policy payload including thresholds and provider preference.

{
  "policies": [
    {
      "tenant_id": "11111111-1111-1111-1111-111111111111",
      "org_id": "org-runtime-smoke",
      "policy_id": "plan100-cost-1777242814",
      "display_name": "Plan100 Cost Routing",
      "provider_costs_micros_per_1k_tokens": {
        "deepseek-openai": 900,
        "openai": 1800
      },
      "preferred_providers": [
        "deepseek-openai",
        "openai"
      ],
      "max_cost_per_1k_tokens_micros": 3000,
      "default_provider": "openai",
      "default_model": "gpt-4o-mini",
      "priority": 20,
      "is_active": true,
      "reason": "plan100-routing",
      "claims_version": "v1",
      "created_by_actor_sub": "smoke-user",
      "updated_by_actor_sub": "smoke-user",
      "created_at": "2026-04-26T22:33:34.218456Z",
      "updated_at": "2026-04-26T22:33:34.244865Z"
    },
    {
      "tenant_id": "11111111-1111-1111-1111-111111111111",
      "org_id": "org-runtime-smoke",
      "policy_id": "plan100-cost-1777242769",
      "display_name": "Plan100 Cost Routing",
      "provider_costs_micros_per_1k_tokens": {
        "deepseek-openai": 900,
        "openai": 1800
      },
      "preferred_providers": [
        "deepseek-openai",
        "openai"
      ],
      "max_cost_per_1k_tokens_micros": 3000,
      "default_provider": "openai",
      "default_model": "gpt-4o-mini",
      "priority": 20,
      "is_active": false,
      "reason": "plan100-routing",
      "claims_version": "v1",
      "created_by_actor_sub": "smoke-user",
      "updated_by_actor_sub": "smoke-user",
      "created_at": "2026-04-26T22:32:49.317282Z",
      "updated_at": "2026-04-26T22:33:34.244865Z"
    }
  ]
}
View raw JSON disclosure: Performance Policies

Complete performance policy payload including latency and error controls.

{
  "policies": [
    {
      "tenant_id": "11111111-1111-1111-1111-111111111111",
      "org_id": "org-runtime-smoke",
      "policy_id": "plan100-performance-1777242769",
      "display_name": "Plan100 Performance Routing",
      "preferred_providers": [
        "deepseek-openai",
        "openai"
      ],
      "latency_weight_bps": 7000,
      "error_weight_bps": 3000,
      "max_avg_latency_ms": 1500,
      "max_error_rate": 0.8,
      "signal_window_hours": 24,
      "signal_stale_after_seconds": 3600,
      "default_provider": "openai",
      "default_model": "gpt-4o-mini",
      "priority": 30,
      "is_active": false,
      "reason": "plan100-routing",
      "claims_version": "v1",
      "created_by_actor_sub": "smoke-user",
      "updated_by_actor_sub": "smoke-user",
      "created_at": "2026-04-26T22:32:49.442945Z",
      "updated_at": "2026-04-26T22:33:34.39332Z"
    },
    {
      "tenant_id": "11111111-1111-1111-1111-111111111111",
      "org_id": "org-runtime-smoke",
      "policy_id": "plan100-performance-1777242814",
      "display_name": "Plan100 Performance Routing",
      "preferred_providers": [
        "deepseek-openai",
        "openai"
      ],
      "latency_weight_bps": 7000,
      "error_weight_bps": 3000,
      "max_avg_latency_ms": 1500,
      "max_error_rate": 0.8,
      "signal_window_hours": 24,
      "signal_stale_after_seconds": 3600,
      "default_provider": "openai",
      "default_model": "gpt-4o-mini",
      "priority": 30,
      "is_active": true,
      "reason": "plan100-routing",
      "claims_version": "v1",
      "created_by_actor_sub": "smoke-user",
      "updated_by_actor_sub": "smoke-user",
      "created_at": "2026-04-26T22:33:34.372925Z",
      "updated_at": "2026-04-26T22:33:34.39332Z"
    }
  ]
}