Returns the conversations and unique sessions of each subcompany over a range that ends at request time.
Parameters
Parameter
Values
Description
range
last_24h, last_7d, last_30d, last_90d
Required. Time window ending now.
companyId
integer
Optional. Restricts the response to one subcompany. Responds 404 when it is not yours.
page, limit
integer
Pagination, same as the other listings.
Subcompany fields
Field
Type
Description
id
string
Jelou company id.
externalId
string | null
Identifier of the company in your systems, when set.
conversations
integer | null
Conversations in the range.
uniqueSessions
integer | null
Unique sessions in the range.
partial
boolean
true when a metric could not be retrieved and comes as null.
Each subcompany queries the metrics service, so a full page can take a few seconds. Use companyId to refresh a single company, and retry later the ones that come with partial: true.
curl --request GET \ --url 'https://gateway.jelou.ai/v1/partner/metrics?range=last_7d&page=1&limit=25' \ --header 'x-api-key: <API_KEY>'
{"docsConfig":{"theme":"almond","$schema":"https://mintlify.com/docs.json","name":"Jelou AI Docs","colors":{"primary":"#00B3C7","light":"#07C983","dark":"#15803D"},"logo":"https://mintcdn.com/jelouai/ohdyHu3U1l_f83jb/assets/images/logo.svg?fit=max\u0026auto=format\u0026n=ohdyHu3U1l_f83jb\u0026q=85\u0026s=96492f65ef93712f99d972c31ad08e09","favicon":"https://mintcdn.com/jelouai/ULgwEHLikEppkuDq/favicon.ico?fit=max\u0026auto=format\u0026n=ULgwEHLikEppkuDq\u0026q=85\u0026s=4b1610b2f8d778f447cb4f67c565d9d3","api":{"mdx":{"auth":{"method":"basic"},"server":"https://api.jelou.ai"}},"navbar":{"primary":{"type":"button","label":"Empezar","href":"https://apps.jelou.ai/signup"}},"footer":{"socials":{"x":"https://x.com/JelouAI","github":"https://github.com/Jeloulatam","linkedin":"https://linkedin.com/company/jelou-ai"}},"fonts":{"heading":{"family":"DM Sans","weight":700,"source":"assets/fonts/dm-sans-700.woff2","format":"woff2"},"body":{"family":"Inter","weight":400,"source":"assets/fonts/inter-400.woff2","format":"woff2"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"languages":[{"language":"es","default":true,"href":""},{"language":"en","href":"en"},{"language":"pt-BR","href":"pt"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"jelouai","hasAudioNarration":false,"actualSubdomain":"jelouai","customDomains":["docs.jelou.ai"],"gitSource":{"type":"github","owner":"jeloulatam","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b0608ee827bcac1079421f2","clientVersion":"0.0.4304","searchFilterCounts":[{"language":"es","tag":"Brain Studio","count":262},{"language":"en","tag":"Brain Studio","count":262},{"language":"pt-BR","tag":"Brain Studio","count":262},{"language":"es","tag":"Marketplace","count":94},{"language":"en","tag":"Marketplace","count":94},{"language":"pt-BR","tag":"Marketplace","count":94},{"language":"es","tag":"API","count":86},{"language":"en","tag":"API","count":85},{"language":"pt-BR","tag":"API","count":85},{"language":"es","tag":"Pagos","count":62},{"language":"en","tag":"Payments","count":62},{"language":"pt-BR","tag":"Pagamentos","count":62},{"language":"es","tag":"Desarrollador","count":59},{"language":"en","tag":"Developer","count":59},{"language":"pt-BR","tag":"Desenvolvedor","count":59},{"language":"es","tag":"Functions","count":56},{"language":"en","tag":"Functions","count":56},{"language":"es","tag":"Proveedores de pago","count":47},{"language":"en","tag":"Payment Providers","count":47},{"language":"pt-BR","tag":"Provedores de Pagamento","count":47},{"language":"es","tag":"Nodos","count":43},{"language":"en","tag":"Nodes","count":43},{"language":"pt-BR","tag":"Nós","count":43},{"language":"es","tag":"Configuración","count":30},{"language":"pt-BR","tag":"Configuração","count":30},{"language":"en","tag":"Configuration","count":29},{"language":"pt-BR","tag":"Funções","count":29},{"language":"pt-BR","tag":"Functions","count":27},{"language":"es","tag":"Jelou Shop","count":26},{"language":"en","tag":"Jelou Shop","count":26},{"language":"default","tag":"API","count":9},{"language":"default","tag":"Datum","count":4},{"language":"default","tag":"Widget","count":3},{"language":"default","tag":"Campañas","count":1},{"language":"default","tag":"Recursos","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":true,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"[email protected]","showHelpButton":true}},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[{"_id":"695f0dc1ce817ff266c09160","deploymentId":"690b5c0b3fecf134e9284503","questionText":"¿Cómo funciona la memoria?","status":"active","generatedBy":"manual","createdAt":"2026-01-08T01:52:01.463Z","updatedAt":"2026-01-08T01:52:10.189Z","__v":0},{"_id":"695f0db5ce817ff266c0868e","deploymentId":"690b5c0b3fecf134e9284503","questionText":"¿Cómo obtengo el teléfono del usuario?","status":"active","generatedBy":"manual","createdAt":"2026-01-08T01:51:49.283Z","updatedAt":"2026-01-08T01:51:49.283Z","__v":0},{"_id":"695f0da0ce817ff266c076de","deploymentId":"690b5c0b3fecf134e9284503","questionText":"¿Cómo escribo un buen prompt?","status":"active","generatedBy":"manual","createdAt":"2026-01-08T01:51:28.820Z","updatedAt":"2026-01-08T01:52:05.727Z","__v":0}],"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","content":"@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/inter-400.woff2') format('woff2')}@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/inter-500.woff2') format('woff2')}@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/inter-600.woff2') format('woff2')}@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/fonts/inter-700.woff2') format('woff2')}@font-face{font-family:'DM Sans';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/dm-sans-400.woff2') format('woff2')}@font-face{font-family:'DM Sans';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/dm-sans-500.woff2') format('woff2')}@font-face{font-family:'DM Sans';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/dm-sans-600.woff2') format('woff2')}@font-face{font-family:'DM Sans';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/fonts/dm-sans-700.woff2') format('woff2')}:root{--font-family-headings-custom: \"DM Sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", system-ui, sans-serif;--font-family-body: \"Inter\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", system-ui, sans-serif}body,p,span,div,li,td,th,label,input,textarea,select,button{font-family:var(--font-family-body)}h1,h2,h3,h4,h5,h6,article h1,article h2,article h3,article h4,article h5,article h6,main h1,main h2,main h3,main h4,main h5,main h6,section h1,section h2,section h3,section h4,section h5,section h6,[class*=\"heading\"],[class*=\"Heading\"],[class*=\"title\"],[class*=\"Title\"],[class*=\"h1\"],[class*=\"h2\"],[class*=\"h3\"],[class*=\"h4\"],[class*=\"h5\"],[class*=\"h6\"],[class*=\"H1\"],[class*=\"H2\"],[class*=\"H3\"],[class*=\"H4\"],[class*=\"H5\"],[class*=\"H6\"]{font-family:var(--font-family-headings-custom)!important}footer a[href*=\"mintlify\"],footer a[href*=\"mintlify.com\"],footer a[href*=\"mintlify.io\"],footer [class*=\"powered\"],footer [class*=\"Powered\"],footer [class*=\"mintlify\"],footer [class*=\"Mintlify\"],footer p:has(a[href*=\"mintlify\"]),footer div:has(a[href*=\"mintlify\"]){display:none!important;visibility:hidden!important}.mp-country-selector>div{border:1px solid rgba(0, 179, 199, 0.25);border-left:4px solid #00B3C7;border-radius:0.5rem;background:rgba(0, 179, 199, 0.05)}"}]}
{"page":{"pagePath":"en/api/partner/metrics","slug":"/en/api/partner/metrics","pageMetadata":{"title":"Usage metrics","description":"Conversations and unique sessions of each subcompany over a time range","openapi":"api/partner/openapi.json GET /metrics","href":"/en/api/partner/metrics"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Conversations and unique sessions of each subcompany over a time range\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Heading,Table,Tip}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Returns the conversations and unique sessions of each subcompany over a range that ends at request time.`}),`\n`,_jsx(Heading,{level:`2`,id:`parameters`,children:`Parameters`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Values`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`range`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`last_24h`}),`, `,_jsx(_components.code,{children:`last_7d`}),`, `,_jsx(_components.code,{children:`last_30d`}),`, `,_jsx(_components.code,{children:`last_90d`})]}),_jsx(_components.td,{children:`Required. Time window ending now.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`companyId`})}),_jsx(_components.td,{children:`integer`}),_jsxs(_components.td,{children:[`Optional. Restricts the response to one subcompany. Responds `,_jsx(_components.code,{children:`404`}),` when it is not yours.`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`page`}),`, `,_jsx(_components.code,{children:`limit`})]}),_jsx(_components.td,{children:`integer`}),_jsx(_components.td,{children:`Pagination, same as the other listings.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`subcompany-fields`,children:`Subcompany fields`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Jelou company id.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`externalId`})}),_jsx(_components.td,{children:`string | null`}),_jsx(_components.td,{children:`Identifier of the company in your systems, when set.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`conversations`})}),_jsx(_components.td,{children:`integer | null`}),_jsx(_components.td,{children:`Conversations in the range.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`uniqueSessions`})}),_jsx(_components.td,{children:`integer | null`}),_jsx(_components.td,{children:`Unique sessions in the range.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`partial`})}),_jsx(_components.td,{children:`boolean`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`true`}),` when a metric could not be retrieved and comes as `,_jsx(_components.code,{children:`null`}),`.`]})]})]})]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Each subcompany queries the metrics service, so a full page can take a few seconds. Use `,_jsx(_components.code,{children:`companyId`}),` to refresh a single company, and retry later the ones that come with `,_jsx(_components.code,{children:`partial: true`}),`.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Usage metrics","description":"Conversations and unique sessions of each subcompany over a time range","openapi":"api/partner/openapi.json GET /metrics","href":"/en/api/partner/metrics"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,RequestExample,ResponseExample,Table,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Returns the conversations and unique sessions of each subcompany over a range that ends at request time.`}),`\n`,_jsx(Heading,{level:`2`,id:`parameters`,children:`Parameters`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Values`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`range`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`last_24h`}),`, `,_jsx(_components.code,{children:`last_7d`}),`, `,_jsx(_components.code,{children:`last_30d`}),`, `,_jsx(_components.code,{children:`last_90d`})]}),_jsx(_components.td,{children:`Required. Time window ending now.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`companyId`})}),_jsx(_components.td,{children:`integer`}),_jsxs(_components.td,{children:[`Optional. Restricts the response to one subcompany. Responds `,_jsx(_components.code,{children:`404`}),` when it is not yours.`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`page`}),`, `,_jsx(_components.code,{children:`limit`})]}),_jsx(_components.td,{children:`integer`}),_jsx(_components.td,{children:`Pagination, same as the other listings.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`subcompany-fields`,children:`Subcompany fields`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Jelou company id.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`externalId`})}),_jsx(_components.td,{children:`string | null`}),_jsx(_components.td,{children:`Identifier of the company in your systems, when set.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`conversations`})}),_jsx(_components.td,{children:`integer | null`}),_jsx(_components.td,{children:`Conversations in the range.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`uniqueSessions`})}),_jsx(_components.td,{children:`integer | null`}),_jsx(_components.td,{children:`Unique sessions in the range.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`partial`})}),_jsx(_components.td,{children:`boolean`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`true`}),` when a metric could not be retrieved and comes as `,_jsx(_components.code,{children:`null`}),`.`]})]})]})]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Each subcompany queries the metrics service, so a full page can take a few seconds. Use `,_jsx(_components.code,{children:`companyId`}),` to refresh a single company, and retry later the ones that come with `,_jsx(_components.code,{children:`partial: true`}),`.`]})}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` GET`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://gateway.jelou.ai/v1/partner/metrics?range=last_7d\u0026page=1\u0026limit=25'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'x-api-key: \u003cAPI_KEY>'`})]}),`\n`]})})})}),`\n`,_jsxs(ResponseExample,{children:[_jsx(CodeBlock,{filename:`200 Success`,numberOfLines:`27`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`27`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"result\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"partner\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"acme\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"page\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"limit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`25`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"total\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"range\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"last_7d\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"subcompanies\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1024\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"externalId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"C-000123\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"conversations\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1280`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"uniqueSessions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`942`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"partial\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1031\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"externalId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"conversations\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`87`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"uniqueSessions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"partial\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"statusCode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`200`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`400 Invalid range`,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"statusCode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`400`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"invalid_range\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`404 Not a subcompany`,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"statusCode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`404`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Usage metrics","description":"Conversations and unique sessions of each subcompany over a time range","openapi":"api/partner/openapi.json GET /metrics","href":"/en/api/partner/metrics"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Parameters","slug":"parameters","depth":2,"children":[]},{"title":"Subcompany fields","slug":"subcompany-fields","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"3\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --request\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> GET\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --url\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'https://gateway.jelou.ai/v1/partner/metrics?range=last_7d\u0026#x26;page=1\u0026#x26;limit=25'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --header\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'x-api-key: \u0026#x3C;API_KEY>'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"200 Success","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"27\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"result\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"partner\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"acme\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"page\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"limit\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">25\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"total\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">2\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"range\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"last_7d\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"subcompanies\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1024\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"externalId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"C-000123\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"conversations\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1280\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"uniqueSessions\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">942\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"partial\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1031\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"externalId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"conversations\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">87\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"uniqueSessions\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"partial\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"statusCode\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">200\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"400 Invalid range","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"5\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"statusCode\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">400\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"invalid_range\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"404 Not a subcompany","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"4\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"statusCode\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">404\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"listPartnerMetrics","summary":"Usage metrics per subcompany","description":"Conversations and unique sessions of each subcompany over a time range","parameters":["7a68cf5f-83d7-41d3-8626-8b9fbf698475","25972faa-9d62-4455-9a73-86c4c234480b","814db670-aa61-4561-bb80-1d99b4cdb363","0f4bfbfd-3c4d-4374-a872-189d6b1e1ef1"],"responses":{"200":"ac2caaa2-589c-4abe-9f50-45f93a62bec5","400":"ddb8060d-4793-4589-bae1-814e9153d090","401":"f6c5995d-b80a-45ff-8b16-427e7e53a709","403":"71cd0158-7033-47b4-85c8-9e387c41d98c","404":"8a6dd897-4a15-4370-960f-1ed21c2857f9","429":"c5c5bc79-e3f5-44f0-986b-e9ab87675206","500":"1130b52c-bb9f-4f10-aab8-04cb69bc8ac8"},"method":"get","type":"path","servers":["43f1a63a-9af6-4b32-b695-8a8158ab97f5"],"security":["c6c9dee9-a6e3-4674-9455-e6c595b5c7fe"],"path":"/metrics","baseUrlOptions":["https://gateway.jelou.ai/v1/partner"],"title":"Usage metrics per subcompany","codeSamples":[],"requiredOnlyExamples":false,"requestExamples":[{"dropdown":false,"language":"shellscript","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"shellscript","children":{"type":"code","key":null,"ref":null,"props":{"language":"shellscript","numberOfLines":"3","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#953800","--shiki-dark":"#DCDCAA"},"children":"curl"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" --request"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" GET"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D7BA7D"},"children":" \\"}}]}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" --url"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" 'https://gateway.jelou.ai/v1/partner/metrics?range=last_7d\u0026page=1\u0026limit=25'"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D7BA7D"},"children":" \\"}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" --header"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" 'x-api-key: \u003cAPI_KEY>'"}}]}},"\n"]}}}},"filename":"cURL"}],"requestExampleType":"mdx","responseExamples":[{"dropdown":false,"language":"json","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"json","children":{"type":"code","key":null,"ref":null,"props":{"language":"json","numberOfLines":"27","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"{"}}}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"success\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":"true"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"result\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": {"}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"partner\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"acme\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"page\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#B5CEA8"},"children":"1"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"limit\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#B5CEA8"},"children":"25"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"12","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"total\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#B5CEA8"},"children":"2"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"14","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"range\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"last_7d\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"16","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"subcompanies\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": ["}}]}},"\n",{"type":"span","key":"18","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" {"}}}},"\n",{"type":"span","key":"20","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"id\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"1024\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"22","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"externalId\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"C-000123\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"24","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"conversations\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#B5CEA8"},"children":"1280"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"26","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"uniqueSessions\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#B5CEA8"},"children":"942"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"28","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"partial\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":"false"}}]}},"\n",{"type":"span","key":"30","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" },"}}}},"\n",{"type":"span","key":"32","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" {"}}}},"\n",{"type":"span","key":"34","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"id\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"1031\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"36","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"externalId\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":"null"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"38","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"conversations\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#B5CEA8"},"children":"87"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"40","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"uniqueSessions\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":"null"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"42","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"partial\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":"true"}}]}},"\n",{"type":"span","key":"44","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" }"}}}},"\n",{"type":"span","key":"46","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" ]"}}}},"\n",{"type":"span","key":"48","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" },"}}}},"\n",{"type":"span","key":"50","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"statusCode\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#B5CEA8"},"children":"200"}}]}},"\n",{"type":"span","key":"52","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"}"}}}},"\n"]}}}},"filename":"200 Success"},{"dropdown":false,"language":"json","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"json","children":{"type":"code","key":null,"ref":null,"props":{"language":"json","numberOfLines":"5","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"{"}}}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"success\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":"false"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"statusCode\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#B5CEA8"},"children":"400"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"error\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"invalid_range\""}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"}"}}}},"\n"]}}}},"filename":"400 Invalid range"},{"dropdown":false,"language":"json","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"json","children":{"type":"code","key":null,"ref":null,"props":{"language":"json","numberOfLines":"4","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"{"}}}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"success\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":"false"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"statusCode\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#B5CEA8"},"children":"404"}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"}"}}}},"\n"]}}}},"filename":"404 Not a subcompany"}],"responseExampleType":"mdx"},"dependencies":{"parameters":{"7a68cf5f-83d7-41d3-8626-8b9fbf698475":{"name":"range","in":"query","required":true,"description":"Time range.","schema":{"type":"string","enum":["last_24h","last_7d","last_30d","last_90d"],"isRequired":true,"description":"Time range.","uniqueKey":"","typeLabel":"enum\u003cstring>"}},"25972faa-9d62-4455-9a73-86c4c234480b":{"name":"companyId","in":"query","description":"Restrict the result to one subcompany. Responds 404 when it is not a subscriber of the partner.","schema":{"type":"integer","minimum":1,"description":"Restrict the result to one subcompany. Responds 404 when it is not a subscriber of the partner.","uniqueKey":"","typeLabel":"integer"}},"814db670-aa61-4561-bb80-1d99b4cdb363":{"name":"page","in":"query","description":"Page number.","schema":{"type":"integer","minimum":1,"default":1,"description":"Page number.","uniqueKey":"","typeLabel":"integer"}},"0f4bfbfd-3c4d-4374-a872-189d6b1e1ef1":{"name":"limit","in":"query","description":"Subcompanies per page.","schema":{"type":"integer","minimum":1,"maximum":25,"default":25,"description":"Subcompanies per page.","uniqueKey":"","typeLabel":"integer"}}},"responses":{"ac2caaa2-589c-4abe-9f50-45f93a62bec5":{"description":"A page of subcompanies.","content":{"application/json":{"schema":{"type":"object","required":["success","result","statusCode"],"properties":{"success":{"const":true,"isRequired":true,"uniqueKey":"success","typeLabel":"any"},"statusCode":{"const":200,"isRequired":true,"uniqueKey":"statusCode","typeLabel":"any"},"result":{"type":"object","required":["partner","page","limit","total","subcompanies","range"],"properties":{"partner":{"type":"string","description":"Partner slug resolved from the API key.","isRequired":true,"uniqueKey":"result.partner","typeLabel":"string"},"page":{"type":"integer","isRequired":true,"uniqueKey":"result.page","typeLabel":"integer"},"limit":{"type":"integer","isRequired":true,"uniqueKey":"result.limit","typeLabel":"integer"},"total":{"type":"integer","description":"Subcompanies matching the request across all pages.","isRequired":true,"uniqueKey":"result.total","typeLabel":"integer"},"range":{"type":"string","enum":["last_24h","last_7d","last_30d","last_90d"],"isRequired":true,"uniqueKey":"result.range","typeLabel":"enum\u003cstring>"},"subcompanies":{"type":"array","items":{"type":"object","required":["id","externalId","conversations","uniqueSessions","partial"],"properties":{"id":{"type":"string","description":"Jelou company id.","isRequired":true,"uniqueKey":"result.subcompanies.items.[INDEX].id","typeLabel":"string"},"externalId":{"oneOf":[{"type":"string","description":"Identifier of the company in the partner's own systems, when set.","isRequired":true,"uniqueKey":"result.subcompanies.items.[INDEX].externalId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Identifier of the company in the partner's own systems, when set.","isRequired":true,"uniqueKey":"result.subcompanies.items.[INDEX].externalId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"result.subcompanies.items.[INDEX].externalId","typeLabel":"string | null"},"conversations":{"oneOf":[{"type":"integer","isRequired":true,"uniqueKey":"result.subcompanies.items.[INDEX].conversations.oneOf.0","typeLabel":"integer"},{"type":"null","isRequired":true,"uniqueKey":"result.subcompanies.items.[INDEX].conversations.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"result.subcompanies.items.[INDEX].conversations","typeLabel":"integer | null"},"uniqueSessions":{"oneOf":[{"type":"integer","isRequired":true,"uniqueKey":"result.subcompanies.items.[INDEX].uniqueSessions.oneOf.0","typeLabel":"integer"},{"type":"null","isRequired":true,"uniqueKey":"result.subcompanies.items.[INDEX].uniqueSessions.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"result.subcompanies.items.[INDEX].uniqueSessions","typeLabel":"integer | null"},"partial":{"type":"boolean","description":"True when a metric could not be retrieved and is null.","isRequired":true,"uniqueKey":"result.subcompanies.items.[INDEX].partial","typeLabel":"boolean"}},"uniqueKey":"result.subcompanies.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"result.subcompanies","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"result","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":true,"statusCode":200,"result":{"partner":"\u003cstring>","page":123,"limit":123,"total":123,"range":"last_24h","subcompanies":[{"id":"\u003cstring>","externalId":"\u003cstring>","conversations":123,"uniqueSessions":123,"partial":true}]}}}},"exampleType":"generated"}},"exampleType":"generated"},"ddb8060d-4793-4589-bae1-814e9153d090":{"description":"Invalid query parameter.","content":{"application/json":{"schema":{"type":"object","required":["success","statusCode","error"],"properties":{"success":{"const":false,"isRequired":true,"uniqueKey":"success","typeLabel":"any"},"statusCode":{"const":400,"isRequired":true,"uniqueKey":"statusCode","typeLabel":"any"},"error":{"type":"string","enum":["invalid_page","invalid_limit","invalid_range","invalid_company_id"],"isRequired":true,"uniqueKey":"error","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"statusCode":400,"error":"invalid_page"}}},"exampleType":"generated"}},"exampleType":"generated"},"f6c5995d-b80a-45ff-8b16-427e7e53a709":{"description":"Missing or invalid API key.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"71cd0158-7033-47b4-85c8-9e387c41d98c":{"description":"The API key lacks the `partners:read` scope, carries the `*` wildcard, or does not belong to an active partner.","content":{"application/json":{"schema":{"type":"object","required":["success","statusCode"],"properties":{"success":{"const":false,"isRequired":true,"uniqueKey":"success","typeLabel":"any"},"statusCode":{"const":403,"isRequired":true,"uniqueKey":"statusCode","typeLabel":"any"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"statusCode":403}}},"exampleType":"generated"}},"exampleType":"generated"},"8a6dd897-4a15-4370-960f-1ed21c2857f9":{"description":"Resource not found. Also returned for a company that is not a subscriber of the partner.","content":{"application/json":{"schema":{"type":"object","required":["success","statusCode"],"properties":{"success":{"const":false,"isRequired":true,"uniqueKey":"success","typeLabel":"any"},"statusCode":{"const":404,"isRequired":true,"uniqueKey":"statusCode","typeLabel":"any"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"statusCode":404}}},"exampleType":"generated"}},"exampleType":"generated"},"c5c5bc79-e3f5-44f0-986b-e9ab87675206":{"description":"Rate limit exceeded: 60 requests per minute.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"1130b52c-bb9f-4f10-aab8-04cb69bc8ac8":{"description":"Unexpected error.","content":{"application/json":{"schema":{"type":"object","required":["success","statusCode"],"properties":{"success":{"const":false,"isRequired":true,"uniqueKey":"success","typeLabel":"any"},"statusCode":{"const":500,"isRequired":true,"uniqueKey":"statusCode","typeLabel":"any"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"statusCode":500}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"c6c9dee9-a6e3-4674-9455-e6c595b5c7fe":{"apiKey":{"type":"apiKey","in":"header","name":"x-api-key","description":"Organization API key with the `partners:read` scope.","scopes":[],"schemeName":"apiKey"}}},"servers":{"43f1a63a-9af6-4b32-b695-8a8158ab97f5":{"url":"https://gateway.jelou.ai/v1/partner","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","description":"Organization API key with the `partners:read` scope.","scopes":[],"schemeName":"apiKey"},"schema":{"title":"x-api-key","type":"string","description":"Organization API key with the `partners:read` scope.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKey","name":"x-api-key"}],"title":"apiKey"}]},"originalFileLocation":"api/partner/openapi.json"},"subdomain":"jelouai","siteName":"Jelou AI Docs","title":"Usage metrics - Jelou AI Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"es":{"href":"/","matchLevel":4},"en":{"href":"/en/api/partner/metrics","matchLevel":0},"pt-BR":{"href":"/pt","matchLevel":4}}},"lastModified":"2026-11-24T22:00:32.426Z","originalFileLocation":"en/api/partner/metrics.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Conversations and unique sessions of each subcompany over a time range\">\u003cmeta data-mint-head name=\"application-name\" content=\"Jelou AI Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/jelouai/tavu7utr1-GgLh9T/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/jelouai/tavu7utr1-GgLh9T/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/jelouai/tavu7utr1-GgLh9T/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/jelouai/tavu7utr1-GgLh9T/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/jelouai/tavu7utr1-GgLh9T/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/jelouai/tavu7utr1-GgLh9T/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/jelouai/tavu7utr1-GgLh9T/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/jelouai/tavu7utr1-GgLh9T/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/jelouai/tavu7utr1-GgLh9T/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Usage metrics - Jelou AI Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Conversations and unique sessions of each subcompany over a time range\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Jelou AI Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.jelou.ai/en/api/partner/metrics\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://jelouai.mintlify.site/_mintlify/api/og/v2?division=Partner+API\u0026amp;title=Usage+metrics\u0026amp;description=Conversations+and+unique+sessions+of+each+subcompany+over+a+time+range\u0026amp;theme=9fb9e78bcf7a6885243bee03\u0026amp;signature=6e5d18dea74457ba928807ce19bbea35b558ffbd04202fb8f18b253454d1467c\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Usage metrics - Jelou AI Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Conversations and unique sessions of each subcompany over a time range\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://jelouai.mintlify.site/_mintlify/api/og/v2?division=Partner+API\u0026amp;title=Usage+metrics\u0026amp;description=Conversations+and+unique+sessions+of+each+subcompany+over+a+time+range\u0026amp;theme=9fb9e78bcf7a6885243bee03\u0026amp;signature=6e5d18dea74457ba928807ce19bbea35b558ffbd04202fb8f18b253454d1467c\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/jelouai/tavu7utr1-GgLh9T/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Jelou AI Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#00B3C7\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.jelou.ai/en/api/partner/metrics\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/en/api/partner/metrics.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.jelou.ai/#organization\",\"name\":\"Jelou AI Docs\",\"url\":\"https://docs.jelou.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/jelouai/ohdyHu3U1l_f83jb/assets/images/logo.svg?fit=max\u0026auto=format\u0026n=ohdyHu3U1l_f83jb\u0026q=85\u0026s=96492f65ef93712f99d972c31ad08e09\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.jelou.ai#website\",\"name\":\"Jelou AI Docs\",\"url\":\"https://docs.jelou.ai\",\"publisher\":{\"@id\":\"https://docs.jelou.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.jelou.ai/en/api/partner/metrics#webpage\",\"url\":\"https://docs.jelou.ai/en/api/partner/metrics\",\"name\":\"Usage metrics\",\"description\":\"Conversations and unique sessions of each subcompany over a time range\",\"dateModified\":\"2026-11-24T22:00:32.426Z\",\"isPartOf\":{\"@id\":\"https://docs.jelou.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.jelou.ai/en/api/partner/metrics#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.jelou.ai/en/api/partner/metrics#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Partner API\",\"item\":\"https://docs.jelou.ai/en/api/partner/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Usage metrics\",\"item\":\"https://docs.jelou.ai/en/api/partner/metrics\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.jelou.ai/en/api/partner/metrics#apireference\",\"headline\":\"Usage metrics\",\"name\":\"Usage metrics\",\"description\":\"Conversations and unique sessions of each subcompany over a time range\",\"url\":\"https://docs.jelou.ai/en/api/partner/metrics\",\"mainEntityOfPage\":{\"@id\":\"https://docs.jelou.ai/en/api/partner/metrics#webpage\"},\"dateModified\":\"2026-11-24T22:00:32.426Z\",\"publisher\":{\"@id\":\"https://docs.jelou.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.jelou.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Jelou AI Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Jelou AI Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/en/api/partner/metrics.md","siteName":"Jelou AI Docs","nav":{"global":null,"languages":[{"language":"es","default":true,"pages":[{"title":"es","href":"/"}]},{"language":"en","tabs":[{"tab":"Brain Studio","pages":[{"title":"Brain Studio","href":"/en"}]},{"tab":"Databases","pages":[{"title":"Databases","href":"/en/guides/datum/introduccion"}]},{"tab":"Functions","pages":[{"title":"Functions","href":"/en/guides/functions"}]},{"tab":"API","groups":[{"group":"API reference","pages":[{"title":"Introduction","href":"/en/api/introduction"}]},{"group":"Send Messages","icon":"message","pages":[{"title":"Introduction","href":"/en/api/envia-mensajes/introduccion"},{"title":"Send Messages","sidebarTitle":"Send Messages","openapi":"POST /v1/bots/{botId}/messages","href":"/en/api/envia-mensajes/Envio-de-mensajes"},{"group":"Message Types","pages":[{"title":"Text Message","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","href":"/en/api/envia-mensajes/texto"},{"title":"Message with Options","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","href":"/en/api/envia-mensajes/texto-con-opciones"},{"title":"Quick Replies","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","tag":"WhatsApp","href":"/en/api/envia-mensajes/respuestas-rapidas"},{"title":"Image","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","href":"/en/api/envia-mensajes/imagen"},{"title":"Audio","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","href":"/en/api/envia-mensajes/audio"},{"title":"Video","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","href":"/en/api/envia-mensajes/video"},{"title":"File","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","href":"/en/api/envia-mensajes/archivo"},{"title":"Sticker","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","tag":"WhatsApp","href":"/en/api/envia-mensajes/sticker"},{"title":"Location","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","tag":"WhatsApp","href":"/en/api/envia-mensajes/ubicacion"},{"title":"Contact","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","tag":"WhatsApp","href":"/en/api/envia-mensajes/contacto"},{"title":"Location Request","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","tag":"WhatsApp","href":"/en/api/envia-mensajes/solicitud-ubicacion"},{"title":"Contact Request","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","tag":"WhatsApp","href":"/en/api/envia-mensajes/solicitud-contacto"},{"title":"External URL","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","href":"/en/api/envia-mensajes/boton-url"},{"title":"Whatsapp Flows","openapi":"POST /v1/bots/{botId}/users/{userId}/flow_message","tag":"WhatsApp","href":"/en/api/envia-mensajes/boton-flujo"},{"title":"Call","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","tag":"WhatsApp","href":"/en/api/envia-mensajes/boton-llamada"},{"title":"Carousel","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","tag":"WhatsApp","href":"/en/api/envia-mensajes/carrusel"}]},{"title":"Workflows","href":"/en/api/envia-mensajes/configura-skill"}]},{"group":"Campaigns","icon":"send","pages":[{"group":"Templates","pages":[{"title":"Get Templates","openapi":"GET /v1/bots/{botId}/templates","href":"/en/api/campanas/obtener-plantillas"},{"title":"Create Template","openapi":"POST /v1/bots/{botId}/templates","href":"/en/api/campanas/crear-plantilla"}]},{"title":"Individual Send (1-1)","openapi":"POST /v2/whatsapp/{botId}/hsm","href":"/en/api/campanas/envio-individual"},{"title":"Bulk Send","openapi":"POST /v1/hsm/file","href":"/en/api/campanas/envio-masivo"},{"title":"Notifications","openapi":"GET /v1/external/bots/{botId}/notifications","href":"/en/api/campanas/notificaciones"},{"title":"Obtener Campañas","deprecated":null,"version":null,"openapi":"/api/openapi.json get /v1/campaigns","href":"/api-reference/campaigns/obtener-campañas"},{"title":"Update campaign","openapi":"PUT /v1/campaigns/{campaignId}","href":"/en/api/campanas/actualizar-campana"},{"title":"Cancel campaign","openapi":"DELETE /v1/campaigns/{campaignId}","href":"/en/api/campanas/cancelar-campana"}]},{"group":"Jelou Shop","icon":"store","pages":[{"title":"Get Started","href":"/en/api/shop/introduction"},{"group":"Branches","pages":[{"title":"Create branch","api":"POST https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/branches","href":"/en/api/shop/branches/create"},{"title":"List branches","api":"GET https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/branches","href":"/en/api/shop/branches/list"},{"title":"Get branch","api":"GET https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/branches/{branch_id}","href":"/en/api/shop/branches/get"},{"title":"Update branch","api":"PATCH https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/branches/{branch_id}","href":"/en/api/shop/branches/update"},{"title":"Delete branch","api":"DELETE https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/branches/{branch_id}","href":"/en/api/shop/branches/delete"},{"title":"Search branches","api":"POST https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/branches/search","href":"/en/api/shop/branches/search"}]},{"group":"Categories","pages":[{"title":"Create and update categories","api":"POST https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/batch/categories/upsert","href":"/en/api/shop/categories/upsert"},{"title":"List categories","api":"GET https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/categories","href":"/en/api/shop/categories/list"},{"title":"Get category","api":"GET https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/categories/{category_id}","href":"/en/api/shop/categories/get"},{"title":"Update category","api":"PATCH https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/categories/{category_id}","href":"/en/api/shop/categories/update"},{"title":"Delete category","api":"DELETE https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/categories/{category_id}","href":"/en/api/shop/categories/delete"}]},{"group":"Products","pages":[{"title":"Products","api":"POST https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/batch/products/upsert_by_sku","href":"/en/api/shop/products/upsert"},{"title":"List products","api":"GET https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/products","href":"/en/api/shop/products/list"},{"title":"Search products","api":"POST https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/products/search","href":"/en/api/shop/products/search"}]},{"group":"Promotions","pages":[{"title":"Create coupon","api":"POST https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/coupons","href":"/en/api/shop/coupons/create"},{"title":"List coupons","api":"GET https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/coupons","href":"/en/api/shop/coupons/list"},{"title":"Get coupon","api":"GET https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/coupons/{coupon_id}","href":"/en/api/shop/coupons/get"},{"title":"Update coupon","api":"PATCH https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/coupons/{coupon_id}","href":"/en/api/shop/coupons/update"},{"title":"Delete coupon","api":"DELETE https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/coupons/{coupon_id}","href":"/en/api/shop/coupons/delete"},{"title":"Search coupons","api":"POST https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/coupons/search","href":"/en/api/shop/coupons/search"}]},{"group":"Settings","pages":[{"title":"Store settings","api":"PATCH https://gateway.jelou.ai/ecommerce/v1/apps/{app_id}/settings","href":"/en/api/shop/settings/store"}]}]},{"group":"Conversations","icon":"clock-rotate-left","pages":[{"title":"Chat history","openapi":"GET /v1/external/messages/history/{botId}","href":"/en/api/conversaciones/historial"},{"title":"Agent conversations","openapi":"POST /v1/metrics/conversations/attended/external","href":"/en/api/conversaciones/conversaciones-asesores"}]},{"group":"Tags","icon":"tag","pages":[{"title":"Tag management","sidebarTitle":"Tag management","href":"/en/api/tags/tag-management"}]},{"group":"Metrics","icon":"chart-line","pages":[{"title":"Operator statistics","openapi":"GET /v1/metrics/conversations/external/stats","href":"/en/api/metricas/estadisticas-operadores"}]},{"group":"Users","icon":"user","pages":[{"title":"User status","openapi":"GET /v1/users/{userId}/state","href":"/en/api/usuarios/estado"},{"title":"User cache","sidebarTitle":"User Cache","href":"/en/api/usuarios/cache-de-usuario"}]},{"group":"Clients","icon":"address-book","pages":[{"title":"Create client","sidebarTitle":"Create client","api":"POST https://gateway.jelou.ai/platform/v3/companies/clients","href":"/en/api/clientes/crear-cliente"}]},{"group":"Resources","icon":"folder","pages":[{"title":"Refrescar Recurso URL","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/external/assets/refresh","href":"/api-reference/resources/refrescar-recurso-url"}]},{"group":"Widget","icon":"grid-2","pages":[{"title":"Crear Usuarios","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/widget/user","href":"/api-reference/widget/crear-usuarios"},{"title":"Crear Widgets","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/widget/create","href":"/api-reference/widget/crear-widgets"},{"title":"Enviar mensaje al chat","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/rooms/{roomId}/message","href":"/api-reference/widget/enviar-mensaje-al-chat"}]},{"group":"Datum","icon":"database","pages":[{"title":"Get database information","sidebarTitle":"Get databases","openapi":"GET /v2/databases","href":"/en/api/Datum/Obtener-informacin-de-las-bases-de-datos"},{"title":"Crear registro","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v2/databases/{databaseId}/rows","href":"/api-reference/datum/crear-registro"},{"title":"Obtener registro","deprecated":null,"version":null,"openapi":"/api/openapi.json get /v2/databases/{databaseId}/rows/{rowId}","href":"/api-reference/datum/obtener-registro"},{"title":"Actualizar un registro","deprecated":null,"version":null,"openapi":"/api/openapi.json put /v2/databases/{databaseId}/rows/{rowId}","href":"/api-reference/datum/actualizar-un-registro"},{"title":"Eliminar registro","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /v2/databases/{databaseId}/rows/{rowId}","href":"/api-reference/datum/eliminar-registro"}]},{"group":"External Support Panel","icon":"headset","pages":[{"group":"Integration process","pages":[{"title":"External Support Panel","sidebarTitle":"Introduction","href":"/en/api/pma-custom/introduccion"},{"title":"HMAC-SHA256 Signature","sidebarTitle":"Signature","href":"/en/api/pma-custom/firma-hmac"}]},{"group":"Integration","pages":[{"title":"Create integration","sidebarTitle":"Create integration","openapi":"POST /v1/external-support/{projectId}","href":"/en/api/pma-custom/crear-integracion"},{"title":"Get integration","sidebarTitle":"Get integration","openapi":"GET /v1/external-support/{projectId}","href":"/en/api/pma-custom/obtener-integracion"},{"title":"Update integration","sidebarTitle":"Update integration","openapi":"PATCH /v1/external-support/{projectId}","href":"/en/api/pma-custom/actualizar-integracion"},{"title":"Delete integration","sidebarTitle":"Delete integration","openapi":"DELETE /v1/external-support/{projectId}","href":"/en/api/pma-custom/eliminar-integracion"},{"title":"Regenerate signing secret","sidebarTitle":"Regenerate secret","openapi":"POST /v1/external-support/{projectId}/secret/regenerate","href":"/en/api/pma-custom/regenerar-secret"}]},{"group":"Conversation","pages":[{"title":"Start conversation","sidebarTitle":"Start conversation","openapi":"POST /v1/external-support/{projectId}/conversations/start","href":"/en/api/pma-custom/iniciar-conversacion"},{"title":"Close conversation","sidebarTitle":"Close conversation","openapi":"POST /v1/external-support/{projectId}/conversations/close","href":"/en/api/pma-custom/cerrar-conversacion"},{"title":"Get conversation","sidebarTitle":"Get conversation","openapi":"GET /v1/external-support/{projectId}/conversations/{conversationId}","href":"/en/api/pma-custom/consultar-conversacion"}]},{"group":"Messages","pages":[{"title":"Receive message from end user","sidebarTitle":"Receive message","href":"/en/api/pma-custom/recibir-mensajes"},{"title":"Send message to end user","sidebarTitle":"Send message","href":"/en/api/pma-custom/enviar-mensajes"}]}]},{"group":"Custom Channel","icon":"webhook","pages":[{"title":"Custom channel","sidebarTitle":"Introduction","href":"/en/api/custom-channel/introduction"},{"title":"Send interaction","sidebarTitle":"Send interaction","href":"/en/api/custom-channel/send-interaction"},{"title":"Response format","sidebarTitle":"Response format","href":"/en/api/custom-channel/response-format"},{"title":"Check status","sidebarTitle":"Check status","href":"/en/api/custom-channel/check-status"},{"title":"HMAC-SHA256 signature","sidebarTitle":"HMAC signature","href":"/en/api/custom-channel/hmac-signature"}]},{"group":"Memory Management","icon":"brain","pages":[{"title":"Memory Management","sidebarTitle":"Introduction","href":"/en/api/memoria/introduccion"},{"group":"Read","pages":[{"title":"Get records","sidebarTitle":"Get records","openapi":"POST /v2/memory/users/get-all","href":"/en/api/memoria/obtener-registros"},{"title":"Get one record","sidebarTitle":"Get one record","openapi":"POST /v2/memory/users/find-one","href":"/en/api/memoria/obtener-registro"}]},{"group":"Write","pages":[{"title":"Save records","sidebarTitle":"Save records","openapi":"POST /v2/memory/users/set","href":"/en/api/memoria/guardar-registros"}]}]},{"group":"Partner API","icon":"handshake","pages":[{"title":"Partner API","sidebarTitle":"Introduction","href":"/en/api/partner/introduction"},{"title":"Verify the API key","openapi":"api/partner/openapi.json GET /ping","href":"/en/api/partner/ping"},{"title":"Services per subcompany","openapi":"api/partner/openapi.json GET /services","href":"/en/api/partner/services"},{"title":"Channel status","description":"Channels of each subcompany by type and provider, with their status","openapi":"api/partner/openapi.json GET /monitoring","href":"/en/api/partner/monitoring"},{"title":"Usage metrics","openapi":"api/partner/openapi.json GET /metrics","href":"/en/api/partner/metrics"}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/en/changelog"}]},{"tab":"Voice","pages":[{"title":"Voice","href":"/en/guides/voice/introduction"}]}]},{"language":"pt-BR","pages":[{"title":"pt-BR","href":"/pt"}]}]},"basePath":"","title":"Usage metrics - Jelou AI Docs","deploymentId":"dpl_57NA6NKtrcUBhuxv6Tm2hAi21TK4","buildId":"dpl_57NA6NKtrcUBhuxv6Tm2hAi21TK4","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-CalkZbx8.js","snippetPresets-DtvvunBK.js","utils-Bn5byECU.js","style-to-object-BY3JEAdk.js","utils-DOTAoFcT.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-CDauU9aU.js","conditional-requirements-CFM0id0Q.js","cloneDeep-k2aHAqp5.js","_Uint8Array-CQuRedKT.js","isObject-FP1Yky1u.js","Page-Dz3zehSO.js","api-description-markdown-DwoksVHI.js","DynamicMarkdown-XsrWkK-b.js","CodeSnippet-BBA8eWiP.js","SectionHeading-AR_EzDYe.js","ApiExamples-CSBS2nDe.js","usePlaygroundInputsStore-BkN7uKke.js","shallow-6IMgYiEa.js","isEqual-DicuCknl.js","CodeSnippets-C268fsRY.js","getApiPlaygroundDisplay-DMK5GRGS.js","MethodPill-CvOL8UTX.js","getPastedJson-BazkMjRw.js","Check2Icon-BL_xILK9.js","axios-CsQoIw0U.js","Markdown-CX8Sr5UZ.js","AssistantPageLink-B3VcLrB0.js","dist-WDJo6xkj.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}