{"baseUrl":"https://api.cerio.ru","categories":[{"id":"ai","title":"\u0418\u0418 API","description":null,"endpoints":[{"method":"POST","path":"/api/ai/ask","description":"\u0417\u0430\u043F\u0440\u043E\u0441 \u043A AI: \u0442\u0435\u043A\u0441\u0442 \u0438/\u0438\u043B\u0438 \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u2192 \u043A\u0440\u0430\u0442\u043A\u0438\u0439 \u043E\u0442\u0432\u0435\u0442 \u043C\u043E\u0434\u0435\u043B\u0438 \u0432 \u043F\u043E\u043B\u0435 answer. \u042D\u0442\u043E \u043F\u0440\u043E\u0441\u0442\u043E\u0439 \u044D\u043D\u0434\u043F\u043E\u0438\u043D\u0442 \u00AB\u0432\u043E\u043F\u0440\u043E\u0441-\u043E\u0442\u0432\u0435\u0442\u00BB; \u0434\u043B\u044F \u0447\u0430\u0442\u043E\u0432, \u0441\u0442\u0440\u0438\u043C\u0438\u043D\u0433\u0430, \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u043E\u0432 \u0438 \u044D\u043C\u0431\u0435\u0434\u0434\u0438\u043D\u0433\u043E\u0432 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 /api/ai/v1/*. \u041E\u0442\u0432\u0435\u0442: {\u0022answer\u0022:\u0022...\u0022}","params":"Content-Type: application/json. \u041F\u043E\u043B\u044F: prompt \u2014 \u0432\u043E\u043F\u0440\u043E\u0441 \u0438\u043B\u0438 \u0441\u0438\u0441\u0442\u0435\u043C\u043D\u0430\u044F \u0438\u043D\u0441\u0442\u0440\u0443\u043A\u0446\u0438\u044F; text \u2014 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0439 \u0442\u0435\u043A\u0441\u0442; imageBase64 \u2014 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0430 \u0432 base64 \u0438\u043B\u0438 data URL (\u0434\u043E 7 \u041C\u0411, \u0438\u043D\u0430\u0447\u0435 400); imageMimeType \u2014 MIME-\u0442\u0438\u043F, \u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440 image/jpeg; temperature; maxTokens; clientName \u2014 \u043C\u0435\u0442\u043A\u0430 \u043A\u043B\u0438\u0435\u043D\u0442\u0430 \u0434\u043B\u044F \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043A\u0438; modelId \u2014 \u0438\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440 \u043C\u043E\u0434\u0435\u043B\u0438 \u0438\u0437 GET /api/ai/v1/models. \u0410\u043B\u044C\u0442\u0435\u0440\u043D\u0430\u0442\u0438\u0432\u0430 \u2014 multipart/form-data \u0441 \u043F\u043E\u043B\u044F\u043C\u0438 prompt, text \u0438 \u0444\u0430\u0439\u043B\u043E\u043C image.","examples":[{"label":"URL","code":"/api/ai/ask"},{"label":"curl","code":"curl -X POST \u0022https://api.cerio.ru/api/ai/ask\u0022 -H \u0022Content-Type: application/json\u0022 -d \u0027{\u0022prompt\u0022:\u0022\u041F\u0440\u0438\u0432\u0435\u0442\u0022,\u0022text\u0022:\u0022Hello\u0022}\u0027"},{"label":"fetch","code":"fetch(\u0060https://api.cerio.ru/api/ai/ask\u0060, { method: \u0022POST\u0022, headers: { \u0022Content-Type\u0022: \u0022application/json\u0022 }, body: JSON.stringify({ prompt: \u0022\u041F\u0440\u0438\u0432\u0435\u0442\u0022, text: \u0022Hello\u0022 }) }).then(r =\u003E r.json()).then(console.log);"},{"label":"powershell","code":"$body = \u0027{\u0022prompt\u0022:\u0022\u041F\u0440\u0438\u0432\u0435\u0442\u0022,\u0022text\u0022:\u0022Hello\u0022}\u0027; Invoke-RestMethod -Uri \u0022https://api.cerio.ru/api/ai/ask\u0022 -Method Post -ContentType \u0022application/json\u0022 -Body $body"},{"label":"csharp","code":"using var client = new HttpClient(); var json = \u0022{\\\u0022prompt\\\u0022:\\\u0022\u041F\u0440\u0438\u0432\u0435\u0442\\\u0022,\\\u0022text\\\u0022:\\\u0022Hello\\\u0022}\u0022; var content = new StringContent(json, Encoding.UTF8, \u0022application/json\u0022); var response = await client.PostAsync(\u0022https://api.cerio.ru/api/ai/ask\u0022, content);"},{"label":"curl-multipart","code":"curl -X POST \u0022https://api.cerio.ru/api/ai/ask\u0022 -F \u0022prompt=\u041E\u043F\u0438\u0448\u0438 \u0447\u0442\u043E \u043D\u0430 \u0444\u043E\u0442\u043E\u0022 -F \u0022image=@photo.jpg\u0022"},{"label":"fetch-multipart","code":"const fd = new FormData(); fd.append(\u0022prompt\u0022, \u0022\u041E\u043F\u0438\u0448\u0438 \u0447\u0442\u043E \u043D\u0430 \u0444\u043E\u0442\u043E\u0022); fd.append(\u0022image\u0022, fileInput.files[0]); fetch(\u0060https://api.cerio.ru/api/ai/ask\u0060, { method: \u0022POST\u0022, body: fd }).then(r =\u003E r.json()).then(console.log);"},{"label":"powershell-multipart","code":"$form = @{ prompt = \u0022\u041E\u043F\u0438\u0448\u0438 \u0447\u0442\u043E \u043D\u0430 \u0444\u043E\u0442\u043E\u0022; image = Get-Item \u0022photo.jpg\u0022 }; Invoke-RestMethod -Uri \u0022https://api.cerio.ru/api/ai/ask\u0022 -Method Post -Form $form"},{"label":"csharp-multipart","code":"using var content = new MultipartFormDataContent(); content.Add(new StringContent(\u0022\u041E\u043F\u0438\u0448\u0438 \u0447\u0442\u043E \u043D\u0430 \u0444\u043E\u0442\u043E\u0022), \u0022prompt\u0022); content.Add(new ByteArrayContent(File.ReadAllBytes(\u0022photo.jpg\u0022)), \u0022image\u0022, \u0022photo.jpg\u0022); var response = await new HttpClient().PostAsync(\u0022https://api.cerio.ru/api/ai/ask\u0022, content);"},{"label":"curl \u2014 JSON \u0441 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u043E\u0439","code":"curl -sS -X POST \u0022https://api.cerio.ru/api/ai/ask\u0022 -H \u0022Content-Type: application/json\u0022 -d \u0027{\u0022prompt\u0022:\u0022\u041E\u043F\u0438\u0448\u0438 \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0022,\u0022imageBase64\u0022:\u0022data:image/jpeg;base64,/9j/4AAQSkZJRg...\u0022,\u0022imageMimeType\u0022:\u0022image/jpeg\u0022}\u0027"},{"label":"fetch \u2014 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0430 \u0438\u0437 input","code":"const b64 = await new Promise(r =\u003E { const fr = new FileReader(); fr.onload = () =\u003E r(fr.result); fr.readAsDataURL(fileInput.files[0]); });\nconst res = await fetch(\u0022https://api.cerio.ru/api/ai/ask\u0022, { method: \u0022POST\u0022, headers: { \u0022Content-Type\u0022: \u0022application/json\u0022 }, body: JSON.stringify({ prompt: \u0022\u041E\u043F\u0438\u0448\u0438 \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0022, imageBase64: b64 }) });\nconst data = await res.json(); console.log(data.answer);"}]},{"method":"POST","path":"/api/ai/transcribe","description":"\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u0430\u0443\u0434\u0438\u043E \u0438\u043B\u0438 \u0432\u0438\u0434\u0435\u043E \u2014 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u0435 \u0442\u0435\u043A\u0441\u0442 \u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043E\u0432\u043A\u0438. \u0414\u043B\u044F \u0432\u0438\u0434\u0435\u043E \u0437\u0432\u0443\u043A \u0441\u043D\u0438\u043C\u0430\u0435\u0442\u0441\u044F \u043D\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 (\u043D\u0443\u0436\u0435\u043D ffmpeg). \u041F\u0440\u0438 \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E\u0441\u0442\u0438 \u0437\u0430\u043F\u0440\u043E\u0441\u0438\u0442\u0435 \u0440\u0430\u0437\u0431\u0438\u0432\u043A\u0443 \u043F\u043E \u0444\u0440\u0430\u0433\u043C\u0435\u043D\u0442\u0430\u043C \u0441\u043E \u0432\u0440\u0435\u043C\u0435\u043D\u0435\u043C \u043D\u0430\u0447\u0430\u043B\u0430 \u0438 \u043A\u043E\u043D\u0446\u0430.","params":"\u041F\u043E\u043B\u0435 file: \u0430\u0443\u0434\u0438\u043E \u0438\u043B\u0438 \u0432\u0438\u0434\u0435\u043E (\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440 mp4, webm). \u041D\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u0441 API.Ai \u0434\u043B\u044F \u0432\u0438\u0434\u0435\u043E \u043D\u0443\u0436\u0435\u043D ffmpeg. \u0414\u043B\u044F \u0444\u0440\u0430\u0433\u043C\u0435\u043D\u0442\u043E\u0432 \u0441 \u0442\u0430\u0439\u043C\u043A\u043E\u0434\u0430\u043C\u0438 \u0434\u043E\u0431\u0430\u0432\u044C\u0442\u0435 \u043A \u0430\u0434\u0440\u0435\u0441\u0443 ?segments=1 \u0438\u043B\u0438 ?timestamps=true.","examples":[{"label":"\u0410\u0434\u0440\u0435\u0441","code":"/api/ai/transcribe"},{"label":"\u0410\u0434\u0440\u0435\u0441 \u0441 \u0442\u0430\u0439\u043C\u043A\u043E\u0434\u0430\u043C\u0438","code":"/api/ai/transcribe?segments=1  (\u0442\u043E \u0436\u0435: ?timestamps=true)"},{"label":"curl \u2014 \u0442\u043E\u043B\u044C\u043A\u043E \u0442\u0435\u043A\u0441\u0442","code":"curl -sS -X POST \u0022https://api.cerio.ru/api/ai/transcribe\u0022 -F \u0022file=@audio.wav\u0022"},{"label":"curl \u2014 \u0441\u0435\u0433\u043C\u0435\u043D\u0442\u044B \u0438 \u0432\u0440\u0435\u043C\u044F","code":"curl -sS -X POST \u0022https://api.cerio.ru/api/ai/transcribe?segments=1\u0022 -F \u0022file=@audio.wav\u0022"},{"label":"Python (httpx)","code":"import httpx\nwith open(\u0022audio.wav\u0022, \u0022rb\u0022) as f:\n    r = httpx.post(\u0022https://api.cerio.ru/api/ai/transcribe?segments=1\u0022, files={\u0022file\u0022: (\u0022audio.wav\u0022, f, \u0022audio/wav\u0022)})\nprint(r.json())"},{"label":"PowerShell","code":"$u = \u0022https://api.cerio.ru/api/ai/transcribe?timestamps=true\u0022\nInvoke-RestMethod -Uri $u -Method Post -Form @{ file = Get-Item \u0027audio.wav\u0027 }"},{"label":"fetch \u2014 \u0442\u043E\u043B\u044C\u043A\u043E \u0442\u0435\u043A\u0441\u0442","code":"const fd = new FormData();\nfd.append(\u0022file\u0022, document.getElementById(\u0022audio\u0022).files[0]);\nconst r = await fetch(\u0022https://api.cerio.ru/api/ai/transcribe\u0022, { method: \u0022POST\u0022, body: fd });\nconsole.log(await r.json());"},{"label":"fetch \u2014 \u0441\u0435\u0433\u043C\u0435\u043D\u0442\u044B","code":"const fd = new FormData();\nfd.append(\u0022file\u0022, document.getElementById(\u0022audio\u0022).files[0]);\nconst r = await fetch(\u0022https://api.cerio.ru/api/ai/transcribe?segments=1\u0022, { method: \u0022POST\u0022, body: fd });\nconsole.log(await r.json());"},{"label":"curl \u2014 \u0432\u0438\u0434\u0435\u043E (mp4)","code":"curl -sS -X POST \u0022https://api.cerio.ru/api/ai/transcribe?segments=1\u0022 -F \u0022file=@clip.mp4\u0022"}]},{"method":"GET","path":"/api/ai/v1/models","description":"\u0421\u043F\u0438\u0441\u043E\u043A \u043C\u043E\u0434\u0435\u043B\u0435\u0439 \u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0435, \u0441\u043E\u0432\u043C\u0435\u0441\u0442\u0438\u043C\u043E\u043C \u0441 OpenAI (object = list). \u0412 data \u2014 \u043C\u043E\u0434\u0435\u043B\u0438, \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0434\u043B\u044F \u0432\u044B\u0437\u043E\u0432\u0430: \u00ABCerio v1.5\u00BB \u2014 \u0447\u0430\u0442 \u0438 \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F, \u00ABcerio-embedding\u00BB \u2014 \u044D\u043C\u0431\u0435\u0434\u0434\u0438\u043D\u0433\u0438. \u041F\u043E\u043B\u0435 id \u0443\u043A\u0430\u0437\u044B\u0432\u0430\u0439\u0442\u0435 \u0432 model \u043F\u0440\u0438 POST /api/ai/v1/chat/completions \u0438\u043B\u0438 /api/ai/v1/embeddings. owned_by \u0441\u043B\u0443\u0436\u0435\u0431\u043D\u043E\u0435. \u041A\u043E\u0440\u043E\u0442\u043A\u0438\u0439 \u0430\u043B\u0438\u0430\u0441 \u0442\u043E\u0433\u043E \u0436\u0435 API \u2014 /v1/models.","params":"\u0422\u0435\u043B\u043E \u0437\u0430\u043F\u0440\u043E\u0441\u0430 \u043D\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044F. \u0411\u0435\u0437 \u0442\u043E\u043A\u0435\u043D\u0430 \u0437\u0430\u043F\u0440\u043E\u0441 \u0431\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u044B\u0439: 10 \u0437\u0430\u043F\u0440\u043E\u0441\u043E\u0432 \u0432 \u0441\u0443\u0442\u043A\u0438 \u0441 \u043E\u0434\u043D\u043E\u0433\u043E IP. \u0421 \u0442\u043E\u043A\u0435\u043D\u043E\u043C \u2014 \u043F\u043E \u043B\u0438\u043C\u0438\u0442\u0443 \u0442\u043E\u043A\u0435\u043D\u0430; \u043F\u0435\u0440\u0435\u0434\u0430\u0439\u0442\u0435 \u0435\u0433\u043E \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u043E\u043C X-Api-Token \u0438\u043B\u0438 Authorization: Bearer.","examples":[{"label":"PowerShell","code":"irm \u0022https://api.cerio.ru/api/ai/v1/models\u0022 -Headers @{ \u0022X-Api-Token\u0022 = \u0022\u003C\u0442\u043E\u043A\u0435\u043D\u003E\u0022 }"},{"label":"curl","code":"curl -s \u0022https://api.cerio.ru/api/ai/v1/models\u0022 -H \u0022X-Api-Token: \u003C\u0442\u043E\u043A\u0435\u043D\u003E\u0022"}]},{"method":"POST","path":"/api/ai/v1/chat/completions","description":"\u041E\u0442\u0432\u0435\u0442 \u043C\u043E\u0434\u0435\u043B\u0438 \u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0435, \u0441\u043E\u0432\u043C\u0435\u0441\u0442\u0438\u043C\u043E\u043C \u0441 OpenAI. \u0412 \u0442\u0435\u043B\u0435 JSON \u0443\u043A\u0430\u0436\u0438\u0442\u0435 model (\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 id \u0438\u0437 GET /api/ai/v1/models), \u043C\u0430\u0441\u0441\u0438\u0432 messages \u0441 \u0440\u043E\u043B\u044F\u043C\u0438 system, user, assistant. \u041E\u043F\u0446\u0438\u043E\u043D\u0430\u043B\u044C\u043D\u043E temperature, max_tokens, tools \u0438 stream. \u041F\u043E\u0442\u043E\u043A\u043E\u0432\u044B\u0439 \u0440\u0435\u0436\u0438\u043C stream: true \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044F: \u043E\u0442\u0432\u0435\u0442 \u043F\u0440\u0438\u0445\u043E\u0434\u0438\u0442 \u043A\u0430\u043A SSE (text/event-stream); \u0434\u043B\u044F \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043A\u0438 \u0442\u043E\u043A\u0435\u043D\u043E\u0432 \u0434\u043E\u0431\u0430\u0432\u044C\u0442\u0435 stream_options.include_usage. \u0418\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u043F\u0435\u0440\u0435\u0434\u0430\u044E\u0442\u0441\u044F \u043E\u0434\u043D\u043E\u0439 \u0441\u0441\u044B\u043B\u043A\u043E\u0439 data: \u0432 image_url. \u0412 \u043E\u0442\u0432\u0435\u0442\u0435 \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u043F\u043E\u043B\u0435 reasoning_content.","params":"Content-Type: application/json. \u041F\u043E\u043B\u044F: model, messages (role \u0438 content \u2014 \u0441\u0442\u0440\u043E\u043A\u0430 \u0438\u043B\u0438 \u0447\u0430\u0441\u0442\u0438 multimodal), temperature, max_tokens, stream, stream_options, tools. \u041F\u0440\u0438 \u043F\u0435\u0440\u0435\u0434\u0430\u0447\u0435 tools \u0437\u0430\u043F\u0440\u043E\u0441 \u043E\u0431\u0441\u043B\u0443\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044F \u043C\u043E\u0434\u0435\u043B\u044C\u044E \u0441 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u043E\u0439 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u043E\u0432, \u043F\u043E\u044D\u0442\u043E\u043C\u0443 model \u0432 \u043E\u0442\u0432\u0435\u0442\u0435 \u043C\u043E\u0436\u0435\u0442 \u043E\u0442\u043B\u0438\u0447\u0430\u0442\u044C\u0441\u044F \u043E\u0442 \u0437\u0430\u043F\u0440\u043E\u0448\u0435\u043D\u043D\u043E\u0433\u043E. \u0411\u0435\u0437 \u0442\u043E\u043A\u0435\u043D\u0430 \u0437\u0430\u043F\u0440\u043E\u0441 \u0431\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u044B\u0439: 10 \u0437\u0430\u043F\u0440\u043E\u0441\u043E\u0432 \u0432 \u0441\u0443\u0442\u043A\u0438 \u0441 \u043E\u0434\u043D\u043E\u0433\u043E IP. \u0421 \u0442\u043E\u043A\u0435\u043D\u043E\u043C \u2014 \u043F\u043E \u043B\u0438\u043C\u0438\u0442\u0443 \u0442\u043E\u043A\u0435\u043D\u0430; \u043F\u0435\u0440\u0435\u0434\u0430\u0439\u0442\u0435 \u0435\u0433\u043E \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u043E\u043C X-Api-Token \u0438\u043B\u0438 Authorization: Bearer.","examples":[{"label":"PowerShell","code":"$body = @{ model = \u0022Cerio v1.5\u0022; messages = @(@{ role = \u0022user\u0022; content = \u0022\u041F\u0440\u0438\u0432\u0435\u0442\u0022 }) } | ConvertTo-Json -Depth 5; Invoke-RestMethod -Uri \u0022https://api.cerio.ru/api/ai/v1/chat/completions\u0022 -Method Post -Body $body -ContentType \u0022application/json\u0022 -Headers @{ \u0022X-Api-Token\u0022 = \u0022\u003C\u0442\u043E\u043A\u0435\u043D\u003E\u0022 }"},{"label":"curl","code":"curl -s \u0022https://api.cerio.ru/api/ai/v1/chat/completions\u0022 -H \u0022Content-Type: application/json\u0022 -H \u0022X-Api-Token: \u003C\u0442\u043E\u043A\u0435\u043D\u003E\u0022 -d \u0027{\u0022model\u0022:\u0022Cerio v1.5\u0022,\u0022messages\u0022:[{\u0022role\u0022:\u0022user\u0022,\u0022content\u0022:\u0022\u041F\u0440\u0438\u0432\u0435\u0442\u0022}]}\u0027"},{"label":"JavaScript fetch","code":"const r = await fetch(\u0022https://api.cerio.ru/api/ai/v1/chat/completions\u0022, { method: \u0022POST\u0022, headers: { \u0022Content-Type\u0022: \u0022application/json\u0022, \u0022X-Api-Token\u0022: \u0022\u003C\u0442\u043E\u043A\u0435\u043D\u003E\u0022 }, body: JSON.stringify({ model: \u0022Cerio v1.5\u0022, messages: [{ role: \u0022user\u0022, content: \u0022\u041F\u0440\u0438\u0432\u0435\u0442\u0022 }] }) }); console.log(await r.json());"},{"label":"curl (stream)","code":"curl -N \u0022https://api.cerio.ru/api/ai/v1/chat/completions\u0022 -H \u0022Content-Type: application/json\u0022 -H \u0022X-Api-Token: \u003C\u0442\u043E\u043A\u0435\u043D\u003E\u0022 -d \u0027{\u0022model\u0022:\u0022Cerio v1.5\u0022,\u0022messages\u0022:[{\u0022role\u0022:\u0022user\u0022,\u0022content\u0022:\u0022\u041F\u0440\u0438\u0432\u0435\u0442\u0022}],\u0022stream\u0022:true}\u0027"}]},{"method":"POST","path":"/api/ai/v1/embeddings","description":"\u0427\u0438\u0441\u043B\u043E\u0432\u044B\u0435 \u0432\u0435\u043A\u0442\u043E\u0440\u044B \u0442\u0435\u043A\u0441\u0442\u0430 \u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0435, \u0441\u043E\u0432\u043C\u0435\u0441\u0442\u0438\u043C\u043E\u043C \u0441 OpenAI. \u041F\u0435\u0440\u0435\u0434\u0430\u0439\u0442\u0435 input \u2014 \u0441\u0442\u0440\u043E\u043A\u0443 \u0438\u043B\u0438 \u043C\u0430\u0441\u0441\u0438\u0432 \u0441\u0442\u0440\u043E\u043A; model \u043D\u0435\u043E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u0435\u043D: \u00ABcerio-embedding\u00BB \u0438\u043B\u0438 \u043E\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0435 \u043F\u043E\u043B\u044F \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0442 \u0437\u0430\u043F\u0440\u043E\u0441 \u043D\u0430 \u043C\u043E\u0434\u0435\u043B\u044C \u044D\u043C\u0431\u0435\u0434\u0434\u0438\u043D\u0433\u043E\u0432 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E. \u041E\u0442\u0432\u0435\u0442: object = list, data \u0441 \u043F\u043E\u043B\u044F\u043C\u0438 object, embedding (1024 \u0447\u0438\u0441\u043B\u0430) \u0438 index, \u0430 \u0442\u0430\u043A\u0436\u0435 model \u0438 usage. \u0412\u0435\u043A\u0442\u043E\u0440\u044B \u043F\u043E\u0434\u0445\u043E\u0434\u044F\u0442 \u0434\u043B\u044F \u0441\u0435\u043C\u0430\u043D\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0433\u043E \u043F\u043E\u0438\u0441\u043A\u0430, \u043A\u043B\u0430\u0441\u0442\u0435\u0440\u0438\u0437\u0430\u0446\u0438\u0438 \u0438 RAG.","params":"Content-Type: application/json. \u041F\u043E\u043B\u044F: input (\u043E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u043E) \u2014 \u043D\u0435\u043F\u0443\u0441\u0442\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430 \u0438\u043B\u0438 \u043C\u0430\u0441\u0441\u0438\u0432 \u043D\u0435\u043F\u0443\u0441\u0442\u044B\u0445 \u0441\u0442\u0440\u043E\u043A; model (\u043D\u0435\u043E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u043E) \u2014 \u00ABcerio-embedding\u00BB \u0438\u043B\u0438 null. \u0420\u0430\u0437\u043C\u0435\u0440\u043D\u043E\u0441\u0442\u044C \u0432\u0441\u0435\u0433\u0434\u0430 1024, \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 dimensions \u0438\u0433\u043D\u043E\u0440\u0438\u0440\u0443\u0435\u0442\u0441\u044F; encoding_format \u043D\u0435 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044F \u2014 \u0432\u0435\u043A\u0442\u043E\u0440\u044B \u0432\u043E\u0437\u0432\u0440\u0430\u0449\u0430\u044E\u0442\u0441\u044F \u0447\u0438\u0441\u043B\u0430\u043C\u0438. \u0422\u043E\u043A\u0435\u043D\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 input (\u043C\u0430\u0441\u0441\u0438\u0432\u044B \u0447\u0438\u0441\u0435\u043B) \u043E\u0442\u043A\u043B\u043E\u043D\u044F\u0435\u0442\u0441\u044F. \u0411\u0435\u0437 \u0442\u043E\u043A\u0435\u043D\u0430 \u0437\u0430\u043F\u0440\u043E\u0441 \u0431\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u044B\u0439: 10 \u0437\u0430\u043F\u0440\u043E\u0441\u043E\u0432 \u0432 \u0441\u0443\u0442\u043A\u0438 \u0441 \u043E\u0434\u043D\u043E\u0433\u043E IP. \u0421 \u0442\u043E\u043A\u0435\u043D\u043E\u043C \u2014 \u043F\u043E \u043B\u0438\u043C\u0438\u0442\u0443 \u0442\u043E\u043A\u0435\u043D\u0430; \u043F\u0435\u0440\u0435\u0434\u0430\u0439\u0442\u0435 \u0435\u0433\u043E \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u043E\u043C X-Api-Token \u0438\u043B\u0438 Authorization: Bearer.","examples":[{"label":"PowerShell","code":"$body = @{ model = \u0022cerio-embedding\u0022; input = @(\u0022\u043F\u0435\u0440\u0432\u044B\u0439 \u0442\u0435\u043A\u0441\u0442\u0022, \u0022\u0432\u0442\u043E\u0440\u043E\u0439 \u0442\u0435\u043A\u0441\u0442\u0022) } | ConvertTo-Json; Invoke-RestMethod -Uri \u0022https://api.cerio.ru/api/ai/v1/embeddings\u0022 -Method Post -Body $body -ContentType \u0022application/json\u0022 -Headers @{ \u0022X-Api-Token\u0022 = \u0022\u003C\u0442\u043E\u043A\u0435\u043D\u003E\u0022 }"},{"label":"curl","code":"curl -s \u0022https://api.cerio.ru/api/ai/v1/embeddings\u0022 -H \u0022Content-Type: application/json\u0022 -H \u0022X-Api-Token: \u003C\u0442\u043E\u043A\u0435\u043D\u003E\u0022 -d \u0027{\u0022model\u0022:\u0022cerio-embedding\u0022,\u0022input\u0022:[\u0022\u043F\u0435\u0440\u0432\u044B\u0439 \u0442\u0435\u043A\u0441\u0442\u0022,\u0022\u0432\u0442\u043E\u0440\u043E\u0439 \u0442\u0435\u043A\u0441\u0442\u0022]}\u0027"},{"label":"JavaScript fetch","code":"const r = await fetch(\u0022https://api.cerio.ru/api/ai/v1/embeddings\u0022, { method: \u0022POST\u0022, headers: { \u0022Content-Type\u0022: \u0022application/json\u0022, \u0022X-Api-Token\u0022: \u0022\u003C\u0442\u043E\u043A\u0435\u043D\u003E\u0022 }, body: JSON.stringify({ model: \u0022cerio-embedding\u0022, input: [\u0022\u043F\u0435\u0440\u0432\u044B\u0439 \u0442\u0435\u043A\u0441\u0442\u0022, \u0022\u0432\u0442\u043E\u0440\u043E\u0439 \u0442\u0435\u043A\u0441\u0442\u0022] }) }); const { data } = await r.json(); console.log(data[0].embedding.length); // 1024"}]},{"method":"POST","path":"/api/ai/v1/responses","description":"\u041E\u0442\u0432\u0435\u0442 \u043C\u043E\u0434\u0435\u043B\u0438 \u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0435 Responses API. \u041F\u0435\u0440\u0435\u0434\u0430\u0439\u0442\u0435 model (\u00ABCerio v1.5\u00BB) \u0438 input \u2014 \u0441\u0442\u0440\u043E\u043A\u0443 \u0438\u043B\u0438 \u043C\u0430\u0441\u0441\u0438\u0432 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0439 \u0441 role \u0438 content. \u041F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044E\u0442\u0441\u044F stream: true (SSE-\u0441\u043E\u0431\u044B\u0442\u0438\u044F \u0441 \u043F\u0440\u0435\u0444\u0438\u043A\u0441\u043E\u043C response.), instructions, max_output_tokens \u0438 tools. \u0412 output \u043F\u0440\u0438\u0445\u043E\u0434\u044F\u0442 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B reasoning (\u0441\u0432\u043E\u0434\u043A\u0430 \u0440\u0430\u0441\u0441\u0443\u0436\u0434\u0435\u043D\u0438\u0439) \u0438 message \u0441 \u0442\u0435\u043A\u0441\u0442\u043E\u043C; usage \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u0442 input_tokens, output_tokens \u0438 total_tokens.","params":"Content-Type: application/json. \u041F\u043E\u043B\u044F: model, input (\u0441\u0442\u0440\u043E\u043A\u0430 \u0438\u043B\u0438 \u043C\u0430\u0441\u0441\u0438\u0432 \u043E\u0431\u044A\u0435\u043A\u0442\u043E\u0432 role \u0438 content), instructions, max_output_tokens, stream, tools. \u041E\u0442\u0432\u0435\u0442: id, object = response, status, model, output (\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B reasoning \u0438 message), usage. \u041E\u0448\u0438\u0431\u043A\u0438 \u2014 \u043E\u0431\u044A\u0435\u043A\u0442 error \u0441 \u043F\u043E\u043B\u044F\u043C\u0438 message \u0438 type. \u0411\u0435\u0437 \u0442\u043E\u043A\u0435\u043D\u0430 \u0437\u0430\u043F\u0440\u043E\u0441 \u0431\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u044B\u0439: 10 \u0437\u0430\u043F\u0440\u043E\u0441\u043E\u0432 \u0432 \u0441\u0443\u0442\u043A\u0438 \u0441 \u043E\u0434\u043D\u043E\u0433\u043E IP. \u0421 \u0442\u043E\u043A\u0435\u043D\u043E\u043C \u2014 \u043F\u043E \u043B\u0438\u043C\u0438\u0442\u0443 \u0442\u043E\u043A\u0435\u043D\u0430; \u043F\u0435\u0440\u0435\u0434\u0430\u0439\u0442\u0435 \u0435\u0433\u043E \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u043E\u043C X-Api-Token \u0438\u043B\u0438 Authorization: Bearer.","examples":[{"label":"PowerShell","code":"$body = @{ model = \u0022Cerio v1.5\u0022; input = \u0022\u041F\u0440\u0438\u0432\u0435\u0442\u0022 } | ConvertTo-Json; Invoke-RestMethod -Uri \u0022https://api.cerio.ru/api/ai/v1/responses\u0022 -Method Post -Body $body -ContentType \u0022application/json\u0022 -Headers @{ \u0022X-Api-Token\u0022 = \u0022\u003C\u0442\u043E\u043A\u0435\u043D\u003E\u0022 }"},{"label":"curl","code":"curl -s \u0022https://api.cerio.ru/api/ai/v1/responses\u0022 -H \u0022Content-Type: application/json\u0022 -H \u0022X-Api-Token: \u003C\u0442\u043E\u043A\u0435\u043D\u003E\u0022 -d \u0027{\u0022model\u0022:\u0022Cerio v1.5\u0022,\u0022input\u0022:\u0022\u041F\u0440\u0438\u0432\u0435\u0442\u0022}\u0027"},{"label":"JavaScript fetch","code":"const r = await fetch(\u0022https://api.cerio.ru/api/ai/v1/responses\u0022, { method: \u0022POST\u0022, headers: { \u0022Content-Type\u0022: \u0022application/json\u0022, \u0022X-Api-Token\u0022: \u0022\u003C\u0442\u043E\u043A\u0435\u043D\u003E\u0022 }, body: JSON.stringify({ model: \u0022Cerio v1.5\u0022, input: \u0022\u041F\u0440\u0438\u0432\u0435\u0442\u0022 }) }); console.log(await r.json());"}]}]},{"id":"barcode","title":"\u0428\u0442\u0440\u0438\u0445\u043A\u043E\u0434\u044B","description":null,"endpoints":[{"method":"GET","path":"/api/barcode/generate","description":"\u0413\u0435\u043D\u0435\u0440\u0430\u0446\u0438\u044F \u0448\u0442\u0440\u0438\u0445\u043A\u043E\u0434\u0430 (PNG). format=QR_CODE \u0438 \u0434\u0440.","params":"text (\u043E\u0431\u044F\u0437.), format=QR_CODE, width, height, margin=2, signature=true, output (json \u2014 base64)","examples":[{"label":"URL","code":"/api/barcode/generate?text=Hello\u0026format=QR_CODE"},{"label":"curl","code":"curl \u0022https://api.cerio.ru/api/barcode/generate?text=Hello\u0026format=QR_CODE\u0022"},{"label":"fetch","code":"fetch(\u0060https://api.cerio.ru/api/barcode/generate?text=Hello\u0026format=QR_CODE\u0060).then(r =\u003E r.blob())"},{"label":"powershell","code":"Invoke-RestMethod -Uri \u0022https://api.cerio.ru/api/barcode/generate?text=Hello\u0026format=QR_CODE\u0022 -Method Get -OutFile qr.png"},{"label":"csharp","code":"using var client = new HttpClient(); var bytes = await client.GetByteArrayAsync(\u0022https://api.cerio.ru/api/barcode/generate?text=Hello\u0026format=QR_CODE\u0022);"}]},{"method":"GET","path":"/api/barcode/formats","description":"\u0421\u043F\u0438\u0441\u043E\u043A \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043C\u044B\u0445 \u0444\u043E\u0440\u043C\u0430\u0442\u043E\u0432","params":null,"examples":[{"label":"URL","code":"/api/barcode/formats"},{"label":"curl","code":"curl \u0022https://api.cerio.ru/api/barcode/formats\u0022"},{"label":"fetch","code":"fetch(\u0060https://api.cerio.ru/api/barcode/formats\u0060).then(r =\u003E r.json()).then(console.log);"},{"label":"powershell","code":"Invoke-RestMethod -Uri \u0022https://api.cerio.ru/api/barcode/formats\u0022 -Method Get"},{"label":"csharp","code":"using var client = new HttpClient(); var json = await client.GetStringAsync(\u0022https://api.cerio.ru/api/barcode/formats\u0022);"}]},{"method":"POST","path":"/api/barcode/recognize","description":"\u0420\u0430\u0441\u043F\u043E\u0437\u043D\u0430\u0432\u0430\u043D\u0438\u0435 \u0448\u0442\u0440\u0438\u0445\u043A\u043E\u0434\u0430 \u043D\u0430 \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0438 (multipart/form-data, \u043F\u043E\u043B\u0435 file)","params":null,"examples":[{"label":"curl-multipart","code":"curl -X POST \u0022https://api.cerio.ru/api/barcode/recognize\u0022 -F \u0022file=@image.png\u0022"},{"label":"fetch-multipart","code":"const fd = new FormData(); fd.append(\u0022file\u0022, fileInput.files[0]); fetch(\u0060https://api.cerio.ru/api/barcode/recognize\u0060, { method: \u0022POST\u0022, body: fd }).then(r =\u003E r.json()).then(console.log);"},{"label":"powershell-multipart","code":"$form = @{ file = Get-Item \u0022image.png\u0022 }; Invoke-RestMethod -Uri \u0022https://api.cerio.ru/api/barcode/recognize\u0022 -Method Post -Form $form"},{"label":"csharp-multipart","code":"using var content = new MultipartFormDataContent(); content.Add(new ByteArrayContent(File.ReadAllBytes(\u0022image.png\u0022)), \u0022file\u0022, \u0022image.png\u0022); var response = await new HttpClient().PostAsync(\u0022https://api.cerio.ru/api/barcode/recognize\u0022, content);"}]}]},{"id":"currency","title":"\u0412\u0430\u043B\u044E\u0442\u0430","description":null,"endpoints":[{"method":"GET","path":"/api/currency","description":"\u041A\u0443\u0440\u0441\u044B \u0432\u0430\u043B\u044E\u0442","params":"baseCurrency=rub, currencies=usd,eur (\u0447\u0435\u0440\u0435\u0437 \u0437\u0430\u043F\u044F\u0442\u0443\u044E)","examples":[{"label":"URL","code":"/api/currency?baseCurrency=rub\u0026currencies=usd,eur"},{"label":"curl","code":"curl \u0022https://api.cerio.ru/api/currency?baseCurrency=rub\u0026currencies=usd,eur\u0022"},{"label":"fetch","code":"fetch(\u0060https://api.cerio.ru/api/currency?baseCurrency=rub\u0026currencies=usd,eur\u0060).then(r =\u003E r.json()).then(console.log);"},{"label":"powershell","code":"Invoke-RestMethod -Uri \u0022https://api.cerio.ru/api/currency?baseCurrency=rub\u0026currencies=usd,eur\u0022 -Method Get"},{"label":"csharp","code":"using var client = new HttpClient(); var json = await client.GetStringAsync(\u0022https://api.cerio.ru/api/currency?baseCurrency=rub\u0026currencies=usd,eur\u0022);"}]},{"method":"GET","path":"/api/currency/list","description":"\u0421\u043F\u0438\u0441\u043E\u043A \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445 \u0432\u0430\u043B\u044E\u0442","params":null,"examples":[{"label":"URL","code":"/api/currency/list"},{"label":"curl","code":"curl \u0022https://api.cerio.ru/api/currency/list\u0022"},{"label":"fetch","code":"fetch(\u0060https://api.cerio.ru/api/currency/list\u0060).then(r =\u003E r.json()).then(console.log);"},{"label":"powershell","code":"Invoke-RestMethod -Uri \u0022https://api.cerio.ru/api/currency/list\u0022 -Method Get"},{"label":"csharp","code":"using var client = new HttpClient(); var json = await client.GetStringAsync(\u0022https://api.cerio.ru/api/currency/list\u0022);"}]}]},{"id":"datetime","title":"\u0414\u0430\u0442\u0430 \u0438 \u0432\u0440\u0435\u043C\u044F","description":null,"endpoints":[{"method":"GET","path":"/api/datetime/now","description":"\u0422\u0435\u043A\u0443\u0449\u0435\u0435 \u0432\u0440\u0435\u043C\u044F (\u043B\u043E\u043A\u0430\u043B\u044C\u043D\u043E\u0435 \u002B UTC)","params":null,"examples":[{"label":"URL","code":"/api/datetime/now"},{"label":"curl","code":"curl \u0022https://api.cerio.ru/api/datetime/now\u0022"},{"label":"fetch","code":"fetch(\u0060https://api.cerio.ru/api/datetime/now\u0060).then(r =\u003E r.json()).then(console.log);"},{"label":"powershell","code":"Invoke-RestMethod -Uri \u0022https://api.cerio.ru/api/datetime/now\u0022 -Method Get"},{"label":"csharp","code":"using var client = new HttpClient(); var json = await client.GetStringAsync(\u0022https://api.cerio.ru/api/datetime/now\u0022);"}]},{"method":"GET","path":"/api/datetime/in","description":"\u0412\u0440\u0435\u043C\u044F \u0432 \u0433\u043E\u0440\u043E\u0434\u0435 \u0438\u043B\u0438 \u0447\u0430\u0441\u043E\u0432\u043E\u043C \u043F\u043E\u044F\u0441\u0435","params":"place (\u043E\u0431\u044F\u0437.) \u2014 \u0433\u043E\u0440\u043E\u0434 \u0438\u043B\u0438 Europe/Moscow, countryCode (\u043E\u043F\u0446.)","examples":[{"label":"URL","code":"/api/datetime/in?place=Moscow"},{"label":"curl","code":"curl \u0022https://api.cerio.ru/api/datetime/in?place=Moscow\u0022"},{"label":"fetch","code":"fetch(\u0060https://api.cerio.ru/api/datetime/in?place=Moscow\u0060).then(r =\u003E r.json()).then(console.log);"},{"label":"powershell","code":"Invoke-RestMethod -Uri \u0022https://api.cerio.ru/api/datetime/in?place=Moscow\u0022 -Method Get"},{"label":"csharp","code":"using var client = new HttpClient(); var json = await client.GetStringAsync(\u0022https://api.cerio.ru/api/datetime/in?place=Moscow\u0022);"}]},{"method":"GET","path":"/api/datetime/convert","description":"\u041A\u043E\u043D\u0432\u0435\u0440\u0442\u0430\u0446\u0438\u044F \u0434\u0430\u0442\u044B \u043C\u0435\u0436\u0434\u0443 \u0447\u0430\u0441\u043E\u0432\u044B\u043C\u0438 \u043F\u043E\u044F\u0441\u0430\u043C\u0438","params":"date, from, to \u2014 \u0447\u0430\u0441\u043E\u0432\u044B\u0435 \u043F\u043E\u044F\u0441\u0430","examples":[{"label":"URL","code":"/api/datetime/convert?date=2025-02-28%2012:00\u0026from=Europe/Moscow\u0026to=America/New_York"},{"label":"curl","code":"curl \u0022https://api.cerio.ru/api/datetime/convert?date=2025-02-28%2012:00\u0026from=Europe/Moscow\u0026to=America/New_York\u0022"},{"label":"fetch","code":"fetch(\u0060https://api.cerio.ru/api/datetime/convert?date=2025-02-28%2012:00\u0026from=Europe/Moscow\u0026to=America/New_York\u0060).then(r =\u003E r.json()).then(console.log);"},{"label":"powershell","code":"Invoke-RestMethod -Uri \u0022https://api.cerio.ru/api/datetime/convert?date=2025-02-28%2012:00\u0026from=Europe/Moscow\u0026to=America/New_York\u0022 -Method Get"},{"label":"csharp","code":"using var client = new HttpClient(); var json = await client.GetStringAsync(\u0022https://api.cerio.ru/api/datetime/convert?date=2025-02-28%2012:00\u0026from=Europe/Moscow\u0026to=America/New_York\u0022);"}]},{"method":"GET","path":"/api/datetime/diff","description":"\u0420\u0430\u0437\u043D\u0438\u0446\u0430 \u043C\u0435\u0436\u0434\u0443 \u0434\u0432\u0443\u043C\u044F \u0434\u0430\u0442\u0430\u043C\u0438","params":"from, to","examples":[{"label":"URL","code":"/api/datetime/diff?from=2025-01-01\u0026to=2025-02-28"},{"label":"curl","code":"curl \u0022https://api.cerio.ru/api/datetime/diff?from=2025-01-01\u0026to=2025-02-28\u0022"},{"label":"fetch","code":"fetch(\u0060https://api.cerio.ru/api/datetime/diff?from=2025-01-01\u0026to=2025-02-28\u0060).then(r =\u003E r.json()).then(console.log);"},{"label":"powershell","code":"Invoke-RestMethod -Uri \u0022https://api.cerio.ru/api/datetime/diff?from=2025-01-01\u0026to=2025-02-28\u0022 -Method Get"},{"label":"csharp","code":"using var client = new HttpClient(); var json = await client.GetStringAsync(\u0022https://api.cerio.ru/api/datetime/diff?from=2025-01-01\u0026to=2025-02-28\u0022);"}]},{"method":"POST","path":"/api/datetime/mcp","description":"MCP JSON-RPC endpoint (initialize, tools/list, tools/call)","params":"jsonrpc,id,method,params","examples":[{"label":"LM Studio (mcp.json)","code":"{\u0022mcpServers\u0022:{\u0022datetime\u0022:{\u0022url\u0022:\u0022https://cerio.ru/api/datetime/mcp\u0022}}}"},{"label":"JSON (tools/call datetime_now)","code":"{\u0022jsonrpc\u0022:\u00222.0\u0022,\u0022id\u0022:4,\u0022method\u0022:\u0022tools/call\u0022,\u0022params\u0022:{\u0022name\u0022:\u0022datetime_now\u0022,\u0022arguments\u0022:{}}}"},{"label":"LM Studio \u0441 \u0442\u043E\u043A\u0435\u043D\u043E\u043C","code":"{\u0022mcpServers\u0022:{\u0022datetime\u0022:{\u0022url\u0022:\u0022https://cerio.ru/api/datetime/mcp\u0022,\u0022headers\u0022:{\u0022Authorization\u0022:\u0022Bearer YOUR_TOKEN\u0022}}}}"},{"label":"URL","code":"/api/datetime/mcp"},{"label":"curl (initialize)","code":"curl -X POST \u0022https://api.cerio.ru/api/datetime/mcp\u0022 -H \u0022Content-Type: application/json\u0022 -d \u0022{\\\u0022jsonrpc\\\u0022:\\\u00222.0\\\u0022,\\\u0022id\\\u0022:1,\\\u0022method\\\u0022:\\\u0022initialize\\\u0022,\\\u0022params\\\u0022:{}}\u0022"},{"label":"curl (tools/call datetime_in)","code":"curl -X POST \u0022https://api.cerio.ru/api/datetime/mcp\u0022 -H \u0022Content-Type: application/json\u0022 -d \u0022{\\\u0022jsonrpc\\\u0022:\\\u00222.0\\\u0022,\\\u0022id\\\u0022:3,\\\u0022method\\\u0022:\\\u0022tools/call\\\u0022,\\\u0022params\\\u0022:{\\\u0022name\\\u0022:\\\u0022datetime_in\\\u0022,\\\u0022arguments\\\u0022:{\\\u0022place\\\u0022:\\\u0022Moscow\\\u0022}}}\u0022"},{"label":"curl (tools/list)","code":"curl -X POST \u0022https://api.cerio.ru/api/datetime/mcp\u0022 -H \u0022Content-Type: application/json\u0022 -d \u0022{\\\u0022jsonrpc\\\u0022:\\\u00222.0\\\u0022,\\\u0022id\\\u0022:2,\\\u0022method\\\u0022:\\\u0022tools/list\\\u0022,\\\u0022params\\\u0022:{}}\u0022"}]},{"method":"GET","path":"/api/datetime/mcp/examples","description":"\u0413\u043E\u0442\u043E\u0432\u044B\u0435 \u043F\u0440\u0438\u043C\u0435\u0440\u044B MCP-\u0437\u0430\u043F\u0440\u043E\u0441\u043E\u0432 \u0434\u043B\u044F DateTime","params":"-","examples":[{"label":"URL","code":"/api/datetime/mcp/examples"},{"label":"curl","code":"curl \u0022https://api.cerio.ru/api/datetime/mcp/examples\u0022"}]}]},{"id":"horoscope","title":"\u0413\u043E\u0440\u043E\u0441\u043A\u043E\u043F","description":null,"endpoints":[{"method":"GET","path":"/api/horoscope","description":"\u0413\u043E\u0440\u043E\u0441\u043A\u043E\u043F \u043D\u0430 7 \u0434\u043D\u0435\u0439 \u0434\u043B\u044F \u0437\u043D\u0430\u043A\u0430 \u0437\u043E\u0434\u0438\u0430\u043A\u0430","params":"sign (\u043E\u0431\u044F\u0437.) \u2014 aries, taurus, gemini \u0438 \u0442.\u0434.; date (\u043E\u043F\u0446.) yyyy-MM-dd; extended=1","examples":[{"label":"URL","code":"https://api.cerio.ru/api/horoscope?sign=leo\u0026extended=luckyNumbers,luckyColors,compatibility,loveRelationships,careerFinance,health,moodOfDay,luckyDayOfWeek,adviceOfDay"},{"label":"curl","code":"curl \u0022https://api.cerio.ru/api/horoscope?sign=leo\u0026extended=luckyNumbers,luckyColors,compatibility,loveRelationships,careerFinance,health,moodOfDay,luckyDayOfWeek,adviceOfDay\u0022"},{"label":"fetch","code":"fetch(\u0060https://api.cerio.ru/api/horoscope?sign=leo\u0026extended=luckyNumbers,luckyColors,compatibility,loveRelationships,careerFinance,health,moodOfDay,luckyDayOfWeek,adviceOfDay\u0060).then(r =\u003E r.json()).then(console.log);"},{"label":"powershell","code":"Invoke-RestMethod -Uri \u0022https://api.cerio.ru/api/horoscope?sign=leo\u0026extended=luckyNumbers,luckyColors,compatibility,loveRelationships,careerFinance,health,moodOfDay,luckyDayOfWeek,adviceOfDay\u0022 -Method Get"},{"label":"csharp","code":"using var client = new HttpClient(); var json = await client.GetStringAsync(\u0022https://api.cerio.ru/api/horoscope?sign=leo\u0026extended=luckyNumbers,luckyColors,compatibility,loveRelationships,careerFinance,health,moodOfDay,luckyDayOfWeek,adviceOfDay\u0022);"}]},{"method":"GET","path":"/api/horoscope/signs","description":"\u0421\u043F\u0438\u0441\u043E\u043A \u0437\u043D\u0430\u043A\u043E\u0432 \u0437\u043E\u0434\u0438\u0430\u043A\u0430","params":null,"examples":[{"label":"URL","code":"/api/horoscope/signs"},{"label":"curl","code":"curl \u0022https://api.cerio.ru/api/horoscope/signs\u0022"},{"label":"fetch","code":"fetch(\u0060https://api.cerio.ru/api/horoscope/signs\u0060).then(r =\u003E r.json()).then(console.log);"},{"label":"powershell","code":"Invoke-RestMethod -Uri \u0022https://api.cerio.ru/api/horoscope/signs\u0022 -Method Get"},{"label":"csharp","code":"using var client = new HttpClient(); var json = await client.GetStringAsync(\u0022https://api.cerio.ru/api/horoscope/signs\u0022);"}]}]},{"id":"ip","title":"IP","description":null,"endpoints":[{"method":"GET","path":"/api/ip/address","description":"IP-\u0430\u0434\u0440\u0435\u0441 \u0432\u044B\u0437\u044B\u0432\u0430\u044E\u0449\u0435\u0433\u043E \u043A\u043B\u0438\u0435\u043D\u0442\u0430","params":null,"examples":[{"label":"URL","code":"/api/ip/address"},{"label":"curl","code":"curl \u0022https://api.cerio.ru/api/ip/address\u0022"},{"label":"fetch","code":"fetch(\u0060https://api.cerio.ru/api/ip/address\u0060).then(r =\u003E r.json()).then(console.log);"},{"label":"powershell","code":"Invoke-RestMethod -Uri \u0022https://api.cerio.ru/api/ip/address\u0022 -Method Get"},{"label":"csharp","code":"using var client = new HttpClient(); var json = await client.GetStringAsync(\u0022https://api.cerio.ru/api/ip/address\u0022);"}]},{"method":"GET","path":"/api/ip/geolocation","description":"\u0413\u0435\u043E\u043B\u043E\u043A\u0430\u0446\u0438\u044F \u043F\u043E IP","params":"ip (\u043E\u043F\u0446.) \u2014 IP \u0434\u043B\u044F \u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0438; \u0431\u0435\u0437 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430 \u2014 \u0432\u0430\u0448 IP","examples":[{"label":"URL","code":"/api/ip/geolocation?ip=8.8.8.8"},{"label":"curl","code":"curl \u0022https://api.cerio.ru/api/ip/geolocation?ip=8.8.8.8\u0022"},{"label":"fetch","code":"fetch(\u0060https://api.cerio.ru/api/ip/geolocation?ip=8.8.8.8\u0060).then(r =\u003E r.json()).then(console.log);"},{"label":"powershell","code":"Invoke-RestMethod -Uri \u0022https://api.cerio.ru/api/ip/geolocation?ip=8.8.8.8\u0022 -Method Get"},{"label":"csharp","code":"using var client = new HttpClient(); var json = await client.GetStringAsync(\u0022https://api.cerio.ru/api/ip/geolocation?ip=8.8.8.8\u0022);"}]},{"method":"GET","path":"/api/ip/timezone","description":"\u0427\u0430\u0441\u043E\u0432\u043E\u0439 \u043F\u043E\u044F\u0441 \u0438 \u043B\u043E\u043A\u0430\u043B\u044C\u043D\u043E\u0435 \u0432\u0440\u0435\u043C\u044F \u043F\u043E IP","params":"ip (\u043E\u043F\u0446.)","examples":[{"label":"URL","code":"/api/ip/timezone"},{"label":"curl","code":"curl \u0022https://api.cerio.ru/api/ip/timezone\u0022"},{"label":"fetch","code":"fetch(\u0060https://api.cerio.ru/api/ip/timezone\u0060).then(r =\u003E r.json()).then(console.log);"},{"label":"powershell","code":"Invoke-RestMethod -Uri \u0022https://api.cerio.ru/api/ip/timezone\u0022 -Method Get"},{"label":"csharp","code":"using var client = new HttpClient(); var json = await client.GetStringAsync(\u0022https://api.cerio.ru/api/ip/timezone\u0022);"}]}]},{"id":"mcpcalculator","title":"MCP Calculator","description":null,"endpoints":[{"method":"POST","path":"/api/mcpcalculator/mcp","description":"MCP JSON-RPC: initialize, tools/list, tools/call. Tools: calculator_calculate, calculator_arithmetic, calculator_percent, calculator_convert_units","params":"jsonrpc,id,method,params","examples":[{"label":"LM Studio (mcp.json)","code":"{\u0022mcpServers\u0022:{\u0022calculator\u0022:{\u0022url\u0022:\u0022https://cerio.ru/api/mcpcalculator/mcp\u0022}}}"},{"label":"curl (tools/call)","code":"curl -X POST \u0022https://api.cerio.ru/api/mcpcalculator/mcp\u0022 -H \u0022Content-Type: application/json\u0022 -d \u0022{\\\u0022jsonrpc\\\u0022:\\\u00222.0\\\u0022,\\\u0022id\\\u0022:1,\\\u0022method\\\u0022:\\\u0022tools/call\\\u0022,\\\u0022params\\\u0022:{\\\u0022name\\\u0022:\\\u0022calculator_calculate\\\u0022,\\\u0022arguments\\\u0022:{\\\u0022expression\\\u0022:\\\u00222\u002B2\\\u0022}}}\u0022"}]},{"method":"GET","path":"/api/mcpcalculator/mcp","description":"\u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F \u043E MCP endpoint","params":"-","examples":[{"label":"URL","code":"/api/mcpcalculator/mcp"},{"label":"curl","code":"curl \u0022https://api.cerio.ru/api/mcpcalculator/mcp\u0022"}]}]},{"id":"mcpdatabase","title":"MCP Database","description":null,"endpoints":[{"method":"POST","path":"/api/mcpdatabase/mcp","description":"MCP JSON-RPC: database_query, database_execute, database_list_tables (Postgres/MySQL/SQLite)","params":"jsonrpc,id,method,params","examples":[{"label":"LM Studio (mcp.json)","code":"{\u0022mcpServers\u0022:{\u0022database\u0022:{\u0022url\u0022:\u0022https://cerio.ru/api/mcpdatabase/mcp\u0022}}}"},{"label":"LM Studio \u0441 \u0442\u043E\u043A\u0435\u043D\u043E\u043C","code":"{\u0022mcpServers\u0022:{\u0022database\u0022:{\u0022url\u0022:\u0022https://cerio.ru/api/mcpdatabase/mcp\u0022,\u0022headers\u0022:{\u0022Authorization\u0022:\u0022Bearer YOUR_TOKEN\u0022}}}}"},{"label":"curl (tools/call list_tables)","code":"curl -X POST \u0022https://api.cerio.ru/api/mcpdatabase/mcp\u0022 -H \u0022Content-Type: application/json\u0022 -d \u0022{\\\u0022jsonrpc\\\u0022:\\\u00222.0\\\u0022,\\\u0022id\\\u0022:1,\\\u0022method\\\u0022:\\\u0022tools/call\\\u0022,\\\u0022params\\\u0022:{\\\u0022name\\\u0022:\\\u0022database_list_tables\\\u0022,\\\u0022arguments\\\u0022:{\\\u0022connectionString\\\u0022:\\\u0022Host=localhost;Database=api;Username=api;Password=xxx\\\u0022,\\\u0022provider\\\u0022:\\\u0022postgres\\\u0022}}}\u0022"}]},{"method":"GET","path":"/api/mcpdatabase/mcp","description":"\u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F \u043E MCP endpoint","params":"-","examples":[{"label":"URL","code":"/api/mcpdatabase/mcp"},{"label":"curl","code":"curl \u0022https://api.cerio.ru/api/mcpdatabase/mcp\u0022"}]}]},{"id":"mcpdatetime","title":"MCP DateTime","description":null,"endpoints":[{"method":"POST","path":"/api/mcpdatetime/mcp","description":"MCP JSON-RPC: initialize, tools/list, tools/call. Tools: datetime_now, datetime_in, datetime_convert, datetime_diff","params":"jsonrpc,id,method,params","examples":[{"label":"JSON","code":"{\u0022jsonrpc\u0022:\u00222.0\u0022,\u0022id\u0022:1,\u0022method\u0022:\u0022tools/list\u0022,\u0022params\u0022:{}}"}]},{"method":"GET","path":"/api/mcpdatetime/mcp","description":"\u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F \u043E MCP endpoint","params":"-","examples":[{"label":"URL","code":"/api/mcpdatetime/mcp"}]}]},{"id":"mcpnotes","title":"MCP Notes","description":null,"endpoints":[{"method":"POST","path":"/api/mcpnotes/mcp","description":"MCP JSON-RPC: initialize, tools/list, tools/call. Tools: notes_create, notes_list, notes_get, notes_update, notes_delete, notes_search. \u0411\u0435\u0437 \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0430 \u0430\u0432\u0442\u043E\u0440\u0438\u0437\u0430\u0446\u0438\u0438 \u2014 \u0437\u0430\u043C\u0435\u0442\u043A\u0438 \u043F\u043E IP; Bearer \u0438\u043B\u0438 X-Notes-Token \u2014 \u0438\u0437\u043E\u043B\u044F\u0446\u0438\u044F \u043F\u043E \u0442\u043E\u043A\u0435\u043D\u0443.","params":"jsonrpc,id,method,params","examples":[{"label":"LM Studio (mcp.json)","code":"{\u0022mcpServers\u0022:{\u0022notes\u0022:{\u0022url\u0022:\u0022https://cerio.ru/api/mcpnotes/mcp\u0022}}}"},{"label":"LM Studio \u002B Bearer","code":"{\u0022mcpServers\u0022:{\u0022notes\u0022:{\u0022url\u0022:\u0022https://cerio.ru/api/mcpnotes/mcp\u0022,\u0022headers\u0022:{\u0022Authorization\u0022:\u0022Bearer YOUR_TOKEN\u0022}}}}"},{"label":"LM Studio \u002B X-Notes-Token","code":"{\u0022mcpServers\u0022:{\u0022notes\u0022:{\u0022url\u0022:\u0022https://cerio.ru/api/mcpnotes/mcp\u0022,\u0022headers\u0022:{\u0022X-Notes-Token\u0022:\u0022YOUR_SECRET\u0022}}}}"},{"label":"curl (tools/list)","code":"curl -X POST \u0022https://api.cerio.ru/api/mcpnotes/mcp\u0022 -H \u0022Content-Type: application/json\u0022 -d \u0022{\\\u0022jsonrpc\\\u0022:\\\u00222.0\\\u0022,\\\u0022id\\\u0022:1,\\\u0022method\\\u0022:\\\u0022tools/list\\\u0022,\\\u0022params\\\u0022:{}}\u0022"},{"label":"curl (notes_create)","code":"curl -X POST \u0022https://api.cerio.ru/api/mcpnotes/mcp\u0022 -H \u0022Content-Type: application/json\u0022 -d \u0022{\\\u0022jsonrpc\\\u0022:\\\u00222.0\\\u0022,\\\u0022id\\\u0022:2,\\\u0022method\\\u0022:\\\u0022tools/call\\\u0022,\\\u0022params\\\u0022:{\\\u0022name\\\u0022:\\\u0022notes_create\\\u0022,\\\u0022arguments\\\u0022:{\\\u0022title\\\u0022:\\\u0022\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A\\\u0022,\\\u0022content\\\u0022:\\\u0022\u0422\u0435\u043A\u0441\u0442\\\u0022}}}\u0022"},{"label":"curl \u002B \u0442\u043E\u043A\u0435\u043D (X-Notes-Token)","code":"curl -X POST \u0022https://api.cerio.ru/api/mcpnotes/mcp\u0022 -H \u0022Content-Type: application/json\u0022 -H \u0022X-Notes-Token: my-secret\u0022 -d \u0022{\\\u0022jsonrpc\\\u0022:\\\u00222.0\\\u0022,\\\u0022id\\\u0022:3,\\\u0022method\\\u0022:\\\u0022tools/call\\\u0022,\\\u0022params\\\u0022:{\\\u0022name\\\u0022:\\\u0022notes_list\\\u0022,\\\u0022arguments\\\u0022:{}}}\u0022"}]},{"method":"GET","path":"/api/mcpnotes/mcp","description":"\u041A\u0440\u0430\u0442\u043A\u0430\u044F \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F \u043E\u0431 MCP endpoint (\u0438\u043C\u044F, \u043F\u0440\u043E\u0442\u043E\u043A\u043E\u043B, \u044D\u043D\u0434\u043F\u043E\u0438\u043D\u0442, \u043F\u043E\u0434\u0441\u043A\u0430\u0437\u043A\u0430 \u043F\u043E \u0440\u0430\u0437\u0434\u0435\u043B\u0435\u043D\u0438\u044E IP/\u0442\u043E\u043A\u0435\u043D).","params":null,"examples":[{"label":"URL","code":"/api/mcpnotes/mcp"},{"label":"curl","code":"curl \u0022https://api.cerio.ru/api/mcpnotes/mcp\u0022"}]}]},{"id":"mcpwebsearch","title":"MCP Web Search","description":null,"endpoints":[{"method":"POST","path":"/api/mcpwebsearch/mcp","description":"MCP JSON-RPC: GetOpenWebSearchStatus, Search, FetchWebContent, FetchGithubReadme, FetchCsdnArticle, FetchJuejinArticle, FetchLinuxDoArticle","params":null,"examples":[{"label":"LM Studio (mcp.json)","code":"{\u0022mcpServers\u0022:{\u0022websearch\u0022:{\u0022url\u0022:\u0022https://cerio.ru/api/mcpwebsearch/mcp\u0022}}}"},{"label":"LM Studio \u002B Bearer","code":"{\u0022mcpServers\u0022:{\u0022websearch\u0022:{\u0022url\u0022:\u0022https://cerio.ru/api/mcpwebsearch/mcp\u0022,\u0022headers\u0022:{\u0022Authorization\u0022:\u0022Bearer YOUR_TOKEN\u0022}}}}"},{"label":"curl (Search)","code":"curl -X POST \u0022https://api.cerio.ru/api/mcpwebsearch/mcp\u0022 -H \u0022Content-Type: application/json\u0022 -d \u0022{\\\\\u0022jsonrpc\\\\\u0022:\\\\\u00222.0\\\\\u0022,\\\\\u0022id\\\\\u0022:1,\\\\\u0022method\\\\\u0022:\\\\\u0022tools/call\\\\\u0022,\\\\\u0022params\\\\\u0022:{\\\\\u0022name\\\\\u0022:\\\\\u0022Search\\\\\u0022,\\\\\u0022arguments\\\\\u0022:{\\\\\u0022query\\\\\u0022:\\\\\u0022Model Context Protocol web search\\\\\u0022,\\\\\u0022limit\\\\\u0022:5,\\\\\u0022engines\\\\\u0022:\\\\\u0022duckduckgo,bing\\\\\u0022}}}\u0022"}]},{"method":"GET","path":"/api/mcpwebsearch/mcp","description":"\u041A\u0440\u0430\u0442\u043A\u0430\u044F \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F \u043E\u0431 MCP endpoint (\u0438\u043C\u044F, \u043F\u0440\u043E\u0442\u043E\u043A\u043E\u043B, \u0441\u043F\u0438\u0441\u043E\u043A \u043C\u0435\u0442\u043E\u0434\u043E\u0432).","params":null,"examples":[{"label":"URL","code":"/api/mcpwebsearch/mcp"},{"label":"curl","code":"curl \u0022https://api.cerio.ru/api/mcpwebsearch/mcp\u0022"}]}]},{"id":"networktools","title":"\u0421\u0435\u0442\u0435\u0432\u044B\u0435 \u0443\u0442\u0438\u043B\u0438\u0442\u044B","description":null,"endpoints":[{"method":"GET","path":"/api/networktools/ping","description":"Ping \u0445\u043E\u0441\u0442\u0430","params":"host (\u043E\u043F\u0446., \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E 8.8.8.8), count=4","examples":[{"label":"URL","code":"/api/networktools/ping?host=google.com"},{"label":"curl","code":"curl \u0022https://api.cerio.ru/api/networktools/ping?host=google.com\u0022"},{"label":"fetch","code":"fetch(\u0060https://api.cerio.ru/api/networktools/ping?host=google.com\u0060).then(r =\u003E r.json()).then(console.log);"},{"label":"powershell","code":"Invoke-RestMethod -Uri \u0022https://api.cerio.ru/api/networktools/ping?host=google.com\u0022 -Method Get"},{"label":"csharp","code":"using var client = new HttpClient(); var json = await client.GetStringAsync(\u0022https://api.cerio.ru/api/networktools/ping?host=google.com\u0022);"}]},{"method":"GET","path":"/api/networktools/nslookup","description":"DNS lookup (nslookup)","params":"query (\u043E\u0431\u044F\u0437.) \u2014 \u0434\u043E\u043C\u0435\u043D \u0438\u043B\u0438 IP, server (\u043E\u043F\u0446.) \u2014 DNS \u0441\u0435\u0440\u0432\u0435\u0440","examples":[{"label":"URL","code":"/api/networktools/nslookup?query=example.com"},{"label":"curl","code":"curl \u0022https://api.cerio.ru/api/networktools/nslookup?query=example.com\u0022"},{"label":"fetch","code":"fetch(\u0060https://api.cerio.ru/api/networktools/nslookup?query=example.com\u0060).then(r =\u003E r.json()).then(console.log);"},{"label":"powershell","code":"Invoke-RestMethod -Uri \u0022https://api.cerio.ru/api/networktools/nslookup?query=example.com\u0022 -Method Get"},{"label":"csharp","code":"using var client = new HttpClient(); var json = await client.GetStringAsync(\u0022https://api.cerio.ru/api/networktools/nslookup?query=example.com\u0022);"}]},{"method":"GET","path":"/api/networktools/whois","description":"Whois lookup","params":"query (\u043E\u0431\u044F\u0437.) \u2014 \u0434\u043E\u043C\u0435\u043D \u0438\u043B\u0438 IP","examples":[{"label":"URL","code":"/api/networktools/whois?query=example.com"},{"label":"curl","code":"curl \u0022https://api.cerio.ru/api/networktools/whois?query=example.com\u0022"},{"label":"fetch","code":"fetch(\u0060https://api.cerio.ru/api/networktools/whois?query=example.com\u0060).then(r =\u003E r.json()).then(console.log);"},{"label":"powershell","code":"Invoke-RestMethod -Uri \u0022https://api.cerio.ru/api/networktools/whois?query=example.com\u0022 -Method Get"},{"label":"csharp","code":"using var client = new HttpClient(); var json = await client.GetStringAsync(\u0022https://api.cerio.ru/api/networktools/whois?query=example.com\u0022);"}]},{"method":"GET","path":"/api/networktools/portcheck","description":"\u041F\u0440\u043E\u0432\u0435\u0440\u043A\u0430 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E\u0441\u0442\u0438 \u043F\u043E\u0440\u0442\u0430","params":"host (\u043E\u0431\u044F\u0437.), port (\u043E\u0431\u044F\u0437. 1\u201365535), timeout=15","examples":[{"label":"URL","code":"/api/networktools/portcheck?host=google.com\u0026port=443"},{"label":"curl","code":"curl \u0022https://api.cerio.ru/api/networktools/portcheck?host=google.com\u0026port=443\u0022"},{"label":"fetch","code":"fetch(\u0060https://api.cerio.ru/api/networktools/portcheck?host=google.com\u0026port=443\u0060).then(r =\u003E r.json()).then(console.log);"},{"label":"powershell","code":"Invoke-RestMethod -Uri \u0022https://api.cerio.ru/api/networktools/portcheck?host=google.com\u0026port=443\u0022 -Method Get"},{"label":"csharp","code":"using var client = new HttpClient(); var json = await client.GetStringAsync(\u0022https://api.cerio.ru/api/networktools/portcheck?host=google.com\u0026port=443\u0022);"}]},{"method":"GET","path":"/api/networktools/emailverify","description":"\u041F\u0440\u043E\u0432\u0435\u0440\u043A\u0430 email (\u0441\u0438\u043D\u0442\u0430\u043A\u0441\u0438\u0441, MX, \u0434\u043E\u0441\u0442\u0430\u0432\u043A\u0430)","params":"email (\u043E\u0431\u044F\u0437.)","examples":[{"label":"URL","code":"/api/networktools/emailverify?email=test@example.com"},{"label":"curl","code":"curl \u0022https://api.cerio.ru/api/networktools/emailverify?email=test@example.com\u0022"},{"label":"fetch","code":"fetch(\u0060https://api.cerio.ru/api/networktools/emailverify?email=test@example.com\u0060).then(r =\u003E r.json()).then(console.log);"},{"label":"powershell","code":"Invoke-RestMethod -Uri \u0022https://api.cerio.ru/api/networktools/emailverify?email=test@example.com\u0022 -Method Get"},{"label":"csharp","code":"using var client = new HttpClient(); var json = await client.GetStringAsync(\u0022https://api.cerio.ru/api/networktools/emailverify?email=test@example.com\u0022);"}]},{"method":"GET","path":"/api/networktools/speedtest/download","description":"\u0424\u0430\u0439\u043B \u0434\u043B\u044F \u0441\u043F\u0438\u0434\u0442\u0435\u0441\u0442\u0430 (size=10|100|1000 \u041C\u0411)","params":"size=10 (\u041C\u0411)","examples":[{"label":"URL","code":"/api/networktools/speedtest/download?size=10"},{"label":"curl","code":"curl \u0022https://api.cerio.ru/api/networktools/speedtest/download?size=10\u0022"},{"label":"fetch","code":"fetch(\u0060https://api.cerio.ru/api/networktools/speedtest/download?size=10\u0060).then(r =\u003E r.blob())"},{"label":"powershell","code":"Invoke-RestMethod -Uri \u0022https://api.cerio.ru/api/networktools/speedtest/download?size=10\u0022 -Method Get -OutFile speedtest.bin"},{"label":"csharp","code":"using var client = new HttpClient(); var bytes = await client.GetByteArrayAsync(\u0022https://api.cerio.ru/api/networktools/speedtest/download?size=10\u0022);"}]}]},{"id":"personalizer","title":"\u041F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u0438\u0437\u0430\u0442\u043E\u0440","description":null,"endpoints":[{"method":"GET","path":"/api/personalizer/generate","description":"\u0413\u0435\u043D\u0435\u0440\u0430\u0446\u0438\u044F \u0444\u0435\u0439\u043A\u043E\u0432\u043E\u0433\u043E \u043F\u0440\u043E\u0444\u0438\u043B\u044F (\u0424\u0418\u041E, \u043F\u0430\u0441\u043F\u043E\u0440\u0442, \u0442\u0435\u043B\u0435\u0444\u043E\u043D, email...)","params":"locale=ru, seed (\u043E\u043F\u0446.), fields (\u043E\u043F\u0446.) \u2014 firstName, email, phone, passport...","examples":[{"label":"URL","code":"/api/personalizer/generate?locale=ru"},{"label":"curl","code":"curl \u0022https://api.cerio.ru/api/personalizer/generate?locale=ru\u0022"},{"label":"fetch","code":"fetch(\u0060https://api.cerio.ru/api/personalizer/generate?locale=ru\u0060).then(r =\u003E r.json()).then(console.log);"},{"label":"powershell","code":"Invoke-RestMethod -Uri \u0022https://api.cerio.ru/api/personalizer/generate?locale=ru\u0022 -Method Get"},{"label":"csharp","code":"using var client = new HttpClient(); var json = await client.GetStringAsync(\u0022https://api.cerio.ru/api/personalizer/generate?locale=ru\u0022);"}]},{"method":"GET","path":"/api/personalizer/locales","description":"\u0421\u043F\u0438\u0441\u043E\u043A \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043C\u044B\u0445 \u043B\u043E\u043A\u0430\u043B\u0435\u0439","params":null,"examples":[{"label":"URL","code":"/api/personalizer/locales"},{"label":"curl","code":"curl \u0022https://api.cerio.ru/api/personalizer/locales\u0022"},{"label":"fetch","code":"fetch(\u0060https://api.cerio.ru/api/personalizer/locales\u0060).then(r =\u003E r.json()).then(console.log);"},{"label":"powershell","code":"Invoke-RestMethod -Uri \u0022https://api.cerio.ru/api/personalizer/locales\u0022 -Method Get"},{"label":"csharp","code":"using var client = new HttpClient(); var json = await client.GetStringAsync(\u0022https://api.cerio.ru/api/personalizer/locales\u0022);"}]},{"method":"GET","path":"/api/personalizer/phone-country","description":"\u0421\u0442\u0440\u0430\u043D\u0430 \u043F\u043E \u043D\u043E\u043C\u0435\u0440\u0443 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0430","params":"phone (\u043E\u0431\u044F\u0437.) \u2014 \u002B12025550156 \u0438\u043B\u0438 \u002B7 995 482 1237","examples":[{"label":"URL","code":"/api/personalizer/phone-country?phone=\u002B79001234567"},{"label":"curl","code":"curl \u0022https://api.cerio.ru/api/personalizer/phone-country?phone=\u002B79001234567\u0022"},{"label":"fetch","code":"fetch(\u0060https://api.cerio.ru/api/personalizer/phone-country?phone=%2B79001234567\u0060).then(r =\u003E r.json()).then(console.log);"},{"label":"powershell","code":"Invoke-RestMethod -Uri \u0022https://api.cerio.ru/api/personalizer/phone-country?phone=\u002B79001234567\u0022 -Method Get"},{"label":"csharp","code":"using var client = new HttpClient(); var json = await client.GetStringAsync(\u0022https://api.cerio.ru/api/personalizer/phone-country?phone=%2B79001234567\u0022);"}]}]},{"id":"weather","title":"\u041F\u043E\u0433\u043E\u0434\u0430","description":null,"endpoints":[{"method":"GET","path":"/api/weather/current","description":"\u0422\u0435\u043A\u0443\u0449\u0430\u044F \u043F\u043E\u0433\u043E\u0434\u0430 \u043F\u043E \u0433\u043E\u0440\u043E\u0434\u0443 \u0438 \u0441\u0442\u0440\u0430\u043D\u0435","params":"city (\u043E\u0431\u044F\u0437.), country=RU, unit=celsius","examples":[{"label":"URL","code":"/api/weather/current?city=Moscow\u0026country=RU"},{"label":"curl","code":"curl \u0022https://api.cerio.ru/api/weather/current?city=Moscow\u0026country=RU\u0022"},{"label":"fetch","code":"fetch(\u0060https://api.cerio.ru/api/weather/current?city=Moscow\u0026country=RU\u0060).then(r =\u003E r.json()).then(console.log);"},{"label":"powershell","code":"Invoke-RestMethod -Uri \u0022https://api.cerio.ru/api/weather/current?city=Moscow\u0026country=RU\u0022 -Method Get"},{"label":"csharp","code":"using var client = new HttpClient(); var json = await client.GetStringAsync(\u0022https://api.cerio.ru/api/weather/current?city=Moscow\u0026country=RU\u0022);"}]},{"method":"GET","path":"/api/weather/forecast","description":"\u041F\u0440\u043E\u0433\u043D\u043E\u0437 \u043F\u043E \u0433\u043E\u0440\u043E\u0434\u0443","params":"city (\u043E\u0431\u044F\u0437.), country=RU, unit=celsius, days=3","examples":[{"label":"URL","code":"/api/weather/forecast?city=Moscow\u0026country=RU\u0026days=3"},{"label":"curl","code":"curl \u0022https://api.cerio.ru/api/weather/forecast?city=Moscow\u0026country=RU\u0026days=3\u0022"},{"label":"fetch","code":"fetch(\u0060https://api.cerio.ru/api/weather/forecast?city=Moscow\u0026country=RU\u0026days=3\u0060).then(r =\u003E r.json()).then(console.log);"},{"label":"powershell","code":"Invoke-RestMethod -Uri \u0022https://api.cerio.ru/api/weather/forecast?city=Moscow\u0026country=RU\u0026days=3\u0022 -Method Get"},{"label":"csharp","code":"using var client = new HttpClient(); var json = await client.GetStringAsync(\u0022https://api.cerio.ru/api/weather/forecast?city=Moscow\u0026country=RU\u0026days=3\u0022);"}]},{"method":"GET","path":"/api/weather","description":"\u041F\u043E\u043B\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435 (\u0442\u0435\u043A\u0443\u0449\u0430\u044F \u002B \u043F\u0440\u043E\u0433\u043D\u043E\u0437)","params":"city (\u043E\u0431\u044F\u0437.), country=RU, unit=celsius, forecast=true, days=3","examples":[{"label":"URL","code":"/api/weather?city=Moscow\u0026country=RU"},{"label":"curl","code":"curl \u0022https://api.cerio.ru/api/weather?city=Moscow\u0026country=RU\u0022"},{"label":"fetch","code":"fetch(\u0060https://api.cerio.ru/api/weather?city=Moscow\u0026country=RU\u0060).then(r =\u003E r.json()).then(console.log);"},{"label":"powershell","code":"Invoke-RestMethod -Uri \u0022https://api.cerio.ru/api/weather?city=Moscow\u0026country=RU\u0022 -Method Get"},{"label":"csharp","code":"using var client = new HttpClient(); var json = await client.GetStringAsync(\u0022https://api.cerio.ru/api/weather?city=Moscow\u0026country=RU\u0022);"}]},{"method":"GET","path":"/api/weather/coordinates","description":"\u041A\u043E\u043E\u0440\u0434\u0438\u043D\u0430\u0442\u044B \u0433\u043E\u0440\u043E\u0434\u0430","params":"city (\u043E\u0431\u044F\u0437.), country=RU","examples":[{"label":"URL","code":"/api/weather/coordinates?city=Kazan\u0026country=RU"},{"label":"curl","code":"curl \u0022https://api.cerio.ru/api/weather/coordinates?city=Kazan\u0026country=RU\u0022"},{"label":"fetch","code":"fetch(\u0060https://api.cerio.ru/api/weather/coordinates?city=Kazan\u0026country=RU\u0060).then(r =\u003E r.json()).then(console.log);"},{"label":"powershell","code":"Invoke-RestMethod -Uri \u0022https://api.cerio.ru/api/weather/coordinates?city=Kazan\u0026country=RU\u0022 -Method Get"},{"label":"csharp","code":"using var client = new HttpClient(); var json = await client.GetStringAsync(\u0022https://api.cerio.ru/api/weather/coordinates?city=Kazan\u0026country=RU\u0022);"}]},{"method":"POST","path":"/api/weather/mcp","description":"MCP JSON-RPC: weather_current, weather_forecast, weather_coordinates, weather_full. \u0418\u0441\u0442\u043E\u0447\u043D\u0438\u043A: Open-Meteo.","params":"jsonrpc,id,method,params","examples":[{"label":"URL","code":"/api/weather/mcp"},{"label":"curl (tools/list)","code":"curl -X POST \u0022https://api.cerio.ru/api/weather/mcp\u0022 -H \u0022Content-Type: application/json\u0022 -d \u0027{\u0022jsonrpc\u0022:\u00222.0\u0022,\u0022id\u0022:1,\u0022method\u0022:\u0022tools/list\u0022,\u0022params\u0022:{}}\u0027"},{"label":"curl (tools/call weather_current)","code":"curl -X POST \u0022https://api.cerio.ru/api/weather/mcp\u0022 -H \u0022Content-Type: application/json\u0022 -d \u0027{\u0022jsonrpc\u0022:\u00222.0\u0022,\u0022id\u0022:2,\u0022method\u0022:\u0022tools/call\u0022,\u0022params\u0022:{\u0022name\u0022:\u0022weather_current\u0022,\u0022arguments\u0022:{\u0022city\u0022:\u0022\u041C\u043E\u0441\u043A\u0432\u0430\u0022,\u0022country\u0022:\u0022RU\u0022,\u0022unit\u0022:\u0022celsius\u0022}}}\u0027"},{"label":"curl (tools/call weather_forecast)","code":"curl -X POST \u0022https://api.cerio.ru/api/weather/mcp\u0022 -H \u0022Content-Type: application/json\u0022 -d \u0027{\u0022jsonrpc\u0022:\u00222.0\u0022,\u0022id\u0022:3,\u0022method\u0022:\u0022tools/call\u0022,\u0022params\u0022:{\u0022name\u0022:\u0022weather_forecast\u0022,\u0022arguments\u0022:{\u0022city\u0022:\u0022London\u0022,\u0022country\u0022:\u0022GB\u0022,\u0022unit\u0022:\u0022celsius\u0022,\u0022days\u0022:5}}}\u0027"},{"label":"JSON (tools/call weather_current)","code":"{\u0022jsonrpc\u0022:\u00222.0\u0022,\u0022id\u0022:4,\u0022method\u0022:\u0022tools/call\u0022,\u0022params\u0022:{\u0022name\u0022:\u0022weather_current\u0022,\u0022arguments\u0022:{\u0022city\u0022:\u0022\u041C\u043E\u0441\u043A\u0432\u0430\u0022,\u0022country\u0022:\u0022RU\u0022,\u0022unit\u0022:\u0022celsius\u0022}}}"},{"label":"LM Studio (mcp.json)","code":"{\u0022mcpServers\u0022:{\u0022weather\u0022:{\u0022url\u0022:\u0022https://cerio.ru/api/weather/mcp\u0022}}}"}]},{"method":"GET","path":"/api/weather/mcp","description":"\u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F \u043E MCP endpoint","params":"-","examples":[{"label":"URL","code":"/api/weather/mcp"}]}]}]}