{"items":[{"type":"link","label":"Chatlayer Analytics API","link":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics","routeSlug":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics","content":{"contentType":"overview","meta":{"name":"Chatlayer Analytics API"},"children":[{"nodeType":"container","panels":[{"title":"Download OpenAPI description","titleTranslationKey":"download.description.title","children":[{"kind":"download","label":"chatlayer-analytics.json","url":"/_bundle/docs/chatlayer-analytics/api-reference/chatlayer-analytics.json?download"},{"kind":"download","label":"chatlayer-analytics.yaml","url":"/_bundle/docs/chatlayer-analytics/api-reference/chatlayer-analytics.yaml?download"}]},{"title":"Overview","titleTranslationKey":"info.title","children":[{"kind":"externallink","title":"URL","titleTranslationKey":"info.contact.url","label":"https://www.sinch.com","url":"https://www.sinch.com"},{"kind":"email","title":"Support","email":"support@sinch.com","label":"support@sinch.com","withCopyButton":true,"copyContent":"support@sinch.com"}]},{"title":"Languages","titleTranslationKey":"languages.title","children":[{"kind":"languages","options":[{"key":"curl","title":"curl","lang":"curl"},{"key":"javascript","title":"JavaScript","lang":"JavaScript"},{"key":"node","title":"Node.js","lang":"Node.js"},{"key":"python","title":"Python","lang":"Python"},{"key":"java","title":"Java","lang":"Java"},{"key":"csharp","title":"C#","lang":"C#"},{"key":"php","title":"PHP","lang":"PHP"},{"key":"go","title":"Go","lang":"Go"},{"key":"ruby","title":"Ruby","lang":"Ruby"},{"key":"r","title":"R","lang":"R"},{"key":"payload","title":"Payload","lang":"Payload"}]}]},{"title":"Servers","titleTranslationKey":"servers.title","children":[{"kind":"servers","servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"mode":"default"}]}],"children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"header","level":1,"label":"Chatlayer Analytics API (1.0.0)","showPageActions":true},{"nodeType":"external-docs","url":"https://developers.sinch.com/docs/chatlayer-analytics/","description":"Learn more"}],"sectionId":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics"}]}]}},{"type":"group","label":"Apps","link":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/apps","routeSlug":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/apps","items":[{"label":"Analytics_ListAppIntegrationsLogs","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/apps/analytics_listappintegrationslogs","routeSlug":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/apps/analytics_listappintegrationslogs","metadata":{"seo":{"title":"Analytics_ListAppIntegrationsLogs"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"Analytics_ListAppIntegrationsLogs","name":"Analytics_ListAppIntegrationsLogs","isWebhook":false,"pointer":"/paths/~1v1~1apps~1{app_id}~1logs~1stream/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Analytics_ListAppIntegrationsLogs","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"basicAuth","scopes":[],"type":"http","scheme":"basic","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Generate your access token on the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://app.chatlayer.ai/settings/api-access/tokens"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Chatlayer platform"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"app_id","in":"path","schemaId":"schema_555","required":true}],"pointer":"/paths/~1v1~1apps~1{app_id}~1logs~1stream/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"start_time","in":"query","schemaId":"schema_555","required":true},{"name":"end_time","in":"query","schemaId":"schema_555","required":true},{"name":"query","in":"query","schemaId":"schema_555"},{"name":"page_size","in":"query","schemaId":"schema_556","description":"The maximum number of logs to return.\nThe service may return fewer than this value.\nThe maximum value allowed is 100; value above 100 will be coerced to 100."},{"name":"page_token","in":"query","schemaId":"schema_555","description":"A page token, received from a previous ListAppIntegrationsLogsRequest call.\nProvide this to retrieve a subsequent page."}],"pointer":"/paths/~1v1~1apps~1{app_id}~1logs~1stream/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/v1/apps/{app_id}/logs/stream","servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"parameters":{"path":[{"name":"app_id","in":"path","required":true,"schemaId":"schema_555"}],"query":[{"name":"start_time","in":"query","required":true,"schemaId":"schema_555"},{"name":"end_time","in":"query","required":true,"schemaId":"schema_555"},{"name":"query","in":"query","schemaId":"schema_555"},{"name":"page_size","in":"query","schemaId":"schema_556"},{"name":"page_token","in":"query","schemaId":"schema_555"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"basicAuth","type":"http","scheme":"basic"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/v1/apps/{app_id}/logs/stream","href":"apps/analytics_listappintegrationslogs","openApiOperationId":"Analytics_ListAppIntegrationsLogs"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"A successful response.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ListAppIntegrationsLogsResponse"}},"schemaId":"components/schemas/ListAppIntegrationsLogsResponse"}],"pointer":"/paths/~1v1~1apps~1{app_id}~1logs~1stream/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/ListAppIntegrationsLogsResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ListAppIntegrationsLogsResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/apps/analytics_listappintegrationslogs"}],"panels":[]}]},"httpPath":"/v1/apps/{app_id}/logs/stream"}],"content":{"contentType":"group","meta":{"name":"Apps"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Apps","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/v1/apps/{app_id}/logs/stream","summary":"Analytics_ListAppIntegrationsLogs","prefix":{"name":"get","color":"get"},"badges":[],"link":"/apps/analytics_listappintegrationslogs","deprecated":false}]}]}]}]}},{"type":"group","label":"Conversations","link":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/conversations","routeSlug":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/conversations","items":[{"label":"Get conversation analytics","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/conversations/analytics_getconversations","routeSlug":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/conversations/analytics_getconversations","metadata":{"seo":{"title":"Get conversation analytics","description":"Get conversation analytics"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"Analytics_GetConversations","name":"Get conversation analytics","isWebhook":false,"pointer":"/paths/~1v1~1bots~1{bot_id}~1conversations/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get conversation analytics","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"basicAuth","scopes":[],"type":"http","scheme":"basic","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Generate your access token on the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://app.chatlayer.ai/settings/api-access/tokens"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Chatlayer platform"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"bot_id","in":"path","schemaId":"schema_555","description":"Identifies the bot.","required":true}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1conversations/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"version","in":"query","schemaId":"schema_555","description":"Identifies the bot version.","required":true},{"name":"start_time","in":"query","schemaId":"schema_555","description":"The starting date for the time range of the data series.","required":true},{"name":"end_time","in":"query","schemaId":"schema_555","description":"The ending date for the time range of the data series, exclusive.","required":true},{"name":"channel_type","in":"query","schemaId":"schema_557","description":"Filter by specific channels, multiple values separated by comma."},{"name":"language","in":"query","schemaId":"schema_557","description":"Filter by specific languages, multiple values separated by comma."},{"name":"bucket","in":"query","schemaId":"schema_555","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Time interval in which results will be grouped."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Supported values are 1h,1d,1w. The interval should be smaller"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"than the range specified in the  [start_time,end_time)"},"children":[]}]}]}]},{"name":"group_by","in":"query","schemaId":"schema_555","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Group by a specific category. Can be channel_type or language"},"children":[]}]}]}]}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1conversations/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/v1/bots/{bot_id}/conversations","servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"parameters":{"path":[{"name":"bot_id","in":"path","required":true,"schemaId":"schema_555"}],"query":[{"name":"version","in":"query","required":true,"schemaId":"schema_555"},{"name":"start_time","in":"query","required":true,"schemaId":"schema_555"},{"name":"end_time","in":"query","required":true,"schemaId":"schema_555"},{"name":"channel_type","in":"query","schemaId":"schema_557","style":"form","explode":true},{"name":"language","in":"query","schemaId":"schema_557","style":"form","explode":true},{"name":"bucket","in":"query","schemaId":"schema_555"},{"name":"group_by","in":"query","schemaId":"schema_555"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"basicAuth","type":"http","scheme":"basic"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/v1/bots/{bot_id}/conversations","href":"conversations/analytics_getconversations","openApiOperationId":"Analytics_GetConversations","summary":"Get conversation analytics"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"A successful response.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetConversationsInsightsResponse"}},"schemaId":"components/schemas/GetConversationsInsightsResponse"}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1conversations/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/GetConversationsInsightsResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetConversationsInsightsResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/conversations/analytics_getconversations"}],"panels":[]}]},"httpPath":"/v1/bots/{bot_id}/conversations"},{"label":"Analytics_GetConversationsInsights","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/conversations/analytics_getconversationsinsights","routeSlug":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/conversations/analytics_getconversationsinsights","metadata":{"seo":{"title":"Analytics_GetConversationsInsights"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"Analytics_GetConversationsInsights","name":"Analytics_GetConversationsInsights","isWebhook":false,"pointer":"/paths/~1v1~1bots~1{bot_id}~1conversations~1insights/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Analytics_GetConversationsInsights","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"basicAuth","scopes":[],"type":"http","scheme":"basic","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Generate your access token on the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://app.chatlayer.ai/settings/api-access/tokens"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Chatlayer platform"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"bot_id","in":"path","schemaId":"schema_555","description":"Identifies the bot.","required":true}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1conversations~1insights/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"version","in":"query","schemaId":"schema_555","description":"Identifies the bot version.","required":true},{"name":"start_time","in":"query","schemaId":"schema_555","description":"The starting date for the time range of the data series.","required":true},{"name":"end_time","in":"query","schemaId":"schema_555","description":"The ending date for the time range of the data series, exclusive.","required":true},{"name":"channel_type","in":"query","schemaId":"schema_555","description":"Filter by specific channels, multiple values separated by comma."},{"name":"language","in":"query","schemaId":"schema_555","description":"Filter by specific languages, multiple values separated by comma."},{"name":"stat","in":"query","schemaId":"schema_555","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The stat to return, one of 'num_conversations', 'duration_seconds', 'num_messages'"},"children":[]}]}]}],"required":true}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1conversations~1insights/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/v1/bots/{bot_id}/conversations/insights","servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"parameters":{"path":[{"name":"bot_id","in":"path","required":true,"schemaId":"schema_555"}],"query":[{"name":"version","in":"query","required":true,"schemaId":"schema_555"},{"name":"start_time","in":"query","required":true,"schemaId":"schema_555"},{"name":"end_time","in":"query","required":true,"schemaId":"schema_555"},{"name":"channel_type","in":"query","schemaId":"schema_555"},{"name":"language","in":"query","schemaId":"schema_555"},{"name":"stat","in":"query","required":true,"schemaId":"schema_555"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"basicAuth","type":"http","scheme":"basic"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/v1/bots/{bot_id}/conversations/insights","href":"conversations/analytics_getconversationsinsights","openApiOperationId":"Analytics_GetConversationsInsights"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"A successful response.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetConversationsInsightsResponse"}},"schemaId":"components/schemas/GetConversationsInsightsResponse"}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1conversations~1insights/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/GetConversationsInsightsResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetConversationsInsightsResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/conversations/analytics_getconversationsinsights"}],"panels":[]}]},"httpPath":"/v1/bots/{bot_id}/conversations/insights"},{"label":"Analytics_GetConversationFlow","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/conversations/analytics_getconversationflow","routeSlug":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/conversations/analytics_getconversationflow","metadata":{"seo":{"title":"Analytics_GetConversationFlow"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"Analytics_GetConversationFlow","name":"Analytics_GetConversationFlow","isWebhook":false,"pointer":"/paths/~1v1~1bots~1{bot_id}~1conversations~1{conversation_id}~1flow/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Analytics_GetConversationFlow","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"basicAuth","scopes":[],"type":"http","scheme":"basic","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Generate your access token on the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://app.chatlayer.ai/settings/api-access/tokens"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Chatlayer platform"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"bot_id","in":"path","schemaId":"schema_555","description":"Identifies the bot","required":true},{"name":"conversation_id","in":"path","schemaId":"schema_555","description":"Identifies the conversation","required":true}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1conversations~1{conversation_id}~1flow/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"version","in":"query","schemaId":"schema_555","required":true},{"name":"start_time","in":"query","schemaId":"schema_555","description":"The starting date of the a range containing the conversation","required":true},{"name":"end_time","in":"query","schemaId":"schema_555","description":"The end date of the a range containing the conversation","required":true},{"name":"message_id","in":"query","schemaId":"schema_555","description":"Identifies a message withing a conversation. Optional.\nWhen specified only the transitions for the given message will be included"}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1conversations~1{conversation_id}~1flow/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/v1/bots/{bot_id}/conversations/{conversation_id}/flow","servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"parameters":{"path":[{"name":"bot_id","in":"path","required":true,"schemaId":"schema_555"},{"name":"conversation_id","in":"path","required":true,"schemaId":"schema_555"}],"query":[{"name":"version","in":"query","required":true,"schemaId":"schema_555"},{"name":"start_time","in":"query","required":true,"schemaId":"schema_555"},{"name":"end_time","in":"query","required":true,"schemaId":"schema_555"},{"name":"message_id","in":"query","schemaId":"schema_555"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"basicAuth","type":"http","scheme":"basic"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/v1/bots/{bot_id}/conversations/{conversation_id}/flow","href":"conversations/analytics_getconversationflow","openApiOperationId":"Analytics_GetConversationFlow"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"A successful response.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetConversationFlowResponse"}},"schemaId":"components/schemas/GetConversationFlowResponse"}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1conversations~1{conversation_id}~1flow/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/GetConversationFlowResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetConversationFlowResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/conversations/analytics_getconversationflow"}],"panels":[]}]},"httpPath":"/v1/bots/{bot_id}/conversations/{conversation_id}/flow"},{"label":"Analytics_GetTeamConversationsUsage","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/conversations/analytics_getteamconversationsusage","routeSlug":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/conversations/analytics_getteamconversationsusage","metadata":{"seo":{"title":"Analytics_GetTeamConversationsUsage"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"Analytics_GetTeamConversationsUsage","name":"Analytics_GetTeamConversationsUsage","isWebhook":false,"pointer":"/paths/~1v1~1teams~1{team_id}~1conversations/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Analytics_GetTeamConversationsUsage","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"basicAuth","scopes":[],"type":"http","scheme":"basic","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Generate your access token on the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://app.chatlayer.ai/settings/api-access/tokens"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Chatlayer platform"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"team_id","in":"path","schemaId":"schema_555","description":"Identifies the team.","required":true}],"pointer":"/paths/~1v1~1teams~1{team_id}~1conversations/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"start_time","in":"query","schemaId":"schema_555","description":"The starting date for the time range of the data series.","required":true},{"name":"end_time","in":"query","schemaId":"schema_555","description":"The ending date for the time range of the data series, exclusive.","required":true},{"name":"bucket","in":"query","schemaId":"schema_555","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Time interval in which results will be grouped."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Supported values are 1d, 1w, 1m. The interval should be smaller"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"than the range specified in the  [start_time,end_time)."},"children":[]}]}]}],"required":true},{"name":"group_by","in":"query","schemaId":"schema_555","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Group data by field, comma separated. Can be any of [bot_id, bot_version, team_id, channel_type, language, campaign_id, campaign_source]"},"children":[]}]}]}]}],"pointer":"/paths/~1v1~1teams~1{team_id}~1conversations/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/v1/teams/{team_id}/conversations","servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"parameters":{"path":[{"name":"team_id","in":"path","required":true,"schemaId":"schema_555"}],"query":[{"name":"start_time","in":"query","required":true,"schemaId":"schema_555"},{"name":"end_time","in":"query","required":true,"schemaId":"schema_555"},{"name":"bucket","in":"query","required":true,"schemaId":"schema_555"},{"name":"group_by","in":"query","schemaId":"schema_555"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"basicAuth","type":"http","scheme":"basic"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/v1/teams/{team_id}/conversations","href":"conversations/analytics_getteamconversationsusage","openApiOperationId":"Analytics_GetTeamConversationsUsage"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"A successful response.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetConversationsInsightsResponse"}},"schemaId":"components/schemas/GetConversationsInsightsResponse"}],"pointer":"/paths/~1v1~1teams~1{team_id}~1conversations/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/GetConversationsInsightsResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetConversationsInsightsResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/conversations/analytics_getteamconversationsusage"}],"panels":[]}]},"httpPath":"/v1/teams/{team_id}/conversations"}],"content":{"contentType":"group","meta":{"name":"Conversations"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Conversations","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/v1/bots/{bot_id}/conversations","summary":"Get conversation analytics","prefix":{"name":"get","color":"get"},"badges":[],"link":"/conversations/analytics_getconversations","deprecated":false},{"title":"/v1/bots/{bot_id}/conversations/insights","summary":"Analytics_GetConversationsInsights","prefix":{"name":"get","color":"get"},"badges":[],"link":"/conversations/analytics_getconversationsinsights","deprecated":false},{"title":"/v1/bots/{bot_id}/conversations/{conversation_id}/flow","summary":"Analytics_GetConversationFlow","prefix":{"name":"get","color":"get"},"badges":[],"link":"/conversations/analytics_getconversationflow","deprecated":false},{"title":"/v1/teams/{team_id}/conversations","summary":"Analytics_GetTeamConversationsUsage","prefix":{"name":"get","color":"get"},"badges":[],"link":"/conversations/analytics_getteamconversationsusage","deprecated":false}]}]}]}]}},{"type":"group","label":"Events","link":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/events","routeSlug":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/events","items":[{"label":"Analytics_GetEventAttributeValues","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/events/analytics_geteventattributevalues","routeSlug":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/events/analytics_geteventattributevalues","metadata":{"seo":{"title":"Analytics_GetEventAttributeValues"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"Analytics_GetEventAttributeValues","name":"Analytics_GetEventAttributeValues","isWebhook":false,"pointer":"/paths/~1v1~1bots~1{bot_id}~1events~1attributes~1{attribute_key}~1values/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Analytics_GetEventAttributeValues","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"basicAuth","scopes":[],"type":"http","scheme":"basic","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Generate your access token on the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://app.chatlayer.ai/settings/api-access/tokens"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Chatlayer platform"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"bot_id","in":"path","schemaId":"schema_555","required":true},{"name":"attribute_key","in":"path","schemaId":"schema_555","required":true}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1events~1attributes~1{attribute_key}~1values/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_558"}},"schemaId":"schema_558","pointer":"/paths/~1v1~1bots~1{bot_id}~1events~1attributes~1{attribute_key}~1values/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/v1/bots/{bot_id}/events/attributes/{attribute_key}/values","servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"parameters":{"path":[{"name":"bot_id","in":"path","required":true,"schemaId":"schema_555"},{"name":"attribute_key","in":"path","required":true,"schemaId":"schema_555"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"basicAuth","type":"http","scheme":"basic"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_558"}},"responseCodes":["200"],"pointer":"/v1/bots/{bot_id}/events/attributes/{attribute_key}/values","href":"events/analytics_geteventattributevalues","openApiOperationId":"Analytics_GetEventAttributeValues"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"schemaId":"schema_558","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_558"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"A successful response.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetEventAttributeValuesResponse"}},"schemaId":"components/schemas/GetEventAttributeValuesResponse"}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1events~1attributes~1{attribute_key}~1values/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/GetEventAttributeValuesResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetEventAttributeValuesResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/events/analytics_geteventattributevalues"}],"panels":[]}]},"httpPath":"/v1/bots/{bot_id}/events/attributes/{attribute_key}/values"},{"label":"Analytics_ListEventDefinitions","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/events/analytics_listeventdefinitions","routeSlug":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/events/analytics_listeventdefinitions","metadata":{"seo":{"title":"Analytics_ListEventDefinitions"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"Analytics_ListEventDefinitions","name":"Analytics_ListEventDefinitions","isWebhook":false,"pointer":"/paths/~1v1~1bots~1{bot_id}~1events~1definitions/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Analytics_ListEventDefinitions","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"basicAuth","scopes":[],"type":"http","scheme":"basic","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Generate your access token on the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://app.chatlayer.ai/settings/api-access/tokens"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Chatlayer platform"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"bot_id","in":"path","schemaId":"schema_555","required":true}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1events~1definitions/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"page_token","in":"query","schemaId":"schema_555"},{"name":"page_size","in":"query","schemaId":"schema_556"},{"name":"team_id","in":"query","schemaId":"schema_555"}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1events~1definitions/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/v1/bots/{bot_id}/events/definitions","servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"parameters":{"path":[{"name":"bot_id","in":"path","required":true,"schemaId":"schema_555"}],"query":[{"name":"page_token","in":"query","schemaId":"schema_555"},{"name":"page_size","in":"query","schemaId":"schema_556"},{"name":"team_id","in":"query","schemaId":"schema_555"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"basicAuth","type":"http","scheme":"basic"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/v1/bots/{bot_id}/events/definitions","href":"events/analytics_listeventdefinitions","openApiOperationId":"Analytics_ListEventDefinitions"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"A successful response.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ListEventDefinitionsResponse"}},"schemaId":"components/schemas/ListEventDefinitionsResponse"}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1events~1definitions/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/ListEventDefinitionsResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ListEventDefinitionsResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/events/analytics_listeventdefinitions"}],"panels":[]}]},"httpPath":"/v1/bots/{bot_id}/events/definitions"},{"label":"Analytics_CreateEventDefinition","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/events/analytics_createeventdefinition","routeSlug":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/events/analytics_createeventdefinition","metadata":{"seo":{"title":"Analytics_CreateEventDefinition"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"Analytics_CreateEventDefinition","name":"Analytics_CreateEventDefinition","isWebhook":false,"pointer":"/paths/~1v1~1bots~1{bot_id}~1events~1definitions/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Analytics_CreateEventDefinition","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"basicAuth","scopes":[],"type":"http","scheme":"basic","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Generate your access token on the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://app.chatlayer.ai/settings/api-access/tokens"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Chatlayer platform"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"bot_id","in":"path","schemaId":"schema_555","required":true}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1events~1definitions/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_559"}},"schemaId":"schema_559","pointer":"/paths/~1v1~1bots~1{bot_id}~1events~1definitions/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/v1/bots/{bot_id}/events/definitions","servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"parameters":{"path":[{"name":"bot_id","in":"path","required":true,"schemaId":"schema_555"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"basicAuth","type":"http","scheme":"basic"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_559"}},"responseCodes":["200"],"pointer":"/v1/bots/{bot_id}/events/definitions","href":"events/analytics_createeventdefinition","openApiOperationId":"Analytics_CreateEventDefinition"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"schemaId":"schema_559","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_559"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"A successful response.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CreateEventDefinitionResponse"}},"schemaId":"components/schemas/CreateEventDefinitionResponse"}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1events~1definitions/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/CreateEventDefinitionResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CreateEventDefinitionResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/events/analytics_createeventdefinition"}],"panels":[]}]},"httpPath":"/v1/bots/{bot_id}/events/definitions"},{"label":"Analytics_ComputeEventsFunnel","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/events/analytics_computeeventsfunnel","routeSlug":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/events/analytics_computeeventsfunnel","metadata":{"seo":{"title":"Analytics_ComputeEventsFunnel"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"Analytics_ComputeEventsFunnel","name":"Analytics_ComputeEventsFunnel","isWebhook":false,"pointer":"/paths/~1v1~1bots~1{bot_id}~1events~1funnel/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Analytics_ComputeEventsFunnel","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"basicAuth","scopes":[],"type":"http","scheme":"basic","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Generate your access token on the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://app.chatlayer.ai/settings/api-access/tokens"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Chatlayer platform"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"bot_id","in":"path","schemaId":"schema_555","required":true}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1events~1funnel/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_560"}},"schemaId":"schema_560","pointer":"/paths/~1v1~1bots~1{bot_id}~1events~1funnel/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/v1/bots/{bot_id}/events/funnel","servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"parameters":{"path":[{"name":"bot_id","in":"path","required":true,"schemaId":"schema_555"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"basicAuth","type":"http","scheme":"basic"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_560"}},"responseCodes":["200"],"pointer":"/v1/bots/{bot_id}/events/funnel","href":"events/analytics_computeeventsfunnel","openApiOperationId":"Analytics_ComputeEventsFunnel"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"schemaId":"schema_560","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_560"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"A successful response.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ComputeFunnelResponse"}},"schemaId":"components/schemas/ComputeFunnelResponse"}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1events~1funnel/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/ComputeFunnelResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ComputeFunnelResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/events/analytics_computeeventsfunnel"}],"panels":[]}]},"httpPath":"/v1/bots/{bot_id}/events/funnel"},{"label":"Analytics_ListEvents","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/events/analytics_listevents","routeSlug":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/events/analytics_listevents","metadata":{"seo":{"title":"Analytics_ListEvents"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"Analytics_ListEvents","name":"Analytics_ListEvents","isWebhook":false,"pointer":"/paths/~1v1~1bots~1{bot_id}~1events~1stream/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Analytics_ListEvents","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"basicAuth","scopes":[],"type":"http","scheme":"basic","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Generate your access token on the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://app.chatlayer.ai/settings/api-access/tokens"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Chatlayer platform"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"bot_id","in":"path","schemaId":"schema_555","description":"The ID of the bot","required":true}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1events~1stream/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"version","in":"query","schemaId":"schema_555","description":"The version of the bot (either DRAFT or LIVE)","required":true},{"name":"page_size","in":"query","schemaId":"schema_556","description":"The maximum number of events to return.\nThe service may return fewer than this value.\nThe maximum value allowed is 100; value above 100 will be coerced to 100."},{"name":"page_token","in":"query","schemaId":"schema_555","description":"A page token, received from a previous ListEvent call.\nProvide this to retrieve a subsequent page."},{"name":"start_time","in":"query","schemaId":"schema_555","description":"The starting date for the time range of the events, inclusive.","required":true},{"name":"end_time","in":"query","schemaId":"schema_555","description":"The ending date for the time range of the events, exclusive.","required":true},{"name":"event","in":"query","schemaId":"schema_555","description":"The event name to filter on. When provided, only occurences of that given event will be returned"},{"name":"conversation_id","in":"query","schemaId":"schema_555","description":"The conversation to filter on. When provided, only events for the given conversation will be returned"},{"name":"user_id","in":"query","schemaId":"schema_555","description":"The user to filter on. When provided, only events for the given user will be returned"},{"name":"campaign_id","in":"query","schemaId":"schema_555","description":"The campaign to filter on. When provided, only events for the given campaign will be returned"}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1events~1stream/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/v1/bots/{bot_id}/events/stream","servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"parameters":{"path":[{"name":"bot_id","in":"path","required":true,"schemaId":"schema_555"}],"query":[{"name":"version","in":"query","required":true,"schemaId":"schema_555"},{"name":"page_size","in":"query","schemaId":"schema_556"},{"name":"page_token","in":"query","schemaId":"schema_555"},{"name":"start_time","in":"query","required":true,"schemaId":"schema_555"},{"name":"end_time","in":"query","required":true,"schemaId":"schema_555"},{"name":"event","in":"query","schemaId":"schema_555"},{"name":"conversation_id","in":"query","schemaId":"schema_555"},{"name":"user_id","in":"query","schemaId":"schema_555"},{"name":"campaign_id","in":"query","schemaId":"schema_555"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"basicAuth","type":"http","scheme":"basic"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/v1/bots/{bot_id}/events/stream","href":"events/analytics_listevents","openApiOperationId":"Analytics_ListEvents"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"A successful response.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetTeamEventsResponse"}},"schemaId":"components/schemas/GetTeamEventsResponse"}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1events~1stream/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/GetTeamEventsResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetTeamEventsResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/events/analytics_listevents"}],"panels":[]}]},"httpPath":"/v1/bots/{bot_id}/events/stream"},{"label":"Analytics_ListEventsWithFilters","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/events/analytics_listeventswithfilters","routeSlug":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/events/analytics_listeventswithfilters","metadata":{"seo":{"title":"Analytics_ListEventsWithFilters"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"Analytics_ListEventsWithFilters","name":"Analytics_ListEventsWithFilters","isWebhook":false,"pointer":"/paths/~1v1~1bots~1{bot_id}~1events~1stream/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Analytics_ListEventsWithFilters","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"basicAuth","scopes":[],"type":"http","scheme":"basic","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Generate your access token on the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://app.chatlayer.ai/settings/api-access/tokens"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Chatlayer platform"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"bot_id","in":"path","schemaId":"schema_555","description":"The ID of the bot","required":true}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1events~1stream/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_561"}},"schemaId":"schema_561","pointer":"/paths/~1v1~1bots~1{bot_id}~1events~1stream/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/v1/bots/{bot_id}/events/stream","servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"parameters":{"path":[{"name":"bot_id","in":"path","required":true,"schemaId":"schema_555"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"basicAuth","type":"http","scheme":"basic"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_561"}},"responseCodes":["200"],"pointer":"/v1/bots/{bot_id}/events/stream","href":"events/analytics_listeventswithfilters","openApiOperationId":"Analytics_ListEventsWithFilters"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"schemaId":"schema_561","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_561"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"A successful response.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetTeamEventsResponse"}},"schemaId":"components/schemas/GetTeamEventsResponse"}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1events~1stream/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/GetTeamEventsResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetTeamEventsResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/events/analytics_listeventswithfilters"}],"panels":[]}]},"httpPath":"/v1/bots/{bot_id}/events/stream"},{"label":"Analytics_TrackEvent","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/events/analytics_trackevent","routeSlug":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/events/analytics_trackevent","metadata":{"seo":{"title":"Analytics_TrackEvent"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"Analytics_TrackEvent","name":"Analytics_TrackEvent","isWebhook":false,"pointer":"/paths/~1v1~1bots~1{bot_id}~1events~1track/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Analytics_TrackEvent","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"basicAuth","scopes":[],"type":"http","scheme":"basic","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Generate your access token on the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://app.chatlayer.ai/settings/api-access/tokens"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Chatlayer platform"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"bot_id","in":"path","schemaId":"schema_555","required":true}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1events~1track/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_562"}},"schemaId":"schema_562","pointer":"/paths/~1v1~1bots~1{bot_id}~1events~1track/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/v1/bots/{bot_id}/events/track","servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"parameters":{"path":[{"name":"bot_id","in":"path","required":true,"schemaId":"schema_555"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"basicAuth","type":"http","scheme":"basic"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_562"}},"responseCodes":["200"],"pointer":"/v1/bots/{bot_id}/events/track","href":"events/analytics_trackevent","openApiOperationId":"Analytics_TrackEvent"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"schemaId":"schema_562","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_562"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"A successful response.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/TrackEventResponse"}},"schemaId":"components/schemas/TrackEventResponse"}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1events~1track/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/TrackEventResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/TrackEventResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/events/analytics_trackevent"}],"panels":[]}]},"httpPath":"/v1/bots/{bot_id}/events/track"},{"label":"Analytics_GetTeamEvents","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/events/analytics_getteamevents","routeSlug":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/events/analytics_getteamevents","metadata":{"seo":{"title":"Analytics_GetTeamEvents"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"Analytics_GetTeamEvents","name":"Analytics_GetTeamEvents","isWebhook":false,"pointer":"/paths/~1v1~1teams~1{team_id}~1events/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Analytics_GetTeamEvents","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"basicAuth","scopes":[],"type":"http","scheme":"basic","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Generate your access token on the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://app.chatlayer.ai/settings/api-access/tokens"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Chatlayer platform"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"team_id","in":"path","schemaId":"schema_555","required":true}],"pointer":"/paths/~1v1~1teams~1{team_id}~1events/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"user_id","in":"query","schemaId":"schema_555","description":"The id of the customer"},{"name":"page_size","in":"query","schemaId":"schema_556","description":"The maximum number of events to return.\nThe service may return fewer than this value.\nThe maximum value allowed is 100; value above 100 will be coerced to 100."},{"name":"page_token","in":"query","schemaId":"schema_555","description":"A page token, received from a previous ListEvent call.\nProvide this to retrieve a subsequent page."},{"name":"start_time","in":"query","schemaId":"schema_555","description":"The starting date for the time range of the events, inclusive.","required":true},{"name":"end_time","in":"query","schemaId":"schema_555","description":"The ending date for the time range of the events, exclusive.","required":true}],"pointer":"/paths/~1v1~1teams~1{team_id}~1events/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/v1/teams/{team_id}/events","servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"parameters":{"path":[{"name":"team_id","in":"path","required":true,"schemaId":"schema_555"}],"query":[{"name":"user_id","in":"query","schemaId":"schema_555"},{"name":"page_size","in":"query","schemaId":"schema_556"},{"name":"page_token","in":"query","schemaId":"schema_555"},{"name":"start_time","in":"query","required":true,"schemaId":"schema_555"},{"name":"end_time","in":"query","required":true,"schemaId":"schema_555"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"basicAuth","type":"http","scheme":"basic"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/v1/teams/{team_id}/events","href":"events/analytics_getteamevents","openApiOperationId":"Analytics_GetTeamEvents"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"A successful response.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetTeamEventsResponse"}},"schemaId":"components/schemas/GetTeamEventsResponse"}],"pointer":"/paths/~1v1~1teams~1{team_id}~1events/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/GetTeamEventsResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetTeamEventsResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/events/analytics_getteamevents"}],"panels":[]}]},"httpPath":"/v1/teams/{team_id}/events"},{"label":"Analytics_ListTeamEventDefinitions","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/events/analytics_listteameventdefinitions","routeSlug":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/events/analytics_listteameventdefinitions","metadata":{"seo":{"title":"Analytics_ListTeamEventDefinitions"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"Analytics_ListTeamEventDefinitions","name":"Analytics_ListTeamEventDefinitions","isWebhook":false,"pointer":"/paths/~1v1~1teams~1{team_id}~1events~1definitions/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Analytics_ListTeamEventDefinitions","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"basicAuth","scopes":[],"type":"http","scheme":"basic","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Generate your access token on the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://app.chatlayer.ai/settings/api-access/tokens"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Chatlayer platform"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"team_id","in":"path","schemaId":"schema_555","required":true}],"pointer":"/paths/~1v1~1teams~1{team_id}~1events~1definitions/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"bot_id","in":"query","schemaId":"schema_555"},{"name":"page_token","in":"query","schemaId":"schema_555"},{"name":"page_size","in":"query","schemaId":"schema_556"}],"pointer":"/paths/~1v1~1teams~1{team_id}~1events~1definitions/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/v1/teams/{team_id}/events/definitions","servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"parameters":{"path":[{"name":"team_id","in":"path","required":true,"schemaId":"schema_555"}],"query":[{"name":"bot_id","in":"query","schemaId":"schema_555"},{"name":"page_token","in":"query","schemaId":"schema_555"},{"name":"page_size","in":"query","schemaId":"schema_556"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"basicAuth","type":"http","scheme":"basic"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/v1/teams/{team_id}/events/definitions","href":"events/analytics_listteameventdefinitions","openApiOperationId":"Analytics_ListTeamEventDefinitions"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"A successful response.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ListEventDefinitionsResponse"}},"schemaId":"components/schemas/ListEventDefinitionsResponse"}],"pointer":"/paths/~1v1~1teams~1{team_id}~1events~1definitions/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/ListEventDefinitionsResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ListEventDefinitionsResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/events/analytics_listteameventdefinitions"}],"panels":[]}]},"httpPath":"/v1/teams/{team_id}/events/definitions"}],"content":{"contentType":"group","meta":{"name":"Events"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Events","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/v1/bots/{bot_id}/events/attributes/{attribute_key}/values","summary":"Analytics_GetEventAttributeValues","prefix":{"name":"post","color":"post"},"badges":[],"link":"/events/analytics_geteventattributevalues","deprecated":false},{"title":"/v1/bots/{bot_id}/events/definitions","summary":"Analytics_ListEventDefinitions","prefix":{"name":"get","color":"get"},"badges":[],"link":"/events/analytics_listeventdefinitions","deprecated":false},{"title":"/v1/bots/{bot_id}/events/definitions","summary":"Analytics_CreateEventDefinition","prefix":{"name":"post","color":"post"},"badges":[],"link":"/events/analytics_createeventdefinition","deprecated":false},{"title":"/v1/bots/{bot_id}/events/funnel","summary":"Analytics_ComputeEventsFunnel","prefix":{"name":"post","color":"post"},"badges":[],"link":"/events/analytics_computeeventsfunnel","deprecated":false},{"title":"/v1/bots/{bot_id}/events/stream","summary":"Analytics_ListEvents","prefix":{"name":"get","color":"get"},"badges":[],"link":"/events/analytics_listevents","deprecated":false},{"title":"/v1/bots/{bot_id}/events/stream","summary":"Analytics_ListEventsWithFilters","prefix":{"name":"post","color":"post"},"badges":[],"link":"/events/analytics_listeventswithfilters","deprecated":false},{"title":"/v1/bots/{bot_id}/events/track","summary":"Analytics_TrackEvent","prefix":{"name":"post","color":"post"},"badges":[],"link":"/events/analytics_trackevent","deprecated":false},{"title":"/v1/teams/{team_id}/events","summary":"Analytics_GetTeamEvents","prefix":{"name":"get","color":"get"},"badges":[],"link":"/events/analytics_getteamevents","deprecated":false},{"title":"/v1/teams/{team_id}/events/definitions","summary":"Analytics_ListTeamEventDefinitions","prefix":{"name":"get","color":"get"},"badges":[],"link":"/events/analytics_listteameventdefinitions","deprecated":false}]}]}]}]}},{"type":"group","label":"Flows","link":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/flows","routeSlug":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/flows","items":[{"label":"Analytics_GetFlows","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/flows/analytics_getflows","routeSlug":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/flows/analytics_getflows","metadata":{"seo":{"title":"Analytics_GetFlows"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"Analytics_GetFlows","name":"Analytics_GetFlows","isWebhook":false,"pointer":"/paths/~1v1~1bots~1{bot_id}~1flows/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Analytics_GetFlows","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"basicAuth","scopes":[],"type":"http","scheme":"basic","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Generate your access token on the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://app.chatlayer.ai/settings/api-access/tokens"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Chatlayer platform"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"bot_id","in":"path","schemaId":"schema_555","description":"Identifies the bot.","required":true}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1flows/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"version","in":"query","schemaId":"schema_555","description":"Identifies the bot version.","required":true},{"name":"start_time","in":"query","schemaId":"schema_555","description":"The starting date for the time range of the data series.","required":true},{"name":"end_time","in":"query","schemaId":"schema_555","description":"The ending date for the time range of the data series, exclusive.","required":true},{"name":"channel_type","in":"query","schemaId":"schema_555","description":"Filter by specific channels, multiple values separated by comma."},{"name":"language","in":"query","schemaId":"schema_555","description":"Filter by specific languages, multiple values separated by comma."},{"name":"path","in":"query","schemaId":"schema_557","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Filter by specific path, multiple values with each value specifying the nodes in that path."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"eg. path[0]=somepath&path[1]=someOtherPath"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"or path=somepath&path=someOtherPath"},"children":[]}]}]}]}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1flows/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/v1/bots/{bot_id}/flows","servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"parameters":{"path":[{"name":"bot_id","in":"path","required":true,"schemaId":"schema_555"}],"query":[{"name":"version","in":"query","required":true,"schemaId":"schema_555"},{"name":"start_time","in":"query","required":true,"schemaId":"schema_555"},{"name":"end_time","in":"query","required":true,"schemaId":"schema_555"},{"name":"channel_type","in":"query","schemaId":"schema_555"},{"name":"language","in":"query","schemaId":"schema_555"},{"name":"path","in":"query","schemaId":"schema_557","style":"form","explode":true}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"basicAuth","type":"http","scheme":"basic"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/v1/bots/{bot_id}/flows","href":"flows/analytics_getflows","openApiOperationId":"Analytics_GetFlows"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"A successful response.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetFlowsResponse"}},"schemaId":"components/schemas/GetFlowsResponse"}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1flows/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/GetFlowsResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetFlowsResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/flows/analytics_getflows"}],"panels":[]}]},"httpPath":"/v1/bots/{bot_id}/flows"},{"label":"Analytics_ComputeFlowFunnel","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/flows/analytics_computeflowfunnel","routeSlug":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/flows/analytics_computeflowfunnel","metadata":{"seo":{"title":"Analytics_ComputeFlowFunnel"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"Analytics_ComputeFlowFunnel","name":"Analytics_ComputeFlowFunnel","isWebhook":false,"pointer":"/paths/~1v1~1bots~1{bot_id}~1flows~1funnel/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Analytics_ComputeFlowFunnel","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"basicAuth","scopes":[],"type":"http","scheme":"basic","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Generate your access token on the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://app.chatlayer.ai/settings/api-access/tokens"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Chatlayer platform"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"bot_id","in":"path","schemaId":"schema_555","required":true}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1flows~1funnel/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_560"}},"schemaId":"schema_560","pointer":"/paths/~1v1~1bots~1{bot_id}~1flows~1funnel/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/v1/bots/{bot_id}/flows/funnel","servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"parameters":{"path":[{"name":"bot_id","in":"path","required":true,"schemaId":"schema_555"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"basicAuth","type":"http","scheme":"basic"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_560"}},"responseCodes":["200"],"pointer":"/v1/bots/{bot_id}/flows/funnel","href":"flows/analytics_computeflowfunnel","openApiOperationId":"Analytics_ComputeFlowFunnel"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"schemaId":"schema_560","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_560"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"A successful response.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ComputeFunnelResponse"}},"schemaId":"components/schemas/ComputeFunnelResponse"}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1flows~1funnel/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/ComputeFunnelResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ComputeFunnelResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/flows/analytics_computeflowfunnel"}],"panels":[]}]},"httpPath":"/v1/bots/{bot_id}/flows/funnel"},{"label":"Analytics_GetFlowStepDetails","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/flows/analytics_getflowstepdetails","routeSlug":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/flows/analytics_getflowstepdetails","metadata":{"seo":{"title":"Analytics_GetFlowStepDetails"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"Analytics_GetFlowStepDetails","name":"Analytics_GetFlowStepDetails","isWebhook":false,"pointer":"/paths/~1v1~1bots~1{bot_id}~1flows~1{step_id}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Analytics_GetFlowStepDetails","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"basicAuth","scopes":[],"type":"http","scheme":"basic","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Generate your access token on the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://app.chatlayer.ai/settings/api-access/tokens"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Chatlayer platform"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"bot_id","in":"path","schemaId":"schema_555","description":"Identifies the bot.","required":true},{"name":"step_id","in":"path","schemaId":"schema_555","description":"Filter by specific step in the flow identified by dialogstate id","required":true}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1flows~1{step_id}/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"version","in":"query","schemaId":"schema_555","description":"Identifies the bot version.","required":true},{"name":"start_time","in":"query","schemaId":"schema_555","description":"The starting date for the time range of the data series.","required":true},{"name":"end_time","in":"query","schemaId":"schema_555","description":"The ending date for the time range of the data series, exclusive.","required":true},{"name":"channel_type","in":"query","schemaId":"schema_555","description":"Filter by specific channels, multiple values separated by comma."},{"name":"language","in":"query","schemaId":"schema_555","description":"Filter by specific languages, multiple values separated by comma."}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1flows~1{step_id}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/v1/bots/{bot_id}/flows/{step_id}","servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"parameters":{"path":[{"name":"bot_id","in":"path","required":true,"schemaId":"schema_555"},{"name":"step_id","in":"path","required":true,"schemaId":"schema_555"}],"query":[{"name":"version","in":"query","required":true,"schemaId":"schema_555"},{"name":"start_time","in":"query","required":true,"schemaId":"schema_555"},{"name":"end_time","in":"query","required":true,"schemaId":"schema_555"},{"name":"channel_type","in":"query","schemaId":"schema_555"},{"name":"language","in":"query","schemaId":"schema_555"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"basicAuth","type":"http","scheme":"basic"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/v1/bots/{bot_id}/flows/{step_id}","href":"flows/analytics_getflowstepdetails","openApiOperationId":"Analytics_GetFlowStepDetails"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"A successful response.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetFlowStepDetailsResponse"}},"schemaId":"components/schemas/GetFlowStepDetailsResponse"}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1flows~1{step_id}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/GetFlowStepDetailsResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetFlowStepDetailsResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/flows/analytics_getflowstepdetails"}],"panels":[]}]},"httpPath":"/v1/bots/{bot_id}/flows/{step_id}"},{"label":"Analytics_GetFlowStepEdges","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/flows/analytics_getflowstepedges","routeSlug":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/flows/analytics_getflowstepedges","metadata":{"seo":{"title":"Analytics_GetFlowStepEdges"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"Analytics_GetFlowStepEdges","name":"Analytics_GetFlowStepEdges","isWebhook":false,"pointer":"/paths/~1v1~1bots~1{bot_id}~1flows~1{step_id}~1edges/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Analytics_GetFlowStepEdges","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"basicAuth","scopes":[],"type":"http","scheme":"basic","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Generate your access token on the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://app.chatlayer.ai/settings/api-access/tokens"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Chatlayer platform"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"bot_id","in":"path","schemaId":"schema_555","description":"Identifies the bot.","required":true},{"name":"step_id","in":"path","schemaId":"schema_555","description":"Filter by specific step in the flow identified by dialogstate id","required":true}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1flows~1{step_id}~1edges/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"version","in":"query","schemaId":"schema_555","description":"Identifies the bot version.","required":true},{"name":"start_time","in":"query","schemaId":"schema_555","description":"The starting date for the time range of the data series.","required":true},{"name":"end_time","in":"query","schemaId":"schema_555","description":"The ending date for the time range of the data series, exclusive.","required":true},{"name":"channel_type","in":"query","schemaId":"schema_555","description":"Filter by specific channels, multiple values separated by comma."},{"name":"language","in":"query","schemaId":"schema_555","description":"Filter by specific languages, multiple values separated by comma."},{"name":"type","in":"query","schemaId":"schema_555","description":"The edge type to return, one of 'sources' or 'targets'","required":true}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1flows~1{step_id}~1edges/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/v1/bots/{bot_id}/flows/{step_id}/edges","servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"parameters":{"path":[{"name":"bot_id","in":"path","required":true,"schemaId":"schema_555"},{"name":"step_id","in":"path","required":true,"schemaId":"schema_555"}],"query":[{"name":"version","in":"query","required":true,"schemaId":"schema_555"},{"name":"start_time","in":"query","required":true,"schemaId":"schema_555"},{"name":"end_time","in":"query","required":true,"schemaId":"schema_555"},{"name":"channel_type","in":"query","schemaId":"schema_555"},{"name":"language","in":"query","schemaId":"schema_555"},{"name":"type","in":"query","required":true,"schemaId":"schema_555"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"basicAuth","type":"http","scheme":"basic"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/v1/bots/{bot_id}/flows/{step_id}/edges","href":"flows/analytics_getflowstepedges","openApiOperationId":"Analytics_GetFlowStepEdges"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"A successful response.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetFlowStepEdgesResponse"}},"schemaId":"components/schemas/GetFlowStepEdgesResponse"}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1flows~1{step_id}~1edges/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/GetFlowStepEdgesResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetFlowStepEdgesResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/flows/analytics_getflowstepedges"}],"panels":[]}]},"httpPath":"/v1/bots/{bot_id}/flows/{step_id}/edges"}],"content":{"contentType":"group","meta":{"name":"Flows"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Flows","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/v1/bots/{bot_id}/flows","summary":"Analytics_GetFlows","prefix":{"name":"get","color":"get"},"badges":[],"link":"/flows/analytics_getflows","deprecated":false},{"title":"/v1/bots/{bot_id}/flows/funnel","summary":"Analytics_ComputeFlowFunnel","prefix":{"name":"post","color":"post"},"badges":[],"link":"/flows/analytics_computeflowfunnel","deprecated":false},{"title":"/v1/bots/{bot_id}/flows/{step_id}","summary":"Analytics_GetFlowStepDetails","prefix":{"name":"get","color":"get"},"badges":[],"link":"/flows/analytics_getflowstepdetails","deprecated":false},{"title":"/v1/bots/{bot_id}/flows/{step_id}/edges","summary":"Analytics_GetFlowStepEdges","prefix":{"name":"get","color":"get"},"badges":[],"link":"/flows/analytics_getflowstepedges","deprecated":false}]}]}]}]}},{"type":"group","label":"Intents","link":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/intents","routeSlug":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/intents","items":[{"label":"Get most used intents","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/intents/analytics_getintents","routeSlug":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/intents/analytics_getintents","metadata":{"seo":{"title":"Get most used intents","description":"Get most used intents"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"Analytics_GetIntents","name":"Get most used intents","isWebhook":false,"pointer":"/paths/~1v1~1bots~1{bot_id}~1intents/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get most used intents","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"basicAuth","scopes":[],"type":"http","scheme":"basic","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Generate your access token on the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://app.chatlayer.ai/settings/api-access/tokens"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Chatlayer platform"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"bot_id","in":"path","schemaId":"schema_555","description":"Identifies the bot.","required":true}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1intents/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"version","in":"query","schemaId":"schema_555","description":"Identifies the bot version.","required":true},{"name":"start_time","in":"query","schemaId":"schema_555","description":"The starting date for the time range of the data series.","required":true},{"name":"end_time","in":"query","schemaId":"schema_555","description":"The ending date for the time range of the data series, exclusive.","required":true},{"name":"channel_type","in":"query","schemaId":"schema_555","description":"Filter by specific channels, multiple values separated by comma."},{"name":"language","in":"query","schemaId":"schema_555","description":"Filter by specific languages, multiple values separated by comma."},{"name":"bucket","in":"query","schemaId":"schema_555","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Time interval in which results will be grouped."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Supported values are 1h,1d,1w. The interval should be smaller"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"than the range specified in the  [start_time,end_time)"},"children":[]}]}]}]},{"name":"after","in":"query","schemaId":"schema_555","description":"Pagination cursor"},{"name":"before","in":"query","schemaId":"schema_555","description":"Pagination cursor"},{"name":"first","in":"query","schemaId":"schema_563","description":"First x items. Used in combination with after"},{"name":"last","in":"query","schemaId":"schema_563","description":"Last x items. Used in combination with before"}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1intents/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/v1/bots/{bot_id}/intents","servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"parameters":{"path":[{"name":"bot_id","in":"path","required":true,"schemaId":"schema_555"}],"query":[{"name":"version","in":"query","required":true,"schemaId":"schema_555"},{"name":"start_time","in":"query","required":true,"schemaId":"schema_555"},{"name":"end_time","in":"query","required":true,"schemaId":"schema_555"},{"name":"channel_type","in":"query","schemaId":"schema_555"},{"name":"language","in":"query","schemaId":"schema_555"},{"name":"bucket","in":"query","schemaId":"schema_555"},{"name":"after","in":"query","schemaId":"schema_555"},{"name":"before","in":"query","schemaId":"schema_555"},{"name":"first","in":"query","schemaId":"schema_563"},{"name":"last","in":"query","schemaId":"schema_563"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"basicAuth","type":"http","scheme":"basic"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/v1/bots/{bot_id}/intents","href":"intents/analytics_getintents","openApiOperationId":"Analytics_GetIntents","summary":"Get most used intents"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"A successful response.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetIntentsResponse"}},"schemaId":"components/schemas/GetIntentsResponse"}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1intents/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/GetIntentsResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetIntentsResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/intents/analytics_getintents"}],"panels":[]}]},"httpPath":"/v1/bots/{bot_id}/intents"},{"label":"Analytics_GetIntentInsights","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/intents/analytics_getintentinsights","routeSlug":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/intents/analytics_getintentinsights","metadata":{"seo":{"title":"Analytics_GetIntentInsights"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"Analytics_GetIntentInsights","name":"Analytics_GetIntentInsights","isWebhook":false,"pointer":"/paths/~1v1~1bots~1{bot_id}~1intents~1insights/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Analytics_GetIntentInsights","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"basicAuth","scopes":[],"type":"http","scheme":"basic","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Generate your access token on the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://app.chatlayer.ai/settings/api-access/tokens"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Chatlayer platform"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"bot_id","in":"path","schemaId":"schema_555","description":"Identifies the bot.","required":true}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1intents~1insights/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"version","in":"query","schemaId":"schema_555","description":"Identifies the bot version.","required":true},{"name":"start_time","in":"query","schemaId":"schema_555","description":"The starting date for the time range of the data series.","required":true},{"name":"end_time","in":"query","schemaId":"schema_555","description":"The ending date for the time range of the data series, exclusive.","required":true},{"name":"channel_type","in":"query","schemaId":"schema_555","description":"Filter by specific channels, multiple values separated by comma."},{"name":"language","in":"query","schemaId":"schema_555","description":"Filter by specific languages, multiple values separated by comma."},{"name":"bucket","in":"query","schemaId":"schema_555","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Time interval in which results will be grouped."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Supported values are 1h,1d,1w. The interval should be smaller"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"than the range specified in the  [start_time,end_time)"},"children":[]}]}]}]}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1intents~1insights/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/v1/bots/{bot_id}/intents/insights","servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"parameters":{"path":[{"name":"bot_id","in":"path","required":true,"schemaId":"schema_555"}],"query":[{"name":"version","in":"query","required":true,"schemaId":"schema_555"},{"name":"start_time","in":"query","required":true,"schemaId":"schema_555"},{"name":"end_time","in":"query","required":true,"schemaId":"schema_555"},{"name":"channel_type","in":"query","schemaId":"schema_555"},{"name":"language","in":"query","schemaId":"schema_555"},{"name":"bucket","in":"query","schemaId":"schema_555"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"basicAuth","type":"http","scheme":"basic"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/v1/bots/{bot_id}/intents/insights","href":"intents/analytics_getintentinsights","openApiOperationId":"Analytics_GetIntentInsights"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"A successful response.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetConversationsInsightsResponse"}},"schemaId":"components/schemas/GetConversationsInsightsResponse"}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1intents~1insights/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/GetConversationsInsightsResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetConversationsInsightsResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/intents/analytics_getintentinsights"}],"panels":[]}]},"httpPath":"/v1/bots/{bot_id}/intents/insights"}],"content":{"contentType":"group","meta":{"name":"Intents"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Intents","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/v1/bots/{bot_id}/intents","summary":"Get most used intents","prefix":{"name":"get","color":"get"},"badges":[],"link":"/intents/analytics_getintents","deprecated":false},{"title":"/v1/bots/{bot_id}/intents/insights","summary":"Analytics_GetIntentInsights","prefix":{"name":"get","color":"get"},"badges":[],"link":"/intents/analytics_getintentinsights","deprecated":false}]}]}]}]}},{"type":"group","label":"KnowledgeBase","link":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/knowledgebase","routeSlug":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/knowledgebase","items":[{"label":"Analytics_GetKnowledgeBaseUsage","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/knowledgebase/analytics_getknowledgebaseusage","routeSlug":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/knowledgebase/analytics_getknowledgebaseusage","metadata":{"seo":{"title":"Analytics_GetKnowledgeBaseUsage"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"Analytics_GetKnowledgeBaseUsage","name":"Analytics_GetKnowledgeBaseUsage","isWebhook":false,"pointer":"/paths/~1v1~1bots~1{bot_id}~1knowledge_base/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Analytics_GetKnowledgeBaseUsage","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"basicAuth","scopes":[],"type":"http","scheme":"basic","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Generate your access token on the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://app.chatlayer.ai/settings/api-access/tokens"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Chatlayer platform"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"bot_id","in":"path","schemaId":"schema_555","description":"Identifies the bot.","required":true}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1knowledge_base/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"version","in":"query","schemaId":"schema_555","description":"Identifies the bot version.","required":true},{"name":"start_time","in":"query","schemaId":"schema_555","description":"The starting date for the time range of the data series.","required":true},{"name":"end_time","in":"query","schemaId":"schema_555","description":"The ending date for the time range of the data series, exclusive.","required":true},{"name":"channel_type","in":"query","schemaId":"schema_555","description":"Filter by specific channels, multiple values separated by comma."},{"name":"language","in":"query","schemaId":"schema_555","description":"Filter by specific languages, multiple values separated by comma."},{"name":"bucket","in":"query","schemaId":"schema_555","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Time interval in which results will be grouped."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Supported values are 1h,1d,1w. The interval should be smaller"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"than the range specified in the  [start_time,end_time)"},"children":[]}]}]}]}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1knowledge_base/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/v1/bots/{bot_id}/knowledge_base","servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"parameters":{"path":[{"name":"bot_id","in":"path","required":true,"schemaId":"schema_555"}],"query":[{"name":"version","in":"query","required":true,"schemaId":"schema_555"},{"name":"start_time","in":"query","required":true,"schemaId":"schema_555"},{"name":"end_time","in":"query","required":true,"schemaId":"schema_555"},{"name":"channel_type","in":"query","schemaId":"schema_555"},{"name":"language","in":"query","schemaId":"schema_555"},{"name":"bucket","in":"query","schemaId":"schema_555"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"basicAuth","type":"http","scheme":"basic"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/v1/bots/{bot_id}/knowledge_base","href":"knowledgebase/analytics_getknowledgebaseusage","openApiOperationId":"Analytics_GetKnowledgeBaseUsage"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"A successful response.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetConversationsInsightsResponse"}},"schemaId":"components/schemas/GetConversationsInsightsResponse"}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1knowledge_base/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/GetConversationsInsightsResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetConversationsInsightsResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/knowledgebase/analytics_getknowledgebaseusage"}],"panels":[]}]},"httpPath":"/v1/bots/{bot_id}/knowledge_base"},{"label":"Analytics_GetKnowledgeBaseTagsInsights","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/knowledgebase/analytics_getknowledgebasetagsinsights","routeSlug":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/knowledgebase/analytics_getknowledgebasetagsinsights","metadata":{"seo":{"title":"Analytics_GetKnowledgeBaseTagsInsights"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"Analytics_GetKnowledgeBaseTagsInsights","name":"Analytics_GetKnowledgeBaseTagsInsights","isWebhook":false,"pointer":"/paths/~1v1~1bots~1{bot_id}~1knowledge_base~1tags/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Analytics_GetKnowledgeBaseTagsInsights","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"basicAuth","scopes":[],"type":"http","scheme":"basic","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Generate your access token on the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://app.chatlayer.ai/settings/api-access/tokens"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Chatlayer platform"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"bot_id","in":"path","schemaId":"schema_555","description":"Identifies the bot.","required":true}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1knowledge_base~1tags/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"version","in":"query","schemaId":"schema_555","description":"Identifies the bot version.","required":true},{"name":"start_time","in":"query","schemaId":"schema_555","description":"The starting date for the time range of the data series.","required":true},{"name":"end_time","in":"query","schemaId":"schema_555","description":"The ending date for the time range of the data series, exclusive.","required":true},{"name":"channel_type","in":"query","schemaId":"schema_555","description":"Filter by specific channels, multiple values separated by comma."},{"name":"language","in":"query","schemaId":"schema_555","description":"Filter by specific languages, multiple values separated by comma."}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1knowledge_base~1tags/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/v1/bots/{bot_id}/knowledge_base/tags","servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"parameters":{"path":[{"name":"bot_id","in":"path","required":true,"schemaId":"schema_555"}],"query":[{"name":"version","in":"query","required":true,"schemaId":"schema_555"},{"name":"start_time","in":"query","required":true,"schemaId":"schema_555"},{"name":"end_time","in":"query","required":true,"schemaId":"schema_555"},{"name":"channel_type","in":"query","schemaId":"schema_555"},{"name":"language","in":"query","schemaId":"schema_555"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"basicAuth","type":"http","scheme":"basic"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/v1/bots/{bot_id}/knowledge_base/tags","href":"knowledgebase/analytics_getknowledgebasetagsinsights","openApiOperationId":"Analytics_GetKnowledgeBaseTagsInsights"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"A successful response.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetKnowledgeBaseTagsInsightsResponse"}},"schemaId":"components/schemas/GetKnowledgeBaseTagsInsightsResponse"}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1knowledge_base~1tags/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/GetKnowledgeBaseTagsInsightsResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetKnowledgeBaseTagsInsightsResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/knowledgebase/analytics_getknowledgebasetagsinsights"}],"panels":[]}]},"httpPath":"/v1/bots/{bot_id}/knowledge_base/tags"},{"label":"Analytics_GetTeamKnowledgeBaseUsage","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/knowledgebase/analytics_getteamknowledgebaseusage","routeSlug":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/knowledgebase/analytics_getteamknowledgebaseusage","metadata":{"seo":{"title":"Analytics_GetTeamKnowledgeBaseUsage"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"Analytics_GetTeamKnowledgeBaseUsage","name":"Analytics_GetTeamKnowledgeBaseUsage","isWebhook":false,"pointer":"/paths/~1v1~1teams~1{team_id}~1knowledge_base/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Analytics_GetTeamKnowledgeBaseUsage","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"basicAuth","scopes":[],"type":"http","scheme":"basic","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Generate your access token on the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://app.chatlayer.ai/settings/api-access/tokens"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Chatlayer platform"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"team_id","in":"path","schemaId":"schema_555","description":"Identifies the team.","required":true}],"pointer":"/paths/~1v1~1teams~1{team_id}~1knowledge_base/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"start_time","in":"query","schemaId":"schema_555","description":"The starting date for the time range of the data series.","required":true},{"name":"end_time","in":"query","schemaId":"schema_555","description":"The ending date for the time range of the data series, exclusive.","required":true},{"name":"bucket","in":"query","schemaId":"schema_555","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Time interval in which results will be grouped."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Supported values are 1d, 1w, 1m. The interval should be smaller"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"than the range specified in the  [start_time,end_time)."},"children":[]}]}]}],"required":true},{"name":"channel_type","in":"query","schemaId":"schema_555","description":"Filter by specific channels, multiple values separated by comma."},{"name":"language","in":"query","schemaId":"schema_555","description":"Filter by specific languages, multiple values separated by comma."}],"pointer":"/paths/~1v1~1teams~1{team_id}~1knowledge_base/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/v1/teams/{team_id}/knowledge_base","servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"parameters":{"path":[{"name":"team_id","in":"path","required":true,"schemaId":"schema_555"}],"query":[{"name":"start_time","in":"query","required":true,"schemaId":"schema_555"},{"name":"end_time","in":"query","required":true,"schemaId":"schema_555"},{"name":"bucket","in":"query","required":true,"schemaId":"schema_555"},{"name":"channel_type","in":"query","schemaId":"schema_555"},{"name":"language","in":"query","schemaId":"schema_555"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"basicAuth","type":"http","scheme":"basic"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/v1/teams/{team_id}/knowledge_base","href":"knowledgebase/analytics_getteamknowledgebaseusage","openApiOperationId":"Analytics_GetTeamKnowledgeBaseUsage"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"A successful response.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetConversationsInsightsResponse"}},"schemaId":"components/schemas/GetConversationsInsightsResponse"}],"pointer":"/paths/~1v1~1teams~1{team_id}~1knowledge_base/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/GetConversationsInsightsResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetConversationsInsightsResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/knowledgebase/analytics_getteamknowledgebaseusage"}],"panels":[]}]},"httpPath":"/v1/teams/{team_id}/knowledge_base"}],"content":{"contentType":"group","meta":{"name":"KnowledgeBase"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"KnowledgeBase","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/v1/bots/{bot_id}/knowledge_base","summary":"Analytics_GetKnowledgeBaseUsage","prefix":{"name":"get","color":"get"},"badges":[],"link":"/knowledgebase/analytics_getknowledgebaseusage","deprecated":false},{"title":"/v1/bots/{bot_id}/knowledge_base/tags","summary":"Analytics_GetKnowledgeBaseTagsInsights","prefix":{"name":"get","color":"get"},"badges":[],"link":"/knowledgebase/analytics_getknowledgebasetagsinsights","deprecated":false},{"title":"/v1/teams/{team_id}/knowledge_base","summary":"Analytics_GetTeamKnowledgeBaseUsage","prefix":{"name":"get","color":"get"},"badges":[],"link":"/knowledgebase/analytics_getteamknowledgebaseusage","deprecated":false}]}]}]}]}},{"type":"group","label":"Messages","link":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/messages","routeSlug":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/messages","items":[{"label":"Get message analytics","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/messages/analytics_getmessages","routeSlug":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/messages/analytics_getmessages","metadata":{"seo":{"title":"Get message analytics","description":"Get message analytics"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"Analytics_GetMessages","name":"Get message analytics","isWebhook":false,"pointer":"/paths/~1v1~1bots~1{bot_id}~1messages/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get message analytics","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"basicAuth","scopes":[],"type":"http","scheme":"basic","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Generate your access token on the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://app.chatlayer.ai/settings/api-access/tokens"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Chatlayer platform"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"bot_id","in":"path","schemaId":"schema_555","description":"Identifies the bot.","required":true}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1messages/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"version","in":"query","schemaId":"schema_555","description":"Identifies the bot version.","required":true},{"name":"start_time","in":"query","schemaId":"schema_555","description":"The starting date for the time range of the data series.","required":true},{"name":"end_time","in":"query","schemaId":"schema_555","description":"The ending date for the time range of the data series, exclusive.","required":true},{"name":"channel_type","in":"query","schemaId":"schema_555","description":"Filter by specific channel."},{"name":"language","in":"query","schemaId":"schema_555","description":"Filter by specific language."},{"name":"bucket","in":"query","schemaId":"schema_555","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Time interval in which results will be grouped."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Supported values are 1h, 1d, 1w. The interval should be smaller"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"than the range specified in the  [start_time,end_time)."},"children":[]}]}]}]}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1messages/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/v1/bots/{bot_id}/messages","servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"parameters":{"path":[{"name":"bot_id","in":"path","required":true,"schemaId":"schema_555"}],"query":[{"name":"version","in":"query","required":true,"schemaId":"schema_555"},{"name":"start_time","in":"query","required":true,"schemaId":"schema_555"},{"name":"end_time","in":"query","required":true,"schemaId":"schema_555"},{"name":"channel_type","in":"query","schemaId":"schema_555"},{"name":"language","in":"query","schemaId":"schema_555"},{"name":"bucket","in":"query","schemaId":"schema_555"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"basicAuth","type":"http","scheme":"basic"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/v1/bots/{bot_id}/messages","href":"messages/analytics_getmessages","openApiOperationId":"Analytics_GetMessages","summary":"Get message analytics"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"A successful response.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetConversationsInsightsResponse"}},"schemaId":"components/schemas/GetConversationsInsightsResponse"}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1messages/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/GetConversationsInsightsResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetConversationsInsightsResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/messages/analytics_getmessages"}],"panels":[]}]},"httpPath":"/v1/bots/{bot_id}/messages"}],"content":{"contentType":"group","meta":{"name":"Messages"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Messages","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/v1/bots/{bot_id}/messages","summary":"Get message analytics","prefix":{"name":"get","color":"get"},"badges":[],"link":"/messages/analytics_getmessages","deprecated":false}]}]}]}]}},{"type":"group","label":"Subscriptions","link":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/subscriptions","routeSlug":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/subscriptions","items":[{"label":"Analytics_ListSubscriptions","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/subscriptions/analytics_listsubscriptions","routeSlug":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/subscriptions/analytics_listsubscriptions","metadata":{"seo":{"title":"Analytics_ListSubscriptions"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"Analytics_ListSubscriptions","name":"Analytics_ListSubscriptions","isWebhook":false,"pointer":"/paths/~1v1~1bots~1{bot_id}~1subscriptions/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Analytics_ListSubscriptions","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"basicAuth","scopes":[],"type":"http","scheme":"basic","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Generate your access token on the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://app.chatlayer.ai/settings/api-access/tokens"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Chatlayer platform"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"bot_id","in":"path","schemaId":"schema_555","required":true}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1subscriptions/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"page_token","in":"query","schemaId":"schema_555"},{"name":"page_size","in":"query","schemaId":"schema_556"}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1subscriptions/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/v1/bots/{bot_id}/subscriptions","servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"parameters":{"path":[{"name":"bot_id","in":"path","required":true,"schemaId":"schema_555"}],"query":[{"name":"page_token","in":"query","schemaId":"schema_555"},{"name":"page_size","in":"query","schemaId":"schema_556"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"basicAuth","type":"http","scheme":"basic"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/v1/bots/{bot_id}/subscriptions","href":"subscriptions/analytics_listsubscriptions","openApiOperationId":"Analytics_ListSubscriptions"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"A successful response.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ListSubscriptionsResponse"}},"schemaId":"components/schemas/ListSubscriptionsResponse"}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1subscriptions/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/ListSubscriptionsResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ListSubscriptionsResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/subscriptions/analytics_listsubscriptions"}],"panels":[]}]},"httpPath":"/v1/bots/{bot_id}/subscriptions"},{"label":"Analytics_CreateSubscription","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/subscriptions/analytics_createsubscription","routeSlug":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/subscriptions/analytics_createsubscription","metadata":{"seo":{"title":"Analytics_CreateSubscription"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"Analytics_CreateSubscription","name":"Analytics_CreateSubscription","isWebhook":false,"pointer":"/paths/~1v1~1bots~1{bot_id}~1subscriptions/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Analytics_CreateSubscription","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"basicAuth","scopes":[],"type":"http","scheme":"basic","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Generate your access token on the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://app.chatlayer.ai/settings/api-access/tokens"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Chatlayer platform"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"bot_id","in":"path","schemaId":"schema_555","description":"the id of the bot","required":true}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1subscriptions/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_564"}},"schemaId":"schema_564","pointer":"/paths/~1v1~1bots~1{bot_id}~1subscriptions/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/v1/bots/{bot_id}/subscriptions","servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"parameters":{"path":[{"name":"bot_id","in":"path","required":true,"schemaId":"schema_555"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"basicAuth","type":"http","scheme":"basic"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_564"}},"responseCodes":["200"],"pointer":"/v1/bots/{bot_id}/subscriptions","href":"subscriptions/analytics_createsubscription","openApiOperationId":"Analytics_CreateSubscription"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"schemaId":"schema_564","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_564"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"A successful response.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CreateSubscriptionResponse"}},"schemaId":"components/schemas/CreateSubscriptionResponse"}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1subscriptions/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/CreateSubscriptionResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CreateSubscriptionResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/subscriptions/analytics_createsubscription"}],"panels":[]}]},"httpPath":"/v1/bots/{bot_id}/subscriptions"},{"label":"Analytics_DeleteSubscription","deprecated":false,"httpVerb":"delete","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/subscriptions/analytics_deletesubscription","routeSlug":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/subscriptions/analytics_deletesubscription","metadata":{"seo":{"title":"Analytics_DeleteSubscription"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"Analytics_DeleteSubscription","name":"Analytics_DeleteSubscription","isWebhook":false,"pointer":"/paths/~1v1~1bots~1{bot_id}~1subscriptions~1{subscription_id}/delete","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Analytics_DeleteSubscription","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"basicAuth","scopes":[],"type":"http","scheme":"basic","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Generate your access token on the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://app.chatlayer.ai/settings/api-access/tokens"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Chatlayer platform"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"bot_id","in":"path","schemaId":"schema_555","required":true},{"name":"subscription_id","in":"path","schemaId":"schema_555","required":true}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1subscriptions~1{subscription_id}/delete/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"DELETE","path":"/v1/bots/{bot_id}/subscriptions/{subscription_id}","servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"parameters":{"path":[{"name":"bot_id","in":"path","required":true,"schemaId":"schema_555"},{"name":"subscription_id","in":"path","required":true,"schemaId":"schema_555"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"basicAuth","type":"http","scheme":"basic"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/v1/bots/{bot_id}/subscriptions/{subscription_id}","href":"subscriptions/analytics_deletesubscription","openApiOperationId":"Analytics_DeleteSubscription"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"A successful response.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_565"}},"schemaId":"schema_565"}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1subscriptions~1{subscription_id}/delete/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_565","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_565"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/subscriptions/analytics_deletesubscription"}],"panels":[]}]},"httpPath":"/v1/bots/{bot_id}/subscriptions/{subscription_id}"}],"content":{"contentType":"group","meta":{"name":"Subscriptions"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Subscriptions","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/v1/bots/{bot_id}/subscriptions","summary":"Analytics_ListSubscriptions","prefix":{"name":"get","color":"get"},"badges":[],"link":"/subscriptions/analytics_listsubscriptions","deprecated":false},{"title":"/v1/bots/{bot_id}/subscriptions","summary":"Analytics_CreateSubscription","prefix":{"name":"post","color":"post"},"badges":[],"link":"/subscriptions/analytics_createsubscription","deprecated":false},{"title":"/v1/bots/{bot_id}/subscriptions/{subscription_id}","summary":"Analytics_DeleteSubscription","prefix":{"name":"delete","color":"delete"},"badges":[],"link":"/subscriptions/analytics_deletesubscription","deprecated":false}]}]}]}]}},{"type":"group","label":"Users","link":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/users","routeSlug":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/users","items":[{"label":"Get user analytics","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/users/analytics_getusers","routeSlug":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/users/analytics_getusers","metadata":{"seo":{"title":"Get user analytics","description":"Get user analytics"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"Analytics_GetUsers","name":"Get user analytics","isWebhook":false,"pointer":"/paths/~1v1~1bots~1{bot_id}~1users/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get user analytics","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"basicAuth","scopes":[],"type":"http","scheme":"basic","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Generate your access token on the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://app.chatlayer.ai/settings/api-access/tokens"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Chatlayer platform"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"bot_id","in":"path","schemaId":"schema_555","description":"Identifies the bot.","required":true}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1users/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"version","in":"query","schemaId":"schema_555","description":"Identifies the bot version.","required":true},{"name":"start_time","in":"query","schemaId":"schema_555","description":"The starting date for the time range of the data series.","required":true},{"name":"end_time","in":"query","schemaId":"schema_555","description":"The ending date for the time range of the data series, exclusive.","required":true},{"name":"channel_type","in":"query","schemaId":"schema_555","description":"Filter by specific channels, multiple values separated by comma."},{"name":"language","in":"query","schemaId":"schema_555","description":"Filter by specific languages, multiple values separated by comma."},{"name":"bucket","in":"query","schemaId":"schema_555","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Time interval in which results will be grouped."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Supported values are 1h,1d,1w. The interval should be smaller"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"than the range specified in the  [start_time,end_time)"},"children":[]}]}]}]}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1users/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/v1/bots/{bot_id}/users","servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"parameters":{"path":[{"name":"bot_id","in":"path","required":true,"schemaId":"schema_555"}],"query":[{"name":"version","in":"query","required":true,"schemaId":"schema_555"},{"name":"start_time","in":"query","required":true,"schemaId":"schema_555"},{"name":"end_time","in":"query","required":true,"schemaId":"schema_555"},{"name":"channel_type","in":"query","schemaId":"schema_555"},{"name":"language","in":"query","schemaId":"schema_555"},{"name":"bucket","in":"query","schemaId":"schema_555"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"basicAuth","type":"http","scheme":"basic"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/v1/bots/{bot_id}/users","href":"users/analytics_getusers","openApiOperationId":"Analytics_GetUsers","summary":"Get user analytics"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"A successful response.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetConversationsInsightsResponse"}},"schemaId":"components/schemas/GetConversationsInsightsResponse"}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1users/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/GetConversationsInsightsResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetConversationsInsightsResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/users/analytics_getusers"}],"panels":[]}]},"httpPath":"/v1/bots/{bot_id}/users"},{"label":"Get user activity by day of week and time of day","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/users/analytics_getuseractivity","routeSlug":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/users/analytics_getuseractivity","metadata":{"seo":{"title":"Get user activity by day of week and time of day","description":"Get user activity by day of week and time of day"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"Analytics_GetUserActivity","name":"Get user activity by day of week and time of day","isWebhook":false,"pointer":"/paths/~1v1~1bots~1{bot_id}~1users~1activity/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get user activity by day of week and time of day","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"basicAuth","scopes":[],"type":"http","scheme":"basic","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Generate your access token on the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://app.chatlayer.ai/settings/api-access/tokens"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Chatlayer platform"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"bot_id","in":"path","schemaId":"schema_555","description":"Identifies the bot.","required":true}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1users~1activity/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"version","in":"query","schemaId":"schema_555","description":"Identifies the bot version.","required":true},{"name":"start_time","in":"query","schemaId":"schema_555","description":"The starting date for the time range of the data series.","required":true},{"name":"end_time","in":"query","schemaId":"schema_555","description":"The ending date for the time range of the data series, exclusive.","required":true},{"name":"channel_type","in":"query","schemaId":"schema_555","description":"Filter by specific channels, multiple values separated by comma."},{"name":"language","in":"query","schemaId":"schema_555","description":"Filter by specific languages, multiple values separated by comma."}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1users~1activity/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/v1/bots/{bot_id}/users/activity","servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"parameters":{"path":[{"name":"bot_id","in":"path","required":true,"schemaId":"schema_555"}],"query":[{"name":"version","in":"query","required":true,"schemaId":"schema_555"},{"name":"start_time","in":"query","required":true,"schemaId":"schema_555"},{"name":"end_time","in":"query","required":true,"schemaId":"schema_555"},{"name":"channel_type","in":"query","schemaId":"schema_555"},{"name":"language","in":"query","schemaId":"schema_555"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"basicAuth","type":"http","scheme":"basic"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/v1/bots/{bot_id}/users/activity","href":"users/analytics_getuseractivity","openApiOperationId":"Analytics_GetUserActivity","summary":"Get user activity by day of week and time of day"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"A successful response.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetConversationsInsightsResponse"}},"schemaId":"components/schemas/GetConversationsInsightsResponse"}],"pointer":"/paths/~1v1~1bots~1{bot_id}~1users~1activity/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/GetConversationsInsightsResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetConversationsInsightsResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/users/analytics_getuseractivity"}],"panels":[]}]},"httpPath":"/v1/bots/{bot_id}/users/activity"}],"content":{"contentType":"group","meta":{"name":"Users"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Users","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/v1/bots/{bot_id}/users","summary":"Get user analytics","prefix":{"name":"get","color":"get"},"badges":[],"link":"/users/analytics_getusers","deprecated":false},{"title":"/v1/bots/{bot_id}/users/activity","summary":"Get user activity by day of week and time of day","prefix":{"name":"get","color":"get"},"badges":[],"link":"/users/analytics_getuseractivity","deprecated":false}]}]}]}]}},{"type":"group","label":"Analytics","link":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/analytics","routeSlug":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/analytics","items":[{"label":"Check connectivity","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/analytics/analytics_echo","routeSlug":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/analytics/analytics_echo","metadata":{"seo":{"title":"Check connectivity","description":"Check connectivity"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"Analytics_Echo","name":"Check connectivity","isWebhook":false,"pointer":"/paths/~1v1~1echo/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Check connectivity","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"basicAuth","scopes":[],"type":"http","scheme":"basic","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Generate your access token on the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://app.chatlayer.ai/settings/api-access/tokens"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Chatlayer platform"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/EchoRequest"}},"schemaId":"components/schemas/EchoRequest","pointer":"/paths/~1v1~1echo/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/v1/echo","servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"basicAuth","type":"http","scheme":"basic"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/EchoRequest"}},"responseCodes":["200"],"pointer":"/v1/echo","href":"analytics/analytics_echo","openApiOperationId":"Analytics_Echo","summary":"Check connectivity"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"schemaId":"components/schemas/EchoRequest","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/EchoRequest"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"A successful response.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/EchoResponse"}},"schemaId":"components/schemas/EchoResponse"}],"pointer":"/paths/~1v1~1echo/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/EchoResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/EchoResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/analytics/analytics_echo"}],"panels":[]}]},"httpPath":"/v1/echo"}],"content":{"contentType":"group","meta":{"name":"Analytics"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Analytics","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/v1/echo","summary":"Check connectivity","prefix":{"name":"post","color":"post"},"badges":[],"link":"/analytics/analytics_echo","deprecated":false}]}]}]}]}},{"type":"group","label":"Voice","link":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/voice","routeSlug":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/voice","items":[{"label":"Analytics_GetVoiceAnalytics","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/voice/analytics_getvoiceanalytics","routeSlug":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics/voice/analytics_getvoiceanalytics","metadata":{"seo":{"title":"Analytics_GetVoiceAnalytics"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"Analytics_GetVoiceAnalytics","name":"Analytics_GetVoiceAnalytics","isWebhook":false,"pointer":"/paths/~1v1~1teams~1{team_id}~1voice_minutes/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Analytics_GetVoiceAnalytics","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"basicAuth","scopes":[],"type":"http","scheme":"basic","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Generate your access token on the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://app.chatlayer.ai/settings/api-access/tokens"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Chatlayer platform"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"team_id","in":"path","schemaId":"schema_555","description":"Identifies the team.","required":true}],"pointer":"/paths/~1v1~1teams~1{team_id}~1voice_minutes/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"start_time","in":"query","schemaId":"schema_555","description":"The starting date for the time range of the data series.","required":true},{"name":"end_time","in":"query","schemaId":"schema_555","description":"The ending date for the time range of the data series, exclusive.","required":true},{"name":"language","in":"query","schemaId":"schema_555","description":"Filter by specific languages, multiple values separated by comma."},{"name":"bucket","in":"query","schemaId":"schema_555","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Time interval in which results will be grouped."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Supported values are 1h,1d,1w. The interval should be smaller"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"than the range specified in the  [start_time,end_time)"},"children":[]}]}]}]}],"pointer":"/paths/~1v1~1teams~1{team_id}~1voice_minutes/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/v1/teams/{team_id}/voice_minutes","servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"parameters":{"path":[{"name":"team_id","in":"path","required":true,"schemaId":"schema_555"}],"query":[{"name":"start_time","in":"query","required":true,"schemaId":"schema_555"},{"name":"end_time","in":"query","required":true,"schemaId":"schema_555"},{"name":"language","in":"query","schemaId":"schema_555"},{"name":"bucket","in":"query","schemaId":"schema_555"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"basicAuth","type":"http","scheme":"basic"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/v1/teams/{team_id}/voice_minutes","href":"voice/analytics_getvoiceanalytics","openApiOperationId":"Analytics_GetVoiceAnalytics"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"A successful response.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetConversationsInsightsResponse"}},"schemaId":"components/schemas/GetConversationsInsightsResponse"}],"pointer":"/paths/~1v1~1teams~1{team_id}~1voice_minutes/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/GetConversationsInsightsResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetConversationsInsightsResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/voice/analytics_getvoiceanalytics"}],"panels":[]}]},"httpPath":"/v1/teams/{team_id}/voice_minutes"}],"content":{"contentType":"group","meta":{"name":"Voice"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Voice","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/v1/teams/{team_id}/voice_minutes","summary":"Analytics_GetVoiceAnalytics","prefix":{"name":"get","color":"get"},"badges":[],"link":"/voice/analytics_getvoiceanalytics","deprecated":false}]}]}]}]}}],"store":{"schemaStore":{"components/schemas/AttributeFilter":{"id":"components/schemas/AttributeFilter","kind":"json-schema","title":"AttributeFilter","data":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"value":{"type":"array","items":{"type":"string"}}}}},"components/schemas/CampaignInfo":{"id":"components/schemas/CampaignInfo","kind":"json-schema","title":"CampaignInfo","data":{"type":"object","properties":{"id":{"type":"string"},"source":{"type":"string"},"medium":{"type":"string"},"name":{"type":"string"},"content":{"type":"string"},"term":{"type":"string"}}}},"components/schemas/ComputeFunnelResponse":{"id":"components/schemas/ComputeFunnelResponse","kind":"json-schema","title":"ComputeFunnelResponse","data":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#/components/schemas/FunnelStepResultByCohort"}}}}},"components/schemas/CreateEventDefinitionResponse":{"id":"components/schemas/CreateEventDefinitionResponse","kind":"json-schema","title":"CreateEventDefinitionResponse","data":{"type":"object","properties":{"event_definition":{"$ref":"#/components/schemas/EventDefinition"}}}},"components/schemas/CreateSubscriptionResponse":{"id":"components/schemas/CreateSubscriptionResponse","kind":"json-schema","title":"CreateSubscriptionResponse","data":{"type":"object","properties":{"subscription":{"$ref":"#/components/schemas/Subscription"}}}},"components/schemas/EchoRequest":{"id":"components/schemas/EchoRequest","kind":"json-schema","title":"EchoRequest","data":{"required":["message"],"type":"object","properties":{"message":{"title":"The message to echo back","type":"string"}}}},"components/schemas/EchoResponse":{"id":"components/schemas/EchoResponse","kind":"json-schema","title":"EchoResponse","data":{"type":"object","properties":{"message":{"title":"The echoed message","type":"string"}}}},"components/schemas/Edge":{"id":"components/schemas/Edge","kind":"json-schema","title":"Edge","data":{"type":"object","properties":{"count":{"title":"Total number of times this edge was traversed","type":"integer","format":"int64"},"id":{"title":"The id of the destination/source step (Deprecated)","type":"string"},"type":{"title":"The type of the destination/source step (Deprecated)","type":"string"},"from_step":{"$ref":"#/components/schemas/Step"},"to_step":{"$ref":"#/components/schemas/Step"}}}},"components/schemas/EventDefinition":{"id":"components/schemas/EventDefinition","kind":"json-schema","title":"EventDefinition","data":{"type":"object","properties":{"id":{"type":"string"},"team_id":{"type":"string"},"bot_id":{"type":"string"},"event":{"type":"string"},"description":{"type":"string"},"created_at":{"type":"string","format":"date-time"},"last_seen_at":{"type":"string","format":"date-time"},"volume_30_day":{"type":"integer","format":"int32"}}}},"components/schemas/FlowStep":{"id":"components/schemas/FlowStep","kind":"json-schema","title":"FlowStep","data":{"type":"object","properties":{"occurrences":{"type":"integer","description":"The number of times this flow step occurred.","format":"int64"},"id":{"type":"string","description":"Identifies a bot dialog or a dropoff if the special value \"DROPOFF is used."}}}},"components/schemas/FlowTransition":{"id":"components/schemas/FlowTransition","kind":"json-schema","title":"FlowTransition","data":{"type":"object","properties":{"id":{"type":"string"},"from_step":{"$ref":"#/components/schemas/Step"},"to_step":{"$ref":"#/components/schemas/Step"},"depth":{"type":"integer","format":"int64"},"timestamp":{"type":"string","format":"date-time"}}}},"components/schemas/FunnelStep":{"id":"components/schemas/FunnelStep","kind":"json-schema","title":"FunnelStep","data":{"type":"object","properties":{"order":{"type":"integer","format":"int32"},"event_id":{"type":"string"},"properties":{"type":"array","items":{"$ref":"#/components/schemas/FunnelStepFilter"}}}}},"components/schemas/FunnelStepFilter":{"id":"components/schemas/FunnelStepFilter","kind":"json-schema","title":"FunnelStepFilter","data":{"type":"object","properties":{"key":{"type":"string"},"operator":{"type":"string"},"type":{"type":"string"},"value":{"type":"array","items":{"type":"string"}}}}},"components/schemas/FunnelStepResult":{"id":"components/schemas/FunnelStepResult","kind":"json-schema","title":"FunnelStepResult","data":{"type":"object","properties":{"event_id":{"type":"string"},"count":{"type":"integer","format":"int32"},"order":{"type":"integer","format":"int64"},"breakdown_value":{"type":"string"}}}},"components/schemas/FunnelStepResultByCohort":{"id":"components/schemas/FunnelStepResultByCohort","kind":"json-schema","title":"FunnelStepResultByCohort","data":{"type":"object","properties":{"values":{"type":"array","items":{"$ref":"#/components/schemas/FunnelStepResult"}}}}},"components/schemas/GetConversationFlowResponse":{"id":"components/schemas/GetConversationFlowResponse","kind":"json-schema","title":"GetConversationFlowResponse","data":{"type":"object","properties":{"bot_id":{"type":"string"},"conversation_id":{"type":"string"},"user_id":{"type":"string"},"transitions":{"type":"array","items":{"$ref":"#/components/schemas/FlowTransition"}}}}},"components/schemas/GetConversationsInsightsResponse":{"id":"components/schemas/GetConversationsInsightsResponse","kind":"json-schema","title":"GetConversationsInsightsResponse","data":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/SeriesData"}}}},"components/schemas/GetConversationsResponse":{"id":"components/schemas/GetConversationsResponse","kind":"json-schema","title":"GetConversationsResponse","data":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/SeriesData"}}}},"components/schemas/GetEventAttributeValuesResponse":{"id":"components/schemas/GetEventAttributeValuesResponse","kind":"json-schema","title":"GetEventAttributeValuesResponse","data":{"type":"object","properties":{"attributes":{"type":"array","items":{"$ref":"#/components/schemas/TrackingEventAttribute"}}}}},"components/schemas/GetFlowStepDetailsResponse":{"id":"components/schemas/GetFlowStepDetailsResponse","kind":"json-schema","title":"GetFlowStepDetailsResponse","data":{"type":"object","properties":{"message_count":{"title":"Total number of times the specified step was invoked","type":"integer","format":"int64"},"drop_off_count":{"title":"Number of dropoffs from the specified step","type":"integer","format":"int64"},"conversation_count":{"title":"Number of conversations which includes the specified step","type":"integer","format":"int64"}}}},"components/schemas/GetFlowStepEdgesResponse":{"id":"components/schemas/GetFlowStepEdgesResponse","kind":"json-schema","title":"GetFlowStepEdgesResponse","data":{"type":"object","properties":{"edges":{"type":"array","items":{"$ref":"#/components/schemas/Edge"}}}}},"components/schemas/GetFlowsResponse":{"id":"components/schemas/GetFlowsResponse","kind":"json-schema","title":"GetFlowsResponse","data":{"type":"object","properties":{"nodes":{"type":"array","items":{"$ref":"#/components/schemas/FlowStep"}}}}},"components/schemas/GetIntentInsightsResponse":{"id":"components/schemas/GetIntentInsightsResponse","kind":"json-schema","title":"GetIntentInsightsResponse","data":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/SeriesData"}}}},"components/schemas/GetIntentsResponse":{"id":"components/schemas/GetIntentsResponse","kind":"json-schema","title":"GetIntentsResponse","data":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/IntentInfo"}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}},"components/schemas/GetKnowledgeBaseResponse":{"id":"components/schemas/GetKnowledgeBaseResponse","kind":"json-schema","title":"GetKnowledgeBaseResponse","data":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/SeriesData"}}}},"components/schemas/GetKnowledgeBaseTagsInsightsResponse":{"id":"components/schemas/GetKnowledgeBaseTagsInsightsResponse","kind":"json-schema","title":"GetKnowledgeBaseTagsInsightsResponse","data":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/KnowledgeBaseTagInsight"}}}}},"components/schemas/GetMessagesResponse":{"id":"components/schemas/GetMessagesResponse","kind":"json-schema","title":"GetMessagesResponse","data":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/SeriesData"}}}},"components/schemas/GetTeamEventsResponse":{"id":"components/schemas/GetTeamEventsResponse","kind":"json-schema","title":"GetTeamEventsResponse","data":{"type":"object","properties":{"events":{"type":"array","items":{"$ref":"#/components/schemas/TrackingEvent"}},"next_page_token":{"type":"string"}}}},"components/schemas/GetTeamKnowledgeBaseResponse":{"id":"components/schemas/GetTeamKnowledgeBaseResponse","kind":"json-schema","title":"GetTeamKnowledgeBaseResponse","data":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/SeriesData"}}}},"components/schemas/GetTeamUsageResponse":{"id":"components/schemas/GetTeamUsageResponse","kind":"json-schema","title":"GetTeamUsageResponse","data":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/SeriesData"}}}},"components/schemas/GetUserActivityResponse":{"id":"components/schemas/GetUserActivityResponse","kind":"json-schema","title":"GetUserActivityResponse","data":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/SeriesData"}}}},"components/schemas/GetUsersResponse":{"id":"components/schemas/GetUsersResponse","kind":"json-schema","title":"GetUsersResponse","data":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/SeriesData"}}}},"components/schemas/GetVoiceAnalyticsResponse":{"id":"components/schemas/GetVoiceAnalyticsResponse","kind":"json-schema","title":"GetVoiceAnalyticsResponse","data":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/SeriesData"}}}},"components/schemas/IntentInfo":{"id":"components/schemas/IntentInfo","kind":"json-schema","title":"IntentInfo","data":{"type":"object","properties":{"intent_id":{"title":"Id of the intent. This is also the name of the intent","type":"string"},"count":{"title":"Total count of these intents","type":"integer","format":"int32"},"rank":{"title":"Ordering position for this intent. Starts at 1","type":"integer","format":"int32"}}}},"components/schemas/KnowledgeBaseTagInsight":{"id":"components/schemas/KnowledgeBaseTagInsight","kind":"json-schema","title":"KnowledgeBaseTagInsight","data":{"type":"object","properties":{"tag":{"title":"Name of the tag","type":"string"},"count":{"title":"Total count of these tags","type":"integer","format":"int32"},"rank":{"title":"Ordering position for this tag. Starts at 1","type":"integer","format":"int32"}}}},"components/schemas/ListAppIntegrationsLog":{"id":"components/schemas/ListAppIntegrationsLog","kind":"json-schema","title":"ListAppIntegrationsLog","data":{"type":"object","properties":{"id":{"type":"string"},"app_id":{"type":"string"},"app_version":{"type":"string"},"platform_version":{"type":"string"},"log_message":{"type":"string"},"log_type":{"type":"string"},"severity_level":{"type":"integer","format":"int32"},"timestamp":{"type":"string","format":"date-time"},"log_attributes":{"type":"object","additionalProperties":{"type":"string"}},"resource_attributes":{"type":"object","additionalProperties":{"type":"string"}},"event_method":{"type":"string"},"event_command":{"type":"string"}}}},"components/schemas/ListAppIntegrationsLogsResponse":{"id":"components/schemas/ListAppIntegrationsLogsResponse","kind":"json-schema","title":"ListAppIntegrationsLogsResponse","data":{"type":"object","properties":{"logs":{"type":"array","items":{"$ref":"#/components/schemas/ListAppIntegrationsLog"}},"next_page_token":{"type":"string"}}}},"components/schemas/ListEventDefinitionsResponse":{"id":"components/schemas/ListEventDefinitionsResponse","kind":"json-schema","title":"ListEventDefinitionsResponse","data":{"type":"object","properties":{"event_definitions":{"type":"array","items":{"$ref":"#/components/schemas/EventDefinition"}},"next_page_token":{"type":"string"}}}},"components/schemas/ListEventsResponse":{"id":"components/schemas/ListEventsResponse","kind":"json-schema","title":"ListEventsResponse","data":{"type":"object","properties":{"events":{"type":"array","items":{"$ref":"#/components/schemas/TrackingEvent"}},"next_page_token":{"type":"string"}}}},"components/schemas/ListSubscriptionsResponse":{"id":"components/schemas/ListSubscriptionsResponse","kind":"json-schema","title":"ListSubscriptionsResponse","data":{"type":"object","properties":{"subscriptions":{"type":"array","items":{"$ref":"#/components/schemas/Subscription"}},"next_page_token":{"type":"string"}}}},"components/schemas/Pagination":{"id":"components/schemas/Pagination","kind":"json-schema","title":"Pagination","data":{"type":"object","properties":{"start_cursor":{"title":"Starting cursor for the returned dataset","type":"string"},"end_cursor":{"title":"Ending cursor for the returned dataset","type":"string"},"has_more":{"title":"Defines if there is more data. This means more data after the dataset when using after, or more data before the dataset when using before","type":"boolean"}}}},"components/schemas/Serie":{"id":"components/schemas/Serie","kind":"json-schema","title":"Serie","data":{"type":"object","properties":{"values":{"type":"array","items":{"type":"integer","format":"int32"}},"mean":{"type":"integer","description":"The mean value.","format":"int32"},"max":{"type":"integer","description":"The max value.","format":"int32"},"min":{"type":"integer","description":"The min value.","format":"int32"},"sum":{"type":"integer","description":"The sum of all values.","format":"int32"},"labels":{"type":"object","additionalProperties":{"type":"string"}}}}},"components/schemas/SeriesData":{"id":"components/schemas/SeriesData","kind":"json-schema","title":"SeriesData","data":{"type":"object","properties":{"series":{"type":"array","items":{"$ref":"#/components/schemas/Serie"}},"series_labels":{"type":"array","items":{"type":"string"}},"x_values":{"type":"array","items":{"type":"string"}}}}},"components/schemas/Step":{"id":"components/schemas/Step","kind":"json-schema","title":"Step","data":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string"}}}},"components/schemas/Subscription":{"id":"components/schemas/Subscription","kind":"json-schema","title":"Subscription","data":{"type":"object","properties":{"id":{"title":"identifies the subscription","type":"string"},"bot_id":{"title":"identifies the bot","type":"string"},"bot_version":{"type":"string"},"target":{"title":"the destination url where the events will be sent to","type":"string"},"event_type":{"title":"the event type you want to be notified about","type":"string"},"event_names":{"title":"when specified only the events with the given name will be sent\nonly valid for TRACKING_EVENTS for now","type":"array","items":{"type":"string"}},"created_at":{"title":"the time when the subscription was created","type":"string","format":"date-time"},"version":{"title":"identifies the definition of the subscription payload to use\ncurrently only the value \"v1\" is allowed","type":"string"},"status":{"type":"string"}}}},"components/schemas/TrackEventRequestContext":{"id":"components/schemas/TrackEventRequestContext","kind":"json-schema","title":"TrackEventRequestContext","data":{"type":"object","properties":{"conversation_id":{"type":"string"},"campaign":{"$ref":"#/components/schemas/CampaignInfo"}}}},"components/schemas/TrackEventResponse":{"id":"components/schemas/TrackEventResponse","kind":"json-schema","title":"TrackEventResponse","data":{"type":"object","properties":{"event_id":{"type":"string"}}}},"components/schemas/TrackingEvent":{"id":"components/schemas/TrackingEvent","kind":"json-schema","title":"TrackingEvent","data":{"type":"object","properties":{"id":{"type":"string"},"event":{"type":"string"},"bot_id":{"type":"string"},"version":{"type":"string"},"user_id":{"type":"string"},"channel_id":{"type":"string"},"channel_type":{"type":"string"},"conversation_id":{"type":"string"},"attributes":{"type":"object","additionalProperties":{"type":"string"}},"timestamp":{"type":"string","format":"date-time"}}}},"components/schemas/TrackingEventAttribute":{"id":"components/schemas/TrackingEventAttribute","kind":"json-schema","title":"TrackingEventAttribute","data":{"type":"object","properties":{"key":{"type":"string"},"value":{"type":"string"}}}},"schema_555":{"kind":"json-schema","data":{"type":"string"},"id":"schema_555"},"schema_556":{"kind":"json-schema","data":{"type":"integer","format":"int32"},"id":"schema_556"},"schema_557":{"kind":"json-schema","data":{"type":"array","items":{"type":"string"}},"id":"schema_557"},"schema_558":{"kind":"json-schema","data":{"type":"object","properties":{"query":{"type":"string"}}},"id":"schema_558"},"schema_559":{"kind":"json-schema","data":{"type":"object","properties":{"event":{"type":"string"},"description":{"type":"string"},"team_id":{"type":"string"}}},"id":"schema_559"},"schema_560":{"kind":"json-schema","data":{"required":["end_time","start_time","steps","version"],"type":"object","properties":{"version":{"type":"string"},"start_time":{"type":"string"},"end_time":{"type":"string"},"steps":{"type":"array","items":{"$ref":"#/components/schemas/FunnelStep"}},"breakdown_property":{"type":"string"},"order_type":{"title":"one of 'strict' or  'sequential'","type":"string","default":"sequential"},"properties":{"type":"array","items":{"$ref":"#/components/schemas/FunnelStepFilter"}}}},"id":"schema_560"},"schema_561":{"kind":"json-schema","data":{"required":["end_time","start_time","version"],"type":"object","properties":{"version":{"title":"The version of the bot (either DRAFT or LIVE)","type":"string"},"page_size":{"type":"integer","description":"The maximum number of events to return.\nThe service may return fewer than this value.\nThe maximum value allowed is 100; value above 100 will be coerced to 100.","format":"int32"},"page_token":{"type":"string","description":"A page token, received from a previous ListEvent call.\nProvide this to retrieve a subsequent page."},"start_time":{"type":"string","description":"The starting date for the time range of the events, inclusive."},"end_time":{"type":"string","description":"The ending date for the time range of the events, exclusive."},"event":{"title":"The event name to filter on. When provided, only occurences of that given event will be returned","type":"string"},"conversation_id":{"title":"The conversation to filter on. When provided, only events for the given conversation will be returned","type":"string"},"user_id":{"title":"The user to filter on. When provided, only events for the given user will be returned","type":"string"},"campaign_id":{"title":"The campaign to filter on. When provided, only events for the given campaign will be returned","type":"string"},"filters":{"type":"array","items":{"$ref":"#/components/schemas/AttributeFilter"}}}},"id":"schema_561"},"schema_562":{"kind":"json-schema","data":{"type":"object","properties":{"id":{"type":"string"},"version":{"type":"string"},"user_id":{"type":"string"},"event":{"type":"string"},"attributes":{"type":"object","additionalProperties":{"type":"string"}},"context":{"$ref":"#/components/schemas/TrackEventRequestContext"},"timestamp":{"type":"string","format":"date-time"}}},"id":"schema_562"},"schema_563":{"kind":"json-schema","data":{"type":"integer","format":"int64"},"id":"schema_563"},"schema_564":{"kind":"json-schema","data":{"type":"object","properties":{"bot_version":{"title":"the version of the bot","type":"string","example":"LIVE"},"target":{"title":"the target url to which the request will be sent","type":"string","example":"https://httpbin.org/post"},"secret":{"title":"the secret with which the request will be signed","type":"string"},"event_type":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The event type you want to be notified about. One of TRACKING_EVENT, FLOW_EVENT or MESSAGE_EVENT"},"children":[]}]}]}],"example":"TRACKING_EVENT"},"event_names":{"title":"when specified only the events with the given name will be sent\nonly valid for TRACKING_EVENTS for now","type":"array","items":{"type":"string"}},"version":{"title":"identifies the definition of the subscription type to use.\ncurrently only the value \"v1\" is allowed","type":"string","example":"v1"}}},"id":"schema_564"},"schema_565":{"kind":"json-schema","data":{"type":"object"},"id":"schema_565"}},"exampleStore":{},"securitySchemeStore":{"basicAuth":{"id":"basicAuth","type":"http","scheme":"basic","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Generate your access token on the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://app.chatlayer.ai/settings/api-access/tokens"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Chatlayer platform"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}},"servers":[{"url":"https://analytics.api.chatlayer.ai","description":"Europe"},{"url":"https://analytics.api.prod.us-east4.gcp.chatlayer.ai","description":"US"},{"url":"https://analytics.api.prod.asia-south1.gcp.chatlayer.ai","description":"APAC"},{"url":"https://analytics.api.prod.sa-east1.gcp.chatlayer.ai","description":"South America"}],"specType":"openapi"},"options":{"sortRequiredPropsFirst":true,"mockServer":{"url":"/_mock/docs/chatlayer-analytics/api-reference/chatlayer-analytics","position":"off","description":"Mock server"},"disableRouter":true,"downloadUrls":[{"url":"/_bundle/docs/chatlayer-analytics/api-reference/chatlayer-analytics.json?download"},{"url":"/_bundle/docs/chatlayer-analytics/api-reference/chatlayer-analytics.yaml?download"}],"excludeFromSearch":false,"replayFeatures":{"graphql":false},"specType":"openapi","markdocOptions":{"tags":{},"nodes":{},"components":{}},"metadata":{"title":"Chatlayer Analytics API"}},"baseSlug":"/docs/chatlayer-analytics/api-reference/chatlayer-analytics","routesMapping":{}}