AI Gateway

List AI Gateway routing rules

List all routing rules for the organization.

get/api/v2/routing-rules

Request

Response

OK

Example response

{
  "data": [
    {
      "attributes": {
        "created_at": "2026-08-24T12:00:00Z",
        "route_id": 123,
        "tiers": [
          {
            "ordering": "configured",
            "ordering_issue": "mixed",
            "targets": [
              {
                "id": 901,
                "model": "gpt-5.2-codex",
                "model_id": 101,
                "provider": "prod-us",
                "reasoning_level": "medium",
                "slug": "coding-fallback",
                "type": "model",
                "weight": 70
              }
            ]
          }
        ],
        "updated_at": "2026-08-24T12:00:00Z"
      },
      "id": "coding",
      "type": "routing-rules"
    }
  ]
}

Changes

Changes to this operation have not been checked yet.