---
title: "Get AI Settings by Portal"
method: GET
path: "/v3/portals/{portalId}/ai-settings"
tags: ["AI Settings"]
---

# Get AI Settings by Portal

`GET /v3/portals/{portalId}/ai-settings`

## Request

- Base URL: `https://global.api.konghq.com`
- URL: `https://global.api.konghq.com/v3/portals/{portalId}/ai-settings`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer

Gets AI settings for a given portal including the configuration of all AI features.

## Path parameters

- `portalId` string, uuid, required

## Response `200`

AI settings for a given portal.

- AISettingsResponseBody
  - `enabled` boolean, required: Is AI enabled?
  - `features` AISettingsResponseFeatures, required: AI features configuration. When top-level `enabled` is false, every feature toggle here is automatically reset to false.
    - `ai_search` object, required: AI Search configuration
      - `enabled` boolean, required: Whether AI Search is enabled or not
    - `mcp_server` object, required: MCP Server configuration
      - `enabled` boolean, required: Whether the Portal MCP Server is enabled or not
      - `write_operations_enabled` boolean, required: Whether write operations are enabled or not for the Portal MCP Server enabled

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

## Changes

- **2026-11-16** `a209c8bfa7b7`: 1 info
  - added the required property `features/ai_search` to the response with the `200` status
- **2026-11-12** `d8bd04cfbaf7`: 1 breaking, 1 warning
  - removed the required property `features/ai_search` from the response with the `200` status
  - removed the optional property `features/portal_agent` from the response with the `200` status
- **2026-11-05** `ff8439091e5f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/kong/apis/konnect-api-go-sdk/changes/v3/portals/:portalId/ai-settings/get.md)

---

[API](https://skmtc.dev/kong/apis/konnect-api-go-sdk.md) - [All operations](https://skmtc.dev/kong/apis/konnect-api-go-sdk/llms.txt) - [OpenAPI document](https://skmtc.dev/kong/apis/konnect-api-go-sdk/revisions/3b071797f6e4?raw)
