{"openapi":"3.1.0","info":{"title":"Контекстолог","version":"0.1.0"},"paths":{"/unsubscribe/{code}":{"get":{"summary":"Unsubscribe Page","operationId":"unsubscribe_page_unsubscribe__code__get","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string","title":"Code"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Unsubscribe","description":"Подписанная ссылка сама авторизует; тот же POST — «отписка в один клик» из почтового клиента.","operationId":"unsubscribe_unsubscribe__code__post","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string","title":"Code"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/privacy":{"get":{"summary":"Privacy Page","operationId":"privacy_page_privacy_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Privacy Mode","operationId":"privacy_mode_privacy_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_privacy_mode_privacy_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/":{"get":{"summary":"Index","operationId":"index__get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/pricing":{"get":{"summary":"Pricing","description":"Тарифы отдельной страницей: цены должны быть видны без регистрации и всегда по одному адресу.","operationId":"pricing_pricing_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/legal/{doc}":{"get":{"summary":"Legal","operationId":"legal_legal__doc__get","parameters":[{"name":"doc","in":"path","required":true,"schema":{"type":"string","title":"Doc"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/contacts":{"get":{"summary":"Contacts","operationId":"contacts_contacts_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/signup":{"get":{"summary":"Signup Form","operationId":"signup_form_signup_get","parameters":[{"name":"ref","in":"query","required":false,"schema":{"type":"string","default":"","title":"Ref"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Signup","operationId":"signup_signup_post","requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_signup_signup_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/telegram/start":{"post":{"summary":"Telegram Start","operationId":"telegram_start_auth_telegram_start_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_telegram_start_auth_telegram_start_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/telegram":{"get":{"summary":"Telegram Login Page","operationId":"telegram_login_page_auth_telegram_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/auth/telegram/verify":{"post":{"summary":"Telegram Verify","operationId":"telegram_verify_auth_telegram_verify_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_telegram_verify_auth_telegram_verify_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/yandex/start":{"get":{"summary":"Yandex Login Start","description":"Вход одной кнопкой: уводим в Яндекс, обратно возвращаемся уже с кодом.","operationId":"yandex_login_start_auth_yandex_start_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/auth/yandex":{"get":{"summary":"Yandex Login Callback","description":"Возврат из Яндекса: узнаём email, заводим кабинет, если его ещё нет, и сразу пускаем внутрь.","operationId":"yandex_login_callback_auth_yandex_get","parameters":[{"name":"code","in":"query","required":false,"schema":{"type":"string","default":"","title":"Code"}},{"name":"state","in":"query","required":false,"schema":{"type":"string","default":"","title":"State"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/verify":{"get":{"summary":"Verify Form","operationId":"verify_form_verify_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"post":{"summary":"Verify","operationId":"verify_verify_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_verify_verify_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/verify/resend":{"post":{"summary":"Verify Resend","operationId":"verify_resend_verify_resend_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_verify_resend_verify_resend_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/login":{"get":{"summary":"Login Form","operationId":"login_form_login_get","parameters":[{"name":"error","in":"query","required":false,"schema":{"type":"string","default":"","title":"Error"}},{"name":"notice","in":"query","required":false,"schema":{"type":"string","default":"","title":"Notice"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Login","operationId":"login_login_post","requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_login_login_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/forgot-password":{"get":{"summary":"Forgot Password Form","operationId":"forgot_password_form_forgot_password_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"post":{"summary":"Forgot Password","operationId":"forgot_password_forgot_password_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_forgot_password_forgot_password_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/reset-password":{"get":{"summary":"Reset Password Form","operationId":"reset_password_form_reset_password_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"post":{"summary":"Reset Password","operationId":"reset_password_reset_password_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_reset_password_reset_password_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/logout":{"post":{"summary":"Logout","operationId":"logout_logout_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_logout_logout_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/app":{"get":{"summary":"Dashboard","description":"Обзор в раскладке Fingerprint: статус, KPI с дельтой, график по дням, три топа.","operationId":"dashboard_app_get","parameters":[{"name":"error","in":"query","required":false,"schema":{"type":"string","default":"","title":"Error"}},{"name":"notice","in":"query","required":false,"schema":{"type":"string","default":"","title":"Notice"}},{"name":"acc","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Acc"}},{"name":"d","in":"query","required":false,"schema":{"type":"integer","default":7,"title":"D"}},{"name":"m","in":"query","required":false,"schema":{"type":"string","default":"cost","title":"M"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/welcome":{"get":{"summary":"Welcome","operationId":"welcome_welcome_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/accounts/connect":{"get":{"summary":"Account Connect Page","description":"Та же страница подключения, но по обычной ссылке — на неё ведут кнопки из кабинета и инструкций.","operationId":"account_connect_page_accounts_connect_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"post":{"summary":"Account Connect","operationId":"account_connect_accounts_connect_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_account_connect_accounts_connect_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/connect/code":{"post":{"summary":"Account Connect Code","description":"Код, который Яндекс показал клиенту после разрешения доступа: меняем на токен, сохраняем зашифрованно.","operationId":"account_connect_code_accounts_connect_code_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_account_connect_code_accounts_connect_code_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/refresh":{"post":{"summary":"Refresh Account","operationId":"refresh_account_accounts__account_id__refresh_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_refresh_account_accounts__account_id__refresh_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}":{"get":{"summary":"Yandex Account Page","operationId":"yandex_account_page_accounts__account_id__get","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}},{"name":"error","in":"query","required":false,"schema":{"type":"string","default":"","title":"Error"}},{"name":"notice","in":"query","required":false,"schema":{"type":"string","default":"","title":"Notice"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/members":{"post":{"summary":"Members Invite","description":"Пригласить сотрудника в кабинет или сменить ему роль.","operationId":"members_invite_accounts__account_id__members_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_members_invite_accounts__account_id__members_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/members/remove":{"post":{"summary":"Members Remove","description":"Забрать доступ у сотрудника.","operationId":"members_remove_accounts__account_id__members_remove_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_members_remove_accounts__account_id__members_remove_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/invite/{token}":{"get":{"summary":"Invite Accept","description":"Принять приглашение: вошедшего сразу пускаем в кабинет, гостя — через вход.","operationId":"invite_accept_invite__token__get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/clickru":{"post":{"summary":"Account Clickru","description":"Клиент отмечает, что счёт Директа открыт через click.ru: только тогда показываем кнопку пополнения.","operationId":"account_clickru_accounts__account_id__clickru_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_account_clickru_accounts__account_id__clickru_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/settings":{"post":{"summary":"Account Settings","operationId":"account_settings_accounts__account_id__settings_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_account_settings_accounts__account_id__settings_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/creatives":{"get":{"summary":"Creative Lab","description":"Креатив-тестер: идеи и картинки для РСЯ, запуск сравнения двух вариантов.","operationId":"creative_lab_accounts__account_id__creatives_get","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}},{"name":"error","in":"query","required":false,"schema":{"type":"string","default":"","title":"Error"}},{"name":"notice","in":"query","required":false,"schema":{"type":"string","default":"","title":"Notice"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/creatives/autoab":{"post":{"summary":"Creative Auto Ab","description":"Включить или выключить автодобавление соперника слабым по CTR объявлениям.","operationId":"creative_auto_ab_accounts__account_id__creatives_autoab_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_creative_auto_ab_accounts__account_id__creatives_autoab_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/creatives/generate":{"post":{"summary":"Creative Ideas","description":"Шаг 1: только идеи и промпты. Картинки не рисуем, пока человек не нажмёт «Нарисовать».","operationId":"creative_ideas_accounts__account_id__creatives_generate_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_creative_ideas_accounts__account_id__creatives_generate_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/creatives/draw":{"post":{"summary":"Creative Draw","description":"Шаг 2: рисуем одну выбранную идею.","operationId":"creative_draw_accounts__account_id__creatives_draw_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_creative_draw_accounts__account_id__creatives_draw_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/creatives/delete":{"post":{"summary":"Creative Delete","description":"Убрать идею или картинку из списка.","operationId":"creative_delete_accounts__account_id__creatives_delete_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_creative_delete_accounts__account_id__creatives_delete_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/creatives/upload":{"post":{"summary":"Creative Upload","description":"Своё фото: режем под форматы РСЯ так же, как сгенерированное.","operationId":"creative_upload_accounts__account_id__creatives_upload_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_creative_upload_accounts__account_id__creatives_upload_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/creatives/launch":{"post":{"summary":"Creative Launch","description":"Запуск сравнения: кампания РСЯ с двумя объявлениями, тексты одинаковые, картинки разные.","operationId":"creative_launch_accounts__account_id__creatives_launch_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_creative_launch_accounts__account_id__creatives_launch_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/creatives/winner":{"post":{"summary":"Creative Winner","description":"Оставить выбранный вариант: все остальные объявления группы останавливаем.","operationId":"creative_winner_accounts__account_id__creatives_winner_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_creative_winner_accounts__account_id__creatives_winner_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/creatives/abauto":{"post":{"summary":"Creative Ab Auto","description":"Включить или выключить непрерывные A/B: очередь гипотез и автозамену победителя.","operationId":"creative_ab_auto_accounts__account_id__creatives_abauto_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_creative_ab_auto_accounts__account_id__creatives_abauto_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/creatives/abreset":{"post":{"summary":"Creative Ab Reset","description":"Вернуть выжатую группу в работу: обнуляем счётчик неудач и пройденные этапы.","operationId":"creative_ab_reset_accounts__account_id__creatives_abreset_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_creative_ab_reset_accounts__account_id__creatives_abreset_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/creatives/redraw":{"post":{"summary":"Creative Redraw","description":"Перерисовать картинку варианта РСЯ: новый промпт по сайту и аудитории, новая картинка.","operationId":"creative_redraw_accounts__account_id__creatives_redraw_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_creative_redraw_accounts__account_id__creatives_redraw_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/creatives/next":{"post":{"summary":"Creative Next Test","description":"Запустить следующее сравнение в группе: добавляем вариант, где меняется одна часть объявления.","operationId":"creative_next_test_accounts__account_id__creatives_next_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_creative_next_test_accounts__account_id__creatives_next_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/audiences/geo-ai":{"post":{"summary":"Audiences Geo Ai","description":"ИИ смотрит описание бизнеса и сайт, находит адреса и предлагает радиусы и полигоны.","operationId":"audiences_geo_ai_accounts__account_id__audiences_geo_ai_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_audiences_geo_ai_accounts__account_id__audiences_geo_ai_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/audiences/geo-create":{"post":{"summary":"Audiences Geo Create","description":"Создать сегмент по адресу: круг радиусом или квадрат вокруг здания.","operationId":"audiences_geo_create_accounts__account_id__audiences_geo_create_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_audiences_geo_create_accounts__account_id__audiences_geo_create_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/new":{"get":{"summary":"Campaign Wizard","description":"Мастер: черновик кампании по ссылке или описанию, правка и создание на паузе.","operationId":"campaign_wizard_accounts__account_id__new_get","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}},{"name":"error","in":"query","required":false,"schema":{"type":"string","default":"","title":"Error"}},{"name":"notice","in":"query","required":false,"schema":{"type":"string","default":"","title":"Notice"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/new/draft":{"post":{"summary":"Campaign Wizard Draft","operationId":"campaign_wizard_draft_accounts__account_id__new_draft_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_campaign_wizard_draft_accounts__account_id__new_draft_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/new/create":{"post":{"summary":"Campaign Wizard Create","operationId":"campaign_wizard_create_accounts__account_id__new_create_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_campaign_wizard_create_accounts__account_id__new_create_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/new/batch":{"post":{"summary":"Campaign Wizard Batch","description":"Много товаров: по кампании на ссылку, все на паузе.","operationId":"campaign_wizard_batch_accounts__account_id__new_batch_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_campaign_wizard_batch_accounts__account_id__new_batch_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/run":{"post":{"summary":"Account Run","operationId":"account_run_accounts__account_id__run_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_account_run_accounts__account_id__run_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/undo/{action_id}":{"post":{"summary":"Account Undo","operationId":"account_undo_accounts__account_id__undo__action_id__post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}},{"name":"action_id","in":"path","required":true,"schema":{"type":"integer","title":"Action Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_account_undo_accounts__account_id__undo__action_id__post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/cpa":{"post":{"summary":"Account Cpa","operationId":"account_cpa_accounts__account_id__cpa_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_account_cpa_accounts__account_id__cpa_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/delete":{"post":{"summary":"Account Delete Yandex","operationId":"account_delete_yandex_accounts__account_id__delete_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_account_delete_yandex_accounts__account_id__delete_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/campaigns":{"get":{"summary":"Section Campaigns","operationId":"section_campaigns_accounts__account_id__campaigns_get","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}},{"name":"d","in":"query","required":false,"schema":{"type":"integer","default":7,"title":"D"}},{"name":"error","in":"query","required":false,"schema":{"type":"string","default":"","title":"Error"}},{"name":"notice","in":"query","required":false,"schema":{"type":"string","default":"","title":"Notice"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/campaigns/flags":{"post":{"summary":"Campaigns Flags","description":"Галочки «что сервис делает» по кампаниям: сохраняем разом, в Директ ничего не пишем.","operationId":"campaigns_flags_accounts__account_id__campaigns_flags_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_campaigns_flags_accounts__account_id__campaigns_flags_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/campaigns/{campaign_id}/state":{"post":{"summary":"Campaign State","operationId":"campaign_state_accounts__account_id__campaigns__campaign_id__state_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}},{"name":"campaign_id","in":"path","required":true,"schema":{"type":"integer","title":"Campaign Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_campaign_state_accounts__account_id__campaigns__campaign_id__state_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/campaigns/{campaign_id}/budget":{"post":{"summary":"Campaign Budget","operationId":"campaign_budget_accounts__account_id__campaigns__campaign_id__budget_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}},{"name":"campaign_id","in":"path","required":true,"schema":{"type":"integer","title":"Campaign Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_campaign_budget_accounts__account_id__campaigns__campaign_id__budget_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/placements":{"get":{"summary":"Section Placements","operationId":"section_placements_accounts__account_id__placements_get","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}},{"name":"d","in":"query","required":false,"schema":{"type":"integer","default":14,"title":"D"}},{"name":"error","in":"query","required":false,"schema":{"type":"string","default":"","title":"Error"}},{"name":"notice","in":"query","required":false,"schema":{"type":"string","default":"","title":"Notice"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/placements/rules":{"post":{"summary":"Placement Rules","operationId":"placement_rules_accounts__account_id__placements_rules_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_placement_rules_accounts__account_id__placements_rules_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/placements/block-apps":{"post":{"summary":"Placement Block Apps","description":"Выключить все мобильные приложения разом: собираем их из отчёта и исключаем пачкой.","operationId":"placement_block_apps_accounts__account_id__placements_block_apps_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_placement_block_apps_accounts__account_id__placements_block_apps_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/placements/exclude":{"post":{"summary":"Placement Exclude","operationId":"placement_exclude_accounts__account_id__placements_exclude_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_placement_exclude_accounts__account_id__placements_exclude_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/analytics":{"get":{"summary":"Section Analytics","operationId":"section_analytics_accounts__account_id__analytics_get","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}},{"name":"d","in":"query","required":false,"schema":{"type":"integer","default":7,"title":"D"}},{"name":"error","in":"query","required":false,"schema":{"type":"string","default":"","title":"Error"}},{"name":"notice","in":"query","required":false,"schema":{"type":"string","default":"","title":"Notice"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/journal":{"get":{"summary":"Section Journal","description":"Журнал: крупные изменения и решения автопилота с фильтрами по типу, кампании и периоду.","operationId":"section_journal_accounts__account_id__journal_get","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}},{"name":"d","in":"query","required":false,"schema":{"type":"integer","default":7,"title":"D"}},{"name":"error","in":"query","required":false,"schema":{"type":"string","default":"","title":"Error"}},{"name":"notice","in":"query","required":false,"schema":{"type":"string","default":"","title":"Notice"}},{"name":"kind","in":"query","required":false,"schema":{"type":"string","default":"","title":"Kind"}},{"name":"camp","in":"query","required":false,"schema":{"type":"string","default":"","title":"Camp"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/journal.csv":{"get":{"summary":"Journal Csv","description":"Весь лог автодействий в CSV: и крупные изменения, и минус-слова с площадками.","operationId":"journal_csv_accounts__account_id__journal_csv_get","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":90,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/journal/undo/{event_id}":{"post":{"summary":"Journal Undo","operationId":"journal_undo_accounts__account_id__journal_undo__event_id__post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}},{"name":"event_id","in":"path","required":true,"schema":{"type":"integer","title":"Event Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_journal_undo_accounts__account_id__journal_undo__event_id__post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/ai-control":{"get":{"summary":"Section Ai Control","description":"ИИ-управление кампаниями: команды словами, план, подтверждение и история.","operationId":"section_ai_control_accounts__account_id__ai_control_get","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}},{"name":"d","in":"query","required":false,"schema":{"type":"integer","default":7,"title":"D"}},{"name":"error","in":"query","required":false,"schema":{"type":"string","default":"","title":"Error"}},{"name":"notice","in":"query","required":false,"schema":{"type":"string","default":"","title":"Notice"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/ai-analyst":{"get":{"summary":"Section Ai Analyst","description":"ИИ-аналитик: произвольный отчёт по запросу, ссылка и выгрузки.","operationId":"section_ai_analyst_accounts__account_id__ai_analyst_get","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}},{"name":"d","in":"query","required":false,"schema":{"type":"integer","default":7,"title":"D"}},{"name":"error","in":"query","required":false,"schema":{"type":"string","default":"","title":"Error"}},{"name":"notice","in":"query","required":false,"schema":{"type":"string","default":"","title":"Notice"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/analyst":{"post":{"summary":"Account Analyst","description":"Собрать отчёт по описанию: агент сам выбирает источники и сохраняет результат.","operationId":"account_analyst_accounts__account_id__analyst_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_account_analyst_accounts__account_id__analyst_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/stt":{"post":{"summary":"Account Stt","description":"Голосовая команда → текст. Распознаёт наш сервер, запись наружу не уходит.","operationId":"account_stt_accounts__account_id__stt_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_account_stt_accounts__account_id__stt_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/command":{"post":{"summary":"Account Command","description":"Команда словами: ИИ смотрит данные и предлагает план. Ничего не меняет, пока не подтвердят.","operationId":"account_command_accounts__account_id__command_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_account_command_accounts__account_id__command_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/command/apply":{"post":{"summary":"Account Command Apply","description":"Человек подтвердил план — выполняем его тем же агентом, но уже с правами на правки.","operationId":"account_command_apply_accounts__account_id__command_apply_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_account_command_apply_accounts__account_id__command_apply_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/command/cancel":{"post":{"summary":"Account Command Cancel","operationId":"account_command_cancel_accounts__account_id__command_cancel_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_account_command_cancel_accounts__account_id__command_cancel_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/r/{slug}.xlsx":{"get":{"summary":"Report Xlsx","operationId":"report_xlsx_r__slug__xlsx_get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/r/{slug}.pdf":{"get":{"summary":"Report Pdf","operationId":"report_pdf_r__slug__pdf_get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/r/{slug}":{"get":{"summary":"Report Page","description":"Отчёт, собранный ИИ: таблица, выводы и кнопки выгрузки.","operationId":"report_page_r__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/r/{slug}/apply":{"post":{"summary":"Report Apply","description":"Выполнить рекомендации отчёта: одну строку или все сразу. Делает тот же ИИ-агент через MCP.","operationId":"report_apply_r__slug__apply_post","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_report_apply_r__slug__apply_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/matrix":{"get":{"summary":"Section Matrix","description":"Матрица «кампания × настройки»: галочки по устройствам, сегменту и автоведению.","operationId":"section_matrix_accounts__account_id__matrix_get","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}},{"name":"d","in":"query","required":false,"schema":{"type":"integer","default":7,"title":"D"}},{"name":"error","in":"query","required":false,"schema":{"type":"string","default":"","title":"Error"}},{"name":"notice","in":"query","required":false,"schema":{"type":"string","default":"","title":"Notice"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Matrix Save","description":"Применяем разом всё, что человек наменял в таблице. Нетронутые кампании не дёргаем.","operationId":"matrix_save_accounts__account_id__matrix_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_matrix_save_accounts__account_id__matrix_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/improve/landing":{"post":{"summary":"Improve Landing","description":"Разобрать посадочные под объявлениями: обещание из рекламы против того, что на странице.","operationId":"improve_landing_accounts__account_id__improve_landing_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_improve_landing_accounts__account_id__improve_landing_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/improve/rename":{"post":{"summary":"Improve Rename","description":"Привести названия кампаний к схеме «Площадка — Тема».","operationId":"improve_rename_accounts__account_id__improve_rename_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_improve_rename_accounts__account_id__improve_rename_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/improve":{"get":{"summary":"Section Improve","description":"Улучшения: качество объявлений, UTM, слабый CTR, автотаргетинг и ревизия фраз — всё с кнопками.","operationId":"section_improve_accounts__account_id__improve_get","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}},{"name":"d","in":"query","required":false,"schema":{"type":"integer","default":7,"title":"D"}},{"name":"error","in":"query","required":false,"schema":{"type":"string","default":"","title":"Error"}},{"name":"notice","in":"query","required":false,"schema":{"type":"string","default":"","title":"Notice"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/improve/utm":{"post":{"summary":"Improve Utm","description":"Дописать UTM во все объявления, где её нет.","operationId":"improve_utm_accounts__account_id__improve_utm_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_improve_utm_accounts__account_id__improve_utm_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/improve/fill":{"post":{"summary":"Improve Fill","description":"Дозаполнить объявления нейросетью: второй заголовок, быстрые ссылки, уточнения, ссылка.","operationId":"improve_fill_accounts__account_id__improve_fill_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_improve_fill_accounts__account_id__improve_fill_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/improve/template":{"post":{"summary":"Improve Template","description":"Включить подстановку запроса в заголовок: #текст# вместо обычного заголовка.","operationId":"improve_template_accounts__account_id__improve_template_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_improve_template_accounts__account_id__improve_template_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/improve/image":{"post":{"summary":"Improve Image","description":"Нарисовать картинку объявлению РСЯ: сначала промпт по сайту и аудитории, потом сама картинка.","operationId":"improve_image_accounts__account_id__improve_image_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_improve_image_accounts__account_id__improve_image_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/improve/ctr":{"post":{"summary":"Improve Ctr","description":"Слабым по CTR объявлениям добавляем соперника: тот же оффер, другой угол.","operationId":"improve_ctr_accounts__account_id__improve_ctr_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_improve_ctr_accounts__account_id__improve_ctr_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/improve/autotarget":{"post":{"summary":"Improve Autotarget","description":"Выключить или вернуть автотаргетинг в группе.","operationId":"improve_autotarget_accounts__account_id__improve_autotarget_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_improve_autotarget_accounts__account_id__improve_autotarget_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/improve/devices":{"post":{"summary":"Improve Devices","description":"Применить корректировку по устройству или ОС ко всем активным кампаниям аккаунта.","operationId":"improve_devices_accounts__account_id__improve_devices_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_improve_devices_accounts__account_id__improve_devices_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/design/{variant}":{"get":{"summary":"Design Preview","description":"Примерка нового оформления кабинета на живых данных. Видит только админ, рабочие разделы не трогаем.","operationId":"design_preview_accounts__account_id__design__variant__get","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}},{"name":"variant","in":"path","required":true,"schema":{"type":"string","title":"Variant"}},{"name":"d","in":"query","required":false,"schema":{"type":"integer","default":7,"title":"D"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/audiences":{"get":{"summary":"Section Audiences","description":"Аудитории: гео-сегменты, списки клиентов из CRM и похожие аудитории.","operationId":"section_audiences_accounts__account_id__audiences_get","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}},{"name":"d","in":"query","required":false,"schema":{"type":"integer","default":7,"title":"D"}},{"name":"error","in":"query","required":false,"schema":{"type":"string","default":"","title":"Error"}},{"name":"notice","in":"query","required":false,"schema":{"type":"string","default":"","title":"Notice"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/audiences/funnel":{"post":{"summary":"Audiences Funnel","description":"Собрать сегменты по этапам и завести из них аудитории для Директа.","operationId":"audiences_funnel_accounts__account_id__audiences_funnel_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_audiences_funnel_accounts__account_id__audiences_funnel_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/audiences/upload":{"post":{"summary":"Audiences Upload","description":"Загрузить список клиентов из CRM в Аудитории.","operationId":"audiences_upload_accounts__account_id__audiences_upload_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_audiences_upload_accounts__account_id__audiences_upload_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/audiences/lookalike":{"post":{"summary":"Audiences Lookalike","description":"Похожая аудитория на основе существующего сегмента.","operationId":"audiences_lookalike_accounts__account_id__audiences_lookalike_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_audiences_lookalike_accounts__account_id__audiences_lookalike_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/audiences/use":{"post":{"summary":"Audiences Use","description":"Подключить сегмент к Директу и поставить по нему корректировку во всех кампаниях.","operationId":"audiences_use_accounts__account_id__audiences_use_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_audiences_use_accounts__account_id__audiences_use_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/geo/circle":{"post":{"summary":"Geo Circle","description":"Гео-сегмент «радиус вокруг точки»: адрес превращаем в координаты и создаём сегмент в Аудиториях.","operationId":"geo_circle_accounts__account_id__geo_circle_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_geo_circle_accounts__account_id__geo_circle_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/geo/polygon":{"post":{"summary":"Geo Polygon","description":"Гео-сегмент по нарисованной области: вершины через «;», каждая — «широта,долгота».","operationId":"geo_polygon_accounts__account_id__geo_polygon_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_geo_polygon_accounts__account_id__geo_polygon_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/crm/lead":{"post":{"summary":"Api Crm Lead","description":"Приём квалифицированного лида из CRM. Авторизация — ключ кабинета в заголовке Authorization: Bearer.","operationId":"api_crm_lead_api_crm_lead_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/accounts/{account_id}/metrika/goalmap":{"post":{"summary":"Metrika Goalmap","description":"Назначить кампаниям цель обучения: каждая учится на том, что для неё есть в достаточном объёме.","operationId":"metrika_goalmap_accounts__account_id__metrika_goalmap_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_metrika_goalmap_accounts__account_id__metrika_goalmap_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/crm/key":{"post":{"summary":"Crm Key","description":"Выпустить (или перевыпустить) ключ интеграции с CRM.","operationId":"crm_key_accounts__account_id__crm_key_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_crm_key_accounts__account_id__crm_key_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/crm/flush":{"post":{"summary":"Crm Flush","description":"Отправить накопленные лиды в Метрику прямо сейчас.","operationId":"crm_flush_accounts__account_id__crm_flush_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_crm_flush_accounts__account_id__crm_flush_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/metrika/sitegoals":{"post":{"summary":"Metrika Sitegoals","description":"Создать в Метрике цели по тому, что нашли на сайте: форма, телефон, мессенджер, страница «спасибо».","operationId":"metrika_sitegoals_accounts__account_id__metrika_sitegoals_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_metrika_sitegoals_accounts__account_id__metrika_sitegoals_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/improve/warmup":{"post":{"summary":"Improve Warmup","description":"Собрать РСЯ-кампанию подогрева для тех, кто уже был на сайте. Создаётся остановленной.","operationId":"improve_warmup_accounts__account_id__improve_warmup_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_improve_warmup_accounts__account_id__improve_warmup_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/improve/devices/preset":{"post":{"summary":"Improve Device Preset","description":"Режим устройств одной кнопкой: например «только iPhone» — остальным ноль.","operationId":"improve_device_preset_accounts__account_id__improve_devices_preset_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_improve_device_preset_accounts__account_id__improve_devices_preset_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/improve/cheap-phones":{"post":{"summary":"Improve Cheap Phones","description":"Не показываться (или вернуть показы) с телефонов дешевле iPhone — сегмент Метрики плюс корректировка.","operationId":"improve_cheap_phones_accounts__account_id__improve_cheap_phones_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_improve_cheap_phones_accounts__account_id__improve_cheap_phones_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/search":{"get":{"summary":"Section Search","description":"Поиск отдельно от сетей: свои ставки, перебор фраз, автотаргетинг и минусовка запросов.","operationId":"section_search_accounts__account_id__search_get","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}},{"name":"d","in":"query","required":false,"schema":{"type":"integer","default":7,"title":"D"}},{"name":"error","in":"query","required":false,"schema":{"type":"string","default":"","title":"Error"}},{"name":"notice","in":"query","required":false,"schema":{"type":"string","default":"","title":"Notice"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/search/bidder":{"post":{"summary":"Search Bidder","description":"Настройки ставок поиска — отдельно от общих настроек кабинета.","operationId":"search_bidder_accounts__account_id__search_bidder_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_search_bidder_accounts__account_id__search_bidder_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/improve/kwcycle":{"post":{"summary":"Improve Kwcycle","description":"Выключить фразы, которые отработали свой объём кликов без заявок. Откат — из журнала.","operationId":"improve_kwcycle_accounts__account_id__improve_kwcycle_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_improve_kwcycle_accounts__account_id__improve_kwcycle_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/improve/kwcycle/settings":{"post":{"summary":"Improve Kwcycle Settings","description":"Настройка перебора: включать ли автопилоту и сколько кликов даём фразе.","operationId":"improve_kwcycle_settings_accounts__account_id__improve_kwcycle_settings_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_improve_kwcycle_settings_accounts__account_id__improve_kwcycle_settings_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/improve/semcore":{"post":{"summary":"Improve Semcore","description":"Ревизия фраз: что убрать, что добавить, что заминусовать. Показываем план, применяем отдельной кнопкой.","operationId":"improve_semcore_accounts__account_id__improve_semcore_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_improve_semcore_accounts__account_id__improve_semcore_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/improve/semcore/cancel":{"post":{"summary":"Improve Semcore Cancel","description":"Убрать предложенный план ревизии фраз.","operationId":"improve_semcore_cancel_accounts__account_id__improve_semcore_cancel_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_improve_semcore_cancel_accounts__account_id__improve_semcore_cancel_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/improve/semcore/apply":{"post":{"summary":"Improve Semcore Apply","operationId":"improve_semcore_apply_accounts__account_id__improve_semcore_apply_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_improve_semcore_apply_accounts__account_id__improve_semcore_apply_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/export.csv":{"get":{"summary":"Export Csv","description":"CSV для Excel (разделитель «;», UTF-8 с BOM): кампании, площадки, запросы, журнал решений.","operationId":"export_csv_accounts__account_id__export_csv_get","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}},{"name":"what","in":"query","required":false,"schema":{"type":"string","default":"campaigns","title":"What"}},{"name":"d","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"D"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/analytics/minus":{"post":{"summary":"Analytics Minus","operationId":"analytics_minus_accounts__account_id__analytics_minus_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_analytics_minus_accounts__account_id__analytics_minus_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/automation":{"get":{"summary":"Section Automation","operationId":"section_automation_accounts__account_id__automation_get","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}},{"name":"d","in":"query","required":false,"schema":{"type":"integer","default":7,"title":"D"}},{"name":"error","in":"query","required":false,"schema":{"type":"string","default":"","title":"Error"}},{"name":"notice","in":"query","required":false,"schema":{"type":"string","default":"","title":"Notice"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/automation/rules":{"post":{"summary":"Rules Add","operationId":"rules_add_accounts__account_id__automation_rules_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_rules_add_accounts__account_id__automation_rules_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/automation/rules/{idx}/delete":{"post":{"summary":"Rules Delete","operationId":"rules_delete_accounts__account_id__automation_rules__idx__delete_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}},{"name":"idx","in":"path","required":true,"schema":{"type":"integer","title":"Idx"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_rules_delete_accounts__account_id__automation_rules__idx__delete_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/metrika":{"get":{"summary":"Section Metrika","operationId":"section_metrika_accounts__account_id__metrika_get","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}},{"name":"d","in":"query","required":false,"schema":{"type":"integer","default":14,"title":"D"}},{"name":"error","in":"query","required":false,"schema":{"type":"string","default":"","title":"Error"}},{"name":"notice","in":"query","required":false,"schema":{"type":"string","default":"","title":"Notice"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/metrika/ai/apply":{"post":{"summary":"Metrika Ai Apply","description":"Выполняем то, что предложил ИИ-разбор: корректировка, пауза, бюджет, минус-слово, площадка.","operationId":"metrika_ai_apply_accounts__account_id__metrika_ai_apply_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_metrika_ai_apply_accounts__account_id__metrika_ai_apply_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/metrika/ai/dismiss":{"post":{"summary":"Metrika Ai Dismiss","description":"Рекомендация не нужна — убираем её из списка.","operationId":"metrika_ai_dismiss_accounts__account_id__metrika_ai_dismiss_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_metrika_ai_dismiss_accounts__account_id__metrika_ai_dismiss_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/metrika/tuning":{"post":{"summary":"Metrika Tuning Apply","description":"Применяем корректировку ставки из рекомендации — в выбранную кампанию.","operationId":"metrika_tuning_apply_accounts__account_id__metrika_tuning_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_metrika_tuning_apply_accounts__account_id__metrika_tuning_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/metrika/ai":{"post":{"summary":"Metrika Ai","description":"ИИ-разбор срезов Метрики вместе со сводкой рекламы. Результат хранится в настройках аккаунта.","operationId":"metrika_ai_accounts__account_id__metrika_ai_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_metrika_ai_accounts__account_id__metrika_ai_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/metrika/goal":{"post":{"summary":"Metrika Goal","operationId":"metrika_goal_accounts__account_id__metrika_goal_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_metrika_goal_accounts__account_id__metrika_goal_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/metrika/link":{"post":{"summary":"Metrika Link","operationId":"metrika_link_accounts__account_id__metrika_link_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_metrika_link_accounts__account_id__metrika_link_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/accounts/{account_id}/metrika/priority":{"post":{"summary":"Metrika Priority","operationId":"metrika_priority_accounts__account_id__metrika_priority_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_metrika_priority_accounts__account_id__metrika_priority_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/creatives":{"get":{"summary":"Creatives","operationId":"creatives_creatives_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"post":{"summary":"Creatives Check","operationId":"creatives_check_creatives_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_creatives_check_creatives_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ai":{"get":{"summary":"Ai Page","operationId":"ai_page_ai_get","parameters":[{"name":"notice","in":"query","required":false,"schema":{"type":"string","default":"","title":"Notice"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ai/key/check":{"post":{"summary":"Ai Key Check","description":"Проверка связи: дергаем свой же MCP тем же способом, что и внешний ассистент.","operationId":"ai_key_check_ai_key_check_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_ai_key_check_ai_key_check_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ai/key":{"post":{"summary":"Ai Key New","description":"Новый личный ключ: старый сразу перестаёт работать.","operationId":"ai_key_new_ai_key_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_ai_key_new_ai_key_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ai/key/revoke":{"post":{"summary":"Ai Key Revoke","operationId":"ai_key_revoke_ai_key_revoke_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_ai_key_revoke_ai_key_revoke_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ai/revoke":{"post":{"summary":"Ai Revoke","operationId":"ai_revoke_ai_revoke_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_ai_revoke_ai_revoke_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ai/consent":{"get":{"summary":"Ai Consent","operationId":"ai_consent_ai_consent_get","parameters":[{"name":"req","in":"query","required":false,"schema":{"type":"string","default":"","title":"Req"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Ai Consent Post","operationId":"ai_consent_post_ai_consent_post","requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_ai_consent_post_ai_consent_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/telegram/unlink":{"post":{"summary":"Telegram Unlink","operationId":"telegram_unlink_telegram_unlink_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_telegram_unlink_telegram_unlink_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/billing":{"get":{"summary":"Billing","operationId":"billing_billing_get","parameters":[{"name":"error","in":"query","required":false,"schema":{"type":"string","default":"","title":"Error"}},{"name":"notice","in":"query","required":false,"schema":{"type":"string","default":"","title":"Notice"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/billing/pay":{"post":{"summary":"Billing Pay","description":"Онлайн-счёт уводит на страницу Platega, USDT — на страницу перевода.","operationId":"billing_pay_billing_pay_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_billing_pay_billing_pay_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/billing/invoice":{"post":{"summary":"Billing Invoice","description":"Счёт на безналичную оплату от полугода — для тех, кому нужен договор и платёжка.","operationId":"billing_invoice_billing_invoice_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_billing_invoice_billing_invoice_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/billing/invoice/{payment_id}":{"get":{"summary":"Billing Invoice View","operationId":"billing_invoice_view_billing_invoice__payment_id__get","parameters":[{"name":"payment_id","in":"path","required":true,"schema":{"type":"integer","title":"Payment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/plans":{"post":{"summary":"Admin Plans","description":"Цены тарифов: новая цена и старая (зачёркнутая). Пусто — вернуть цену из кода.","operationId":"admin_plans_admin_plans_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_admin_plans_admin_plans_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/payments/{payment_id}/paid":{"post":{"summary":"Admin Mark Paid","description":"Подтверждение поступления денег по счёту — руками, после выписки банка.","operationId":"admin_mark_paid_admin_payments__payment_id__paid_post","parameters":[{"name":"payment_id","in":"path","required":true,"schema":{"type":"integer","title":"Payment Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_admin_mark_paid_admin_payments__payment_id__paid_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/billing/usdt/{payment_id}":{"get":{"summary":"Billing Usdt","description":"Страница перевода USDT: адрес, точная сумма, QR. Статус обновляется сам.","operationId":"billing_usdt_billing_usdt__payment_id__get","parameters":[{"name":"payment_id","in":"path","required":true,"schema":{"type":"integer","title":"Payment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/billing/check/{payment_id}":{"post":{"summary":"Billing Check","operationId":"billing_check_billing_check__payment_id__post","parameters":[{"name":"payment_id","in":"path","required":true,"schema":{"type":"integer","title":"Payment Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_billing_check_billing_check__payment_id__post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/billing/platega/{payment_id}":{"get":{"summary":"Billing Platega","operationId":"billing_platega_billing_platega__payment_id__get","parameters":[{"name":"payment_id","in":"path","required":true,"schema":{"type":"integer","title":"Payment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/webhooks/platega":{"post":{"summary":"Webhook Platega","operationId":"webhook_platega_webhooks_platega_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/webhooks/nicepay":{"get":{"summary":"Webhook Nicepay","description":"Уведомление NicePay: проверяем подпись и проводим оплату по своему order_id.","operationId":"webhook_nicepay_webhooks_nicepay_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/billing/plan":{"post":{"summary":"Billing Plan","operationId":"billing_plan_billing_plan_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_billing_plan_billing_plan_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/support":{"get":{"summary":"Support Page","operationId":"support_page_support_get","parameters":[{"name":"error","in":"query","required":false,"schema":{"type":"string","default":"","title":"Error"}},{"name":"notice","in":"query","required":false,"schema":{"type":"string","default":"","title":"Notice"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Support Create","operationId":"support_create_support_post","requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_support_create_support_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/support/{ticket_id}/reply":{"post":{"summary":"Support Customer Reply","operationId":"support_customer_reply_support__ticket_id__reply_post","parameters":[{"name":"ticket_id","in":"path","required":true,"schema":{"type":"integer","title":"Ticket Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_support_customer_reply_support__ticket_id__reply_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/support":{"get":{"summary":"Admin Support","operationId":"admin_support_admin_support_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"type":"string","default":"new","title":"Status"}},{"name":"q","in":"query","required":false,"schema":{"type":"string","default":"","title":"Q"}},{"name":"error","in":"query","required":false,"schema":{"type":"string","default":"","title":"Error"}},{"name":"notice","in":"query","required":false,"schema":{"type":"string","default":"","title":"Notice"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/support/{ticket_id}":{"post":{"summary":"Admin Support Reply","operationId":"admin_support_reply_admin_support__ticket_id__post","parameters":[{"name":"ticket_id","in":"path","required":true,"schema":{"type":"integer","title":"Ticket Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_admin_support_reply_admin_support__ticket_id__post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/account":{"get":{"summary":"Account Page","operationId":"account_page_account_get","parameters":[{"name":"error","in":"query","required":false,"schema":{"type":"string","default":"","title":"Error"}},{"name":"notice","in":"query","required":false,"schema":{"type":"string","default":"","title":"Notice"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/account/password":{"post":{"summary":"Account Password","operationId":"account_password_account_password_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_account_password_account_password_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/account/email":{"post":{"summary":"Account Email","description":"Смена почты — только с паролем и подтверждением кода на новый адрес.","operationId":"account_email_account_email_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_account_email_account_email_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/account/email/confirm":{"post":{"summary":"Account Email Confirm","operationId":"account_email_confirm_account_email_confirm_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_account_email_confirm_account_email_confirm_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/account/export":{"get":{"summary":"Account Export","description":"152-ФЗ: выгрузка своих данных.","operationId":"account_export_account_export_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/account/delete":{"post":{"summary":"Account Delete","operationId":"account_delete_account_delete_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_account_delete_account_delete_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/presentation/open":{"post":{"summary":"Admin Presentation Open","operationId":"admin_presentation_open_admin_presentation_open_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_admin_presentation_open_admin_presentation_open_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/impersonate/stop":{"post":{"summary":"Admin Impersonate Stop","description":"Выйти из режима просмотра и вернуться в свою учётную запись.","operationId":"admin_impersonate_stop_admin_impersonate_stop_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_admin_impersonate_stop_admin_impersonate_stop_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/impersonate/{user_id}":{"post":{"summary":"Admin Impersonate","description":"Посмотреть сервис глазами клиента. Возврат — кнопкой в плашке сверху; правки идут от его имени.","operationId":"admin_impersonate_admin_impersonate__user_id__post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_admin_impersonate_admin_impersonate__user_id__post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/frozen":{"get":{"summary":"Frozen Page","description":"Куда попадает клиент с замороженным аккаунтом: данные целы, работа остановлена.","operationId":"frozen_page_frozen_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/admin/users/{user_id}":{"get":{"summary":"Admin User","description":"Карточка клиента: расход, платежи, доступ, заморозка и сообщение в поддержку.","operationId":"admin_user_admin_users__user_id__get","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}},{"name":"error","in":"query","required":false,"schema":{"type":"string","default":"","title":"Error"}},{"name":"notice","in":"query","required":false,"schema":{"type":"string","default":"","title":"Notice"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/users/{user_id}/freeze":{"post":{"summary":"Admin Freeze","description":"Заморозка: вход закрыт, автоведение выключено, ничего не удаляется.","operationId":"admin_freeze_admin_users__user_id__freeze_post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_admin_freeze_admin_users__user_id__freeze_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/users/{user_id}/grant":{"post":{"summary":"Admin Grant","description":"Выдать доступ: тариф и срок. Срок считается от сегодня или продлевает текущий.","operationId":"admin_grant_admin_users__user_id__grant_post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_admin_grant_admin_users__user_id__grant_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/users/{user_id}/message":{"post":{"summary":"Admin Message","description":"Уведомление клиенту: появляется у него в поддержке, дублируется письмом и в Telegram.","operationId":"admin_message_admin_users__user_id__message_post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"integer","title":"User Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_admin_message_admin_users__user_id__message_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin":{"get":{"summary":"Admin","operationId":"admin_admin_get","parameters":[{"name":"error","in":"query","required":false,"schema":{"type":"string","default":"","title":"Error"}},{"name":"notice","in":"query","required":false,"schema":{"type":"string","default":"","title":"Notice"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/robots.txt":{"get":{"summary":"Robots","operationId":"robots_robots_txt_get","responses":{"200":{"description":"Successful Response"}}}},"/sitemap.xml":{"get":{"summary":"Sitemap","operationId":"sitemap_sitemap_xml_get","responses":{"200":{"description":"Successful Response"}}}},"/llms.txt":{"get":{"summary":"Llms Txt","description":"Карта сайта для ИИ-ассистентов: Google её игнорирует, часть других систем читает.","operationId":"llms_txt_llms_txt_get","responses":{"200":{"description":"Successful Response"}}}},"/{key}.txt":{"get":{"summary":"Indexnow Key File","description":"Подтверждение владения доменом для IndexNow (Bing, Яндекс).","operationId":"indexnow_key_file__key__txt_get","parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}}],"responses":{"200":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dlya/{slug}":{"get":{"summary":"Page Segment","description":"Отраслевые страницы: селлерам, магазинам, услугам, сетям.","operationId":"page_segment_dlya__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/vozmozhnosti":{"get":{"summary":"Page Features","operationId":"page_features_vozmozhnosti_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/vozmozhnosti/{slug}":{"get":{"summary":"Page Feature","operationId":"page_feature_vozmozhnosti__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mcp-yandex-direct":{"get":{"summary":"Page Mcp Landing","description":"Отдельная страница про MCP-коннектор: её и продвигаем по запросам про MCP Директа и Метрики.","operationId":"page_mcp_landing_mcp_yandex_direct_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/skill.md":{"get":{"summary":"Skill Md","description":"Навык для агента: как пользоваться нашими инструментами. Ставится одной командой из кабинета.","operationId":"skill_md_skill_md_get","responses":{"200":{"description":"Successful Response"}}}},"/kak-podklyuchit":{"get":{"summary":"Page Mcp Howto","description":"Инструкция для новых: как завести кабинет и подключить его к ChatGPT, Claude, Codex или Cursor.","operationId":"page_mcp_howto_kak_podklyuchit_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/faq":{"get":{"summary":"Page Faq","operationId":"page_faq_faq_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/healthz":{"get":{"summary":"Healthz","operationId":"healthz_healthz_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"Body_account_analyst_accounts__account_id__analyst_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"question":{"type":"string","title":"Question"}},"type":"object","required":["question"],"title":"Body_account_analyst_accounts__account_id__analyst_post"},"Body_account_clickru_accounts__account_id__clickru_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"linked":{"type":"string","title":"Linked","default":""}},"type":"object","title":"Body_account_clickru_accounts__account_id__clickru_post"},"Body_account_command_accounts__account_id__command_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"task":{"type":"string","title":"Task"}},"type":"object","required":["task"],"title":"Body_account_command_accounts__account_id__command_post"},"Body_account_command_apply_accounts__account_id__command_apply_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","title":"Body_account_command_apply_accounts__account_id__command_apply_post"},"Body_account_command_cancel_accounts__account_id__command_cancel_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","title":"Body_account_command_cancel_accounts__account_id__command_cancel_post"},"Body_account_connect_accounts_connect_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","title":"Body_account_connect_accounts_connect_post"},"Body_account_connect_code_accounts_connect_code_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"code":{"type":"string","title":"Code"}},"type":"object","required":["code"],"title":"Body_account_connect_code_accounts_connect_code_post"},"Body_account_cpa_accounts__account_id__cpa_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"days":{"type":"integer","title":"Days","default":7}},"type":"object","title":"Body_account_cpa_accounts__account_id__cpa_post"},"Body_account_delete_account_delete_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","title":"Body_account_delete_account_delete_post"},"Body_account_delete_yandex_accounts__account_id__delete_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","title":"Body_account_delete_yandex_accounts__account_id__delete_post"},"Body_account_email_account_email_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"email":{"type":"string","title":"Email"},"password":{"type":"string","title":"Password","default":""}},"type":"object","required":["email"],"title":"Body_account_email_account_email_post"},"Body_account_email_confirm_account_email_confirm_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"email":{"type":"string","title":"Email"},"code":{"type":"string","title":"Code"}},"type":"object","required":["email","code"],"title":"Body_account_email_confirm_account_email_confirm_post"},"Body_account_password_account_password_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"current":{"type":"string","title":"Current","default":""},"password":{"type":"string","title":"Password"},"repeat":{"type":"string","title":"Repeat"}},"type":"object","required":["password","repeat"],"title":"Body_account_password_account_password_post"},"Body_account_run_accounts__account_id__run_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","title":"Body_account_run_accounts__account_id__run_post"},"Body_account_settings_accounts__account_id__settings_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"mode":{"type":"string","title":"Mode","default":"dry"},"counter_id":{"type":"string","title":"Counter Id","default":""},"goal_id":{"type":"string","title":"Goal Id","default":""},"business":{"type":"string","title":"Business","default":""},"client_login":{"type":"string","title":"Client Login","default":""},"cpa_limit":{"type":"string","title":"Cpa Limit","default":""},"lead_value":{"type":"string","title":"Lead Value","default":""},"ai_readonly":{"type":"string","title":"Ai Readonly","default":""},"daily_ai":{"type":"string","title":"Daily Ai","default":""},"tablets_off":{"type":"string","title":"Tablets Off","default":""},"bidder_enabled":{"type":"string","title":"Bidder Enabled","default":""},"max_cpc":{"type":"string","title":"Max Cpc","default":"25"},"target_volume":{"type":"string","title":"Target Volume","default":"110"},"daily_limit":{"type":"string","title":"Daily Limit","default":""},"t_minus":{"type":"string","title":"T Minus","default":""},"t_placements":{"type":"string","title":"T Placements","default":""},"t_bidder":{"type":"string","title":"T Bidder","default":""},"t_rules":{"type":"string","title":"T Rules","default":""},"t_health":{"type":"string","title":"T Health","default":""}},"type":"object","title":"Body_account_settings_accounts__account_id__settings_post"},"Body_account_stt_accounts__account_id__stt_post":{"properties":{"audio":{"type":"string","contentMediaType":"application/octet-stream","title":"Audio"},"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","required":["audio"],"title":"Body_account_stt_accounts__account_id__stt_post"},"Body_account_undo_accounts__account_id__undo__action_id__post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"back":{"type":"string","title":"Back","default":""}},"type":"object","title":"Body_account_undo_accounts__account_id__undo__action_id__post"},"Body_admin_freeze_admin_users__user_id__freeze_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"reason":{"type":"string","title":"Reason","default":""},"action":{"type":"string","title":"Action","default":"freeze"}},"type":"object","title":"Body_admin_freeze_admin_users__user_id__freeze_post"},"Body_admin_grant_admin_users__user_id__grant_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"plan":{"type":"string","title":"Plan","default":""},"days":{"type":"integer","title":"Days","default":30}},"type":"object","title":"Body_admin_grant_admin_users__user_id__grant_post"},"Body_admin_impersonate_admin_impersonate__user_id__post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","title":"Body_admin_impersonate_admin_impersonate__user_id__post"},"Body_admin_impersonate_stop_admin_impersonate_stop_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","title":"Body_admin_impersonate_stop_admin_impersonate_stop_post"},"Body_admin_mark_paid_admin_payments__payment_id__paid_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","title":"Body_admin_mark_paid_admin_payments__payment_id__paid_post"},"Body_admin_message_admin_users__user_id__message_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"subject":{"type":"string","title":"Subject","default":""},"text":{"type":"string","title":"Text","default":""}},"type":"object","title":"Body_admin_message_admin_users__user_id__message_post"},"Body_admin_plans_admin_plans_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","title":"Body_admin_plans_admin_plans_post"},"Body_admin_presentation_open_admin_presentation_open_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","title":"Body_admin_presentation_open_admin_presentation_open_post"},"Body_admin_support_reply_admin_support__ticket_id__post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"answer":{"type":"string","title":"Answer","default":""},"action":{"type":"string","title":"Action","default":"answer"},"submission_id":{"type":"string","title":"Submission Id","default":""},"reply_id":{"type":"integer","title":"Reply Id","default":0}},"type":"object","title":"Body_admin_support_reply_admin_support__ticket_id__post"},"Body_ai_consent_post_ai_consent_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"req":{"type":"string","title":"Req"},"decision":{"type":"string","title":"Decision","default":"deny"},"trust":{"type":"string","title":"Trust","default":""}},"type":"object","required":["req"],"title":"Body_ai_consent_post_ai_consent_post"},"Body_ai_key_check_ai_key_check_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","title":"Body_ai_key_check_ai_key_check_post"},"Body_ai_key_new_ai_key_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","title":"Body_ai_key_new_ai_key_post"},"Body_ai_key_revoke_ai_key_revoke_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","title":"Body_ai_key_revoke_ai_key_revoke_post"},"Body_ai_revoke_ai_revoke_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"client_id":{"type":"string","title":"Client Id"}},"type":"object","required":["client_id"],"title":"Body_ai_revoke_ai_revoke_post"},"Body_analytics_minus_accounts__account_id__analytics_minus_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"campaign_id":{"type":"integer","title":"Campaign Id"},"campaign":{"type":"string","title":"Campaign","default":""},"query":{"type":"string","title":"Query"},"word":{"type":"string","title":"Word"},"clicks":{"type":"integer","title":"Clicks","default":0},"cost":{"type":"number","title":"Cost","default":0}},"type":"object","required":["campaign_id","query","word"],"title":"Body_analytics_minus_accounts__account_id__analytics_minus_post"},"Body_audiences_funnel_accounts__account_id__audiences_funnel_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","title":"Body_audiences_funnel_accounts__account_id__audiences_funnel_post"},"Body_audiences_geo_ai_accounts__account_id__audiences_geo_ai_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","title":"Body_audiences_geo_ai_accounts__account_id__audiences_geo_ai_post"},"Body_audiences_geo_create_accounts__account_id__audiences_geo_create_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"address":{"type":"string","title":"Address"},"name":{"type":"string","title":"Name","default":""},"kind":{"type":"string","title":"Kind","default":"circle"},"radius_m":{"type":"integer","title":"Radius M","default":1500},"side_m":{"type":"integer","title":"Side M","default":120},"audience":{"type":"string","title":"Audience","default":"regular"}},"type":"object","required":["address"],"title":"Body_audiences_geo_create_accounts__account_id__audiences_geo_create_post"},"Body_audiences_lookalike_accounts__account_id__audiences_lookalike_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"source_id":{"type":"integer","title":"Source Id"},"name":{"type":"string","title":"Name","default":""},"value":{"type":"integer","title":"Value","default":3}},"type":"object","required":["source_id"],"title":"Body_audiences_lookalike_accounts__account_id__audiences_lookalike_post"},"Body_audiences_upload_accounts__account_id__audiences_upload_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"name":{"type":"string","title":"Name","default":""},"content":{"type":"string","title":"Content","default":""},"content_type":{"type":"string","title":"Content Type","default":"phones"},"hashed":{"type":"string","title":"Hashed","default":""}},"type":"object","title":"Body_audiences_upload_accounts__account_id__audiences_upload_post"},"Body_audiences_use_accounts__account_id__audiences_use_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"segment_id":{"type":"integer","title":"Segment Id"},"percent":{"type":"integer","title":"Percent","default":100},"name":{"type":"string","title":"Name","default":""}},"type":"object","required":["segment_id"],"title":"Body_audiences_use_accounts__account_id__audiences_use_post"},"Body_billing_check_billing_check__payment_id__post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","title":"Body_billing_check_billing_check__payment_id__post"},"Body_billing_invoice_billing_invoice_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"plan":{"type":"string","title":"Plan"},"months":{"type":"integer","title":"Months","default":6},"company":{"type":"string","title":"Company","default":""},"inn":{"type":"string","title":"Inn","default":""},"kpp":{"type":"string","title":"Kpp","default":""},"address":{"type":"string","title":"Address","default":""}},"type":"object","required":["plan"],"title":"Body_billing_invoice_billing_invoice_post"},"Body_billing_pay_billing_pay_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"plan":{"type":"string","title":"Plan","default":""},"months":{"type":"integer","title":"Months","default":1},"provider":{"type":"string","title":"Provider","default":"platega"}},"type":"object","title":"Body_billing_pay_billing_pay_post"},"Body_billing_plan_billing_plan_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"plan":{"type":"string","title":"Plan"}},"type":"object","required":["plan"],"title":"Body_billing_plan_billing_plan_post"},"Body_campaign_budget_accounts__account_id__campaigns__campaign_id__budget_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"rub":{"type":"string","title":"Rub","default":""},"name":{"type":"string","title":"Name","default":""},"back":{"type":"string","title":"Back","default":"campaigns"}},"type":"object","title":"Body_campaign_budget_accounts__account_id__campaigns__campaign_id__budget_post"},"Body_campaign_state_accounts__account_id__campaigns__campaign_id__state_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"run":{"type":"integer","title":"Run","default":0},"name":{"type":"string","title":"Name","default":""}},"type":"object","title":"Body_campaign_state_accounts__account_id__campaigns__campaign_id__state_post"},"Body_campaign_wizard_batch_accounts__account_id__new_batch_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"urls":{"type":"string","title":"Urls"},"network":{"type":"string","title":"Network","default":""},"budget":{"type":"string","title":"Budget","default":""},"max_cpc":{"type":"string","title":"Max Cpc","default":""}},"type":"object","required":["urls"],"title":"Body_campaign_wizard_batch_accounts__account_id__new_batch_post"},"Body_campaign_wizard_create_accounts__account_id__new_create_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"name":{"type":"string","title":"Name","default":""},"keywords":{"type":"string","title":"Keywords","default":""},"negatives":{"type":"string","title":"Negatives","default":""},"href":{"type":"string","title":"Href"},"budget":{"type":"string","title":"Budget","default":""},"max_cpc":{"type":"string","title":"Max Cpc","default":""},"retarget":{"type":"string","title":"Retarget","default":""}},"type":"object","required":["href"],"title":"Body_campaign_wizard_create_accounts__account_id__new_create_post"},"Body_campaign_wizard_draft_accounts__account_id__new_draft_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"url":{"type":"string","title":"Url","default":""},"description":{"type":"string","title":"Description","default":""},"network":{"type":"string","title":"Network","default":""},"budget":{"type":"string","title":"Budget","default":""},"max_cpc":{"type":"string","title":"Max Cpc","default":""}},"type":"object","title":"Body_campaign_wizard_draft_accounts__account_id__new_draft_post"},"Body_campaigns_flags_accounts__account_id__campaigns_flags_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","title":"Body_campaigns_flags_accounts__account_id__campaigns_flags_post"},"Body_creative_ab_auto_accounts__account_id__creatives_abauto_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"on":{"type":"integer","title":"On","default":0}},"type":"object","title":"Body_creative_ab_auto_accounts__account_id__creatives_abauto_post"},"Body_creative_ab_reset_accounts__account_id__creatives_abreset_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"adgroup_id":{"type":"integer","title":"Adgroup Id","default":0}},"type":"object","title":"Body_creative_ab_reset_accounts__account_id__creatives_abreset_post"},"Body_creative_auto_ab_accounts__account_id__creatives_autoab_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"on":{"type":"integer","title":"On","default":0}},"type":"object","title":"Body_creative_auto_ab_accounts__account_id__creatives_autoab_post"},"Body_creative_delete_accounts__account_id__creatives_delete_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"idx":{"type":"integer","title":"Idx"}},"type":"object","required":["idx"],"title":"Body_creative_delete_accounts__account_id__creatives_delete_post"},"Body_creative_draw_accounts__account_id__creatives_draw_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"idx":{"type":"integer","title":"Idx"}},"type":"object","required":["idx"],"title":"Body_creative_draw_accounts__account_id__creatives_draw_post"},"Body_creative_ideas_accounts__account_id__creatives_generate_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"product":{"type":"string","title":"Product","default":""},"url":{"type":"string","title":"Url","default":""},"count":{"type":"integer","title":"Count","default":3}},"type":"object","title":"Body_creative_ideas_accounts__account_id__creatives_generate_post"},"Body_creative_launch_accounts__account_id__creatives_launch_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"previews":{"items":{"type":"string"},"type":"array","title":"Previews","default":[]},"name":{"type":"string","title":"Name","default":""},"href":{"type":"string","title":"Href"},"title":{"type":"string","title":"Title"},"title2":{"type":"string","title":"Title2","default":""},"text":{"type":"string","title":"Text"},"keywords":{"type":"string","title":"Keywords","default":""},"budget":{"type":"string","title":"Budget","default":""},"max_cpc":{"type":"string","title":"Max Cpc","default":""}},"type":"object","required":["href","title","text"],"title":"Body_creative_launch_accounts__account_id__creatives_launch_post"},"Body_creative_next_test_accounts__account_id__creatives_next_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"adgroup_id":{"type":"integer","title":"Adgroup Id"},"stage":{"type":"string","title":"Stage"}},"type":"object","required":["adgroup_id","stage"],"title":"Body_creative_next_test_accounts__account_id__creatives_next_post"},"Body_creative_redraw_accounts__account_id__creatives_redraw_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"ad_id":{"type":"integer","title":"Ad Id"}},"type":"object","required":["ad_id"],"title":"Body_creative_redraw_accounts__account_id__creatives_redraw_post"},"Body_creative_upload_accounts__account_id__creatives_upload_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"photo":{"type":"string","contentMediaType":"application/octet-stream","title":"Photo"}},"type":"object","required":["photo"],"title":"Body_creative_upload_accounts__account_id__creatives_upload_post"},"Body_creative_winner_accounts__account_id__creatives_winner_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"keep_id":{"type":"integer","title":"Keep Id"}},"type":"object","required":["keep_id"],"title":"Body_creative_winner_accounts__account_id__creatives_winner_post"},"Body_creatives_check_creatives_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"title":{"type":"string","title":"Title","default":""},"title2":{"type":"string","title":"Title2","default":""},"text":{"type":"string","title":"Text","default":""}},"type":"object","title":"Body_creatives_check_creatives_post"},"Body_crm_flush_accounts__account_id__crm_flush_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","title":"Body_crm_flush_accounts__account_id__crm_flush_post"},"Body_crm_key_accounts__account_id__crm_key_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","title":"Body_crm_key_accounts__account_id__crm_key_post"},"Body_forgot_password_forgot_password_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"email":{"type":"string","title":"Email","default":""}},"type":"object","title":"Body_forgot_password_forgot_password_post"},"Body_geo_circle_accounts__account_id__geo_circle_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"name":{"type":"string","title":"Name","default":""},"address":{"type":"string","title":"Address","default":""},"coords":{"type":"string","title":"Coords","default":""},"radius":{"type":"integer","title":"Radius","default":1000},"kind":{"type":"string","title":"Kind","default":"regular"}},"type":"object","title":"Body_geo_circle_accounts__account_id__geo_circle_post"},"Body_geo_polygon_accounts__account_id__geo_polygon_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"name":{"type":"string","title":"Name","default":""},"points":{"type":"string","title":"Points","default":""},"kind":{"type":"string","title":"Kind","default":"regular"}},"type":"object","title":"Body_geo_polygon_accounts__account_id__geo_polygon_post"},"Body_improve_autotarget_accounts__account_id__improve_autotarget_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"adgroup_id":{"type":"integer","title":"Adgroup Id"},"on":{"type":"integer","title":"On","default":0}},"type":"object","required":["adgroup_id"],"title":"Body_improve_autotarget_accounts__account_id__improve_autotarget_post"},"Body_improve_cheap_phones_accounts__account_id__improve_cheap_phones_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"percent":{"type":"integer","title":"Percent","default":0}},"type":"object","title":"Body_improve_cheap_phones_accounts__account_id__improve_cheap_phones_post"},"Body_improve_ctr_accounts__account_id__improve_ctr_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","title":"Body_improve_ctr_accounts__account_id__improve_ctr_post"},"Body_improve_device_preset_accounts__account_id__improve_devices_preset_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"preset":{"type":"string","title":"Preset","default":""}},"type":"object","title":"Body_improve_device_preset_accounts__account_id__improve_devices_preset_post"},"Body_improve_devices_accounts__account_id__improve_devices_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"kind":{"type":"string","title":"Kind","default":"mobile"},"os":{"type":"string","title":"Os","default":""},"percent":{"type":"integer","title":"Percent","default":0},"title":{"type":"string","title":"Title","default":""}},"type":"object","title":"Body_improve_devices_accounts__account_id__improve_devices_post"},"Body_improve_fill_accounts__account_id__improve_fill_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"ad_id":{"type":"string","title":"Ad Id","default":""},"c":{"type":"integer","title":"C","default":0}},"type":"object","title":"Body_improve_fill_accounts__account_id__improve_fill_post"},"Body_improve_image_accounts__account_id__improve_image_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"ad_id":{"type":"integer","title":"Ad Id"}},"type":"object","required":["ad_id"],"title":"Body_improve_image_accounts__account_id__improve_image_post"},"Body_improve_kwcycle_accounts__account_id__improve_kwcycle_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"ids":{"type":"string","title":"Ids","default":""}},"type":"object","title":"Body_improve_kwcycle_accounts__account_id__improve_kwcycle_post"},"Body_improve_kwcycle_settings_accounts__account_id__improve_kwcycle_settings_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"on":{"type":"integer","title":"On","default":0},"clicks":{"type":"integer","title":"Clicks","default":50},"manual_only":{"type":"integer","title":"Manual Only","default":0}},"type":"object","title":"Body_improve_kwcycle_settings_accounts__account_id__improve_kwcycle_settings_post"},"Body_improve_landing_accounts__account_id__improve_landing_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","title":"Body_improve_landing_accounts__account_id__improve_landing_post"},"Body_improve_rename_accounts__account_id__improve_rename_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","title":"Body_improve_rename_accounts__account_id__improve_rename_post"},"Body_improve_semcore_accounts__account_id__improve_semcore_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"campaign_id":{"type":"integer","title":"Campaign Id"}},"type":"object","required":["campaign_id"],"title":"Body_improve_semcore_accounts__account_id__improve_semcore_post"},"Body_improve_semcore_apply_accounts__account_id__improve_semcore_apply_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","title":"Body_improve_semcore_apply_accounts__account_id__improve_semcore_apply_post"},"Body_improve_semcore_cancel_accounts__account_id__improve_semcore_cancel_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","title":"Body_improve_semcore_cancel_accounts__account_id__improve_semcore_cancel_post"},"Body_improve_template_accounts__account_id__improve_template_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"ad_id":{"type":"string","title":"Ad Id","default":""}},"type":"object","title":"Body_improve_template_accounts__account_id__improve_template_post"},"Body_improve_utm_accounts__account_id__improve_utm_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","title":"Body_improve_utm_accounts__account_id__improve_utm_post"},"Body_improve_warmup_accounts__account_id__improve_warmup_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","title":"Body_improve_warmup_accounts__account_id__improve_warmup_post"},"Body_journal_undo_accounts__account_id__journal_undo__event_id__post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","title":"Body_journal_undo_accounts__account_id__journal_undo__event_id__post"},"Body_login_login_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"email":{"type":"string","title":"Email"},"password":{"type":"string","title":"Password"}},"type":"object","required":["email","password"],"title":"Body_login_login_post"},"Body_logout_logout_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","title":"Body_logout_logout_post"},"Body_matrix_save_accounts__account_id__matrix_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","title":"Body_matrix_save_accounts__account_id__matrix_post"},"Body_members_invite_accounts__account_id__members_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"email":{"type":"string","title":"Email","default":""},"role":{"type":"string","title":"Role","default":"viewer"}},"type":"object","title":"Body_members_invite_accounts__account_id__members_post"},"Body_members_remove_accounts__account_id__members_remove_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"member_id":{"type":"integer","title":"Member Id"}},"type":"object","required":["member_id"],"title":"Body_members_remove_accounts__account_id__members_remove_post"},"Body_metrika_ai_accounts__account_id__metrika_ai_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"d":{"type":"integer","title":"D","default":14}},"type":"object","title":"Body_metrika_ai_accounts__account_id__metrika_ai_post"},"Body_metrika_ai_apply_accounts__account_id__metrika_ai_apply_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"idx":{"type":"integer","title":"Idx"},"campaign_id":{"type":"string","title":"Campaign Id","default":""}},"type":"object","required":["idx"],"title":"Body_metrika_ai_apply_accounts__account_id__metrika_ai_apply_post"},"Body_metrika_ai_dismiss_accounts__account_id__metrika_ai_dismiss_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"idx":{"type":"integer","title":"Idx"},"campaign_id":{"type":"string","title":"Campaign Id","default":""}},"type":"object","required":["idx"],"title":"Body_metrika_ai_dismiss_accounts__account_id__metrika_ai_dismiss_post"},"Body_metrika_goal_accounts__account_id__metrika_goal_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"name":{"type":"string","title":"Name","default":""},"kind":{"type":"string","title":"Kind"},"value":{"type":"string","title":"Value","default":""}},"type":"object","required":["kind"],"title":"Body_metrika_goal_accounts__account_id__metrika_goal_post"},"Body_metrika_goalmap_accounts__account_id__metrika_goalmap_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","title":"Body_metrika_goalmap_accounts__account_id__metrika_goalmap_post"},"Body_metrika_link_accounts__account_id__metrika_link_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"campaign_id":{"type":"integer","title":"Campaign Id"},"counter_id":{"type":"integer","title":"Counter Id"}},"type":"object","required":["campaign_id","counter_id"],"title":"Body_metrika_link_accounts__account_id__metrika_link_post"},"Body_metrika_priority_accounts__account_id__metrika_priority_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"campaign_id":{"type":"integer","title":"Campaign Id"},"goal_id":{"type":"integer","title":"Goal Id"},"value":{"type":"string","title":"Value","default":""}},"type":"object","required":["campaign_id","goal_id"],"title":"Body_metrika_priority_accounts__account_id__metrika_priority_post"},"Body_metrika_sitegoals_accounts__account_id__metrika_sitegoals_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"kind":{"type":"string","title":"Kind","default":""}},"type":"object","title":"Body_metrika_sitegoals_accounts__account_id__metrika_sitegoals_post"},"Body_metrika_tuning_apply_accounts__account_id__metrika_tuning_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"idx":{"type":"integer","title":"Idx"},"campaign_id":{"type":"integer","title":"Campaign Id"}},"type":"object","required":["idx","campaign_id"],"title":"Body_metrika_tuning_apply_accounts__account_id__metrika_tuning_post"},"Body_placement_block_apps_accounts__account_id__placements_block_apps_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","title":"Body_placement_block_apps_accounts__account_id__placements_block_apps_post"},"Body_placement_exclude_accounts__account_id__placements_exclude_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"campaign_id":{"type":"integer","title":"Campaign Id"},"campaign":{"type":"string","title":"Campaign","default":""},"placement":{"type":"string","title":"Placement"},"clicks":{"type":"integer","title":"Clicks","default":0},"cost":{"type":"number","title":"Cost","default":0}},"type":"object","required":["campaign_id","placement"],"title":"Body_placement_exclude_accounts__account_id__placements_exclude_post"},"Body_placement_rules_accounts__account_id__placements_rules_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"apps":{"type":"string","title":"Apps","default":""},"apps_hard":{"type":"string","title":"Apps Hard","default":""},"dsp":{"type":"string","title":"Dsp","default":""},"base":{"type":"string","title":"Base","default":""},"app_clicks":{"type":"integer","title":"App Clicks","default":2},"site_clicks":{"type":"integer","title":"Site Clicks","default":20},"site_ctr":{"type":"string","title":"Site Ctr","default":"3"},"cpa_mult":{"type":"string","title":"Cpa Mult","default":"2"},"words":{"type":"string","title":"Words","default":""},"keep":{"type":"string","title":"Keep","default":""},"site_clicks_hard":{"type":"integer","title":"Site Clicks Hard","default":50},"dsp_bounce":{"type":"string","title":"Dsp Bounce","default":"40"}},"type":"object","title":"Body_placement_rules_accounts__account_id__placements_rules_post"},"Body_privacy_mode_privacy_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"mode":{"type":"string","title":"Mode","default":"off"},"back":{"type":"string","title":"Back","default":"/app"}},"type":"object","title":"Body_privacy_mode_privacy_post"},"Body_refresh_account_accounts__account_id__refresh_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","title":"Body_refresh_account_accounts__account_id__refresh_post"},"Body_report_apply_r__slug__apply_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"row":{"type":"string","title":"Row","default":""}},"type":"object","title":"Body_report_apply_r__slug__apply_post"},"Body_reset_password_reset_password_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"code":{"type":"string","title":"Code","default":""},"password":{"type":"string","title":"Password","default":""},"repeat":{"type":"string","title":"Repeat","default":""}},"type":"object","title":"Body_reset_password_reset_password_post"},"Body_rules_add_accounts__account_id__automation_rules_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"name":{"type":"string","title":"Name","default":""},"metric":{"type":"string","title":"Metric"},"op":{"type":"string","title":"Op","default":"gt"},"value":{"type":"string","title":"Value"},"action":{"type":"string","title":"Action","default":"notify"}},"type":"object","required":["metric","value"],"title":"Body_rules_add_accounts__account_id__automation_rules_post"},"Body_rules_delete_accounts__account_id__automation_rules__idx__delete_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","title":"Body_rules_delete_accounts__account_id__automation_rules__idx__delete_post"},"Body_search_bidder_accounts__account_id__search_bidder_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"enabled":{"type":"string","title":"Enabled","default":""},"max_cpc":{"type":"string","title":"Max Cpc","default":"25"},"target_volume":{"type":"string","title":"Target Volume","default":"110"},"daily_limit":{"type":"string","title":"Daily Limit","default":""},"interval":{"type":"integer","title":"Interval","default":1440}},"type":"object","title":"Body_search_bidder_accounts__account_id__search_bidder_post"},"Body_signup_signup_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"email":{"type":"string","title":"Email"},"password":{"type":"string","title":"Password"},"consent":{"type":"string","title":"Consent","default":""},"stamp":{"type":"string","title":"Stamp","default":""},"website":{"type":"string","title":"Website","default":""}},"type":"object","required":["email","password"],"title":"Body_signup_signup_post"},"Body_support_create_support_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"subject":{"type":"string","title":"Subject","default":""},"text":{"type":"string","title":"Text"}},"type":"object","required":["text"],"title":"Body_support_create_support_post"},"Body_support_customer_reply_support__ticket_id__reply_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"text":{"type":"string","title":"Text","default":""},"submission_id":{"type":"string","title":"Submission Id","default":""}},"type":"object","title":"Body_support_customer_reply_support__ticket_id__reply_post"},"Body_telegram_start_auth_telegram_start_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"consent":{"type":"string","title":"Consent","default":""}},"type":"object","title":"Body_telegram_start_auth_telegram_start_post"},"Body_telegram_unlink_telegram_unlink_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","title":"Body_telegram_unlink_telegram_unlink_post"},"Body_telegram_verify_auth_telegram_verify_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"code":{"type":"string","title":"Code","default":""}},"type":"object","title":"Body_telegram_verify_auth_telegram_verify_post"},"Body_verify_resend_verify_resend_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"email":{"type":"string","title":"Email"}},"type":"object","required":["email"],"title":"Body_verify_resend_verify_resend_post"},"Body_verify_verify_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""},"email":{"type":"string","title":"Email"},"code":{"type":"string","title":"Code"}},"type":"object","required":["email","code"],"title":"Body_verify_verify_post"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}