---
title: "Get User Ai Settings"
method: GET
path: "/api/users/me/ai-settings"
tags: ["User AI Settings"]
---

# Get User Ai Settings

`GET /api/users/me/ai-settings`

## Request

- Base URL: `https://api.agentstack.tech` (the document declares no server; this is the origin it was published from)
- URL: `https://api.agentstack.tech/api/users/me/ai-settings`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

Получить AI настройки пользователя

Returns:
{
    "settings": {
        "use_own_keys": false,
        "default_key_source": "ecosystem"
    },
    "keys_status": {
        "openai": false,
        "anthropic": false,
        "gemini": false
    },
    "keys_probe": {
        "ok": true,
        "error_code": null
    }
}

Note: Keys themselves are NOT returned (only status)

## Response `200`

Successful Response

- unknown

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `422`: Unprocessable Entity
- `429`: Too Many Requests
- `500`: Internal Server Error

---

[API](https://skmtc.dev/agentstack/apis/agentstack-core-api.md) · [All operations](https://skmtc.dev/agentstack/apis/agentstack-core-api/llms.txt) · [OpenAPI document](https://skmtc.dev/agentstack/apis/agentstack-core-api/revisions/8ecf3406e74a?raw)
