curl --location --request PUT 'https://api.ticaret.pro/accounts//ai/settings' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"enabled": true,
"apiKey": "string",
"model": "gpt-5.4-mini",
"autoAnalyzeIncomingMessages": true,
"includeRecentMessages": true,
"recentMessageLimit": 10,
"dailyLimit": 100,
"monthlyLimit": 3000,
"enabledSessionIds": [
"string"
]
}'{
"status": true,
"data": {
"id": "string",
"accountId": "string",
"provider": "openai",
"enabled": true,
"hasApiKey": true,
"apiKeyLast4": "string",
"keyUpdatedAt": "2019-08-24T14:15:22.123Z",
"model": "gpt-5.4-mini",
"autoAnalyzeIncomingMessages": true,
"includeRecentMessages": true,
"recentMessageLimit": 0,
"dailyLimit": 0,
"monthlyLimit": 0,
"enabledSessionIds": [
"string"
],
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedAt": "2019-08-24T14:15:22.123Z"
}
}