---
title: "Get AI Gateway Settings"
method: GET
path: "/apiops/settings/ai-gateway"
tags: ["AiGatewaySetting"]
---

# Get AI Gateway Settings

`GET /apiops/settings/ai-gateway`

## Request

- Base URL: `http://167.86.118.166:32080`
- URL: `http://167.86.118.166:32080/apiops/settings/ai-gateway`
- Auth: none declared
- TypeScript: <https://skmtc.dev/apinizer/apis/apinizer-management-apis/docs/apiops/settings/ai-gateway/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns the global AI Gateway settings (singleton document, system-admin only)

## Response `200`

successful operation!

- ApiOpsResponseAiGatewaySetting
  - `status` 'SUCCESS' | 'FAILURE'
  - `resultMessage` string
  - `resultList` AiGatewaySettingDTO[]
    - `defaultConnectTimeoutSeconds` integer
    - `defaultStreamTimeoutSeconds` integer
    - `defaultRetryCount` integer
    - `maxAiRequestBodyBytes` integer
    - `maxAiBinaryRequestBodyBytes` integer
    - `maxAiBinaryResponseBodyBytes` integer
    - `maxToolTurns` integer
    - `defaultConnectionPoolSize` integer
    - `defaultIdleConnectionTimeoutSeconds` integer
  - `resultCount` integer

## Other responses

- `401`: not authorized for this operation!
- `500`: internal error!

## Changes

- **2026-10-16** `68680081f7b0`: 12 info
  - added the optional property `resultList/items/defaultAnonymousBudget/allOf[#/components/schemas/AiTokenBudgetDTO]/requestsPerDay` to the response with the `200` status
  - added the optional property `resultList/items/defaultAnonymousBudget/allOf[#/components/schemas/AiTokenBudgetDTO]/requestsPerHour` to the response with the `200` status
  - added the optional property `resultList/items/defaultAnonymousBudget/allOf[#/components/schemas/AiTokenBudgetDTO]/requestsPerMinute` to the response with the `200` status
  - added the optional property `resultList/items/defaultAnonymousBudget/allOf[#/components/schemas/AiTokenBudgetDTO]/requestsPerMonth` to the response with the `200` status
  - …8 more
- **2026-10-11** `e0059a98b407`: 2 breaking, 22 warning, 4 info
  - the `resultList/items/defaultAnonymousBudget` response's property type changed from `object` to no type for status `200`
  - the `resultList/items/defaultBudget` response's property type changed from `object` to no type for status `200`
  - removed the optional property `resultList/items/defaultAnonymousBudget/cheaperModelId` from the response with the `200` status
  - removed the optional property `resultList/items/defaultAnonymousBudget/enabled` from the response with the `200` status
  - …24 more
- **2026-08-11** `9ae232e55479`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/apinizer/apis/apinizer-management-apis/changes/apiops/settings/ai-gateway/get.md)

---

[API](https://skmtc.dev/apinizer/apis/apinizer-management-apis.md) - [All operations](https://skmtc.dev/apinizer/apis/apinizer-management-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/apinizer/apis/apinizer-management-apis/revisions/e083046b24cd?raw)
