AI Gateway

List AI Gateway routing policies

List all routing policy documents for the organization. Pass user_id to filter by user scope.

get/api/v2/policies

Request

Query parameters

user_idstring uuid

Filter or scope policies to a specific user. Omit for organization-wide policies.

Response

OK

Example response

{
  "data": [
    {
      "attributes": {
        "priority": 1,
        "tiers": [
          {
            "targets": [
              {
                "id": 901,
                "model": "gpt-5.2-codex",
                "priority": 1,
                "provider": "prod-us"
              }
            ]
          }
        ]
      },
      "id": "coding-agent",
      "type": "routing-documents"
    }
  ]
}

Changes

Changes to this operation have not been checked yet.