{ "openapi": "3.0.3", "info": { "title": "OKCHAT2.0", "version": "1.0.0", "contact": {} }, "servers": [ { "url": "https://v2.okchat.ai" }, { "url": "http://localhost" } ], "paths": { "/api/embedfiles": { "post": { "summary": "Knowledge Base Files", "description": "Knowledge Base Files", "operationId": "knowledgeBaseFiles", "parameters": [ { "name": "chatbotId", "in": "query", "schema": { "type": "string", "example": "5afe16ed-5fd2-4552-a993-903bc9c32bb6" } }, { "name": "x-api-key", "in": "header", "schema": { "type": "string", "example": "4358d60b39ef0df47f421c0d58331407ec609abb6355dfa4" } } ], "requestBody": { "content": { "multipart/form-data": { "schema": { "type": "object", "properties": { "chatbotId": { "type": "string", "example": "5afe16ed-5fd2-4552-a993-903bc9c32bb6" }, "files": { "type": "string", "format": "binary" } } } } } }, "responses": { "200": { "description": "" } } } }, "/api/external/chatbots": { "get": { "summary": "Get Chatbots", "description": "Get Chatbots", "operationId": "getChatbots", "parameters": [ { "name": "x-api-key", "in": "header", "schema": { "type": "string", "example": "15a23c21867f4f38b0b46f5e4adb1caf87a040b34eb58f68" } } ], "responses": { "200": { "description": "Get Chatbots", "headers": { "CF-RAY": { "schema": { "type": "string", "example": "905cd667bb63ce31-SIN" } }, "Cache-Control": { "schema": { "type": "string", "example": "public, max-age=0, must-revalidate" } }, "Connection": { "schema": { "type": "string", "example": "keep-alive" } }, "Content-Encoding": { "schema": { "type": "string", "example": "br" } }, "Date": { "schema": { "type": "string", "example": "Wed, 22 Jan 2025 04:35:30 GMT" } }, "NEL": { "schema": { "type": "string", "example": "{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}" } }, "Report-To": { "schema": { "type": "string", "example": "{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=Qbm0hH2VHRfbSbyGdrMmDr%2FSW1zQtnwMdBblKe0JwzvFUbK%2BzNHMb0qFdV0u9W4qA0E76i6nExwdJCoXea%2FLEb5B%2FTGdyig9zkiIWUlOd9X6icQoMDzqa%2Buo0vU1IOk%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}" } }, "Server": { "schema": { "type": "string", "example": "cloudflare" } }, "Transfer-Encoding": { "schema": { "type": "string", "example": "chunked" } }, "access-control-allow-credentials": { "schema": { "type": "string", "example": "true" } }, "access-control-allow-headers": { "schema": { "type": "string", "example": "X-CSRF-Token, X-Requested-With, Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version" } }, "access-control-allow-methods": { "schema": { "type": "string", "example": "GET,OPTIONS,PATCH,DELETE,POST,PUT" } }, "access-control-allow-origin": { "schema": { "type": "string", "example": "*" } }, "alt-svc": { "schema": { "type": "string", "example": "h3=\":443\"; ma=86400" } }, "cf-cache-status": { "schema": { "type": "string", "example": "DYNAMIC" } }, "server-timing": { "schema": { "type": "string", "example": "cfL4;desc=\"?proto=TCP&rtt=861&min_rtt=781&rtt_var=189&sent=12&recv=13&lost=0&retrans=0&sent_bytes=5369&recv_bytes=2038&delivery_rate=4407914&cwnd=255&unsent_bytes=0&cid=099503defb4c9823&ts=44203&x=0\"" } }, "strict-transport-security": { "schema": { "type": "string", "example": "max-age=63072000" } }, "vary": { "schema": { "type": "string", "example": "accept-encoding" } }, "x-matched-path": { "schema": { "type": "string", "example": "/api/external/chatbots" } }, "x-vercel-cache": { "schema": { "type": "string", "example": "MISS" } }, "x-vercel-id": { "schema": { "type": "string", "example": "sin1::7nfql-1737520528604-ac45fa660709" } } }, "content": { "application/json": { "schema": { "type": "object", "properties": { "chatbots": { "type": "array", "items": { "type": "object", "properties": { "active": { "type": "boolean", "example": true }, "created_at": { "type": "string", "example": "2025-01-22T04:30:45.790337+00:00" }, "description": { "type": "string", "example": "A helpful support assistant" }, "enabled_plugins": { "nullable": true, "example": null }, "id": { "type": "string", "example": "3317853e-0af2-427d-a56f-351a9587f48f" }, "is_public": { "type": "boolean", "example": false }, "name": { "type": "string", "example": "API Docs Demo Chatbot" }, "organization_id": { "type": "string", "example": "123042b2-86e2-4184-a86e-95423d728815" }, "personality_config": { "type": "object", "properties": { "style": { "type": "string", "example": "Friendly" }, "tone": { "type": "string", "example": "Professional" } } }, "settings": { "type": "object", "properties": { "greeting": { "type": "string", "example": "Hello! How can I assist you today?" }, "isRequestUserInfoEnabled": { "type": "boolean", "example": false }, "isToolEnabled": { "type": "boolean", "example": true }, "model": { "type": "string", "example": "gpt-4o-mini" }, "prompt": { "type": "string", "example": "You are a highly skilled customer support assistant for [company name]. Your goal is to provide accurate, polite, and concise answers to customer inquiries. If you do not know the answer, recommend the customer to contact human support or check the FAQ section. Ensure a positive tone in all responses" }, "snippet": { "type": "object", "properties": { "header": { "type": "string", "example": "Customer Support" }, "logo": { "type": "string", "example": "https://example.com/logo.png" }, "name": { "type": "string", "example": "Support Assistant" }, "primaryColor": { "type": "string", "example": "#4F46E5" }, "secondaryColor": { "type": "string", "example": "#10B981" }, "slogan": { "type": "string", "example": "How can I help you today?" } } } } }, "slug": { "type": "string", "example": "api-docs-demo-chatbot" }, "suggestions": { "nullable": true, "example": null }, "updated_at": { "type": "string", "example": "2025-01-22T04:30:45.790337+00:00" }, "version_id": { "nullable": true, "example": null }, "voice_widget_config": { "nullable": true, "example": null } } }, "example": [ { "active": true, "created_at": "2025-01-22T04:30:45.790337+00:00", "description": "A helpful support assistant", "enabled_plugins": null, "id": "3317853e-0af2-427d-a56f-351a9587f48f", "is_public": false, "name": "API Docs Demo Chatbot", "organization_id": "123042b2-86e2-4184-a86e-95423d728815", "personality_config": { "style": "Friendly", "tone": "Professional" }, "settings": { "greeting": "Hello! How can I assist you today?", "isRequestUserInfoEnabled": false, "isToolEnabled": true, "model": "gpt-4o-mini", "prompt": "You are a highly skilled customer support assistant for [company name]. Your goal is to provide accurate, polite, and concise answers to customer inquiries. If you do not know the answer, recommend the customer to contact human support or check the FAQ section. Ensure a positive tone in all responses", "snippet": { "header": "Customer Support", "logo": "https://example.com/logo.png", "name": "Support Assistant", "primaryColor": "#4F46E5", "secondaryColor": "#10B981", "slogan": "How can I help you today?" } }, "slug": "api-docs-demo-chatbot", "suggestions": null, "updated_at": "2025-01-22T04:30:45.790337+00:00", "version_id": null, "voice_widget_config": null } ] } } }, "examples": { "Get Chatbots": { "value": { "chatbots": [ { "active": true, "created_at": "2025-01-22T04:30:45.790337+00:00", "description": "A helpful support assistant", "enabled_plugins": null, "id": "3317853e-0af2-427d-a56f-351a9587f48f", "is_public": false, "name": "API Docs Demo Chatbot", "organization_id": "123042b2-86e2-4184-a86e-95423d728815", "personality_config": { "style": "Friendly", "tone": "Professional" }, "settings": { "greeting": "Hello! How can I assist you today?", "isRequestUserInfoEnabled": false, "isToolEnabled": true, "model": "gpt-4o-mini", "prompt": "You are a highly skilled customer support assistant for [company name]. Your goal is to provide accurate, polite, and concise answers to customer inquiries. If you do not know the answer, recommend the customer to contact human support or check the FAQ section. Ensure a positive tone in all responses", "snippet": { "header": "Customer Support", "logo": "https://example.com/logo.png", "name": "Support Assistant", "primaryColor": "#4F46E5", "secondaryColor": "#10B981", "slogan": "How can I help you today?" } }, "slug": "api-docs-demo-chatbot", "suggestions": null, "updated_at": "2025-01-22T04:30:45.790337+00:00", "version_id": null, "voice_widget_config": null } ] } } } } } } } }, "post": { "summary": "Create Chatbot", "description": "Create Chatbot", "operationId": "createChatbot", "parameters": [ { "name": "x-api-key", "in": "header", "schema": { "type": "string", "example": "15a23c21867f4f38b0b46f5e4adb1caf87a040b34eb58f68" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object", "properties": { "description": { "type": "string", "example": "A helpful support assistant" }, "is_public": { "type": "boolean", "example": true }, "name": { "type": "string", "example": "Customer Support External Bot" }, "personality_config": { "type": "object", "properties": { "style": { "type": "string", "example": "Friendly" }, "tone": { "type": "string", "example": "Professional" } } }, "settings": { "type": "object", "properties": { "greeting": { "type": "string", "example": "Hello! How can I assist you today?" }, "isRequestUserInfoEnabled": { "type": "boolean", "example": false }, "isToolEnabled": { "type": "boolean", "example": true }, "model": { "type": "string", "example": "gpt-4o-mini" }, "prompt": { "type": "string", "example": "You are a helpful and friendly customer support agent. Respond to user inquiries in a clear and concise manner. Always strive to provide accurate and helpful information." }, "snippet": { "type": "object", "properties": { "header": { "type": "string", "example": "Customer Support" }, "logo": { "type": "string", "example": "https://example.com/logo.png" }, "name": { "type": "string", "example": "Support Assistant" }, "primaryColor": { "type": "string", "example": "#4F46E5" }, "secondaryColor": { "type": "string", "example": "#10B981" }, "slogan": { "type": "string", "example": "How can I help you today?" } } } } }, "slug": { "type": "string", "example": "customer-support-bot-97" } } }, "examples": { "Create Chatbot": { "value": { "description": "A helpful support assistant", "is_public": true, "name": "API Docs Demo Chatbot", "personality_config": { "style": "Friendly", "tone": "Professional" }, "settings": { "greeting": "Hello! How can I assist you today?", "isRequestUserInfoEnabled": false, "isToolEnabled": true, "model": "gpt-4o-mini", "prompt": "You are a highly skilled customer support assistant for [company name]. Your goal is to provide accurate, polite, and concise answers to customer inquiries. If you do not know the answer, recommend the customer to contact human support or check the FAQ section. Ensure a positive tone in all responses", "snippet": { "header": "Customer Support", "logo": "https://example.com/logo.png", "name": "Support Assistant", "primaryColor": "#4F46E5", "secondaryColor": "#10B981", "slogan": "How can I help you today?" } }, "slug": "api-docs-demo-chatbot" } }, "Store Conversation": { "value": { "description": "A helpful support assistant", "is_public": true, "name": "Customer Support External Bot", "personality_config": { "style": "Friendly", "tone": "Professional" }, "settings": { "greeting": "Hello! How can I assist you today?", "isRequestUserInfoEnabled": false, "isToolEnabled": true, "model": "gpt-4o-mini", "prompt": "You are a helpful and friendly customer support agent. Respond to user inquiries in a clear and concise manner. Always strive to provide accurate and helpful information.", "snippet": { "header": "Customer Support", "logo": "https://example.com/logo.png", "name": "Support Assistant", "primaryColor": "#4F46E5", "secondaryColor": "#10B981", "slogan": "How can I help you today?" } }, "slug": "customer-support-bot-97" } } } } } }, "responses": { "201": { "description": "Example", "headers": { "CF-RAY": { "schema": { "type": "string", "example": "905ccf79eec50d67-SIN" } }, "Cache-Control": { "schema": { "type": "string", "example": "public, max-age=0, must-revalidate" } }, "Connection": { "schema": { "type": "string", "example": "keep-alive" } }, "Date": { "schema": { "type": "string", "example": "Wed, 22 Jan 2025 04:30:45 GMT" } }, "NEL": { "schema": { "type": "string", "example": "{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}" } }, "Report-To": { "schema": { "type": "string", "example": "{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=cPfdzaNPQCGZAdUamYdQoJPhHVofh2FNFBI63b9SwgHtprwI8W7sE4I5f%2B15O4rq1ReFELfO2b6x%2BJGhgZzU0JoeIglUfhxeEshqzTZ7XpGof8ZCNcta5huqEaCQVzY%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}" } }, "Server": { "schema": { "type": "string", "example": "cloudflare" } }, "Transfer-Encoding": { "schema": { "type": "string", "example": "chunked" } }, "access-control-allow-credentials": { "schema": { "type": "string", "example": "true" } }, "access-control-allow-headers": { "schema": { "type": "string", "example": "X-CSRF-Token, X-Requested-With, Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version" } }, "access-control-allow-methods": { "schema": { "type": "string", "example": "GET,OPTIONS,PATCH,DELETE,POST,PUT" } }, "access-control-allow-origin": { "schema": { "type": "string", "example": "*" } }, "alt-svc": { "schema": { "type": "string", "example": "h3=\":443\"; ma=86400" } }, "cf-cache-status": { "schema": { "type": "string", "example": "DYNAMIC" } }, "server-timing": { "schema": { "type": "string", "example": "cfL4;desc=\"?proto=TCP&rtt=988&min_rtt=952&rtt_var=200&sent=12&recv=14&lost=0&retrans=0&sent_bytes=4717&recv_bytes=3141&delivery_rate=5367933&cwnd=254&unsent_bytes=0&cid=f4026edd2752ea34&ts=33543&x=0\"" } }, "strict-transport-security": { "schema": { "type": "string", "example": "max-age=63072000" } }, "x-matched-path": { "schema": { "type": "string", "example": "/api/external/chatbots" } }, "x-vercel-cache": { "schema": { "type": "string", "example": "MISS" } }, "x-vercel-id": { "schema": { "type": "string", "example": "sin1::ttvb5-1737520244798-b4e9d5c14cda" } } }, "content": { "application/json": { "schema": { "type": "object", "properties": { "chatbot": { "type": "object", "properties": { "active": { "type": "boolean", "example": true }, "created_at": { "type": "string", "example": "2025-01-22T04:30:45.790337+00:00" }, "description": { "type": "string", "example": "A helpful support assistant" }, "docs_metadata": { "nullable": true, "example": null }, "enabled_plugins": { "nullable": true, "example": null }, "id": { "type": "string", "example": "3317853e-0af2-427d-a56f-351a9587f48f" }, "is_public": { "type": "boolean", "example": true }, "managers": { "nullable": true, "example": null }, "migrated_data": { "type": "boolean", "example": false }, "name": { "type": "string", "example": "API Docs Demo Chatbot" }, "openai_api_key": { "nullable": true, "example": null }, "organization_id": { "type": "string", "example": "123042b2-86e2-4184-a86e-95423d728815" }, "personality_config": { "type": "object", "properties": { "style": { "type": "string", "example": "Friendly" }, "tone": { "type": "string", "example": "Professional" } } }, "settings": { "type": "object", "properties": { "greeting": { "type": "string", "example": "Hello! How can I assist you today?" }, "isRequestUserInfoEnabled": { "type": "boolean", "example": false }, "isToolEnabled": { "type": "boolean", "example": true }, "model": { "type": "string", "example": "gpt-4o-mini" }, "prompt": { "type": "string", "example": "You are a highly skilled customer support assistant for [company name]. Your goal is to provide accurate, polite, and concise answers to customer inquiries. If you do not know the answer, recommend the customer to contact human support or check the FAQ section. Ensure a positive tone in all responses" }, "snippet": { "type": "object", "properties": { "header": { "type": "string", "example": "Customer Support" }, "logo": { "type": "string", "example": "https://example.com/logo.png" }, "name": { "type": "string", "example": "Support Assistant" }, "primaryColor": { "type": "string", "example": "#4F46E5" }, "secondaryColor": { "type": "string", "example": "#10B981" }, "slogan": { "type": "string", "example": "How can I help you today?" } } } } }, "slug": { "type": "string", "example": "api-docs-demo-chatbot" }, "suggestions": { "nullable": true, "example": null }, "updated_at": { "type": "string", "example": "2025-01-22T04:30:45.790337+00:00" }, "v1_chatbot_id": { "nullable": true, "example": null }, "version_id": { "nullable": true, "example": null }, "voice_widget_config": { "nullable": true, "example": null } } }, "message": { "type": "string", "example": "Chatbot created successfully" } } }, "examples": { "Example": { "value": { "chatbot": { "active": true, "created_at": "2025-01-22T04:30:45.790337+00:00", "description": "A helpful support assistant", "docs_metadata": null, "enabled_plugins": null, "id": "3317853e-0af2-427d-a56f-351a9587f48f", "is_public": true, "managers": null, "migrated_data": false, "name": "API Docs Demo Chatbot", "openai_api_key": null, "organization_id": "123042b2-86e2-4184-a86e-95423d728815", "personality_config": { "style": "Friendly", "tone": "Professional" }, "settings": { "greeting": "Hello! How can I assist you today?", "isRequestUserInfoEnabled": false, "isToolEnabled": true, "model": "gpt-4o-mini", "prompt": "You are a highly skilled customer support assistant for [company name]. Your goal is to provide accurate, polite, and concise answers to customer inquiries. If you do not know the answer, recommend the customer to contact human support or check the FAQ section. Ensure a positive tone in all responses", "snippet": { "header": "Customer Support", "logo": "https://example.com/logo.png", "name": "Support Assistant", "primaryColor": "#4F46E5", "secondaryColor": "#10B981", "slogan": "How can I help you today?" } }, "slug": "api-docs-demo-chatbot", "suggestions": null, "updated_at": "2025-01-22T04:30:45.790337+00:00", "v1_chatbot_id": null, "version_id": null, "voice_widget_config": null }, "message": "Chatbot created successfully" } } } } } } } }, "patch": { "summary": "Update Chatbot", "description": "Update Chatbot", "operationId": "updateChatbot", "parameters": [ { "name": "id", "in": "query", "schema": { "type": "string", "example": "3317853e-0af2-427d-a56f-351a9587f48f" } }, { "name": "x-api-key", "in": "header", "schema": { "type": "string", "example": "15a23c21867f4f38b0b46f5e4adb1caf87a040b34eb58f68" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object", "properties": { "description": { "type": "string", "example": "A helpful support assistant" }, "is_public": { "type": "boolean", "example": false }, "name": { "type": "string", "example": "API Docs Demo Chatbot" }, "personality_config": { "type": "object", "properties": { "style": { "type": "string", "example": "Friendly" }, "tone": { "type": "string", "example": "Professional" } } }, "settings": { "type": "object", "properties": { "greeting": { "type": "string", "example": "Hello! How can I assist you today?" }, "isRequestUserInfoEnabled": { "type": "boolean", "example": false }, "isToolEnabled": { "type": "boolean", "example": true }, "model": { "type": "string", "example": "gpt-4o-mini" }, "prompt": { "type": "string", "example": "You are a highly skilled customer support assistant for [company name]. Your goal is to provide accurate, polite, and concise answers to customer inquiries. If you do not know the answer, recommend the customer to contact human support or check the FAQ section. Ensure a positive tone in all responses" }, "snippet": { "type": "object", "properties": { "header": { "type": "string", "example": "Customer Support" }, "logo": { "type": "string", "example": "https://example.com/logo.png" }, "name": { "type": "string", "example": "Support Assistant" }, "primaryColor": { "type": "string", "example": "#4F46E5" }, "secondaryColor": { "type": "string", "example": "#10B981" }, "slogan": { "type": "string", "example": "How can I help you today?" } } } } } } }, "examples": { "Update Chatbot": { "value": "{\n \"name\": \"API Docs Demo Chatbot\",\n \"description\": \"A helpful support assistant\",\n \"personality_config\": {\n \"tone\": \"Professional\",\n \"style\": \"Friendly\"\n },\n \"settings\": {\n \"model\": \"gpt-4o-mini\",\n \"prompt\": \"You are a highly skilled customer support assistant for [company name]. Your goal is to provide accurate, polite, and concise answers to customer inquiries. If you do not know the answer, recommend the customer to contact human support or check the FAQ section. Ensure a positive tone in all responses\",\n \"snippet\": {\n \"logo\": \"https://example.com/logo.png\",\n \"name\": \"Support Assistant\",\n \"header\": \"Customer Support\",\n \"slogan\": \"How can I help you today?\",\n \"primaryColor\": \"#4F46E5\",\n \"secondaryColor\": \"#10B981\"\n },\n \"greeting\": \"Hello! How can I assist you today?\",\n \"isToolEnabled\": true,\n \"isRequestUserInfoEnabled\": false // if enabled, chatbot will request the user's email first\n },\n \"is_public\": false\n}" } } } } }, "responses": { "200": { "description": "Example", "headers": { "CF-RAY": { "schema": { "type": "string", "example": "905cd562c958ce31-SIN" } }, "Cache-Control": { "schema": { "type": "string", "example": "public, max-age=0, must-revalidate" } }, "Connection": { "schema": { "type": "string", "example": "keep-alive" } }, "Content-Encoding": { "schema": { "type": "string", "example": "br" } }, "Date": { "schema": { "type": "string", "example": "Wed, 22 Jan 2025 04:34:48 GMT" } }, "NEL": { "schema": { "type": "string", "example": "{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}" } }, "Report-To": { "schema": { "type": "string", "example": "{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=4Q4PBxDTMx1Yh1Q7nFL2On9HKbEBCACQG0Mo8OrgH0W3Zsb4irDjPTlOb9UVRBBt82f73I%2Fxw4%2FfbWCT0Pr4pw5VNfAx76lQk61xUBMvZ0LGFGPhmDR4CO3rdJsNS6s%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}" } }, "Server": { "schema": { "type": "string", "example": "cloudflare" } }, "Transfer-Encoding": { "schema": { "type": "string", "example": "chunked" } }, "access-control-allow-credentials": { "schema": { "type": "string", "example": "true" } }, "access-control-allow-headers": { "schema": { "type": "string", "example": "X-CSRF-Token, X-Requested-With, Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version" } }, "access-control-allow-methods": { "schema": { "type": "string", "example": "GET,OPTIONS,PATCH,DELETE,POST,PUT" } }, "access-control-allow-origin": { "schema": { "type": "string", "example": "*" } }, "alt-svc": { "schema": { "type": "string", "example": "h3=\":443\"; ma=86400" } }, "cf-cache-status": { "schema": { "type": "string", "example": "DYNAMIC" } }, "server-timing": { "schema": { "type": "string", "example": "cfL4;desc=\"?proto=TCP&rtt=882&min_rtt=841&rtt_var=344&sent=5&recv=7&lost=0&retrans=0&sent_bytes=2803&recv_bytes=1735&delivery_rate=3443519&cwnd=251&unsent_bytes=0&cid=099503defb4c9823&ts=1949&x=0\"" } }, "strict-transport-security": { "schema": { "type": "string", "example": "max-age=63072000" } }, "vary": { "schema": { "type": "string", "example": "accept-encoding" } }, "x-matched-path": { "schema": { "type": "string", "example": "/api/external/chatbots" } }, "x-vercel-cache": { "schema": { "type": "string", "example": "MISS" } }, "x-vercel-id": { "schema": { "type": "string", "example": "sin1::mn5rp-1737520486863-2232150d9f20" } } }, "content": { "application/json": { "schema": { "type": "object", "properties": { "chatbot": { "type": "object", "properties": { "active": { "type": "boolean", "example": true }, "created_at": { "type": "string", "example": "2025-01-22T04:30:45.790337+00:00" }, "description": { "type": "string", "example": "A helpful support assistant" }, "docs_metadata": { "nullable": true, "example": null }, "enabled_plugins": { "nullable": true, "example": null }, "id": { "type": "string", "example": "3317853e-0af2-427d-a56f-351a9587f48f" }, "is_public": { "type": "boolean", "example": false }, "managers": { "nullable": true, "example": null }, "migrated_data": { "type": "boolean", "example": false }, "name": { "type": "string", "example": "API Docs Demo Chatbot" }, "openai_api_key": { "nullable": true, "example": null }, "organization_id": { "type": "string", "example": "123042b2-86e2-4184-a86e-95423d728815" }, "personality_config": { "type": "object", "properties": { "style": { "type": "string", "example": "Friendly" }, "tone": { "type": "string", "example": "Professional" } } }, "settings": { "type": "object", "properties": { "greeting": { "type": "string", "example": "Hello! How can I assist you today?" }, "isRequestUserInfoEnabled": { "type": "boolean", "example": false }, "isToolEnabled": { "type": "boolean", "example": true }, "model": { "type": "string", "example": "gpt-4o-mini" }, "prompt": { "type": "string", "example": "You are a highly skilled customer support assistant for [company name]. Your goal is to provide accurate, polite, and concise answers to customer inquiries. If you do not know the answer, recommend the customer to contact human support or check the FAQ section. Ensure a positive tone in all responses" }, "snippet": { "type": "object", "properties": { "header": { "type": "string", "example": "Customer Support" }, "logo": { "type": "string", "example": "https://example.com/logo.png" }, "name": { "type": "string", "example": "Support Assistant" }, "primaryColor": { "type": "string", "example": "#4F46E5" }, "secondaryColor": { "type": "string", "example": "#10B981" }, "slogan": { "type": "string", "example": "How can I help you today?" } } } } }, "slug": { "type": "string", "example": "api-docs-demo-chatbot" }, "suggestions": { "nullable": true, "example": null }, "updated_at": { "type": "string", "example": "2025-01-22T04:30:45.790337+00:00" }, "v1_chatbot_id": { "nullable": true, "example": null }, "version_id": { "nullable": true, "example": null }, "voice_widget_config": { "nullable": true, "example": null } } }, "message": { "type": "string", "example": "Chatbot updated successfully" } } }, "examples": { "Example": { "value": { "chatbot": { "active": true, "created_at": "2025-01-22T04:30:45.790337+00:00", "description": "A helpful support assistant", "docs_metadata": null, "enabled_plugins": null, "id": "3317853e-0af2-427d-a56f-351a9587f48f", "is_public": false, "managers": null, "migrated_data": false, "name": "API Docs Demo Chatbot", "openai_api_key": null, "organization_id": "123042b2-86e2-4184-a86e-95423d728815", "personality_config": { "style": "Friendly", "tone": "Professional" }, "settings": { "greeting": "Hello! How can I assist you today?", "isRequestUserInfoEnabled": false, "isToolEnabled": true, "model": "gpt-4o-mini", "prompt": "You are a highly skilled customer support assistant for [company name]. Your goal is to provide accurate, polite, and concise answers to customer inquiries. If you do not know the answer, recommend the customer to contact human support or check the FAQ section. Ensure a positive tone in all responses", "snippet": { "header": "Customer Support", "logo": "https://example.com/logo.png", "name": "Support Assistant", "primaryColor": "#4F46E5", "secondaryColor": "#10B981", "slogan": "How can I help you today?" } }, "slug": "api-docs-demo-chatbot", "suggestions": null, "updated_at": "2025-01-22T04:30:45.790337+00:00", "v1_chatbot_id": null, "version_id": null, "voice_widget_config": null }, "message": "Chatbot updated successfully" } } } } } } } } }, "/api/external/chatbot/{chatbotId}": { "get": { "summary": "Get Chatbot Details", "description": "Get Chatbot Details", "operationId": "getChatbotDetails", "parameters": [ { "name": "x-api-key", "in": "header", "schema": { "type": "string", "example": "15a23c21867f4f38b0b46f5e4adb1caf87a040b34eb58f68" } } ], "responses": { "200": { "description": "Example", "headers": { "CF-RAY": { "schema": { "type": "string", "example": "905cd0e6ccdb0d67-SIN" } }, "Cache-Control": { "schema": { "type": "string", "example": "public, max-age=0, must-revalidate" } }, "Connection": { "schema": { "type": "string", "example": "keep-alive" } }, "Content-Encoding": { "schema": { "type": "string", "example": "br" } }, "Date": { "schema": { "type": "string", "example": "Wed, 22 Jan 2025 04:31:45 GMT" } }, "NEL": { "schema": { "type": "string", "example": "{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}" } }, "Report-To": { "schema": { "type": "string", "example": "{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=SNOs6bk40kjb4WIDWfpzn0tIhqOcRC9Fb9tmYeGu6q4Vgu45%2BHQdAOhbWuQ6EPnsSDwTo3EjJL3DEOCpiwdCo6UwbsyF6bjwJoWaB%2FTZivDN7pfVMfwE0CR8zqEZZiY%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}" } }, "Server": { "schema": { "type": "string", "example": "cloudflare" } }, "Transfer-Encoding": { "schema": { "type": "string", "example": "chunked" } }, "access-control-allow-credentials": { "schema": { "type": "string", "example": "true" } }, "access-control-allow-headers": { "schema": { "type": "string", "example": "X-CSRF-Token, X-Requested-With, Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version" } }, "access-control-allow-methods": { "schema": { "type": "string", "example": "GET,OPTIONS,PATCH,DELETE,POST,PUT" } }, "access-control-allow-origin": { "schema": { "type": "string", "example": "*" } }, "alt-svc": { "schema": { "type": "string", "example": "h3=\":443\"; ma=86400" } }, "cf-cache-status": { "schema": { "type": "string", "example": "DYNAMIC" } }, "server-timing": { "schema": { "type": "string", "example": "cfL4;desc=\"?proto=TCP&rtt=978&min_rtt=855&rtt_var=126&sent=19&recv=21&lost=0&retrans=0&sent_bytes=7364&recv_bytes=3480&delivery_rate=5367933&cwnd=4&unsent_bytes=0&cid=f4026edd2752ea34&ts=92855&x=0\"" } }, "strict-transport-security": { "schema": { "type": "string", "example": "max-age=63072000" } }, "vary": { "schema": { "type": "string", "example": "accept-encoding" } }, "x-matched-path": { "schema": { "type": "string", "example": "/api/external/chatbot/[id]" } }, "x-vercel-cache": { "schema": { "type": "string", "example": "MISS" } }, "x-vercel-id": { "schema": { "type": "string", "example": "sin1::bwtxh-1737520303174-1d62c8a41b56" } } }, "content": { "application/json": { "schema": { "type": "object", "properties": { "chatbot": { "type": "object", "properties": { "active": { "type": "boolean", "example": true }, "created_at": { "type": "string", "example": "2025-01-22T04:30:45.790337+00:00" }, "description": { "type": "string", "example": "A helpful support assistant" }, "docs_metadata": { "nullable": true, "example": null }, "enabled_plugins": { "nullable": true, "example": null }, "id": { "type": "string", "example": "3317853e-0af2-427d-a56f-351a9587f48f" }, "is_public": { "type": "boolean", "example": true }, "managers": { "nullable": true, "example": null }, "migrated_data": { "type": "boolean", "example": false }, "name": { "type": "string", "example": "API Docs Demo Chatbot" }, "openai_api_key": { "nullable": true, "example": null }, "organization_id": { "type": "string", "example": "123042b2-86e2-4184-a86e-95423d728815" }, "personality_config": { "type": "object", "properties": { "style": { "type": "string", "example": "Friendly" }, "tone": { "type": "string", "example": "Professional" } } }, "settings": { "type": "object", "properties": { "greeting": { "type": "string", "example": "Hello! How can I assist you today?" }, "isRequestUserInfoEnabled": { "type": "boolean", "example": false }, "isToolEnabled": { "type": "boolean", "example": true }, "model": { "type": "string", "example": "gpt-4o-mini" }, "prompt": { "type": "string", "example": "You are a highly skilled customer support assistant for [company name]. Your goal is to provide accurate, polite, and concise answers to customer inquiries. If you do not know the answer, recommend the customer to contact human support or check the FAQ section. Ensure a positive tone in all responses" }, "snippet": { "type": "object", "properties": { "header": { "type": "string", "example": "Customer Support" }, "logo": { "type": "string", "example": "https://example.com/logo.png" }, "name": { "type": "string", "example": "Support Assistant" }, "primaryColor": { "type": "string", "example": "#4F46E5" }, "secondaryColor": { "type": "string", "example": "#10B981" }, "slogan": { "type": "string", "example": "How can I help you today?" } } } } }, "slug": { "type": "string", "example": "api-docs-demo-chatbot" }, "suggestions": { "nullable": true, "example": null }, "updated_at": { "type": "string", "example": "2025-01-22T04:30:45.790337+00:00" }, "v1_chatbot_id": { "nullable": true, "example": null }, "version_id": { "nullable": true, "example": null }, "voice_widget_config": { "nullable": true, "example": null } } } } }, "examples": { "Example": { "value": { "chatbot": { "active": true, "created_at": "2025-01-22T04:30:45.790337+00:00", "description": "A helpful support assistant", "docs_metadata": null, "enabled_plugins": null, "id": "3317853e-0af2-427d-a56f-351a9587f48f", "is_public": true, "managers": null, "migrated_data": false, "name": "API Docs Demo Chatbot", "openai_api_key": null, "organization_id": "123042b2-86e2-4184-a86e-95423d728815", "personality_config": { "style": "Friendly", "tone": "Professional" }, "settings": { "greeting": "Hello! How can I assist you today?", "isRequestUserInfoEnabled": false, "isToolEnabled": true, "model": "gpt-4o-mini", "prompt": "You are a highly skilled customer support assistant for [company name]. Your goal is to provide accurate, polite, and concise answers to customer inquiries. If you do not know the answer, recommend the customer to contact human support or check the FAQ section. Ensure a positive tone in all responses", "snippet": { "header": "Customer Support", "logo": "https://example.com/logo.png", "name": "Support Assistant", "primaryColor": "#4F46E5", "secondaryColor": "#10B981", "slogan": "How can I help you today?" } }, "slug": "api-docs-demo-chatbot", "suggestions": null, "updated_at": "2025-01-22T04:30:45.790337+00:00", "v1_chatbot_id": null, "version_id": null, "voice_widget_config": null } } } } } } } } }, "delete": { "summary": "Delete Chatbot", "description": "Delete Chatbot", "operationId": "deleteChatbot", "parameters": [ { "name": "x-api-key", "in": "header", "schema": { "type": "string", "example": "4358d60b39ef0df47f421c0d58331407ec609abb6355dfa4" } } ], "responses": { "200": { "description": "E.G", "headers": { "Connection": { "schema": { "type": "string", "example": "keep-alive" } }, "Date": { "schema": { "type": "string", "example": "Tue, 10 Dec 2024 04:43:11 GMT" } }, "Keep-Alive": { "schema": { "type": "string", "example": "timeout=5" } }, "Transfer-Encoding": { "schema": { "type": "string", "example": "chunked" } } }, "content": { "application/json": { "schema": { "type": "object", "properties": { "message": { "type": "string", "example": "Chatbot deleted successfully" } } }, "examples": { "E.G": { "value": { "message": "Chatbot deleted successfully" } } } } } } } }, "parameters": [ { "name": "chatbotId", "in": "path", "required": true, "schema": { "type": "string", "example": "" } } ] }, "/api/external/chatbot/{chatbotId}/update-avatar": { "patch": { "summary": "Chatbot Avatar", "description": "Chatbot Avatar", "operationId": "chatbotAvatar", "parameters": [ { "name": "x-api-key", "in": "header", "schema": { "type": "string", "example": "15a23c21867f4f38b0b46f5e4adb1caf87a040b34eb58f68" } } ], "requestBody": { "content": { "multipart/form-data": { "schema": { "type": "object", "properties": { "avatar": { "type": "string", "format": "binary" } } } } } }, "responses": { "200": { "description": "Chatbot Avatar", "headers": { "CF-RAY": { "schema": { "type": "string", "example": "905cd3267d4c87ad-SIN" } }, "Cache-Control": { "schema": { "type": "string", "example": "public, max-age=0, must-revalidate" } }, "Connection": { "schema": { "type": "string", "example": "keep-alive" } }, "Content-Encoding": { "schema": { "type": "string", "example": "br" } }, "Date": { "schema": { "type": "string", "example": "Wed, 22 Jan 2025 04:33:18 GMT" } }, "NEL": { "schema": { "type": "string", "example": "{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}" } }, "Report-To": { "schema": { "type": "string", "example": "{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=QYJ7RA3d%2B7Wzw4tmyeDttJ78%2BFgMzzDZl1q1SchZjNmkGWPgJZWjokL82Gdilk2zaVhOzSNNw%2Flhq3gJtmIvYK0HW56mdFdD231y0c7r8Kzk3GN6q2O8xtplOXjX3hM%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}" } }, "Server": { "schema": { "type": "string", "example": "cloudflare" } }, "Transfer-Encoding": { "schema": { "type": "string", "example": "chunked" } }, "access-control-allow-credentials": { "schema": { "type": "string", "example": "true" } }, "access-control-allow-headers": { "schema": { "type": "string", "example": "X-CSRF-Token, X-Requested-With, Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version" } }, "access-control-allow-methods": { "schema": { "type": "string", "example": "GET,OPTIONS,PATCH,DELETE,POST,PUT" } }, "access-control-allow-origin": { "schema": { "type": "string", "example": "*" } }, "alt-svc": { "schema": { "type": "string", "example": "h3=\":443\"; ma=86400" } }, "cf-cache-status": { "schema": { "type": "string", "example": "DYNAMIC" } }, "server-timing": { "schema": { "type": "string", "example": "cfL4;desc=\"?proto=TCP&rtt=891&min_rtt=879&rtt_var=355&sent=107&recv=221&lost=0&retrans=0&sent_bytes=2803&recv_bytes=162239&delivery_rate=2952089&cwnd=248&unsent_bytes=0&cid=6529062143347b62&ts=3440&x=0\"" } }, "strict-transport-security": { "schema": { "type": "string", "example": "max-age=63072000" } }, "vary": { "schema": { "type": "string", "example": "accept-encoding" } }, "x-matched-path": { "schema": { "type": "string", "example": "/api/external/chatbot/[id]/update-avatar" } }, "x-vercel-cache": { "schema": { "type": "string", "example": "MISS" } }, "x-vercel-id": { "schema": { "type": "string", "example": "sin1::icn1::sw5z4-1737520395506-94f91c4f1d77" } } }, "content": { "application/json": { "schema": { "type": "object", "properties": { "chatbot": { "type": "object", "properties": { "active": { "type": "boolean", "example": true }, "created_at": { "type": "string", "example": "2025-01-22T04:30:45.790337+00:00" }, "description": { "type": "string", "example": "A helpful support assistant" }, "docs_metadata": { "nullable": true, "example": null }, "enabled_plugins": { "nullable": true, "example": null }, "id": { "type": "string", "example": "3317853e-0af2-427d-a56f-351a9587f48f" }, "is_public": { "type": "boolean", "example": true }, "managers": { "nullable": true, "example": null }, "migrated_data": { "type": "boolean", "example": false }, "name": { "type": "string", "example": "API Docs Demo Chatbot" }, "openai_api_key": { "nullable": true, "example": null }, "organization_id": { "type": "string", "example": "123042b2-86e2-4184-a86e-95423d728815" }, "personality_config": { "type": "object", "properties": { "style": { "type": "string", "example": "Friendly" }, "tone": { "type": "string", "example": "Professional" } } }, "settings": { "type": "object", "properties": { "avatar": { "type": "string", "example": "https://alwiuiydhxcstgrluarg.supabase.co/storage/v1/object/public/chatbot/3317853e-0af2-427d-a56f-351a9587f48f/7b9ec849-29fb-41c4-b66e-0709e7fa18b9.jpg" }, "greeting": { "type": "string", "example": "Hello! How can I assist you today?" }, "isRequestUserInfoEnabled": { "type": "boolean", "example": false }, "isToolEnabled": { "type": "boolean", "example": true }, "model": { "type": "string", "example": "gpt-4o-mini" }, "prompt": { "type": "string", "example": "You are a highly skilled customer support assistant for [company name]. Your goal is to provide accurate, polite, and concise answers to customer inquiries. If you do not know the answer, recommend the customer to contact human support or check the FAQ section. Ensure a positive tone in all responses" }, "snippet": { "type": "object", "properties": { "header": { "type": "string", "example": "Customer Support" }, "logo": { "type": "string", "example": "https://example.com/logo.png" }, "name": { "type": "string", "example": "Support Assistant" }, "primaryColor": { "type": "string", "example": "#4F46E5" }, "secondaryColor": { "type": "string", "example": "#10B981" }, "slogan": { "type": "string", "example": "How can I help you today?" } } } } }, "slug": { "type": "string", "example": "api-docs-demo-chatbot" }, "suggestions": { "nullable": true, "example": null }, "updated_at": { "type": "string", "example": "2025-01-22T04:30:45.790337+00:00" }, "v1_chatbot_id": { "nullable": true, "example": null }, "version_id": { "nullable": true, "example": null }, "voice_widget_config": { "nullable": true, "example": null } } }, "message": { "type": "string", "example": "Avatar updated successfully" } } }, "examples": { "Chatbot Avatar": { "value": { "chatbot": { "active": true, "created_at": "2025-01-22T04:30:45.790337+00:00", "description": "A helpful support assistant", "docs_metadata": null, "enabled_plugins": null, "id": "3317853e-0af2-427d-a56f-351a9587f48f", "is_public": true, "managers": null, "migrated_data": false, "name": "API Docs Demo Chatbot", "openai_api_key": null, "organization_id": "123042b2-86e2-4184-a86e-95423d728815", "personality_config": { "style": "Friendly", "tone": "Professional" }, "settings": { "avatar": "https://alwiuiydhxcstgrluarg.supabase.co/storage/v1/object/public/chatbot/3317853e-0af2-427d-a56f-351a9587f48f/7b9ec849-29fb-41c4-b66e-0709e7fa18b9.jpg", "greeting": "Hello! How can I assist you today?", "isRequestUserInfoEnabled": false, "isToolEnabled": true, "model": "gpt-4o-mini", "prompt": "You are a highly skilled customer support assistant for [company name]. Your goal is to provide accurate, polite, and concise answers to customer inquiries. If you do not know the answer, recommend the customer to contact human support or check the FAQ section. Ensure a positive tone in all responses", "snippet": { "header": "Customer Support", "logo": "https://example.com/logo.png", "name": "Support Assistant", "primaryColor": "#4F46E5", "secondaryColor": "#10B981", "slogan": "How can I help you today?" } }, "slug": "api-docs-demo-chatbot", "suggestions": null, "updated_at": "2025-01-22T04:30:45.790337+00:00", "v1_chatbot_id": null, "version_id": null, "voice_widget_config": null }, "message": "Avatar updated successfully" } } } } } } } }, "parameters": [ { "name": "chatbotId", "in": "path", "required": true, "schema": { "type": "string", "example": "3317853e-0af2-427d-a56f-351a9587f48f" } } ] }, "/api/external/chatbot/{chatbotId}/voice-agent": { "patch": { "summary": "Voice Agent", "description": "Voice Agent", "operationId": "voiceAgent", "parameters": [ { "name": "x-api-key", "in": "header", "schema": { "type": "string", "example": "15a23c21867f4f38b0b46f5e4adb1caf87a040b34eb58f68" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object", "properties": { "agentId": { "type": "string", "example": "5afe16ed-5fd2-4552-a993-903bc9c32bb6" }, "appearance": { "type": "object", "properties": { "backgroundColor": { "type": "string", "example": "#ffffff" }, "borderColor": { "type": "string", "example": "#e1e1e1" }, "buttonColor": { "type": "string", "example": "#000000" }, "buttonRadius": { "type": "number", "example": 32 }, "buttonTextColor": { "type": "string", "example": "#ffffff" }, "cardRadius": { "type": "number", "example": 20 }, "focusOutlineColor": { "type": "string", "example": "#000000" }, "textColor": { "type": "string", "example": "#000000" } } }, "avatar": { "type": "object", "properties": { "imageUrl": { "type": "string", "example": "https://assets.grok.com/users/e473c4f6-e103-4d71-8194-03a7ecc74370/0R8nPXaAvhBinoUh-generated_image.jpg" } } }, "model": { "type": "object", "properties": { "max_output_tokens": { "type": "number", "example": 2048 }, "temperature": { "type": "number", "example": 0.7 } } }, "text": { "type": "object", "properties": { "callToAction": { "type": "string", "example": "Appointment?" }, "endCall": { "type": "string", "example": "End" }, "listeningStatus": { "type": "string", "example": "Listening" }, "speakingStatus": { "type": "string", "example": "Talk to interrupt" }, "startCall": { "type": "string", "example": "Start a call" } } }, "vad": { "type": "object", "properties": { "prefix_padding_ms": { "type": "number", "example": 500 }, "silence_duration_ms": { "type": "number", "example": 1000 }, "threshold": { "type": "number", "example": 0.8 } } }, "voice": { "type": "string", "example": "shimmer" } } }, "examples": { "Voice Agent": { "value": { "agentId": "5afe16ed-5fd2-4552-a993-903bc9c32bb6", "appearance": { "backgroundColor": "#ffffff", "borderColor": "#e1e1e1", "buttonColor": "#000000", "buttonRadius": 32, "buttonTextColor": "#ffffff", "cardRadius": 20, "focusOutlineColor": "#000000", "textColor": "#000000" }, "avatar": { "imageUrl": "https://assets.grok.com/users/e473c4f6-e103-4d71-8194-03a7ecc74370/0R8nPXaAvhBinoUh-generated_image.jpg" }, "model": { "max_output_tokens": 2048, "temperature": 0.7 }, "text": { "callToAction": "Appointment?", "endCall": "End", "listeningStatus": "Listening", "speakingStatus": "Talk to interrupt", "startCall": "Start a call" }, "vad": { "prefix_padding_ms": 500, "silence_duration_ms": 1000, "threshold": 0.8 }, "voice": "shimmer" } } } } } }, "responses": { "200": { "description": "Example", "headers": { "Access-Control-Allow-Credentials": { "schema": { "type": "string", "example": "true" } }, "Access-Control-Allow-Headers": { "schema": { "type": "string", "example": "X-CSRF-Token, X-Requested-With, Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version" } }, "Access-Control-Allow-Methods": { "schema": { "type": "string", "example": "GET,OPTIONS,PATCH,DELETE,POST,PUT" } }, "Access-Control-Allow-Origin": { "schema": { "type": "string", "example": "*" } }, "Connection": { "schema": { "type": "string", "example": "keep-alive" } }, "Date": { "schema": { "type": "string", "example": "Fri, 24 Jan 2025 10:05:28 GMT" } }, "Keep-Alive": { "schema": { "type": "string", "example": "timeout=5" } }, "Transfer-Encoding": { "schema": { "type": "string", "example": "chunked" } }, "vary": { "schema": { "type": "string", "example": "RSC, Next-Router-State-Tree, Next-Router-Prefetch, Next-Router-Segment-Prefetch" } } }, "content": { "application/json": { "schema": { "type": "object", "properties": { "message": { "type": "string", "example": "Voice widget config updated successfully" }, "voice_widget_config": { "type": "object", "properties": { "agentId": { "type": "string", "example": "5afe16ed-5fd2-4552-a993-903bc9c32bb6" }, "appearance": { "type": "object", "properties": { "backgroundColor": { "type": "string", "example": "#ffffff" }, "borderColor": { "type": "string", "example": "#e1e1e1" }, "buttonColor": { "type": "string", "example": "#000000" }, "buttonRadius": { "type": "number", "example": 32 }, "buttonTextColor": { "type": "string", "example": "#ffffff" }, "cardRadius": { "type": "number", "example": 20 }, "focusOutlineColor": { "type": "string", "example": "#000000" }, "textColor": { "type": "string", "example": "#000000" } } }, "avatar": { "type": "object", "properties": { "imageUrl": { "type": "string", "example": "https://assets.grok.com/users/e473c4f6-e103-4d71-8194-03a7ecc74370/0R8nPXaAvhBinoUh-generated_image.jpg" } } }, "model": { "type": "object", "properties": { "max_output_tokens": { "type": "number", "example": 2048 }, "temperature": { "type": "number", "example": 0.7 } } }, "text": { "type": "object", "properties": { "callToAction": { "type": "string", "example": "Appointment?" }, "endCall": { "type": "string", "example": "End" }, "listeningStatus": { "type": "string", "example": "Listening" }, "speakingStatus": { "type": "string", "example": "Talk to interrupt" }, "startCall": { "type": "string", "example": "Start a call" } } }, "vad": { "type": "object", "properties": { "prefix_padding_ms": { "type": "number", "example": 500 }, "silence_duration_ms": { "type": "number", "example": 1000 }, "threshold": { "type": "number", "example": 0.8 } } }, "voice": { "type": "string", "example": "shimmer" } } } } }, "examples": { "Example": { "value": { "message": "Voice widget config updated successfully", "voice_widget_config": { "agentId": "5afe16ed-5fd2-4552-a993-903bc9c32bb6", "appearance": { "backgroundColor": "#ffffff", "borderColor": "#e1e1e1", "buttonColor": "#000000", "buttonRadius": 32, "buttonTextColor": "#ffffff", "cardRadius": 20, "focusOutlineColor": "#000000", "textColor": "#000000" }, "avatar": { "imageUrl": "https://assets.grok.com/users/e473c4f6-e103-4d71-8194-03a7ecc74370/0R8nPXaAvhBinoUh-generated_image.jpg" }, "model": { "max_output_tokens": 2048, "temperature": 0.7 }, "text": { "callToAction": "Appointment?", "endCall": "End", "listeningStatus": "Listening", "speakingStatus": "Talk to interrupt", "startCall": "Start a call" }, "vad": { "prefix_padding_ms": 500, "silence_duration_ms": 1000, "threshold": 0.8 }, "voice": "shimmer" } } } } } } } } }, "parameters": [ { "name": "chatbotId", "in": "path", "required": true, "schema": { "type": "string", "example": "3317853e-0af2-427d-a56f-351a9587f48f" } } ] }, "/api/external/chatbot/{chatbotId}/chat-widget": { "patch": { "summary": "Chat Widget", "description": "Chat Widget", "operationId": "chatWidget", "parameters": [ { "name": "x-api-key", "in": "header", "schema": { "type": "string", "example": "15a23c21867f4f38b0b46f5e4adb1caf87a040b34eb58f68" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object", "properties": { "header": { "type": "string", "example": "Customer Support" }, "language": { "type": "string", "example": "auto" }, "logo": { "type": "string", "example": "https://example.com/logo.png" }, "name": { "type": "string", "example": "Support Assistant" }, "primaryColor": { "type": "string", "example": "#4F46E5" }, "secondaryColor": { "type": "string", "example": "#10B981" }, "slogan": { "type": "string", "example": "How can I help you today?" } } }, "examples": { "Chat Widget": { "value": { "header": "Customer Support", "language": "auto", "logo": "https://example.com/logo.png", "name": "Support Assistant", "primaryColor": "#4F46E5", "secondaryColor": "#10B981", "slogan": "How can I help you today?" } } } } } }, "responses": { "200": { "description": "Example", "headers": { "Access-Control-Allow-Credentials": { "schema": { "type": "string", "example": "true" } }, "Access-Control-Allow-Headers": { "schema": { "type": "string", "example": "X-CSRF-Token, X-Requested-With, Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version" } }, "Access-Control-Allow-Methods": { "schema": { "type": "string", "example": "GET,OPTIONS,PATCH,DELETE,POST,PUT" } }, "Access-Control-Allow-Origin": { "schema": { "type": "string", "example": "*" } }, "Connection": { "schema": { "type": "string", "example": "keep-alive" } }, "Date": { "schema": { "type": "string", "example": "Sat, 25 Jan 2025 08:54:13 GMT" } }, "Keep-Alive": { "schema": { "type": "string", "example": "timeout=5" } }, "Transfer-Encoding": { "schema": { "type": "string", "example": "chunked" } }, "vary": { "schema": { "type": "string", "example": "RSC, Next-Router-State-Tree, Next-Router-Prefetch, Next-Router-Segment-Prefetch" } } }, "content": { "application/json": { "schema": { "type": "object", "properties": { "chat_widget_config": { "type": "object", "properties": { "header": { "type": "string", "example": "Customer Support" }, "language": { "type": "string", "example": "auto" }, "logo": { "type": "string", "example": "https://example.com/logo.png" }, "name": { "type": "string", "example": "Support Assistant" }, "primaryColor": { "type": "string", "example": "#4F46E5" }, "secondaryColor": { "type": "string", "example": "#10B981" }, "slogan": { "type": "string", "example": "How can I help you today?" } } }, "message": { "type": "string", "example": "Chat widget config updated successfully" } } }, "examples": { "Example": { "value": { "chat_widget_config": { "header": "Customer Support", "language": "auto", "logo": "https://example.com/logo.png", "name": "Support Assistant", "primaryColor": "#4F46E5", "secondaryColor": "#10B981", "slogan": "How can I help you today?" }, "message": "Chat widget config updated successfully" } } } } } } } }, "parameters": [ { "name": "chatbotId", "in": "path", "required": true, "schema": { "type": "string", "example": "3317853e-0af2-427d-a56f-351a9587f48f" } } ] }, "/api/external/chatbot/{chatbotId}/knowledge-base": { "get": { "summary": "Get Knowledge Base List Of Chatbot", "description": "Get Knowledge Base List Of Chatbot", "operationId": "getKnowledgeBaseListOfChatbot", "parameters": [ { "name": "title", "in": "query", "schema": { "type": "string", "example": "파일" } }, { "name": "id", "in": "query", "schema": { "type": "string", "example": "bd51aac6-7bd2-46c3-acb5-e1e855bb1ef4" } }, { "name": "x-api-key", "in": "header", "schema": { "type": "string", "example": "4358d60b39ef0df47f421c0d58331407ec609abb6355dfa4" } } ], "responses": { "200": { "description": "Example", "headers": { "Connection": { "schema": { "type": "string", "example": "keep-alive" } }, "Date": { "schema": { "type": "string", "example": "Mon, 02 Dec 2024 06:36:52 GMT" } }, "Keep-Alive": { "schema": { "type": "string", "example": "timeout=5" } }, "Transfer-Encoding": { "schema": { "type": "string", "example": "chunked" } } }, "content": { "application/json": { "schema": { "type": "object", "properties": { "chatbot": { "type": "object", "properties": { "active": { "type": "boolean", "example": true }, "created_at": { "type": "string", "example": "2024-11-08T09:25:54.141252+00:00" }, "description": { "type": "string", "example": "Demo AI Chatbot" }, "id": { "type": "string", "example": "5afe16ed-5fd2-4552-a993-903bc9c32bb6" }, "is_public": { "type": "boolean", "example": true }, "name": { "type": "string", "example": "Test" }, "openai_api_key": { "nullable": true, "example": null }, "organization_id": { "type": "string", "example": "123042b2-86e2-4184-a86e-95423d728815" }, "personality_config": { "type": "object", "properties": { "style": { "type": "string", "example": "Test" }, "tone": { "type": "string", "example": "Test" } } }, "settings": { "type": "object", "properties": { "avatar": { "type": "string", "example": "https://alwiuiydhxcstgrluarg.supabase.co/storage/v1/object/public/chatbot/5afe16ed-5fd2-4552-a993-903bc9c32bb6/0aabc2ff-6aab-491b-8858-0d001acc167d.png" }, "greeting": { "type": "string", "example": "Hello! How can I assist you today?" }, "isRequestUserInfoEnabled": { "type": "boolean", "example": false }, "isToolEnabled": { "type": "boolean", "example": true }, "model": { "type": "string", "example": "gpt-4o" }, "prompt": { "type": "string", "example": "You are a helpful and friendly customer support agent. Respond to user inquiries in a clear and concise manner. Always strive to provide accurate and helpful information." }, "snippet": { "type": "object", "properties": { "header": { "type": "string", "example": "오케이챗 고객응대 챗봇" }, "logo": { "type": "string", "example": "https://dasomx.odoo.com/web/image/website/1/logo/DASOMX?unique=1aee356" }, "name": { "type": "string", "example": "Test" }, "primaryColor": { "type": "string", "example": "#9c2caa" }, "secondaryColor": { "type": "string", "example": "#60d7a9" }, "slogan": { "type": "string", "example": "Chat with us" } } } } }, "slug": { "type": "string", "example": "test-1" }, "updated_at": { "type": "string", "example": "2024-12-01T14:38:45.709025+00:00" } } } } }, "examples": { "Example": { "value": { "chatbot": { "active": true, "created_at": "2024-11-08T09:25:54.141252+00:00", "description": "Demo AI Chatbot", "id": "5afe16ed-5fd2-4552-a993-903bc9c32bb6", "is_public": true, "name": "Test", "openai_api_key": null, "organization_id": "123042b2-86e2-4184-a86e-95423d728815", "personality_config": { "style": "Test", "tone": "Test" }, "settings": { "avatar": "https://alwiuiydhxcstgrluarg.supabase.co/storage/v1/object/public/chatbot/5afe16ed-5fd2-4552-a993-903bc9c32bb6/0aabc2ff-6aab-491b-8858-0d001acc167d.png", "greeting": "Hello! How can I assist you today?", "isRequestUserInfoEnabled": false, "isToolEnabled": true, "model": "gpt-4o", "prompt": "You are a helpful and friendly customer support agent. Respond to user inquiries in a clear and concise manner. Always strive to provide accurate and helpful information.", "snippet": { "header": "오케이챗 고객응대 챗봇", "logo": "https://dasomx.odoo.com/web/image/website/1/logo/DASOMX?unique=1aee356", "name": "Test", "primaryColor": "#9c2caa", "secondaryColor": "#60d7a9", "slogan": "Chat with us" } }, "slug": "test-1", "updated_at": "2024-12-01T14:38:45.709025+00:00" } } } } } } } } }, "delete": { "summary": "Delete Knowledge Base Data", "description": "Delete Knowledge Base Data", "operationId": "deleteKnowledgeBaseData", "parameters": [ { "name": "id", "in": "query", "schema": { "type": "string", "example": "2043a479-0cca-4495-97cc-c4b490138f3d" } }, { "name": "x-api-key", "in": "header", "schema": { "type": "string", "example": "4358d60b39ef0df47f421c0d58331407ec609abb6355dfa4" } } ], "responses": { "200": { "description": "Example", "headers": { "Connection": { "schema": { "type": "string", "example": "keep-alive" } }, "Date": { "schema": { "type": "string", "example": "Mon, 02 Dec 2024 06:36:52 GMT" } }, "Keep-Alive": { "schema": { "type": "string", "example": "timeout=5" } }, "Transfer-Encoding": { "schema": { "type": "string", "example": "chunked" } } }, "content": { "application/json": { "schema": { "type": "object", "properties": { "chatbot": { "type": "object", "properties": { "active": { "type": "boolean", "example": true }, "created_at": { "type": "string", "example": "2024-11-08T09:25:54.141252+00:00" }, "description": { "type": "string", "example": "Demo AI Chatbot" }, "id": { "type": "string", "example": "5afe16ed-5fd2-4552-a993-903bc9c32bb6" }, "is_public": { "type": "boolean", "example": true }, "name": { "type": "string", "example": "Test" }, "openai_api_key": { "nullable": true, "example": null }, "organization_id": { "type": "string", "example": "123042b2-86e2-4184-a86e-95423d728815" }, "personality_config": { "type": "object", "properties": { "style": { "type": "string", "example": "Test" }, "tone": { "type": "string", "example": "Test" } } }, "settings": { "type": "object", "properties": { "avatar": { "type": "string", "example": "https://alwiuiydhxcstgrluarg.supabase.co/storage/v1/object/public/chatbot/5afe16ed-5fd2-4552-a993-903bc9c32bb6/0aabc2ff-6aab-491b-8858-0d001acc167d.png" }, "greeting": { "type": "string", "example": "Hello! How can I assist you today?" }, "isRequestUserInfoEnabled": { "type": "boolean", "example": false }, "isToolEnabled": { "type": "boolean", "example": true }, "model": { "type": "string", "example": "gpt-4o" }, "prompt": { "type": "string", "example": "You are a helpful and friendly customer support agent. Respond to user inquiries in a clear and concise manner. Always strive to provide accurate and helpful information." }, "snippet": { "type": "object", "properties": { "header": { "type": "string", "example": "오케이챗 고객응대 챗봇" }, "logo": { "type": "string", "example": "https://dasomx.odoo.com/web/image/website/1/logo/DASOMX?unique=1aee356" }, "name": { "type": "string", "example": "Test" }, "primaryColor": { "type": "string", "example": "#9c2caa" }, "secondaryColor": { "type": "string", "example": "#60d7a9" }, "slogan": { "type": "string", "example": "Chat with us" } } } } }, "slug": { "type": "string", "example": "test-1" }, "updated_at": { "type": "string", "example": "2024-12-01T14:38:45.709025+00:00" } } } } }, "examples": { "Example": { "value": { "chatbot": { "active": true, "created_at": "2024-11-08T09:25:54.141252+00:00", "description": "Demo AI Chatbot", "id": "5afe16ed-5fd2-4552-a993-903bc9c32bb6", "is_public": true, "name": "Test", "openai_api_key": null, "organization_id": "123042b2-86e2-4184-a86e-95423d728815", "personality_config": { "style": "Test", "tone": "Test" }, "settings": { "avatar": "https://alwiuiydhxcstgrluarg.supabase.co/storage/v1/object/public/chatbot/5afe16ed-5fd2-4552-a993-903bc9c32bb6/0aabc2ff-6aab-491b-8858-0d001acc167d.png", "greeting": "Hello! How can I assist you today?", "isRequestUserInfoEnabled": false, "isToolEnabled": true, "model": "gpt-4o", "prompt": "You are a helpful and friendly customer support agent. Respond to user inquiries in a clear and concise manner. Always strive to provide accurate and helpful information.", "snippet": { "header": "오케이챗 고객응대 챗봇", "logo": "https://dasomx.odoo.com/web/image/website/1/logo/DASOMX?unique=1aee356", "name": "Test", "primaryColor": "#9c2caa", "secondaryColor": "#60d7a9", "slogan": "Chat with us" } }, "slug": "test-1", "updated_at": "2024-12-01T14:38:45.709025+00:00" } } } } } } } } }, "patch": { "summary": "Update Knowledge Base", "description": "Update Knowledge Base", "operationId": "updateKnowledgeBase", "parameters": [ { "name": "title", "in": "query", "schema": { "type": "string", "example": "파일" } }, { "name": "x-api-key", "in": "header", "schema": { "type": "string", "example": "4358d60b39ef0df47f421c0d58331407ec609abb6355dfa4" } } ], "requestBody": { "content": { "multipart/form-data": { "schema": { "type": "object", "properties": { "documentId": { "type": "string", "example": "2043a479-0cca-4495-97cc-c4b490138f3d" }, "file": { "type": "string", "format": "binary" } } } } } }, "responses": { "200": { "description": "Example", "headers": { "Connection": { "schema": { "type": "string", "example": "keep-alive" } }, "Date": { "schema": { "type": "string", "example": "Mon, 02 Dec 2024 06:36:52 GMT" } }, "Keep-Alive": { "schema": { "type": "string", "example": "timeout=5" } }, "Transfer-Encoding": { "schema": { "type": "string", "example": "chunked" } } }, "content": { "application/json": { "schema": { "type": "object", "properties": { "chatbot": { "type": "object", "properties": { "active": { "type": "boolean", "example": true }, "created_at": { "type": "string", "example": "2024-11-08T09:25:54.141252+00:00" }, "description": { "type": "string", "example": "Demo AI Chatbot" }, "id": { "type": "string", "example": "5afe16ed-5fd2-4552-a993-903bc9c32bb6" }, "is_public": { "type": "boolean", "example": true }, "name": { "type": "string", "example": "Test" }, "openai_api_key": { "nullable": true, "example": null }, "organization_id": { "type": "string", "example": "123042b2-86e2-4184-a86e-95423d728815" }, "personality_config": { "type": "object", "properties": { "style": { "type": "string", "example": "Test" }, "tone": { "type": "string", "example": "Test" } } }, "settings": { "type": "object", "properties": { "avatar": { "type": "string", "example": "https://alwiuiydhxcstgrluarg.supabase.co/storage/v1/object/public/chatbot/5afe16ed-5fd2-4552-a993-903bc9c32bb6/0aabc2ff-6aab-491b-8858-0d001acc167d.png" }, "greeting": { "type": "string", "example": "Hello! How can I assist you today?" }, "isRequestUserInfoEnabled": { "type": "boolean", "example": false }, "isToolEnabled": { "type": "boolean", "example": true }, "model": { "type": "string", "example": "gpt-4o" }, "prompt": { "type": "string", "example": "You are a helpful and friendly customer support agent. Respond to user inquiries in a clear and concise manner. Always strive to provide accurate and helpful information." }, "snippet": { "type": "object", "properties": { "header": { "type": "string", "example": "오케이챗 고객응대 챗봇" }, "logo": { "type": "string", "example": "https://dasomx.odoo.com/web/image/website/1/logo/DASOMX?unique=1aee356" }, "name": { "type": "string", "example": "Test" }, "primaryColor": { "type": "string", "example": "#9c2caa" }, "secondaryColor": { "type": "string", "example": "#60d7a9" }, "slogan": { "type": "string", "example": "Chat with us" } } } } }, "slug": { "type": "string", "example": "test-1" }, "updated_at": { "type": "string", "example": "2024-12-01T14:38:45.709025+00:00" } } } } }, "examples": { "Example": { "value": { "chatbot": { "active": true, "created_at": "2024-11-08T09:25:54.141252+00:00", "description": "Demo AI Chatbot", "id": "5afe16ed-5fd2-4552-a993-903bc9c32bb6", "is_public": true, "name": "Test", "openai_api_key": null, "organization_id": "123042b2-86e2-4184-a86e-95423d728815", "personality_config": { "style": "Test", "tone": "Test" }, "settings": { "avatar": "https://alwiuiydhxcstgrluarg.supabase.co/storage/v1/object/public/chatbot/5afe16ed-5fd2-4552-a993-903bc9c32bb6/0aabc2ff-6aab-491b-8858-0d001acc167d.png", "greeting": "Hello! How can I assist you today?", "isRequestUserInfoEnabled": false, "isToolEnabled": true, "model": "gpt-4o", "prompt": "You are a helpful and friendly customer support agent. Respond to user inquiries in a clear and concise manner. Always strive to provide accurate and helpful information.", "snippet": { "header": "오케이챗 고객응대 챗봇", "logo": "https://dasomx.odoo.com/web/image/website/1/logo/DASOMX?unique=1aee356", "name": "Test", "primaryColor": "#9c2caa", "secondaryColor": "#60d7a9", "slogan": "Chat with us" } }, "slug": "test-1", "updated_at": "2024-12-01T14:38:45.709025+00:00" } } } } } } } } }, "parameters": [ { "name": "chatbotId", "in": "path", "required": true, "schema": { "type": "string", "example": "" } } ] }, "/api/external/chatbot/{chatbotId}/query-knowledge": { "post": { "summary": "Query Knowledge", "description": "Query Knowledge", "operationId": "queryKnowledge", "parameters": [ { "name": "id", "in": "query", "schema": { "type": "string", "example": "bd51aac6-7bd2-46c3-acb5-e1e855bb1ef4" } }, { "name": "x-api-key", "in": "header", "schema": { "type": "string", "example": "4358d60b39ef0df47f421c0d58331407ec609abb6355dfa4" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object", "properties": { "query": { "type": "string", "example": "What's OKCHAT AI?" } } }, "examples": { "Query Knowledge": { "value": { "query": "What's OKCHAT AI?" } } } } } }, "responses": { "200": { "description": "Example", "headers": { "Connection": { "schema": { "type": "string", "example": "keep-alive" } }, "Date": { "schema": { "type": "string", "example": "Mon, 02 Dec 2024 06:36:52 GMT" } }, "Keep-Alive": { "schema": { "type": "string", "example": "timeout=5" } }, "Transfer-Encoding": { "schema": { "type": "string", "example": "chunked" } } }, "content": { "application/json": { "schema": { "type": "object", "properties": { "chatbot": { "type": "object", "properties": { "active": { "type": "boolean", "example": true }, "created_at": { "type": "string", "example": "2024-11-08T09:25:54.141252+00:00" }, "description": { "type": "string", "example": "Demo AI Chatbot" }, "id": { "type": "string", "example": "5afe16ed-5fd2-4552-a993-903bc9c32bb6" }, "is_public": { "type": "boolean", "example": true }, "name": { "type": "string", "example": "Test" }, "openai_api_key": { "nullable": true, "example": null }, "organization_id": { "type": "string", "example": "123042b2-86e2-4184-a86e-95423d728815" }, "personality_config": { "type": "object", "properties": { "style": { "type": "string", "example": "Test" }, "tone": { "type": "string", "example": "Test" } } }, "settings": { "type": "object", "properties": { "avatar": { "type": "string", "example": "https://alwiuiydhxcstgrluarg.supabase.co/storage/v1/object/public/chatbot/5afe16ed-5fd2-4552-a993-903bc9c32bb6/0aabc2ff-6aab-491b-8858-0d001acc167d.png" }, "greeting": { "type": "string", "example": "Hello! How can I assist you today?" }, "isRequestUserInfoEnabled": { "type": "boolean", "example": false }, "isToolEnabled": { "type": "boolean", "example": true }, "model": { "type": "string", "example": "gpt-4o" }, "prompt": { "type": "string", "example": "You are a helpful and friendly customer support agent. Respond to user inquiries in a clear and concise manner. Always strive to provide accurate and helpful information." }, "snippet": { "type": "object", "properties": { "header": { "type": "string", "example": "오케이챗 고객응대 챗봇" }, "logo": { "type": "string", "example": "https://dasomx.odoo.com/web/image/website/1/logo/DASOMX?unique=1aee356" }, "name": { "type": "string", "example": "Test" }, "primaryColor": { "type": "string", "example": "#9c2caa" }, "secondaryColor": { "type": "string", "example": "#60d7a9" }, "slogan": { "type": "string", "example": "Chat with us" } } } } }, "slug": { "type": "string", "example": "test-1" }, "updated_at": { "type": "string", "example": "2024-12-01T14:38:45.709025+00:00" } } } } }, "examples": { "Example": { "value": { "chatbot": { "active": true, "created_at": "2024-11-08T09:25:54.141252+00:00", "description": "Demo AI Chatbot", "id": "5afe16ed-5fd2-4552-a993-903bc9c32bb6", "is_public": true, "name": "Test", "openai_api_key": null, "organization_id": "123042b2-86e2-4184-a86e-95423d728815", "personality_config": { "style": "Test", "tone": "Test" }, "settings": { "avatar": "https://alwiuiydhxcstgrluarg.supabase.co/storage/v1/object/public/chatbot/5afe16ed-5fd2-4552-a993-903bc9c32bb6/0aabc2ff-6aab-491b-8858-0d001acc167d.png", "greeting": "Hello! How can I assist you today?", "isRequestUserInfoEnabled": false, "isToolEnabled": true, "model": "gpt-4o", "prompt": "You are a helpful and friendly customer support agent. Respond to user inquiries in a clear and concise manner. Always strive to provide accurate and helpful information.", "snippet": { "header": "오케이챗 고객응대 챗봇", "logo": "https://dasomx.odoo.com/web/image/website/1/logo/DASOMX?unique=1aee356", "name": "Test", "primaryColor": "#9c2caa", "secondaryColor": "#60d7a9", "slogan": "Chat with us" } }, "slug": "test-1", "updated_at": "2024-12-01T14:38:45.709025+00:00" } } } } } } } } }, "parameters": [ { "name": "chatbotId", "in": "path", "required": true, "schema": { "type": "string", "example": "" } } ] }, "/api/external/chatbot/{chatbotId}/chat": { "post": { "summary": "Chat", "description": "Chat", "operationId": "chat", "parameters": [ { "name": "stream", "in": "query", "schema": { "type": "string", "example": "false" } }, { "name": "x-api-key", "in": "header", "schema": { "type": "string", "example": "15a23c21867f4f38b0b46f5e4adb1caf87a040b34eb58f68" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object", "properties": { "messages": { "type": "array", "items": { "type": "object", "properties": { "content": { "type": "string", "example": "Tell me about the history of the internet." }, "role": { "type": "string", "example": "user" } } }, "example": [ { "content": "Tell me about the history of the internet.", "role": "user" } ] }, "platform": { "type": "string", "example": "web" }, "sessionToken": { "type": "string", "example": "sessionToken789" } } }, "examples": { "Chat": { "value": { "messages": [ { "content": "Tell me about the history of the internet.", "role": "user" } ], "platform": "web", "sessionToken": "sessionToken789" } } } } } }, "responses": { "200": { "description": "Non stream response / Stream Response", "headers": { "Access-Control-Allow-Credentials": { "schema": { "type": "string", "example": "true" } }, "Access-Control-Allow-Headers": { "schema": { "type": "string", "example": "X-CSRF-Token, X-Requested-With, Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version" } }, "Access-Control-Allow-Methods": { "schema": { "type": "string", "example": "GET,OPTIONS,PATCH,DELETE,POST,PUT" } }, "Access-Control-Allow-Origin": { "schema": { "type": "string", "example": "*" } }, "Connection": { "schema": { "type": "string", "example": "keep-alive" } }, "Date": { "schema": { "type": "string", "example": "Wed, 22 Jan 2025 10:24:56 GMT" } }, "Keep-Alive": { "schema": { "type": "string", "example": "timeout=5" } }, "Transfer-Encoding": { "schema": { "type": "string", "example": "chunked" } }, "vary": { "schema": { "type": "string", "example": "RSC, Next-Router-State-Tree, Next-Router-Prefetch, Next-Router-Segment-Prefetch" } }, "x-vercel-ai-data-stream": { "schema": { "type": "string", "example": "v1" } } }, "content": { "application/json": { "schema": { "type": "object", "properties": { "finish_reason": { "type": "string", "example": "stop" }, "output": { "type": "string", "example": "The history of the internet is a fascinating journey that spans several decades, marked by significant technological advancements and the collaboration of various individuals and organizations. Here’s a brief overview:\n\n1. **1960s - The Conceptual Foundation**: The idea of a network of computers began in the 1960s. The U.S. Department of Defense funded research into packet switching, a method of data transmission that breaks data into packets for more efficient routing. This led to the development of ARPANET (Advanced Research Projects Agency Network) in 1969, which is considered the first operational packet-switching network.\n\n2. **1970s - Protocol Development**: In the early 1970s, Vint Cerf and Bob Kahn developed the Transmission Control Protocol (TCP) and Internet Protocol (IP), which became the fundamental communication protocols for the internet. This allowed different networks to interconnect, forming the basis for the modern internet.\n\n3. **1980s - Expansion and Standardization**: The 1980s saw the introduction of the Domain Name System (DNS) in 1983, which made it easier to navigate the internet by using human-readable addresses instead of numerical IP addresses. The National Science Foundation (NSF) created NSFNET, which connected various regional networks and expanded access to academic and research institutions.\n\n4. **1990s - The World Wide Web**: The invention of the World Wide Web by Tim Berners-Lee in 1989 and its subsequent public release in 1991 revolutionized the internet. The introduction of web browsers, such as Mosaic in 1993, made the web accessible to the general public. This decade also saw the commercialization of the internet, leading to the dot-com boom.\n\n5. **2000s - Broadband and Social Media**: The early 2000s marked the transition from dial-up to broadband internet, significantly increasing connection speeds. Social media platforms like Facebook (2004) and Twitter (2006) emerged, changing how people interacted online.\n\n6. **2010s - Mobile Internet and Cloud Computing**: The proliferation of smartphones and mobile internet access transformed how users engage with the web. Cloud computing services became popular, allowing users to store and access data online.\n\n7. **2020s - The Internet of Things (IoT) and Beyond**: The current decade is characterized by the growth of IoT, where everyday devices are connected to the internet, and advancements in artificial intelligence, 5G technology, and cybersecurity.\n\nThe internet continues to evolve, impacting nearly every aspect of modern life, from communication and commerce to education and entertainment." }, "steps": { "type": "array", "items": { "type": "object", "properties": { "experimental_providerMetadata": { "type": "object", "properties": { "openai": { "type": "object", "properties": { "cachedPromptTokens": { "type": "number", "example": 0 }, "reasoningTokens": { "type": "number", "example": 0 } } } } }, "finishReason": { "type": "string", "example": "stop" }, "isContinued": { "type": "boolean", "example": false }, "request": { "type": "object", "properties": { "body": { "type": "string", "example": "{\"model\":\"gpt-4o-mini\",\"temperature\":0,\"messages\":[{\"role\":\"system\",\"content\":\"You are an AI assistant that helps users with their questions by providing accurate and concise information. You have access to a knowledge base through the searchKnowledgeBase tool. Use this tool to search for relevant information before responding to user queries. When answering, consider the context of the conversation and provide helpful and informative responses.\\n\\nYou are a technical support bot for okchat.ai. Your responsibility is to troubleshoot issues, provide step-by-step guidance, and escalate complex problems by suggesting users contact a support engineer. Always ensure clarity and patience in your responses.\\n\\n\\n\\nTime awareness:\\nToday is 2025. 1. 22..\\nAdapt to the user's language\"},{\"role\":\"user\",\"content\":\"Tell me about the history of the internet.\"}],\"tools\":[{\"type\":\"function\",\"function\":{\"name\":\"searchKnowledgeBase\",\"description\":\"Search the knowledge base for relevant documents based on a query\",\"parameters\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"string\",\"description\":\"The search query to find relevant documents\"}},\"required\":[\"query\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}},{\"type\":\"function\",\"function\":{\"name\":\"get_all_pokemons\",\"description\":\"Get All Pokemons\",\"parameters\":{\"type\":\"object\",\"properties\":{\"limit\":{\"type\":\"number\",\"default\":\"10\",\"description\":\"Limit Number\"}},\"required\":[\"limit\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}},{\"type\":\"function\",\"function\":{\"name\":\"get_pokemon_details\",\"description\":\"Get Pokemon Details\",\"parameters\":{\"type\":\"object\",\"properties\":{\"pokemon_name\":{\"type\":\"string\",\"description\":\"name of a pokemon\"}},\"required\":[\"pokemon_name\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}},{\"type\":\"function\",\"function\":{\"name\":\"get_weather_info\",\"description\":\"Get Weather Info\",\"parameters\":{\"type\":\"object\",\"properties\":{\"q\":{\"type\":\"string\",\"description\":\"City Name\"},\"units\":{\"type\":\"string\",\"description\":\"Unit\"}},\"required\":[\"q\",\"units\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}},{\"type\":\"function\",\"function\":{\"name\":\"get_weather\",\"description\":\"Get the weather of a city\",\"parameters\":{\"type\":\"object\",\"properties\":{\"location\":{\"type\":\"string\",\"description\":\"a city name\"}},\"required\":[\"location\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}}],\"tool_choice\":\"auto\"}" } } }, "response": { "type": "object", "properties": { "headers": { "type": "object", "properties": { "access-control-expose-headers": { "type": "string", "example": "X-Request-ID" }, "alt-svc": { "type": "string", "example": "h3=\":443\"; ma=86400" }, "cf-cache-status": { "type": "string", "example": "DYNAMIC" }, "cf-ray": { "type": "string", "example": "905ed550c8b440cc-SIN" }, "connection": { "type": "string", "example": "keep-alive" }, "content-encoding": { "type": "string", "example": "br" }, "content-type": { "type": "string", "example": "application/json" }, "date": { "type": "string", "example": "Wed, 22 Jan 2025 10:24:23 GMT" }, "openai-organization": { "type": "string", "example": "dasomx" }, "openai-processing-ms": { "type": "string", "example": "8111" }, "openai-version": { "type": "string", "example": "2020-10-01" }, "server": { "type": "string", "example": "cloudflare" }, "set-cookie": { "type": "string", "example": "_cfuvid=rlg6jS7Z8p0HC.bVCZiKiHCPyvx74NER.PmtZLrSKUg-1737541463850-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, "strict-transport-security": { "type": "string", "example": "max-age=31536000; includeSubDomains; preload" }, "transfer-encoding": { "type": "string", "example": "chunked" }, "x-content-type-options": { "type": "string", "example": "nosniff" }, "x-ratelimit-limit-requests": { "type": "string", "example": "10000" }, "x-ratelimit-limit-tokens": { "type": "string", "example": "10000000" }, "x-ratelimit-remaining-requests": { "type": "string", "example": "9999" }, "x-ratelimit-remaining-tokens": { "type": "string", "example": "9999795" }, "x-ratelimit-reset-requests": { "type": "string", "example": "6ms" }, "x-ratelimit-reset-tokens": { "type": "string", "example": "1ms" }, "x-request-id": { "type": "string", "example": "req_0aeec88fc424f34dbda6e9ae6f02415e" } } }, "id": { "type": "string", "example": "chatcmpl-AsSC7lGib6PMX1sue7zKstC6sl0g9" }, "messages": { "type": "array", "items": { "type": "object", "properties": { "content": { "type": "array", "items": { "type": "object", "properties": { "text": { "type": "string", "example": "The history of the internet is a fascinating journey that spans several decades, marked by significant technological advancements and the collaboration of various individuals and organizations. Here’s a brief overview:\n\n1. **1960s - The Conceptual Foundation**: The idea of a network of computers began in the 1960s. The U.S. Department of Defense funded research into packet switching, a method of data transmission that breaks data into packets for more efficient routing. This led to the development of ARPANET (Advanced Research Projects Agency Network) in 1969, which is considered the first operational packet-switching network.\n\n2. **1970s - Protocol Development**: In the early 1970s, Vint Cerf and Bob Kahn developed the Transmission Control Protocol (TCP) and Internet Protocol (IP), which became the fundamental communication protocols for the internet. This allowed different networks to interconnect, forming the basis for the modern internet.\n\n3. **1980s - Expansion and Standardization**: The 1980s saw the introduction of the Domain Name System (DNS) in 1983, which made it easier to navigate the internet by using human-readable addresses instead of numerical IP addresses. The National Science Foundation (NSF) created NSFNET, which connected various regional networks and expanded access to academic and research institutions.\n\n4. **1990s - The World Wide Web**: The invention of the World Wide Web by Tim Berners-Lee in 1989 and its subsequent public release in 1991 revolutionized the internet. The introduction of web browsers, such as Mosaic in 1993, made the web accessible to the general public. This decade also saw the commercialization of the internet, leading to the dot-com boom.\n\n5. **2000s - Broadband and Social Media**: The early 2000s marked the transition from dial-up to broadband internet, significantly increasing connection speeds. Social media platforms like Facebook (2004) and Twitter (2006) emerged, changing how people interacted online.\n\n6. **2010s - Mobile Internet and Cloud Computing**: The proliferation of smartphones and mobile internet access transformed how users engage with the web. Cloud computing services became popular, allowing users to store and access data online.\n\n7. **2020s - The Internet of Things (IoT) and Beyond**: The current decade is characterized by the growth of IoT, where everyday devices are connected to the internet, and advancements in artificial intelligence, 5G technology, and cybersecurity.\n\nThe internet continues to evolve, impacting nearly every aspect of modern life, from communication and commerce to education and entertainment." }, "type": { "type": "string", "example": "text" } } }, "example": [ { "text": "The history of the internet is a fascinating journey that spans several decades, marked by significant technological advancements and the collaboration of various individuals and organizations. Here’s a brief overview:\n\n1. **1960s - The Conceptual Foundation**: The idea of a network of computers began in the 1960s. The U.S. Department of Defense funded research into packet switching, a method of data transmission that breaks data into packets for more efficient routing. This led to the development of ARPANET (Advanced Research Projects Agency Network) in 1969, which is considered the first operational packet-switching network.\n\n2. **1970s - Protocol Development**: In the early 1970s, Vint Cerf and Bob Kahn developed the Transmission Control Protocol (TCP) and Internet Protocol (IP), which became the fundamental communication protocols for the internet. This allowed different networks to interconnect, forming the basis for the modern internet.\n\n3. **1980s - Expansion and Standardization**: The 1980s saw the introduction of the Domain Name System (DNS) in 1983, which made it easier to navigate the internet by using human-readable addresses instead of numerical IP addresses. The National Science Foundation (NSF) created NSFNET, which connected various regional networks and expanded access to academic and research institutions.\n\n4. **1990s - The World Wide Web**: The invention of the World Wide Web by Tim Berners-Lee in 1989 and its subsequent public release in 1991 revolutionized the internet. The introduction of web browsers, such as Mosaic in 1993, made the web accessible to the general public. This decade also saw the commercialization of the internet, leading to the dot-com boom.\n\n5. **2000s - Broadband and Social Media**: The early 2000s marked the transition from dial-up to broadband internet, significantly increasing connection speeds. Social media platforms like Facebook (2004) and Twitter (2006) emerged, changing how people interacted online.\n\n6. **2010s - Mobile Internet and Cloud Computing**: The proliferation of smartphones and mobile internet access transformed how users engage with the web. Cloud computing services became popular, allowing users to store and access data online.\n\n7. **2020s - The Internet of Things (IoT) and Beyond**: The current decade is characterized by the growth of IoT, where everyday devices are connected to the internet, and advancements in artificial intelligence, 5G technology, and cybersecurity.\n\nThe internet continues to evolve, impacting nearly every aspect of modern life, from communication and commerce to education and entertainment.", "type": "text" } ] }, "role": { "type": "string", "example": "assistant" } } }, "example": [ { "content": [ { "text": "The history of the internet is a fascinating journey that spans several decades, marked by significant technological advancements and the collaboration of various individuals and organizations. Here’s a brief overview:\n\n1. **1960s - The Conceptual Foundation**: The idea of a network of computers began in the 1960s. The U.S. Department of Defense funded research into packet switching, a method of data transmission that breaks data into packets for more efficient routing. This led to the development of ARPANET (Advanced Research Projects Agency Network) in 1969, which is considered the first operational packet-switching network.\n\n2. **1970s - Protocol Development**: In the early 1970s, Vint Cerf and Bob Kahn developed the Transmission Control Protocol (TCP) and Internet Protocol (IP), which became the fundamental communication protocols for the internet. This allowed different networks to interconnect, forming the basis for the modern internet.\n\n3. **1980s - Expansion and Standardization**: The 1980s saw the introduction of the Domain Name System (DNS) in 1983, which made it easier to navigate the internet by using human-readable addresses instead of numerical IP addresses. The National Science Foundation (NSF) created NSFNET, which connected various regional networks and expanded access to academic and research institutions.\n\n4. **1990s - The World Wide Web**: The invention of the World Wide Web by Tim Berners-Lee in 1989 and its subsequent public release in 1991 revolutionized the internet. The introduction of web browsers, such as Mosaic in 1993, made the web accessible to the general public. This decade also saw the commercialization of the internet, leading to the dot-com boom.\n\n5. **2000s - Broadband and Social Media**: The early 2000s marked the transition from dial-up to broadband internet, significantly increasing connection speeds. Social media platforms like Facebook (2004) and Twitter (2006) emerged, changing how people interacted online.\n\n6. **2010s - Mobile Internet and Cloud Computing**: The proliferation of smartphones and mobile internet access transformed how users engage with the web. Cloud computing services became popular, allowing users to store and access data online.\n\n7. **2020s - The Internet of Things (IoT) and Beyond**: The current decade is characterized by the growth of IoT, where everyday devices are connected to the internet, and advancements in artificial intelligence, 5G technology, and cybersecurity.\n\nThe internet continues to evolve, impacting nearly every aspect of modern life, from communication and commerce to education and entertainment.", "type": "text" } ], "role": "assistant" } ] }, "modelId": { "type": "string", "example": "gpt-4o-mini-2024-07-18" }, "timestamp": { "type": "string", "example": "2025-01-22T10:24:15.000Z" } } }, "stepType": { "type": "string", "example": "initial" }, "text": { "type": "string", "example": "The history of the internet is a fascinating journey that spans several decades, marked by significant technological advancements and the collaboration of various individuals and organizations. Here’s a brief overview:\n\n1. **1960s - The Conceptual Foundation**: The idea of a network of computers began in the 1960s. The U.S. Department of Defense funded research into packet switching, a method of data transmission that breaks data into packets for more efficient routing. This led to the development of ARPANET (Advanced Research Projects Agency Network) in 1969, which is considered the first operational packet-switching network.\n\n2. **1970s - Protocol Development**: In the early 1970s, Vint Cerf and Bob Kahn developed the Transmission Control Protocol (TCP) and Internet Protocol (IP), which became the fundamental communication protocols for the internet. This allowed different networks to interconnect, forming the basis for the modern internet.\n\n3. **1980s - Expansion and Standardization**: The 1980s saw the introduction of the Domain Name System (DNS) in 1983, which made it easier to navigate the internet by using human-readable addresses instead of numerical IP addresses. The National Science Foundation (NSF) created NSFNET, which connected various regional networks and expanded access to academic and research institutions.\n\n4. **1990s - The World Wide Web**: The invention of the World Wide Web by Tim Berners-Lee in 1989 and its subsequent public release in 1991 revolutionized the internet. The introduction of web browsers, such as Mosaic in 1993, made the web accessible to the general public. This decade also saw the commercialization of the internet, leading to the dot-com boom.\n\n5. **2000s - Broadband and Social Media**: The early 2000s marked the transition from dial-up to broadband internet, significantly increasing connection speeds. Social media platforms like Facebook (2004) and Twitter (2006) emerged, changing how people interacted online.\n\n6. **2010s - Mobile Internet and Cloud Computing**: The proliferation of smartphones and mobile internet access transformed how users engage with the web. Cloud computing services became popular, allowing users to store and access data online.\n\n7. **2020s - The Internet of Things (IoT) and Beyond**: The current decade is characterized by the growth of IoT, where everyday devices are connected to the internet, and advancements in artificial intelligence, 5G technology, and cybersecurity.\n\nThe internet continues to evolve, impacting nearly every aspect of modern life, from communication and commerce to education and entertainment." }, "toolCalls": { "type": "array", "items": {}, "example": [] }, "toolResults": { "type": "array", "items": {}, "example": [] }, "usage": { "type": "object", "properties": { "completionTokens": { "type": "number", "example": 533 }, "promptTokens": { "type": "number", "example": 310 }, "totalTokens": { "type": "number", "example": 843 } } }, "warnings": { "type": "array", "items": {}, "example": [] } } }, "example": [ { "experimental_providerMetadata": { "openai": { "cachedPromptTokens": 0, "reasoningTokens": 0 } }, "finishReason": "stop", "isContinued": false, "request": { "body": "{\"model\":\"gpt-4o-mini\",\"temperature\":0,\"messages\":[{\"role\":\"system\",\"content\":\"You are an AI assistant that helps users with their questions by providing accurate and concise information. You have access to a knowledge base through the searchKnowledgeBase tool. Use this tool to search for relevant information before responding to user queries. When answering, consider the context of the conversation and provide helpful and informative responses.\\n\\nYou are a technical support bot for okchat.ai. Your responsibility is to troubleshoot issues, provide step-by-step guidance, and escalate complex problems by suggesting users contact a support engineer. Always ensure clarity and patience in your responses.\\n\\n\\n\\nTime awareness:\\nToday is 2025. 1. 22..\\nAdapt to the user's language\"},{\"role\":\"user\",\"content\":\"Tell me about the history of the internet.\"}],\"tools\":[{\"type\":\"function\",\"function\":{\"name\":\"searchKnowledgeBase\",\"description\":\"Search the knowledge base for relevant documents based on a query\",\"parameters\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"string\",\"description\":\"The search query to find relevant documents\"}},\"required\":[\"query\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}},{\"type\":\"function\",\"function\":{\"name\":\"get_all_pokemons\",\"description\":\"Get All Pokemons\",\"parameters\":{\"type\":\"object\",\"properties\":{\"limit\":{\"type\":\"number\",\"default\":\"10\",\"description\":\"Limit Number\"}},\"required\":[\"limit\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}},{\"type\":\"function\",\"function\":{\"name\":\"get_pokemon_details\",\"description\":\"Get Pokemon Details\",\"parameters\":{\"type\":\"object\",\"properties\":{\"pokemon_name\":{\"type\":\"string\",\"description\":\"name of a pokemon\"}},\"required\":[\"pokemon_name\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}},{\"type\":\"function\",\"function\":{\"name\":\"get_weather_info\",\"description\":\"Get Weather Info\",\"parameters\":{\"type\":\"object\",\"properties\":{\"q\":{\"type\":\"string\",\"description\":\"City Name\"},\"units\":{\"type\":\"string\",\"description\":\"Unit\"}},\"required\":[\"q\",\"units\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}},{\"type\":\"function\",\"function\":{\"name\":\"get_weather\",\"description\":\"Get the weather of a city\",\"parameters\":{\"type\":\"object\",\"properties\":{\"location\":{\"type\":\"string\",\"description\":\"a city name\"}},\"required\":[\"location\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}}],\"tool_choice\":\"auto\"}" }, "response": { "headers": { "access-control-expose-headers": "X-Request-ID", "alt-svc": "h3=\":443\"; ma=86400", "cf-cache-status": "DYNAMIC", "cf-ray": "905ed550c8b440cc-SIN", "connection": "keep-alive", "content-encoding": "br", "content-type": "application/json", "date": "Wed, 22 Jan 2025 10:24:23 GMT", "openai-organization": "dasomx", "openai-processing-ms": "8111", "openai-version": "2020-10-01", "server": "cloudflare", "set-cookie": "_cfuvid=rlg6jS7Z8p0HC.bVCZiKiHCPyvx74NER.PmtZLrSKUg-1737541463850-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", "x-ratelimit-limit-requests": "10000", "x-ratelimit-limit-tokens": "10000000", "x-ratelimit-remaining-requests": "9999", "x-ratelimit-remaining-tokens": "9999795", "x-ratelimit-reset-requests": "6ms", "x-ratelimit-reset-tokens": "1ms", "x-request-id": "req_0aeec88fc424f34dbda6e9ae6f02415e" }, "id": "chatcmpl-AsSC7lGib6PMX1sue7zKstC6sl0g9", "messages": [ { "content": [ { "text": "The history of the internet is a fascinating journey that spans several decades, marked by significant technological advancements and the collaboration of various individuals and organizations. Here’s a brief overview:\n\n1. **1960s - The Conceptual Foundation**: The idea of a network of computers began in the 1960s. The U.S. Department of Defense funded research into packet switching, a method of data transmission that breaks data into packets for more efficient routing. This led to the development of ARPANET (Advanced Research Projects Agency Network) in 1969, which is considered the first operational packet-switching network.\n\n2. **1970s - Protocol Development**: In the early 1970s, Vint Cerf and Bob Kahn developed the Transmission Control Protocol (TCP) and Internet Protocol (IP), which became the fundamental communication protocols for the internet. This allowed different networks to interconnect, forming the basis for the modern internet.\n\n3. **1980s - Expansion and Standardization**: The 1980s saw the introduction of the Domain Name System (DNS) in 1983, which made it easier to navigate the internet by using human-readable addresses instead of numerical IP addresses. The National Science Foundation (NSF) created NSFNET, which connected various regional networks and expanded access to academic and research institutions.\n\n4. **1990s - The World Wide Web**: The invention of the World Wide Web by Tim Berners-Lee in 1989 and its subsequent public release in 1991 revolutionized the internet. The introduction of web browsers, such as Mosaic in 1993, made the web accessible to the general public. This decade also saw the commercialization of the internet, leading to the dot-com boom.\n\n5. **2000s - Broadband and Social Media**: The early 2000s marked the transition from dial-up to broadband internet, significantly increasing connection speeds. Social media platforms like Facebook (2004) and Twitter (2006) emerged, changing how people interacted online.\n\n6. **2010s - Mobile Internet and Cloud Computing**: The proliferation of smartphones and mobile internet access transformed how users engage with the web. Cloud computing services became popular, allowing users to store and access data online.\n\n7. **2020s - The Internet of Things (IoT) and Beyond**: The current decade is characterized by the growth of IoT, where everyday devices are connected to the internet, and advancements in artificial intelligence, 5G technology, and cybersecurity.\n\nThe internet continues to evolve, impacting nearly every aspect of modern life, from communication and commerce to education and entertainment.", "type": "text" } ], "role": "assistant" } ], "modelId": "gpt-4o-mini-2024-07-18", "timestamp": "2025-01-22T10:24:15.000Z" }, "stepType": "initial", "text": "The history of the internet is a fascinating journey that spans several decades, marked by significant technological advancements and the collaboration of various individuals and organizations. Here’s a brief overview:\n\n1. **1960s - The Conceptual Foundation**: The idea of a network of computers began in the 1960s. The U.S. Department of Defense funded research into packet switching, a method of data transmission that breaks data into packets for more efficient routing. This led to the development of ARPANET (Advanced Research Projects Agency Network) in 1969, which is considered the first operational packet-switching network.\n\n2. **1970s - Protocol Development**: In the early 1970s, Vint Cerf and Bob Kahn developed the Transmission Control Protocol (TCP) and Internet Protocol (IP), which became the fundamental communication protocols for the internet. This allowed different networks to interconnect, forming the basis for the modern internet.\n\n3. **1980s - Expansion and Standardization**: The 1980s saw the introduction of the Domain Name System (DNS) in 1983, which made it easier to navigate the internet by using human-readable addresses instead of numerical IP addresses. The National Science Foundation (NSF) created NSFNET, which connected various regional networks and expanded access to academic and research institutions.\n\n4. **1990s - The World Wide Web**: The invention of the World Wide Web by Tim Berners-Lee in 1989 and its subsequent public release in 1991 revolutionized the internet. The introduction of web browsers, such as Mosaic in 1993, made the web accessible to the general public. This decade also saw the commercialization of the internet, leading to the dot-com boom.\n\n5. **2000s - Broadband and Social Media**: The early 2000s marked the transition from dial-up to broadband internet, significantly increasing connection speeds. Social media platforms like Facebook (2004) and Twitter (2006) emerged, changing how people interacted online.\n\n6. **2010s - Mobile Internet and Cloud Computing**: The proliferation of smartphones and mobile internet access transformed how users engage with the web. Cloud computing services became popular, allowing users to store and access data online.\n\n7. **2020s - The Internet of Things (IoT) and Beyond**: The current decade is characterized by the growth of IoT, where everyday devices are connected to the internet, and advancements in artificial intelligence, 5G technology, and cybersecurity.\n\nThe internet continues to evolve, impacting nearly every aspect of modern life, from communication and commerce to education and entertainment.", "toolCalls": [], "toolResults": [], "usage": { "completionTokens": 533, "promptTokens": 310, "totalTokens": 843 }, "warnings": [] } ] }, "tool_calls": { "type": "array", "items": {}, "example": [] }, "tool_results": { "type": "array", "items": {}, "example": [] } } }, "examples": { "Non stream response": { "value": { "finish_reason": "stop", "output": "The history of the internet is a fascinating journey that spans several decades, marked by significant technological advancements and the collaboration of various individuals and organizations. Here’s a brief overview:\n\n1. **1960s - The Conceptual Foundation**: The idea of a network of computers began in the 1960s. The U.S. Department of Defense funded research into packet switching, a method of data transmission that breaks data into packets for more efficient routing. This led to the development of ARPANET (Advanced Research Projects Agency Network) in 1969, which is considered the first operational packet-switching network.\n\n2. **1970s - Protocol Development**: In the early 1970s, Vint Cerf and Bob Kahn developed the Transmission Control Protocol (TCP) and Internet Protocol (IP), which became the fundamental communication protocols for the internet. This allowed different networks to interconnect, forming the basis for the modern internet.\n\n3. **1980s - Expansion and Standardization**: The 1980s saw the introduction of the Domain Name System (DNS) in 1983, which made it easier to navigate the internet by using human-readable addresses instead of numerical IP addresses. The National Science Foundation (NSF) created NSFNET, which connected various regional networks and expanded access to academic and research institutions.\n\n4. **1990s - The World Wide Web**: The invention of the World Wide Web by Tim Berners-Lee in 1989 and its subsequent public release in 1991 revolutionized the internet. The introduction of web browsers, such as Mosaic in 1993, made the web accessible to the general public. This decade also saw the commercialization of the internet, leading to the dot-com boom.\n\n5. **2000s - Broadband and Social Media**: The early 2000s marked the transition from dial-up to broadband internet, significantly increasing connection speeds. Social media platforms like Facebook (2004) and Twitter (2006) emerged, changing how people interacted online.\n\n6. **2010s - Mobile Internet and Cloud Computing**: The proliferation of smartphones and mobile internet access transformed how users engage with the web. Cloud computing services became popular, allowing users to store and access data online.\n\n7. **2020s - The Internet of Things (IoT) and Beyond**: The current decade is characterized by the growth of IoT, where everyday devices are connected to the internet, and advancements in artificial intelligence, 5G technology, and cybersecurity.\n\nThe internet continues to evolve, impacting nearly every aspect of modern life, from communication and commerce to education and entertainment.", "steps": [ { "experimental_providerMetadata": { "openai": { "cachedPromptTokens": 0, "reasoningTokens": 0 } }, "finishReason": "stop", "isContinued": false, "request": { "body": "{\"model\":\"gpt-4o-mini\",\"temperature\":0,\"messages\":[{\"role\":\"system\",\"content\":\"You are an AI assistant that helps users with their questions by providing accurate and concise information. You have access to a knowledge base through the searchKnowledgeBase tool. Use this tool to search for relevant information before responding to user queries. When answering, consider the context of the conversation and provide helpful and informative responses.\\n\\nYou are a technical support bot for okchat.ai. Your responsibility is to troubleshoot issues, provide step-by-step guidance, and escalate complex problems by suggesting users contact a support engineer. Always ensure clarity and patience in your responses.\\n\\n\\n\\nTime awareness:\\nToday is 2025. 1. 22..\\nAdapt to the user's language\"},{\"role\":\"user\",\"content\":\"Tell me about the history of the internet.\"}],\"tools\":[{\"type\":\"function\",\"function\":{\"name\":\"searchKnowledgeBase\",\"description\":\"Search the knowledge base for relevant documents based on a query\",\"parameters\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"string\",\"description\":\"The search query to find relevant documents\"}},\"required\":[\"query\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}},{\"type\":\"function\",\"function\":{\"name\":\"get_all_pokemons\",\"description\":\"Get All Pokemons\",\"parameters\":{\"type\":\"object\",\"properties\":{\"limit\":{\"type\":\"number\",\"default\":\"10\",\"description\":\"Limit Number\"}},\"required\":[\"limit\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}},{\"type\":\"function\",\"function\":{\"name\":\"get_pokemon_details\",\"description\":\"Get Pokemon Details\",\"parameters\":{\"type\":\"object\",\"properties\":{\"pokemon_name\":{\"type\":\"string\",\"description\":\"name of a pokemon\"}},\"required\":[\"pokemon_name\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}},{\"type\":\"function\",\"function\":{\"name\":\"get_weather_info\",\"description\":\"Get Weather Info\",\"parameters\":{\"type\":\"object\",\"properties\":{\"q\":{\"type\":\"string\",\"description\":\"City Name\"},\"units\":{\"type\":\"string\",\"description\":\"Unit\"}},\"required\":[\"q\",\"units\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}},{\"type\":\"function\",\"function\":{\"name\":\"get_weather\",\"description\":\"Get the weather of a city\",\"parameters\":{\"type\":\"object\",\"properties\":{\"location\":{\"type\":\"string\",\"description\":\"a city name\"}},\"required\":[\"location\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}}],\"tool_choice\":\"auto\"}" }, "response": { "headers": { "access-control-expose-headers": "X-Request-ID", "alt-svc": "h3=\":443\"; ma=86400", "cf-cache-status": "DYNAMIC", "cf-ray": "905ed550c8b440cc-SIN", "connection": "keep-alive", "content-encoding": "br", "content-type": "application/json", "date": "Wed, 22 Jan 2025 10:24:23 GMT", "openai-organization": "dasomx", "openai-processing-ms": "8111", "openai-version": "2020-10-01", "server": "cloudflare", "set-cookie": "_cfuvid=rlg6jS7Z8p0HC.bVCZiKiHCPyvx74NER.PmtZLrSKUg-1737541463850-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", "x-ratelimit-limit-requests": "10000", "x-ratelimit-limit-tokens": "10000000", "x-ratelimit-remaining-requests": "9999", "x-ratelimit-remaining-tokens": "9999795", "x-ratelimit-reset-requests": "6ms", "x-ratelimit-reset-tokens": "1ms", "x-request-id": "req_0aeec88fc424f34dbda6e9ae6f02415e" }, "id": "chatcmpl-AsSC7lGib6PMX1sue7zKstC6sl0g9", "messages": [ { "content": [ { "text": "The history of the internet is a fascinating journey that spans several decades, marked by significant technological advancements and the collaboration of various individuals and organizations. Here’s a brief overview:\n\n1. **1960s - The Conceptual Foundation**: The idea of a network of computers began in the 1960s. The U.S. Department of Defense funded research into packet switching, a method of data transmission that breaks data into packets for more efficient routing. This led to the development of ARPANET (Advanced Research Projects Agency Network) in 1969, which is considered the first operational packet-switching network.\n\n2. **1970s - Protocol Development**: In the early 1970s, Vint Cerf and Bob Kahn developed the Transmission Control Protocol (TCP) and Internet Protocol (IP), which became the fundamental communication protocols for the internet. This allowed different networks to interconnect, forming the basis for the modern internet.\n\n3. **1980s - Expansion and Standardization**: The 1980s saw the introduction of the Domain Name System (DNS) in 1983, which made it easier to navigate the internet by using human-readable addresses instead of numerical IP addresses. The National Science Foundation (NSF) created NSFNET, which connected various regional networks and expanded access to academic and research institutions.\n\n4. **1990s - The World Wide Web**: The invention of the World Wide Web by Tim Berners-Lee in 1989 and its subsequent public release in 1991 revolutionized the internet. The introduction of web browsers, such as Mosaic in 1993, made the web accessible to the general public. This decade also saw the commercialization of the internet, leading to the dot-com boom.\n\n5. **2000s - Broadband and Social Media**: The early 2000s marked the transition from dial-up to broadband internet, significantly increasing connection speeds. Social media platforms like Facebook (2004) and Twitter (2006) emerged, changing how people interacted online.\n\n6. **2010s - Mobile Internet and Cloud Computing**: The proliferation of smartphones and mobile internet access transformed how users engage with the web. Cloud computing services became popular, allowing users to store and access data online.\n\n7. **2020s - The Internet of Things (IoT) and Beyond**: The current decade is characterized by the growth of IoT, where everyday devices are connected to the internet, and advancements in artificial intelligence, 5G technology, and cybersecurity.\n\nThe internet continues to evolve, impacting nearly every aspect of modern life, from communication and commerce to education and entertainment.", "type": "text" } ], "role": "assistant" } ], "modelId": "gpt-4o-mini-2024-07-18", "timestamp": "2025-01-22T10:24:15.000Z" }, "stepType": "initial", "text": "The history of the internet is a fascinating journey that spans several decades, marked by significant technological advancements and the collaboration of various individuals and organizations. Here’s a brief overview:\n\n1. **1960s - The Conceptual Foundation**: The idea of a network of computers began in the 1960s. The U.S. Department of Defense funded research into packet switching, a method of data transmission that breaks data into packets for more efficient routing. This led to the development of ARPANET (Advanced Research Projects Agency Network) in 1969, which is considered the first operational packet-switching network.\n\n2. **1970s - Protocol Development**: In the early 1970s, Vint Cerf and Bob Kahn developed the Transmission Control Protocol (TCP) and Internet Protocol (IP), which became the fundamental communication protocols for the internet. This allowed different networks to interconnect, forming the basis for the modern internet.\n\n3. **1980s - Expansion and Standardization**: The 1980s saw the introduction of the Domain Name System (DNS) in 1983, which made it easier to navigate the internet by using human-readable addresses instead of numerical IP addresses. The National Science Foundation (NSF) created NSFNET, which connected various regional networks and expanded access to academic and research institutions.\n\n4. **1990s - The World Wide Web**: The invention of the World Wide Web by Tim Berners-Lee in 1989 and its subsequent public release in 1991 revolutionized the internet. The introduction of web browsers, such as Mosaic in 1993, made the web accessible to the general public. This decade also saw the commercialization of the internet, leading to the dot-com boom.\n\n5. **2000s - Broadband and Social Media**: The early 2000s marked the transition from dial-up to broadband internet, significantly increasing connection speeds. Social media platforms like Facebook (2004) and Twitter (2006) emerged, changing how people interacted online.\n\n6. **2010s - Mobile Internet and Cloud Computing**: The proliferation of smartphones and mobile internet access transformed how users engage with the web. Cloud computing services became popular, allowing users to store and access data online.\n\n7. **2020s - The Internet of Things (IoT) and Beyond**: The current decade is characterized by the growth of IoT, where everyday devices are connected to the internet, and advancements in artificial intelligence, 5G technology, and cybersecurity.\n\nThe internet continues to evolve, impacting nearly every aspect of modern life, from communication and commerce to education and entertainment.", "toolCalls": [], "toolResults": [], "usage": { "completionTokens": 533, "promptTokens": 310, "totalTokens": 843 }, "warnings": [] } ], "tool_calls": [], "tool_results": [] } } } } } } } }, "parameters": [ { "name": "chatbotId", "in": "path", "required": true, "schema": { "type": "string", "example": "c631086b-0147-4749-9034-940647620f0c" } } ] }, "/api/external/chatbot/{chatbotId}/conversations/{sessionId}": { "get": { "summary": "Get A Conversation", "description": "Get A Conversation", "operationId": "getAConversation", "parameters": [ { "name": "x-api-key", "in": "header", "schema": { "type": "string", "example": "15a23c21867f4f38b0b46f5e4adb1caf87a040b34eb58f68" } } ], "requestBody": { "content": { "application/json": { "examples": { "Get A Conversation": { "value": "" } } } } }, "responses": { "200": { "description": "Example", "headers": { "Access-Control-Allow-Credentials": { "schema": { "type": "string", "example": "true" } }, "Access-Control-Allow-Headers": { "schema": { "type": "string", "example": "X-CSRF-Token, X-Requested-With, Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version" } }, "Access-Control-Allow-Methods": { "schema": { "type": "string", "example": "GET,OPTIONS,PATCH,DELETE,POST,PUT" } }, "Access-Control-Allow-Origin": { "schema": { "type": "string", "example": "*" } }, "Connection": { "schema": { "type": "string", "example": "keep-alive" } }, "Date": { "schema": { "type": "string", "example": "Wed, 22 Jan 2025 10:40:36 GMT" } }, "Keep-Alive": { "schema": { "type": "string", "example": "timeout=5" } }, "Transfer-Encoding": { "schema": { "type": "string", "example": "chunked" } }, "vary": { "schema": { "type": "string", "example": "RSC, Next-Router-State-Tree, Next-Router-Prefetch, Next-Router-Segment-Prefetch" } } }, "content": { "application/json": { "schema": { "type": "object", "properties": { "session": { "type": "object", "properties": { "active": { "type": "boolean", "example": true }, "chatbot_id": { "type": "string", "example": "5afe16ed-5fd2-4552-a993-903bc9c32bb6" }, "created_at": { "type": "string", "example": "2025-01-22T10:21:17.313285+00:00" }, "id": { "type": "string", "example": "7a04ca3c-4ea8-44f5-b14d-f61bec64ea14" }, "is_human_mode": { "type": "boolean", "example": false }, "last_message": { "type": "string", "example": "Tell me about the history of the internet." }, "metadata": { "type": "object", "properties": { "anonymous": { "type": "boolean", "example": true } } }, "migrated_data": { "type": "boolean", "example": false }, "platform": { "type": "string", "example": "web" }, "session_token": { "nullable": true, "example": null }, "sns_user_id": { "type": "string", "example": "sessionToken789" }, "updated_at": { "type": "string", "example": "2025-01-22T10:24:54.750912+00:00" }, "user_id": { "nullable": true, "example": null }, "voice_path": { "nullable": true, "example": null } } } } }, "examples": { "Example": { "value": { "session": { "active": true, "chatbot_id": "5afe16ed-5fd2-4552-a993-903bc9c32bb6", "created_at": "2025-01-22T10:21:17.313285+00:00", "id": "7a04ca3c-4ea8-44f5-b14d-f61bec64ea14", "is_human_mode": false, "last_message": "Tell me about the history of the internet.", "metadata": { "anonymous": true }, "migrated_data": false, "platform": "web", "session_token": null, "sns_user_id": "sessionToken789", "updated_at": "2025-01-22T10:24:54.750912+00:00", "user_id": null, "voice_path": null } } } } } } } } }, "parameters": [ { "name": "chatbotId", "in": "path", "required": true, "schema": { "type": "string", "example": "5afe16ed-5fd2-4552-a993-903bc9c32bb6" } }, { "name": "sessionId", "in": "path", "required": true, "schema": { "type": "string", "example": "7a04ca3c-4ea8-44f5-b14d-f61bec64ea14" } } ] }, "/api/external/chatbot/{chatbotId}/conversations": { "get": { "summary": "Get Conversations", "description": "Get Conversations", "operationId": "getConversations", "parameters": [ { "name": "page", "in": "query", "schema": { "type": "string", "example": "1" } }, { "name": "limit", "in": "query", "schema": { "type": "string", "example": "10" } }, { "name": "state", "in": "query", "schema": { "type": "string", "example": "in_progress" } }, { "name": "x-api-key", "in": "header", "schema": { "type": "string", "example": "15a23c21867f4f38b0b46f5e4adb1caf87a040b34eb58f68" } } ], "requestBody": { "content": { "application/json": { "examples": { "Get Conversations": { "value": "" } } } } }, "responses": { "200": { "description": "Example", "headers": { "Access-Control-Allow-Credentials": { "schema": { "type": "string", "example": "true" } }, "Access-Control-Allow-Methods": { "schema": { "type": "string", "example": "GET,OPTIONS,PATCH,DELETE,POST,PUT" } }, "Access-Control-Allow-Origin": { "schema": { "type": "string", "example": "*" } }, "Connection": { "schema": { "type": "string", "example": "keep-alive" } }, "Date": { "schema": { "type": "string", "example": "Fri, 07 Mar 2025 05:42:06 GMT" } }, "Keep-Alive": { "schema": { "type": "string", "example": "timeout=5" } }, "Transfer-Encoding": { "schema": { "type": "string", "example": "chunked" } }, "access-control-allow-headers": { "schema": { "type": "string", "example": "Content-Type, x-api-key" } }, "vary": { "schema": { "type": "string", "example": "RSC, Next-Router-State-Tree, Next-Router-Prefetch, Next-Router-Segment-Prefetch" } } }, "content": { "application/json": { "schema": { "type": "object", "properties": { "data": { "type": "array", "items": { "type": "object", "properties": { "active": { "type": "boolean", "example": true }, "chatbot_id": { "type": "string", "example": "5afe16ed-5fd2-4552-a993-903bc9c32bb6" }, "created_at": { "type": "string", "example": "2025-03-07T04:56:09.200005+00:00" }, "id": { "type": "string", "example": "dcda7e8a-e344-41a2-8a7e-b7400add6971" }, "is_human_mode": { "type": "boolean", "example": false }, "last_message": { "nullable": true, "anyOf": [ { "type": "object", "properties": { "content": { "type": "string", "example": "That image shows someone meditating in a tranquil, forested setting with sunlight filtering through the trees. If you're interested in meditation tips, here are a few:\n\n1. **Find a Quiet Spot**: Choose a peaceful location where you won't be disturbed.\n\n2. **Comfortable Position**: Sit in a comfortable position with your back straight.\n\n3. **Focus on Breathing**: Pay attention to your breath, inhaling and exhaling slowly.\n\n4. **Stay Present**: Try to keep your mind focused on the present moment.\n\n5. **Start Small**: Begin with short sessions and gradually increase the time as you become more comfortable.\n\nLet me know if you want more information!" }, "id": { "type": "string", "example": "4004e76a-4f6f-4d25-94bc-e0a8aca8a091" }, "sender_type": { "type": "string", "example": "bot" } } }, { "type": "string", "example": "Best places to visit in Bangkok" }, { "nullable": true, "example": null }, { "type": "string", "example": "hello describe these images" }, { "type": "string", "example": "describe this image pls" }, { "type": "object", "properties": { "content": { "type": "string", "example": "This image depicts a city skyline at sunrise or sunset, with the sun positioned low on the horizon between tall buildings. The scene is beautifully lit, casting warm, golden hues and long shadows across the buildings. The overall atmosphere is serene and urban, capturing the essence of a bustling city transitioning between day and night." }, "id": { "type": "string", "example": "6d9c2f04-55aa-4f99-9406-079b9b535a72" }, "sender_type": { "type": "string", "example": "bot" } } }, { "nullable": true, "example": null } ] }, "metadata": { "type": "object", "properties": { "anonymous": { "type": "boolean", "example": true }, "type": { "type": "string", "example": "voice_chat" } } }, "migrated_data": { "type": "boolean", "example": false }, "platform": { "type": "string", "example": "navertalktalk" }, "session_token": { "nullable": true, "example": null }, "sns_user_id": { "type": "string", "nullable": true, "example": "icdghyH6SYeJw3ROn9mBnQ" }, "state": { "type": "string", "example": "in_progress" }, "updated_at": { "type": "string", "example": "2025-03-07T05:22:28.209148+00:00" }, "user_id": { "nullable": true, "example": null }, "voice_path": { "type": "string", "nullable": true, "example": null } } }, "example": [ { "active": true, "chatbot_id": "5afe16ed-5fd2-4552-a993-903bc9c32bb6", "created_at": "2025-03-07T04:56:09.200005+00:00", "id": "dcda7e8a-e344-41a2-8a7e-b7400add6971", "is_human_mode": false, "last_message": { "content": "That image shows someone meditating in a tranquil, forested setting with sunlight filtering through the trees. If you're interested in meditation tips, here are a few:\n\n1. **Find a Quiet Spot**: Choose a peaceful location where you won't be disturbed.\n\n2. **Comfortable Position**: Sit in a comfortable position with your back straight.\n\n3. **Focus on Breathing**: Pay attention to your breath, inhaling and exhaling slowly.\n\n4. **Stay Present**: Try to keep your mind focused on the present moment.\n\n5. **Start Small**: Begin with short sessions and gradually increase the time as you become more comfortable.\n\nLet me know if you want more information!", "id": "4004e76a-4f6f-4d25-94bc-e0a8aca8a091", "sender_type": "bot" }, "metadata": { "anonymous": true }, "migrated_data": false, "platform": "navertalktalk", "session_token": null, "sns_user_id": "icdghyH6SYeJw3ROn9mBnQ", "state": "in_progress", "updated_at": "2025-03-07T05:22:28.209148+00:00", "user_id": null, "voice_path": null }, { "active": true, "chatbot_id": "5afe16ed-5fd2-4552-a993-903bc9c32bb6", "created_at": "2025-03-07T04:07:44.813178+00:00", "id": "ed712d96-b83f-49d2-8b68-faa3a9820bb3", "is_human_mode": false, "last_message": { "content": "I can't identify the building, but it looks like it has unique architectural features. If you can provide more context or details, I might be able to help further!", "id": "c8956c02-b6a1-4b5f-ab2f-04256bfbec49", "sender_type": "bot" }, "metadata": { "anonymous": true }, "migrated_data": false, "platform": "whatsapp", "session_token": null, "sns_user_id": "489235447595858", "state": "in_progress", "updated_at": "2025-03-07T04:53:03.972374+00:00", "user_id": null, "voice_path": null }, { "active": true, "chatbot_id": "5afe16ed-5fd2-4552-a993-903bc9c32bb6", "created_at": "2025-03-07T03:49:53.756919+00:00", "id": "eb7a6c37-b47c-407d-9725-cf34471ba78d", "is_human_mode": false, "last_message": { "content": "What a serene sunset over the landscape! If you have any questions or need more information, feel free to ask.", "id": "f13d3681-7f6e-40ba-b9ec-da28bb6eb342", "sender_type": "bot" }, "metadata": { "anonymous": true }, "migrated_data": false, "platform": "instagram", "session_token": null, "sns_user_id": "1459433351416106", "state": "in_progress", "updated_at": "2025-03-07T03:59:23.465365+00:00", "user_id": null, "voice_path": null }, { "active": true, "chatbot_id": "5afe16ed-5fd2-4552-a993-903bc9c32bb6", "created_at": "2025-03-06T10:46:18.360536+00:00", "id": "0c1a8eca-9404-48d8-94d4-175426beb9f1", "is_human_mode": false, "last_message": { "content": "This image shows a city skyline at dusk or dawn, with tall buildings silhouetted against a colorful sky. The sky is a mix of blues, purples, and oranges, and the buildings are reflected in the body of water in the foreground. The city lights are starting to illuminate, adding a vibrant touch to the scene.", "id": "ebf041c9-aae7-44a4-9fd6-c6e8dc4f9124", "sender_type": "bot" }, "metadata": { "anonymous": true }, "migrated_data": false, "platform": "facebook-messenger", "session_token": null, "sns_user_id": "8418351301605909", "state": "in_progress", "updated_at": "2025-03-06T10:46:42.182706+00:00", "user_id": null, "voice_path": null }, { "active": true, "chatbot_id": "5afe16ed-5fd2-4552-a993-903bc9c32bb6", "created_at": "2025-03-06T02:30:18.377841+00:00", "id": "a037c34d-cc5a-45e1-866e-39d2da4a066e", "is_human_mode": false, "last_message": "Best places to visit in Bangkok", "metadata": { "anonymous": true }, "migrated_data": false, "platform": "web", "session_token": null, "sns_user_id": "cec8d472-bdaf-4407-af7c-a62ec0c9ee06", "state": "in_progress", "updated_at": "2025-03-06T02:30:18.45229+00:00", "user_id": null, "voice_path": null }, { "active": true, "chatbot_id": "5afe16ed-5fd2-4552-a993-903bc9c32bb6", "created_at": "2025-03-05T11:12:17.101138+00:00", "id": "e59e2971-5296-4cc6-bcf2-6a0635a9d0d8", "is_human_mode": false, "last_message": null, "metadata": { "type": "voice_chat" }, "migrated_data": false, "platform": "voice", "session_token": null, "sns_user_id": null, "state": "in_progress", "updated_at": "2025-03-05T11:12:18.961956+00:00", "user_id": null, "voice_path": "conversation-voice_assistant_room_9570.ogg" }, { "active": true, "chatbot_id": "5afe16ed-5fd2-4552-a993-903bc9c32bb6", "created_at": "2025-03-05T07:24:46.364129+00:00", "id": "d7d055ba-1083-4bef-b040-df2b16bcb00f", "is_human_mode": false, "last_message": "hello describe these images", "metadata": { "anonymous": true }, "migrated_data": false, "platform": "web", "session_token": null, "sns_user_id": "7741e133-905d-4df6-84ce-d993d474b803", "state": "in_progress", "updated_at": "2025-03-07T03:22:59.522124+00:00", "user_id": null, "voice_path": null }, { "active": true, "chatbot_id": "5afe16ed-5fd2-4552-a993-903bc9c32bb6", "created_at": "2025-03-05T04:25:58.001608+00:00", "id": "f081d259-6c72-4eca-8687-1b6ed716257e", "is_human_mode": false, "last_message": "describe this image pls", "metadata": { "anonymous": true }, "migrated_data": false, "platform": "web", "session_token": null, "sns_user_id": "3079d695-9d0d-48a1-85e7-d4b58fcaf7d2", "state": "in_progress", "updated_at": "2025-03-06T07:11:47.450727+00:00", "user_id": null, "voice_path": null }, { "active": true, "chatbot_id": "5afe16ed-5fd2-4552-a993-903bc9c32bb6", "created_at": "2025-03-04T09:17:00.022677+00:00", "id": "f894a0d1-1945-44c4-ad39-b0b956b93509", "is_human_mode": false, "last_message": { "content": "This image depicts a city skyline at sunrise or sunset, with the sun positioned low on the horizon between tall buildings. The scene is beautifully lit, casting warm, golden hues and long shadows across the buildings. The overall atmosphere is serene and urban, capturing the essence of a bustling city transitioning between day and night.", "id": "6d9c2f04-55aa-4f99-9406-079b9b535a72", "sender_type": "bot" }, "metadata": { "anonymous": true }, "migrated_data": false, "platform": "line", "session_token": null, "sns_user_id": "U373c7c38f171b392ca2076e9b48fc43d", "state": "in_progress", "updated_at": "2025-03-06T08:25:43.101814+00:00", "user_id": null, "voice_path": null }, { "active": true, "chatbot_id": "5afe16ed-5fd2-4552-a993-903bc9c32bb6", "created_at": "2025-03-04T02:30:36.098658+00:00", "id": "347485ad-93a5-4451-9f4f-7a63315f5abc", "is_human_mode": false, "last_message": null, "metadata": { "type": "voice_chat" }, "migrated_data": false, "platform": "voice", "session_token": null, "sns_user_id": null, "state": "in_progress", "updated_at": "2025-03-04T02:30:37.581999+00:00", "user_id": null, "voice_path": "conversation-voice_assistant_room_3745.ogg" } ] }, "metadata": { "type": "object", "properties": { "currentPage": { "type": "number", "example": 1 }, "pageSize": { "type": "number", "example": 10 }, "totalCount": { "type": "number", "example": 20 }, "totalPages": { "type": "number", "example": 2 } } } } }, "examples": { "Example": { "value": { "data": [ { "active": true, "chatbot_id": "5afe16ed-5fd2-4552-a993-903bc9c32bb6", "created_at": "2025-03-07T04:56:09.200005+00:00", "id": "dcda7e8a-e344-41a2-8a7e-b7400add6971", "is_human_mode": false, "last_message": { "content": "That image shows someone meditating in a tranquil, forested setting with sunlight filtering through the trees. If you're interested in meditation tips, here are a few:\n\n1. **Find a Quiet Spot**: Choose a peaceful location where you won't be disturbed.\n\n2. **Comfortable Position**: Sit in a comfortable position with your back straight.\n\n3. **Focus on Breathing**: Pay attention to your breath, inhaling and exhaling slowly.\n\n4. **Stay Present**: Try to keep your mind focused on the present moment.\n\n5. **Start Small**: Begin with short sessions and gradually increase the time as you become more comfortable.\n\nLet me know if you want more information!", "id": "4004e76a-4f6f-4d25-94bc-e0a8aca8a091", "sender_type": "bot" }, "metadata": { "anonymous": true }, "migrated_data": false, "platform": "navertalktalk", "session_token": null, "sns_user_id": "icdghyH6SYeJw3ROn9mBnQ", "state": "in_progress", "updated_at": "2025-03-07T05:22:28.209148+00:00", "user_id": null, "voice_path": null }, { "active": true, "chatbot_id": "5afe16ed-5fd2-4552-a993-903bc9c32bb6", "created_at": "2025-03-07T04:07:44.813178+00:00", "id": "ed712d96-b83f-49d2-8b68-faa3a9820bb3", "is_human_mode": false, "last_message": { "content": "I can't identify the building, but it looks like it has unique architectural features. If you can provide more context or details, I might be able to help further!", "id": "c8956c02-b6a1-4b5f-ab2f-04256bfbec49", "sender_type": "bot" }, "metadata": { "anonymous": true }, "migrated_data": false, "platform": "whatsapp", "session_token": null, "sns_user_id": "489235447595858", "state": "in_progress", "updated_at": "2025-03-07T04:53:03.972374+00:00", "user_id": null, "voice_path": null }, { "active": true, "chatbot_id": "5afe16ed-5fd2-4552-a993-903bc9c32bb6", "created_at": "2025-03-07T03:49:53.756919+00:00", "id": "eb7a6c37-b47c-407d-9725-cf34471ba78d", "is_human_mode": false, "last_message": { "content": "What a serene sunset over the landscape! If you have any questions or need more information, feel free to ask.", "id": "f13d3681-7f6e-40ba-b9ec-da28bb6eb342", "sender_type": "bot" }, "metadata": { "anonymous": true }, "migrated_data": false, "platform": "instagram", "session_token": null, "sns_user_id": "1459433351416106", "state": "in_progress", "updated_at": "2025-03-07T03:59:23.465365+00:00", "user_id": null, "voice_path": null }, { "active": true, "chatbot_id": "5afe16ed-5fd2-4552-a993-903bc9c32bb6", "created_at": "2025-03-06T10:46:18.360536+00:00", "id": "0c1a8eca-9404-48d8-94d4-175426beb9f1", "is_human_mode": false, "last_message": { "content": "This image shows a city skyline at dusk or dawn, with tall buildings silhouetted against a colorful sky. The sky is a mix of blues, purples, and oranges, and the buildings are reflected in the body of water in the foreground. The city lights are starting to illuminate, adding a vibrant touch to the scene.", "id": "ebf041c9-aae7-44a4-9fd6-c6e8dc4f9124", "sender_type": "bot" }, "metadata": { "anonymous": true }, "migrated_data": false, "platform": "facebook-messenger", "session_token": null, "sns_user_id": "8418351301605909", "state": "in_progress", "updated_at": "2025-03-06T10:46:42.182706+00:00", "user_id": null, "voice_path": null }, { "active": true, "chatbot_id": "5afe16ed-5fd2-4552-a993-903bc9c32bb6", "created_at": "2025-03-06T02:30:18.377841+00:00", "id": "a037c34d-cc5a-45e1-866e-39d2da4a066e", "is_human_mode": false, "last_message": "Best places to visit in Bangkok", "metadata": { "anonymous": true }, "migrated_data": false, "platform": "web", "session_token": null, "sns_user_id": "cec8d472-bdaf-4407-af7c-a62ec0c9ee06", "state": "in_progress", "updated_at": "2025-03-06T02:30:18.45229+00:00", "user_id": null, "voice_path": null }, { "active": true, "chatbot_id": "5afe16ed-5fd2-4552-a993-903bc9c32bb6", "created_at": "2025-03-05T11:12:17.101138+00:00", "id": "e59e2971-5296-4cc6-bcf2-6a0635a9d0d8", "is_human_mode": false, "last_message": null, "metadata": { "type": "voice_chat" }, "migrated_data": false, "platform": "voice", "session_token": null, "sns_user_id": null, "state": "in_progress", "updated_at": "2025-03-05T11:12:18.961956+00:00", "user_id": null, "voice_path": "conversation-voice_assistant_room_9570.ogg" }, { "active": true, "chatbot_id": "5afe16ed-5fd2-4552-a993-903bc9c32bb6", "created_at": "2025-03-05T07:24:46.364129+00:00", "id": "d7d055ba-1083-4bef-b040-df2b16bcb00f", "is_human_mode": false, "last_message": "hello describe these images", "metadata": { "anonymous": true }, "migrated_data": false, "platform": "web", "session_token": null, "sns_user_id": "7741e133-905d-4df6-84ce-d993d474b803", "state": "in_progress", "updated_at": "2025-03-07T03:22:59.522124+00:00", "user_id": null, "voice_path": null }, { "active": true, "chatbot_id": "5afe16ed-5fd2-4552-a993-903bc9c32bb6", "created_at": "2025-03-05T04:25:58.001608+00:00", "id": "f081d259-6c72-4eca-8687-1b6ed716257e", "is_human_mode": false, "last_message": "describe this image pls", "metadata": { "anonymous": true }, "migrated_data": false, "platform": "web", "session_token": null, "sns_user_id": "3079d695-9d0d-48a1-85e7-d4b58fcaf7d2", "state": "in_progress", "updated_at": "2025-03-06T07:11:47.450727+00:00", "user_id": null, "voice_path": null }, { "active": true, "chatbot_id": "5afe16ed-5fd2-4552-a993-903bc9c32bb6", "created_at": "2025-03-04T09:17:00.022677+00:00", "id": "f894a0d1-1945-44c4-ad39-b0b956b93509", "is_human_mode": false, "last_message": { "content": "This image depicts a city skyline at sunrise or sunset, with the sun positioned low on the horizon between tall buildings. The scene is beautifully lit, casting warm, golden hues and long shadows across the buildings. The overall atmosphere is serene and urban, capturing the essence of a bustling city transitioning between day and night.", "id": "6d9c2f04-55aa-4f99-9406-079b9b535a72", "sender_type": "bot" }, "metadata": { "anonymous": true }, "migrated_data": false, "platform": "line", "session_token": null, "sns_user_id": "U373c7c38f171b392ca2076e9b48fc43d", "state": "in_progress", "updated_at": "2025-03-06T08:25:43.101814+00:00", "user_id": null, "voice_path": null }, { "active": true, "chatbot_id": "5afe16ed-5fd2-4552-a993-903bc9c32bb6", "created_at": "2025-03-04T02:30:36.098658+00:00", "id": "347485ad-93a5-4451-9f4f-7a63315f5abc", "is_human_mode": false, "last_message": null, "metadata": { "type": "voice_chat" }, "migrated_data": false, "platform": "voice", "session_token": null, "sns_user_id": null, "state": "in_progress", "updated_at": "2025-03-04T02:30:37.581999+00:00", "user_id": null, "voice_path": "conversation-voice_assistant_room_3745.ogg" } ], "metadata": { "currentPage": 1, "pageSize": 10, "totalCount": 20, "totalPages": 2 } } } } } } } } }, "parameters": [ { "name": "chatbotId", "in": "path", "required": true, "schema": { "type": "string", "example": "5afe16ed-5fd2-4552-a993-903bc9c32bb6" } } ] }, "/api/external/chatbot/{chatbotId}/conversations/{sessionId}/messages": { "get": { "summary": "Get Messages", "description": "Get Messages", "operationId": "getMessages", "parameters": [ { "name": "page", "in": "query", "schema": { "type": "string", "example": "1" } }, { "name": "limit", "in": "query", "schema": { "type": "string", "example": "10" } }, { "name": "x-api-key", "in": "header", "schema": { "type": "string", "example": "15a23c21867f4f38b0b46f5e4adb1caf87a040b34eb58f68" } } ], "requestBody": { "content": { "application/json": { "examples": { "Get Messages": { "value": "" } } } } }, "responses": { "200": { "description": "Example", "headers": { "Access-Control-Allow-Credentials": { "schema": { "type": "string", "example": "true" } }, "Access-Control-Allow-Headers": { "schema": { "type": "string", "example": "X-CSRF-Token, X-Requested-With, Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version" } }, "Access-Control-Allow-Methods": { "schema": { "type": "string", "example": "GET,OPTIONS,PATCH,DELETE,POST,PUT" } }, "Access-Control-Allow-Origin": { "schema": { "type": "string", "example": "*" } }, "Connection": { "schema": { "type": "string", "example": "keep-alive" } }, "Date": { "schema": { "type": "string", "example": "Wed, 22 Jan 2025 10:41:54 GMT" } }, "Keep-Alive": { "schema": { "type": "string", "example": "timeout=5" } }, "Transfer-Encoding": { "schema": { "type": "string", "example": "chunked" } }, "vary": { "schema": { "type": "string", "example": "RSC, Next-Router-State-Tree, Next-Router-Prefetch, Next-Router-Segment-Prefetch" } } }, "content": { "application/json": { "schema": { "type": "object", "properties": { "data": { "type": "array", "items": { "type": "object", "properties": { "attachments": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string", "example": "0.806494468977148.png" }, "url": { "type": "string", "example": "https://alwiuiydhxcstgrluarg.supabase.co/storage/v1/object/public/user_images/internal/0.806494468977148.png" } } }, "nullable": true, "example": [ { "name": "0.806494468977148.png", "url": "https://alwiuiydhxcstgrluarg.supabase.co/storage/v1/object/public/user_images/internal/0.806494468977148.png" }, { "name": "0.47461492756254064.png", "url": "https://alwiuiydhxcstgrluarg.supabase.co/storage/v1/object/public/user_images/internal/0.47461492756254064.png" }, { "name": "0.34089790317279434.png", "url": "https://alwiuiydhxcstgrluarg.supabase.co/storage/v1/object/public/user_images/internal/0.34089790317279434.png" } ] }, "content": { "type": "string", "example": "Describe this image" }, "created_at": { "type": "string", "example": "2025-03-05T04:25:58.059835+00:00" }, "id": { "type": "string", "example": "b10506a1-1ca7-4336-a72b-f37782c6a054" }, "metadata": { "type": "object", "properties": { "mid": { "type": "string", "example": "msg-Mzs8wSy4weVyiALOzzZRDles" } } }, "migrated_data": { "type": "boolean", "example": false }, "model": { "type": "string", "nullable": true, "example": null }, "provider": { "type": "string", "nullable": true, "example": null }, "sender_type": { "type": "string", "example": "user" }, "session_id": { "type": "string", "example": "f081d259-6c72-4eca-8687-1b6ed716257e" }, "session_token": { "nullable": true, "example": null }, "tokens_used": { "type": "number", "example": 0 }, "tool_calls": { "type": "array", "nullable": true, "example": null }, "tool_results": { "type": "array", "nullable": true, "example": null } } }, "example": [ { "attachments": [ { "name": "0.806494468977148.png", "url": "https://alwiuiydhxcstgrluarg.supabase.co/storage/v1/object/public/user_images/internal/0.806494468977148.png" }, { "name": "0.47461492756254064.png", "url": "https://alwiuiydhxcstgrluarg.supabase.co/storage/v1/object/public/user_images/internal/0.47461492756254064.png" }, { "name": "0.34089790317279434.png", "url": "https://alwiuiydhxcstgrluarg.supabase.co/storage/v1/object/public/user_images/internal/0.34089790317279434.png" } ], "content": "Describe this image", "created_at": "2025-03-05T04:25:58.059835+00:00", "id": "b10506a1-1ca7-4336-a72b-f37782c6a054", "metadata": {}, "migrated_data": false, "model": null, "provider": null, "sender_type": "user", "session_id": "f081d259-6c72-4eca-8687-1b6ed716257e", "session_token": null, "tokens_used": 0, "tool_calls": null, "tool_results": null }, { "attachments": null, "content": "The images depict a serene camping scene set in a mountainous landscape. \n\n1. **First Image**: A tent is pitched on a grassy area surrounded by tall trees and boulders, with majestic snow-capped mountains in the background. A campfire is burning nearby, creating a cozy atmosphere.\n\n2. **Second Image**: A robot stands in the same picturesque setting, next to the tent. The robot has a vintage design, featuring metallic elements and a friendly appearance, suggesting it might be a companion for outdoor adventures.\n\n3. **Third Image**: Another robot, similar in style to the second, is present in a slightly different area of the campsite. This robot also has a vintage look, wearing a cap and equipped with various tools, indicating it might assist with camping tasks.\n\nOverall, the images blend elements of nature with whimsical robotic characters, creating a unique and imaginative camping scenario.", "created_at": "2025-03-05T04:26:10.241508+00:00", "id": "85706af7-c3f1-413a-b4fb-43eda8d258d7", "metadata": {}, "migrated_data": false, "model": "gpt-4o-mini", "provider": "openai", "sender_type": "bot", "session_id": "f081d259-6c72-4eca-8687-1b6ed716257e", "session_token": null, "tokens_used": 0, "tool_calls": [], "tool_results": [] }, { "attachments": [ { "name": "0.031071150695289873.png", "url": "https://alwiuiydhxcstgrluarg.supabase.co/storage/v1/object/public/user_images/internal/0.031071150695289873.png" }, { "name": "0.5423937996768102.png", "url": "https://alwiuiydhxcstgrluarg.supabase.co/storage/v1/object/public/user_images/internal/0.5423937996768102.png" }, { "name": "0.7798706640238224.png", "url": "https://alwiuiydhxcstgrluarg.supabase.co/storage/v1/object/public/user_images/internal/0.7798706640238224.png" } ], "content": "Describe these images", "created_at": "2025-03-05T07:08:50.863723+00:00", "id": "e69359c7-caf7-419b-906e-0f478a94ccde", "metadata": {}, "migrated_data": false, "model": null, "provider": null, "sender_type": "user", "session_id": "f081d259-6c72-4eca-8687-1b6ed716257e", "session_token": null, "tokens_used": 0, "tool_calls": null, "tool_results": null }, { "attachments": null, "content": "Here are descriptions of the images:\n\n1. **First Image**: A serene camping scene featuring a large tent set in a lush green meadow. The background showcases majestic mountains with snow-capped peaks under a clear blue sky. A small campfire is burning nearby, surrounded by rocks, adding to the tranquil outdoor atmosphere.\n\n2. **Second Image**: A whimsical robot stands in the same picturesque camping setting. The robot has a vintage design with metallic features and large, expressive eyes. It appears to be exploring the area, with the tent and mountains in the background, creating a blend of nature and technology.\n\n3. **Third Image**: Another robot, similar in style to the second, is depicted in the same outdoor environment. This robot has a different design, featuring a cap and a utility belt, suggesting it might be equipped for camping or exploration. The background includes a cabin and additional tents, enhancing the camping theme.", "created_at": "2025-03-05T07:09:05.423355+00:00", "id": "9a0e408d-1588-4d64-9e33-814a56b0543b", "metadata": {}, "migrated_data": false, "model": "gpt-4o-mini", "provider": "openai", "sender_type": "bot", "session_id": "f081d259-6c72-4eca-8687-1b6ed716257e", "session_token": null, "tokens_used": 0, "tool_calls": [], "tool_results": [] }, { "attachments": [ { "name": "0.3554636060885503.png", "url": "https://alwiuiydhxcstgrluarg.supabase.co/storage/v1/object/public/user_images/internal/0.3554636060885503.png" } ], "content": "describe this image", "created_at": "2025-03-06T06:54:57.123427+00:00", "id": "5a5e3b4d-9894-4e78-be11-fbd637034c27", "metadata": {}, "migrated_data": false, "model": null, "provider": null, "sender_type": "user", "session_id": "f081d259-6c72-4eca-8687-1b6ed716257e", "session_token": null, "tokens_used": 0, "tool_calls": null, "tool_results": null }, { "attachments": null, "content": "The image depicts a serene camping scene. In the foreground, there is a pitched tent on a grassy area surrounded by rocks. Next to the tent, a campfire is burning, adding warmth and ambiance to the setting. In the background, a range of majestic, snow-capped mountains rises beneath a clear blue sky with a bright sun. Tall evergreen trees frame the scene, contributing to the tranquil and natural atmosphere.", "created_at": "2025-03-06T06:55:07.999262+00:00", "id": "4492f637-8a3a-4bfa-abc6-8dd1a561926b", "metadata": { "mid": "msg-Mzs8wSy4weVyiALOzzZRDles" }, "migrated_data": false, "model": "gpt-4o", "provider": "openai", "sender_type": "bot", "session_id": "f081d259-6c72-4eca-8687-1b6ed716257e", "session_token": null, "tokens_used": 0, "tool_calls": [], "tool_results": [] }, { "attachments": [ { "name": "0.4848606669311497.png", "url": "https://alwiuiydhxcstgrluarg.supabase.co/storage/v1/object/public/user_images/internal/0.4848606669311497.png" } ], "content": "describe this image pls", "created_at": "2025-03-06T07:11:47.402167+00:00", "id": "1d96c472-172e-4dee-bbe5-fbe7ce56b4e5", "metadata": {}, "migrated_data": false, "model": null, "provider": null, "sender_type": "user", "session_id": "f081d259-6c72-4eca-8687-1b6ed716257e", "session_token": null, "tokens_used": 0, "tool_calls": null, "tool_results": null }, { "attachments": null, "content": "The image shows an error message indicating \"Server selection timed out after 30000 ms.\" It mentions a problem connecting to a specific server, with an option to \"REVIEW\" the issue. There's a warning icon next to the message.", "created_at": "2025-03-06T07:11:54.899588+00:00", "id": "90459d74-ffdd-4088-a75f-a9002d5eeb09", "metadata": { "mid": "msg-ZhahmWh01hRFKAqqQ2BzkCBP" }, "migrated_data": false, "model": "gpt-4o", "provider": "openai", "sender_type": "bot", "session_id": "f081d259-6c72-4eca-8687-1b6ed716257e", "session_token": null, "tokens_used": 0, "tool_calls": [], "tool_results": [] }, { "attachments": [ { "name": "0.8697358026985564.jpeg", "url": "https://alwiuiydhxcstgrluarg.supabase.co/storage/v1/object/public/user_images/internal/0.8697358026985564.jpeg" } ], "content": "Describe this image", "created_at": "2025-03-08T07:59:25.422254+00:00", "id": "10ddabba-c38a-418b-88ea-5a7df7eaa95f", "metadata": {}, "migrated_data": false, "model": null, "provider": null, "sender_type": "user", "session_id": "f081d259-6c72-4eca-8687-1b6ed716257e", "session_token": null, "tokens_used": 0, "tool_calls": null, "tool_results": null }, { "attachments": null, "content": "The image captures a city skyline at sunrise or sunset. The sun is positioned low on the horizon, casting a warm glow over the skyscrapers. Tall buildings, including one with a prominent spire, are silhouetted against the vibrant sky. The street below is lined with more buildings, and the overall scene conveys a serene urban atmosphere.", "created_at": "2025-03-08T07:59:34.45648+00:00", "id": "bdd8e93c-9d80-4fa6-bf8d-f230cfadcaeb", "metadata": { "mid": "msg-Fs9PbjHF38Tg8OOvvyP2ZYBh" }, "migrated_data": false, "model": "gpt-4o", "provider": "openai", "sender_type": "bot", "session_id": "f081d259-6c72-4eca-8687-1b6ed716257e", "session_token": null, "tokens_used": 0, "tool_calls": [], "tool_results": [] } ] }, "metadata": { "type": "object", "properties": { "currentPage": { "type": "number", "example": 1 }, "pageSize": { "type": "number", "example": 10 }, "totalCount": { "type": "number", "example": 10 }, "totalPages": { "type": "number", "example": 1 } } } } }, "examples": { "Example": { "value": { "data": [ { "attachments": [ { "name": "0.806494468977148.png", "url": "https://alwiuiydhxcstgrluarg.supabase.co/storage/v1/object/public/user_images/internal/0.806494468977148.png" }, { "name": "0.47461492756254064.png", "url": "https://alwiuiydhxcstgrluarg.supabase.co/storage/v1/object/public/user_images/internal/0.47461492756254064.png" }, { "name": "0.34089790317279434.png", "url": "https://alwiuiydhxcstgrluarg.supabase.co/storage/v1/object/public/user_images/internal/0.34089790317279434.png" } ], "content": "Describe this image", "created_at": "2025-03-05T04:25:58.059835+00:00", "id": "b10506a1-1ca7-4336-a72b-f37782c6a054", "metadata": {}, "migrated_data": false, "model": null, "provider": null, "sender_type": "user", "session_id": "f081d259-6c72-4eca-8687-1b6ed716257e", "session_token": null, "tokens_used": 0, "tool_calls": null, "tool_results": null }, { "attachments": null, "content": "The images depict a serene camping scene set in a mountainous landscape. \n\n1. **First Image**: A tent is pitched on a grassy area surrounded by tall trees and boulders, with majestic snow-capped mountains in the background. A campfire is burning nearby, creating a cozy atmosphere.\n\n2. **Second Image**: A robot stands in the same picturesque setting, next to the tent. The robot has a vintage design, featuring metallic elements and a friendly appearance, suggesting it might be a companion for outdoor adventures.\n\n3. **Third Image**: Another robot, similar in style to the second, is present in a slightly different area of the campsite. This robot also has a vintage look, wearing a cap and equipped with various tools, indicating it might assist with camping tasks.\n\nOverall, the images blend elements of nature with whimsical robotic characters, creating a unique and imaginative camping scenario.", "created_at": "2025-03-05T04:26:10.241508+00:00", "id": "85706af7-c3f1-413a-b4fb-43eda8d258d7", "metadata": {}, "migrated_data": false, "model": "gpt-4o-mini", "provider": "openai", "sender_type": "bot", "session_id": "f081d259-6c72-4eca-8687-1b6ed716257e", "session_token": null, "tokens_used": 0, "tool_calls": [], "tool_results": [] }, { "attachments": [ { "name": "0.031071150695289873.png", "url": "https://alwiuiydhxcstgrluarg.supabase.co/storage/v1/object/public/user_images/internal/0.031071150695289873.png" }, { "name": "0.5423937996768102.png", "url": "https://alwiuiydhxcstgrluarg.supabase.co/storage/v1/object/public/user_images/internal/0.5423937996768102.png" }, { "name": "0.7798706640238224.png", "url": "https://alwiuiydhxcstgrluarg.supabase.co/storage/v1/object/public/user_images/internal/0.7798706640238224.png" } ], "content": "Describe these images", "created_at": "2025-03-05T07:08:50.863723+00:00", "id": "e69359c7-caf7-419b-906e-0f478a94ccde", "metadata": {}, "migrated_data": false, "model": null, "provider": null, "sender_type": "user", "session_id": "f081d259-6c72-4eca-8687-1b6ed716257e", "session_token": null, "tokens_used": 0, "tool_calls": null, "tool_results": null }, { "attachments": null, "content": "Here are descriptions of the images:\n\n1. **First Image**: A serene camping scene featuring a large tent set in a lush green meadow. The background showcases majestic mountains with snow-capped peaks under a clear blue sky. A small campfire is burning nearby, surrounded by rocks, adding to the tranquil outdoor atmosphere.\n\n2. **Second Image**: A whimsical robot stands in the same picturesque camping setting. The robot has a vintage design with metallic features and large, expressive eyes. It appears to be exploring the area, with the tent and mountains in the background, creating a blend of nature and technology.\n\n3. **Third Image**: Another robot, similar in style to the second, is depicted in the same outdoor environment. This robot has a different design, featuring a cap and a utility belt, suggesting it might be equipped for camping or exploration. The background includes a cabin and additional tents, enhancing the camping theme.", "created_at": "2025-03-05T07:09:05.423355+00:00", "id": "9a0e408d-1588-4d64-9e33-814a56b0543b", "metadata": {}, "migrated_data": false, "model": "gpt-4o-mini", "provider": "openai", "sender_type": "bot", "session_id": "f081d259-6c72-4eca-8687-1b6ed716257e", "session_token": null, "tokens_used": 0, "tool_calls": [], "tool_results": [] }, { "attachments": [ { "name": "0.3554636060885503.png", "url": "https://alwiuiydhxcstgrluarg.supabase.co/storage/v1/object/public/user_images/internal/0.3554636060885503.png" } ], "content": "describe this image", "created_at": "2025-03-06T06:54:57.123427+00:00", "id": "5a5e3b4d-9894-4e78-be11-fbd637034c27", "metadata": {}, "migrated_data": false, "model": null, "provider": null, "sender_type": "user", "session_id": "f081d259-6c72-4eca-8687-1b6ed716257e", "session_token": null, "tokens_used": 0, "tool_calls": null, "tool_results": null }, { "attachments": null, "content": "The image depicts a serene camping scene. In the foreground, there is a pitched tent on a grassy area surrounded by rocks. Next to the tent, a campfire is burning, adding warmth and ambiance to the setting. In the background, a range of majestic, snow-capped mountains rises beneath a clear blue sky with a bright sun. Tall evergreen trees frame the scene, contributing to the tranquil and natural atmosphere.", "created_at": "2025-03-06T06:55:07.999262+00:00", "id": "4492f637-8a3a-4bfa-abc6-8dd1a561926b", "metadata": { "mid": "msg-Mzs8wSy4weVyiALOzzZRDles" }, "migrated_data": false, "model": "gpt-4o", "provider": "openai", "sender_type": "bot", "session_id": "f081d259-6c72-4eca-8687-1b6ed716257e", "session_token": null, "tokens_used": 0, "tool_calls": [], "tool_results": [] }, { "attachments": [ { "name": "0.4848606669311497.png", "url": "https://alwiuiydhxcstgrluarg.supabase.co/storage/v1/object/public/user_images/internal/0.4848606669311497.png" } ], "content": "describe this image pls", "created_at": "2025-03-06T07:11:47.402167+00:00", "id": "1d96c472-172e-4dee-bbe5-fbe7ce56b4e5", "metadata": {}, "migrated_data": false, "model": null, "provider": null, "sender_type": "user", "session_id": "f081d259-6c72-4eca-8687-1b6ed716257e", "session_token": null, "tokens_used": 0, "tool_calls": null, "tool_results": null }, { "attachments": null, "content": "The image shows an error message indicating \"Server selection timed out after 30000 ms.\" It mentions a problem connecting to a specific server, with an option to \"REVIEW\" the issue. There's a warning icon next to the message.", "created_at": "2025-03-06T07:11:54.899588+00:00", "id": "90459d74-ffdd-4088-a75f-a9002d5eeb09", "metadata": { "mid": "msg-ZhahmWh01hRFKAqqQ2BzkCBP" }, "migrated_data": false, "model": "gpt-4o", "provider": "openai", "sender_type": "bot", "session_id": "f081d259-6c72-4eca-8687-1b6ed716257e", "session_token": null, "tokens_used": 0, "tool_calls": [], "tool_results": [] }, { "attachments": [ { "name": "0.8697358026985564.jpeg", "url": "https://alwiuiydhxcstgrluarg.supabase.co/storage/v1/object/public/user_images/internal/0.8697358026985564.jpeg" } ], "content": "Describe this image", "created_at": "2025-03-08T07:59:25.422254+00:00", "id": "10ddabba-c38a-418b-88ea-5a7df7eaa95f", "metadata": {}, "migrated_data": false, "model": null, "provider": null, "sender_type": "user", "session_id": "f081d259-6c72-4eca-8687-1b6ed716257e", "session_token": null, "tokens_used": 0, "tool_calls": null, "tool_results": null }, { "attachments": null, "content": "The image captures a city skyline at sunrise or sunset. The sun is positioned low on the horizon, casting a warm glow over the skyscrapers. Tall buildings, including one with a prominent spire, are silhouetted against the vibrant sky. The street below is lined with more buildings, and the overall scene conveys a serene urban atmosphere.", "created_at": "2025-03-08T07:59:34.45648+00:00", "id": "bdd8e93c-9d80-4fa6-bf8d-f230cfadcaeb", "metadata": { "mid": "msg-Fs9PbjHF38Tg8OOvvyP2ZYBh" }, "migrated_data": false, "model": "gpt-4o", "provider": "openai", "sender_type": "bot", "session_id": "f081d259-6c72-4eca-8687-1b6ed716257e", "session_token": null, "tokens_used": 0, "tool_calls": [], "tool_results": [] } ], "metadata": { "currentPage": 1, "pageSize": 10, "totalCount": 10, "totalPages": 1 } } } } } } } } }, "parameters": [ { "name": "chatbotId", "in": "path", "required": true, "schema": { "type": "string", "example": "5afe16ed-5fd2-4552-a993-903bc9c32bb6" } }, { "name": "sessionId", "in": "path", "required": true, "schema": { "type": "string", "example": "f081d259-6c72-4eca-8687-1b6ed716257e" } } ] } }, "tags": [] }