Retrieve the usage of each speech-to-video session.
Lists the sessions created in the range, in UTC days, that have started
and ended.
The figures are seconds as your plan counts them, and cover every
workspace of your organization, so only an API key of the default
workspace can read them. Agent conversations and text-to-video are not
included.
The days are UTC calendar days, so they do not line up with your billing
period; Retrieve Usage gives the usage of your billing period. A range
spans at most 366 days and 10,000 sessions; split a busier range into
shorter ones.
GET
/
v1
/
usage
/
sessions
Retrieve Speech-to-Video Session Usage
curl --request GET \ --url https://api.bey.dev/v1/usage/sessions \ --header 'x-api-key: <api-key>'
Every ended session of the requested range, newest first.
Show child attributes
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Beyond Presence","colors":{"primary":"#7a5af8","light":"#7a5af8","dark":"#7a5af8"},"logo":{"light":"https://mintcdn.com/beyondpresence/S5fGLcshE9Aw3K0I/logo/dark.svg?fit=max\u0026auto=format\u0026n=S5fGLcshE9Aw3K0I\u0026q=85\u0026s=ab7cf5425f3216f7d2bc1a8e17151b49","dark":"https://mintcdn.com/beyondpresence/S5fGLcshE9Aw3K0I/logo/light.svg?fit=max\u0026auto=format\u0026n=S5fGLcshE9Aw3K0I\u0026q=85\u0026s=4b3c1e93da9154824c2d6190240055b9"},"favicon":"https://mintcdn.com/beyondpresence/Z_iP43IRCo3W0M4a/favicon.svg?fit=max\u0026auto=format\u0026n=Z_iP43IRCo3W0M4a\u0026q=85\u0026s=67b11b7fa697d84e089560d622d1f499","api":{"playground":{"display":"simple"},"examples":{"defaults":"all","languages":["curl","python","javascript"]}},"navbar":{"links":[{"href":"https://status.bey.dev/","label":"Status"},{"href":"mailto:support@beyondpresence.ai","label":"Support"}],"primary":{"type":"button","label":"Studio","href":"https://bey.studio"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"metadata":{"timestamp":false},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Homepage \u0026 Demo","icon":"infinity","href":"https://beyondpresence.ai"},{"anchor":"Discord Community","icon":"discord","href":"https://bey.dev/community"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"beyondpresence","hasAudioNarration":false,"actualSubdomain":"beyondpresence","customDomains":["docs.bey.dev"],"gitSource":{"type":"github","owner":"beyond-presence","repo":"monorepo","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6aeca5a4802fe9fbb7663b65","collectionId":"84fd4a85-05c5-47d9-a78c-b7a3426b0103","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aeca5a4802fe9fbb7663b65"},"feedback":{"issues":false,"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aedaf7004d689b727c88dec","clientVersion":"0.0.4074","searchFilterCounts":[{"language":"default","tag":"Docs","count":42},{"language":"default","tag":"API Reference","count":27},{"language":"default","tag":"Core Concepts","count":14},{"language":"default","tag":"Integrations","count":12},{"language":"default","tag":"Agents","count":11},{"language":"default","tag":"Learn More","count":7},{"language":"default","tag":"Agent Knowledge Files","count":6},{"language":"default","tag":"Avatars","count":5},{"language":"default","tag":"Meetings (Zoom, ...)","count":5},{"language":"default","tag":"Production Guides","count":5}]},"assistantConfig":{"deflection":{"enabled":true,"email":"support@beyondpresence.ai"}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","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":"llms-txt-v2","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":"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":"vite-origin","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":"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":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"privacy":{"consentBanner":{"enabled":false}},"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/usage/retrieve-speech-to-video-session-usage","slug":"/api-reference/usage/retrieve-speech-to-video-session-usage","pageMetadata":{"title":"Retrieve Speech-to-Video Session Usage","description":"Retrieve the usage of each speech-to-video session.\n\nLists the sessions created in the range, in UTC days, that have started\nand ended.\nThe figures are seconds as your plan counts them, and cover every\nworkspace of your organization, so only an API key of the default\nworkspace can read them. Agent conversations and text-to-video are not\nincluded.\n\nThe days are UTC calendar days, so they do not line up with your billing\nperiod; Retrieve Usage gives the usage of your billing period. A range\nspans at most 366 days and 10,000 sessions; split a busier range into\nshorter ones.","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/usage/sessions","href":"/api-reference/usage/retrieve-speech-to-video-session-usage","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Retrieve the usage of each speech-to-video session.\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"Lists the sessions created in the range, in UTC days, that have started\\nand ended.\\nThe figures are seconds as your plan counts them, and cover every\\nworkspace of your organization, so only an API key of the default\\nworkspace can read them. Agent conversations and text-to-video are not\\nincluded.\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"The days are UTC calendar days, so they do not line up with your billing\\nperiod; Retrieve Usage gives the usage of your billing period. A range\\nspans at most 366 days and 10,000 sessions; split a busier range into\\nshorter ones.\"\n })]\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Retrieve Speech-to-Video Session Usage","description":"Retrieve the usage of each speech-to-video session.\n\nLists the sessions created in the range, in UTC days, that have started\nand ended.\nThe figures are seconds as your plan counts them, and cover every\nworkspace of your organization, so only an API key of the default\nworkspace can read them. Agent conversations and text-to-video are not\nincluded.\n\nThe days are UTC calendar days, so they do not line up with your billing\nperiod; Retrieve Usage gives the usage of your billing period. A range\nspans at most 366 days and 10,000 sessions; split a busier range into\nshorter ones.","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/usage/sessions","href":"/api-reference/usage/retrieve-speech-to-video-session-usage","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Usage"],"summary":"Retrieve Speech-to-Video Session Usage","description":"Retrieve the usage of each speech-to-video session.\n\nLists the sessions created in the range, in UTC days, that have started\nand ended.\nThe figures are seconds as your plan counts them, and cover every\nworkspace of your organization, so only an API key of the default\nworkspace can read them. Agent conversations and text-to-video are not\nincluded.\n\nThe days are UTC calendar days, so they do not line up with your billing\nperiod; Retrieve Usage gives the usage of your billing period. A range\nspans at most 366 days and 10,000 sessions; split a busier range into\nshorter ones.","operationId":"get_session_usage_v1_usage_sessions_get","security":["bd74b464-ae60-4876-b998-a639fcf2e5b5"],"parameters":["f6fedb9e-e8c2-490a-ac2d-7bc738780333","46b3623e-661f-4c9f-bc61-43890a638387"],"responses":{"200":"5a6c8ee2-05ff-481b-9ca3-666f6148b947","401":"d8e2ce9f-e7b2-4e34-828b-a2e055e59271","402":"1f4c3c3b-709d-4355-8c49-4127960bf013","403":"2cec6b79-eb21-477f-a4ff-db70bee6fd54","404":"5c1ed9ee-0b24-49d4-a0c8-10bb7214dd46","422":"e530bbef-e015-4d96-b699-e54b1088664e","429":"42ccec4a-fa3f-4dd4-adb0-e05851a2eb98"},"method":"get","type":"path","servers":["9f1acb21-4635-49af-9416-adb93120aae0"],"path":"/v1/usage/sessions","baseUrlOptions":["https://api.bey.dev"],"title":"Retrieve Speech-to-Video Session Usage","codeSamples":[],"requestExampleLanguages":["bash","python","javascript"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"f6fedb9e-e8c2-490a-ac2d-7bc738780333":{"name":"start","in":"query","required":true,"schema":{"type":"string","format":"date","description":"Earliest day a listed session was created, in UTC (YYYY-MM-DD).","title":"Start","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cdate>"},"description":"Earliest day a listed session was created, in UTC (YYYY-MM-DD)."},"46b3623e-661f-4c9f-bc61-43890a638387":{"name":"end","in":"query","required":true,"schema":{"type":"string","format":"date","description":"Latest day a listed session was created, in UTC (YYYY-MM-DD).","title":"End","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cdate>"},"description":"Latest day a listed session was created, in UTC (YYYY-MM-DD)."}},"responses":{"5a6c8ee2-05ff-481b-9ca3-666f6148b947":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"data":{"items":{"properties":{"id":{"type":"string","title":"Id","description":"ID of the session.","examples":["01234567-89ab-cdef-0123-456789abcdef"],"isRequired":true,"uniqueKey":"data.items.[INDEX].id","typeLabel":"string"},"avatar_id":{"type":"string","title":"Avatar Id","description":"ID of the avatar of the session.","examples":["01234567-89ab-cdef-0123-456789abcdef"],"isRequired":true,"uniqueKey":"data.items.[INDEX].avatar_id","typeLabel":"string"},"started_at":{"type":"string","title":"Started At","description":"Time the avatar started in the room in ISO 8601 format.","examples":["2026-10-01T09:00:00+00:00"],"isRequired":true,"uniqueKey":"data.items.[INDEX].started_at","typeLabel":"string"},"ended_at":{"type":"string","title":"Ended At","description":"Time the session ended in ISO 8601 format.","examples":["2026-10-01T09:30:30+00:00"],"isRequired":true,"uniqueKey":"data.items.[INDEX].ended_at","typeLabel":"string"},"used_seconds":{"type":"integer","title":"Used Seconds","description":"Usage billed for the session: from the time the avatar started in the room until the session ended.","examples":[1830],"isRequired":true,"uniqueKey":"data.items.[INDEX].used_seconds","typeLabel":"integer"}},"type":"object","required":["id","avatar_id","started_at","ended_at","used_seconds"],"title":"SessionUsage","description":"Usage of one speech-to-video session.","uniqueKey":"data.items.[INDEX]","typeLabel":"SessionUsage · object"},"type":"array","title":"Data","description":"Every ended session of the requested range, newest first.","isRequired":true,"uniqueKey":"data","typeLabel":"SessionUsage · object[]"}},"type":"object","required":["data"],"title":"SessionUsageResponse","description":"Speech-to-video usage per session.","uniqueKey":"","typeLabel":"SessionUsageResponse · object"},"examples":{"Example":{"title":"Example","value":{"data":[{"id":"01234567-89ab-cdef-0123-456789abcdef","avatar_id":"01234567-89ab-cdef-0123-456789abcdef","started_at":"2026-10-01T09:00:00+00:00","ended_at":"2026-10-01T09:30:30+00:00","used_seconds":1830}]}}},"exampleType":"generated"}},"exampleType":"generated"},"d8e2ce9f-e7b2-4e34-828b-a2e055e59271":{"description":"Authentication failed. The `x-api-key` header is missing or the provided API key is invalid.","content":{"application/json":{"examples":{"missing":{"title":"missing","value":{"detail":"API key is required."}},"invalid":{"title":"invalid","value":{"detail":"Invalid API key."}}},"schema":{"properties":{"detail":{"type":"string","title":"Detail","description":"Human-readable description of the error.","examples":["Invalid API key."],"isRequired":true,"uniqueKey":"detail","typeLabel":"string"}},"type":"object","required":["detail"],"title":"ErrorResponse","description":"Standard error response body.\n\nCarries a single human-readable `detail` message describing what went\nwrong. This is the shape of every error response except validation errors\n(`422`), which instead return a list of per-field error objects.","uniqueKey":"","typeLabel":"ErrorResponse · object"},"exampleType":"examples"}},"exampleType":"examples"},"1f4c3c3b-709d-4355-8c49-4127960bf013":{"description":"The plan's usage limit has been reached, or the requested feature requires a plan upgrade.","content":{"application/json":{"examples":{"usage":{"title":"usage","value":{"detail":"You have reached your usage limit. Please upgrade your plan or enable usage-based billing."}},"plan":{"title":"plan","value":{"detail":"This feature is not available on your current plan. Please upgrade your plan."}}},"schema":{"properties":{"detail":{"type":"string","title":"Detail","description":"Human-readable description of the error.","examples":["Invalid API key."],"isRequired":true,"uniqueKey":"detail","typeLabel":"string"}},"type":"object","required":["detail"],"title":"ErrorResponse","description":"Standard error response body.\n\nCarries a single human-readable `detail` message describing what went\nwrong. This is the shape of every error response except validation errors\n(`422`), which instead return a list of per-field error objects.","uniqueKey":"","typeLabel":"ErrorResponse · object"},"exampleType":"examples"}},"exampleType":"examples"},"2cec6b79-eb21-477f-a4ff-db70bee6fd54":{"description":"The API key is valid but not permitted to perform this action, because the resource belongs to someone else.","content":{"application/json":{"example":{"detail":"You do not have permission to access this resource."},"schema":{"properties":{"detail":{"type":"string","title":"Detail","description":"Human-readable description of the error.","examples":["Invalid API key."],"isRequired":true,"uniqueKey":"detail","typeLabel":"string"}},"type":"object","required":["detail"],"title":"ErrorResponse","description":"Standard error response body.\n\nCarries a single human-readable `detail` message describing what went\nwrong. This is the shape of every error response except validation errors\n(`422`), which instead return a list of per-field error objects.","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"detail":"You do not have permission to access this resource."}}},"exampleType":"examples"}},"exampleType":"examples"},"5c1ed9ee-0b24-49d4-a0c8-10bb7214dd46":{"description":"The requested resource does not exist or is not accessible with this API key.","content":{"application/json":{"example":{"detail":"The requested resource was not found."},"schema":{"properties":{"detail":{"type":"string","title":"Detail","description":"Human-readable description of the error.","examples":["Invalid API key."],"isRequired":true,"uniqueKey":"detail","typeLabel":"string"}},"type":"object","required":["detail"],"title":"ErrorResponse","description":"Standard error response body.\n\nCarries a single human-readable `detail` message describing what went\nwrong. This is the shape of every error response except validation errors\n(`422`), which instead return a list of per-field error objects.","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"detail":"The requested resource was not found."}}},"exampleType":"examples"}},"exampleType":"examples"},"e530bbef-e015-4d96-b699-e54b1088664e":{"description":"The request is malformed. `detail` lists each field that failed validation, where it was located, and why.","content":{"application/json":{"example":{"detail":[{"loc":["body","name"],"msg":"Field required","type":"missing"}]},"examples":{"Example":{"title":"Example","value":{"detail":[{"loc":["body","name"],"msg":"Field required","type":"missing"}]}}},"exampleType":"examples"}},"exampleType":"examples"},"42ccec4a-fa3f-4dd4-adb0-e05851a2eb98":{"description":"The plan's limit on the number of concurrent sessions has been reached.","content":{"application/json":{"example":{"detail":"You have reached your concurrency limit. Please upgrade your plan or stop other ongoing sessions."},"schema":{"properties":{"detail":{"type":"string","title":"Detail","description":"Human-readable description of the error.","examples":["Invalid API key."],"isRequired":true,"uniqueKey":"detail","typeLabel":"string"}},"type":"object","required":["detail"],"title":"ErrorResponse","description":"Standard error response body.\n\nCarries a single human-readable `detail` message describing what went\nwrong. This is the shape of every error response except validation errors\n(`422`), which instead return a list of per-field error objects.","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"detail":"You have reached your concurrency limit. Please upgrade your plan or stop other ongoing sessions."}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"bd74b464-ae60-4876-b998-a639fcf2e5b5":{"APIKeyHeader":{"type":"apiKey","description":"Your Beyond Presence API Key.","in":"header","name":"x-api-key","scopes":[],"schemeName":"APIKeyHeader"}}},"servers":{"9f1acb21-4635-49af-9416-adb93120aae0":{"url":"https://api.bey.dev"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","description":"Your Beyond Presence API Key.","in":"header","name":"x-api-key","scopes":[],"schemeName":"APIKeyHeader"},"schema":{"title":"x-api-key","type":"string","description":"Your Beyond Presence API Key.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"APIKeyHeader","name":"x-api-key"}],"title":"APIKeyHeader"}]},"originalFileLocation":"openapi.json"},"subdomain":"beyondpresence","siteName":"Beyond Presence","title":"Retrieve Speech-to-Video Session Usage - Beyond Presence","relatedPagesConfig":{"enabled":true,"limit":5,"mode":"automatic"},"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-05T15:50:31.548Z","originalFileLocation":"api-reference/usage/retrieve-speech-to-video-session-usage.mdx"},"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=\"Retrieve the usage of each speech-to-video session. Lists the sessions created in the range, in UTC days, that have started and ended. The figures are seconds as your plan counts them, and cover every workspace of your organization, so only an API key of the default workspace can read them. Agent conversations and text-to-video are not included. The days are UTC calendar days, so they do not line up with your billing period; Retrieve Usage gives the usage of your billing period. A range spans at most 366 days and 10,000 sessions; split a busier range into shorter ones.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Beyond Presence\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/beyondpresence/XomqLvVMn3CayKZ5/_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/beyondpresence/XomqLvVMn3CayKZ5/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/beyondpresence/XomqLvVMn3CayKZ5/_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/beyondpresence/XomqLvVMn3CayKZ5/_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/beyondpresence/XomqLvVMn3CayKZ5/_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/beyondpresence/XomqLvVMn3CayKZ5/_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/beyondpresence/XomqLvVMn3CayKZ5/_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/beyondpresence/XomqLvVMn3CayKZ5/_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/beyondpresence/XomqLvVMn3CayKZ5/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Retrieve Speech-to-Video Session Usage - Beyond Presence\">\u003cmeta data-mint-head property=\"og:description\" content=\"Retrieve the usage of each speech-to-video session. Lists the sessions created in the range, in UTC days, that have started and ended. The figures are seconds as your plan counts them, and cover every workspace of your organization, so only an API key of the default workspace can read them. Agent conversations and text-to-video are not included. The days are UTC calendar days, so they do not line up with your billing period; Retrieve Usage gives the usage of your billing period. A range spans at most 366 days and 10,000 sessions; split a busier range into shorter ones.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Beyond Presence\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.bey.dev/api-reference/usage/retrieve-speech-to-video-session-usage\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://beyondpresence.mintlify.site/_mintlify/api/og/v2?division=Usage\u0026amp;title=Retrieve+Speech-to-Video+Session+Usage\u0026amp;description=Retrieve+the+usage+of+each+speech-to-video+session.%0A%0ALists+the+sessions+created+in+the+range%2C+in+UTC+days%2C+that+have+started%0Aand+ended.%0AThe+figures+are+seconds+\u0026amp;theme=93ae23e6800ac019762ccb05\u0026amp;signature=4f7c028356f5704fc0aa208f06eab61cb934dce45459e4aa958d7d3ad08ffd34\">\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=\"Retrieve Speech-to-Video Session Usage - Beyond Presence\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Retrieve the usage of each speech-to-video session. Lists the sessions created in the range, in UTC days, that have started and ended. The figures are seconds as your plan counts them, and cover every workspace of your organization, so only an API key of the default workspace can read them. Agent conversations and text-to-video are not included. The days are UTC calendar days, so they do not line up with your billing period; Retrieve Usage gives the usage of your billing period. A range spans at most 366 days and 10,000 sessions; split a busier range into shorter ones.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://beyondpresence.mintlify.site/_mintlify/api/og/v2?division=Usage\u0026amp;title=Retrieve+Speech-to-Video+Session+Usage\u0026amp;description=Retrieve+the+usage+of+each+speech-to-video+session.%0A%0ALists+the+sessions+created+in+the+range%2C+in+UTC+days%2C+that+have+started%0Aand+ended.%0AThe+figures+are+seconds+\u0026amp;theme=93ae23e6800ac019762ccb05\u0026amp;signature=4f7c028356f5704fc0aa208f06eab61cb934dce45459e4aa958d7d3ad08ffd34\">\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/beyondpresence/XomqLvVMn3CayKZ5/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Beyond Presence\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#7a5af8\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.bey.dev/api-reference/usage/retrieve-speech-to-video-session-usage\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/usage/retrieve-speech-to-video-session-usage.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.bey.dev/#organization\",\"name\":\"Beyond Presence\",\"url\":\"https://docs.bey.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/beyondpresence/S5fGLcshE9Aw3K0I/logo/dark.svg?fit=max\u0026auto=format\u0026n=S5fGLcshE9Aw3K0I\u0026q=85\u0026s=ab7cf5425f3216f7d2bc1a8e17151b49\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.bey.dev#website\",\"name\":\"Beyond Presence\",\"url\":\"https://docs.bey.dev\",\"publisher\":{\"@id\":\"https://docs.bey.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.bey.dev/api-reference/usage/retrieve-speech-to-video-session-usage#webpage\",\"url\":\"https://docs.bey.dev/api-reference/usage/retrieve-speech-to-video-session-usage\",\"name\":\"Retrieve Speech-to-Video Session Usage\",\"description\":\"Retrieve the usage of each speech-to-video session. Lists the sessions created in the range, in UTC days, that have started and ended. The figures are seconds as your plan counts them, and cover every workspace of your organization, so only an API key of the default workspace can read them. Agent conversations and text-to-video are not included. The days are UTC calendar days, so they do not line up with your billing period; Retrieve Usage gives the usage of your billing period. A range spans at most 366 days and 10,000 sessions; split a busier range into shorter ones.\",\"dateModified\":\"2026-11-05T15:50:31.548Z\",\"isPartOf\":{\"@id\":\"https://docs.bey.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.bey.dev/api-reference/usage/retrieve-speech-to-video-session-usage#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.bey.dev/api-reference/usage/retrieve-speech-to-video-session-usage#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Usage\",\"item\":\"https://docs.bey.dev/api-reference/usage/retrieve-usage\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Retrieve Speech-to-Video Session Usage\",\"item\":\"https://docs.bey.dev/api-reference/usage/retrieve-speech-to-video-session-usage\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.bey.dev/api-reference/usage/retrieve-speech-to-video-session-usage#apireference\",\"headline\":\"Retrieve Speech-to-Video Session Usage\",\"name\":\"Retrieve Speech-to-Video Session Usage\",\"description\":\"Retrieve the usage of each speech-to-video session. Lists the sessions created in the range, in UTC days, that have started and ended. The figures are seconds as your plan counts them, and cover every workspace of your organization, so only an API key of the default workspace can read them. Agent conversations and text-to-video are not included. The days are UTC calendar days, so they do not line up with your billing period; Retrieve Usage gives the usage of your billing period. A range spans at most 366 days and 10,000 sessions; split a busier range into shorter ones.\",\"url\":\"https://docs.bey.dev/api-reference/usage/retrieve-speech-to-video-session-usage\",\"mainEntityOfPage\":{\"@id\":\"https://docs.bey.dev/api-reference/usage/retrieve-speech-to-video-session-usage#webpage\"},\"dateModified\":\"2026-11-05T15:50:31.548Z\",\"publisher\":{\"@id\":\"https://docs.bey.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.bey.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Beyond Presence\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Beyond Presence","nav":{"global":{"anchors":[{"anchor":"Homepage \u0026 Demo","icon":"infinity","href":"https://beyondpresence.ai"},{"anchor":"Discord Community","icon":"discord","href":"https://bey.dev/community"}]},"tabs":[{"tab":"Docs","pages":[{"title":"Docs","href":"/get-started"}]},{"tab":"API Reference","groups":[{"group":"Avatars","pages":[{"title":"List Avatars","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/avatars","href":"/api-reference/avatars/list-avatars"},{"title":"Retrieve Avatar","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/avatars/{id}","href":"/api-reference/avatars/retrieve-avatar"}]},{"group":"Agents","pages":[{"title":"List Agents","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/agents","href":"/api-reference/agents/list-agents"},{"title":"Create Agent","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/agents","href":"/api-reference/agents/create-agent"},{"title":"Retrieve Agent","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/agents/{id}","href":"/api-reference/agents/retrieve-agent"},{"title":"Delete Agent","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/agents/{id}","href":"/api-reference/agents/delete-agent"},{"title":"Update Agent","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/agents/{id}","href":"/api-reference/agents/update-agent"}]},{"group":"Agent Conversations","pages":[{"title":"List Conversations","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/conversations","href":"/api-reference/agent-conversations/list-conversations"},{"title":"Retrieve Conversation","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/conversations/{id}","href":"/api-reference/agent-conversations/retrieve-conversation"},{"title":"List Conversation Messages","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/conversations/{id}/messages","href":"/api-reference/agent-conversations/list-conversation-messages"}]},{"group":"Agent Integration","pages":[{"title":"Create LiveKit Room","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/livekit-rooms","href":"/api-reference/agent-integration/create-livekit-room"}]},{"group":"Agent Knowledge Files","pages":[{"title":"List Knowledge Files","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/knowledge-files","href":"/api-reference/agent-knowledge-files/list-knowledge-files"},{"title":"Create Knowledge File","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/knowledge-files","href":"/api-reference/agent-knowledge-files/create-knowledge-file"},{"title":"Retrieve Knowledge File","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/knowledge-files/{id}","href":"/api-reference/agent-knowledge-files/retrieve-knowledge-file"},{"title":"Delete Knowledge File","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/knowledge-files/{id}","href":"/api-reference/agent-knowledge-files/delete-knowledge-file"},{"title":"Upload Knowledge File Chunk","deprecated":null,"version":null,"openapi":"/openapi.json put /v1/knowledge-files/{id}/upload","href":"/api-reference/agent-knowledge-files/upload-knowledge-file-chunk"},{"title":"Submit Knowledge File","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/knowledge-files/{id}/submit","href":"/api-reference/agent-knowledge-files/submit-knowledge-file"}]},{"group":"Agents External APIs","pages":[{"title":"List External API Configurations","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/external-apis","href":"/api-reference/agents-external-apis/list-external-api-configurations"},{"title":"Create External API Configuration","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/external-apis","href":"/api-reference/agents-external-apis/create-external-api-configuration"},{"title":"Retrieve External API Configuration","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/external-apis/{id}","href":"/api-reference/agents-external-apis/retrieve-external-api-configuration"},{"title":"Delete External API Configuration","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/external-apis/{id}","href":"/api-reference/agents-external-apis/delete-external-api-configuration"}]},{"group":"Authentication","pages":[{"title":"Verify API Key","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/auth/verify","href":"/api-reference/authentication/verify-api-key"}]},{"group":"Speech-to-Video Sessions","pages":[{"title":"List Speech-to-Video Sessions","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/sessions","href":"/api-reference/speech-to-video-sessions/list-speech-to-video-sessions"},{"title":"Create Speech-to-Video Session","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/sessions","href":"/api-reference/speech-to-video-sessions/create-speech-to-video-session"},{"title":"Retrieve Speech-to-Video Session","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/sessions/{id}","href":"/api-reference/speech-to-video-sessions/retrieve-speech-to-video-session"}]},{"group":"Usage","pages":[{"title":"Retrieve Usage","description":"Retrieve your organization's usage in the current billing period.\n\nAll figures are seconds as your plan counts them, and cover every workspace\nof your organization, so only an API key of the default workspace can read\nthem. Usage can take a few minutes to appear.","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/usage","href":"/api-reference/usage/retrieve-usage"},{"title":"Retrieve Speech-to-Video Session Usage","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/usage/sessions","href":"/api-reference/usage/retrieve-speech-to-video-session-usage"}]}]}]},"basePath":"","title":"Retrieve Speech-to-Video Session Usage - Beyond Presence","buildId":"dpl_BLQvU86QFwq3AhPofSTw6q8dGWKm","deploymentId":"dpl_BLQvU86QFwq3AhPofSTw6q8dGWKm","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-Myd8dsju.js","utils-C2HkQgW0.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-8rSppmTv.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-B6MjiCFm.js","snippetPresets-DwrSAONL.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-1-a5UQKQ.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C541m7wZ.js","shallow-CWELCZ77.js","getApiPlaygroundDisplay-CTo5Zn03.js","CodeSnippet-D--dzvnl.js","CodeSnippets-DM3cXEDh.js","Page-CxAy5y67.js","getPastedJson-C-VECgcL.js","icon-BPq2-Mg3.js","MethodPill-D9J5cUHd.js","DuplicateIcon-BqHaxUnD.js","createIcon-CIbcZHp9.js","DynamicMarkdown-BKiHAm_d.js","SectionHeading-DstQXt3H.js","axios-vUo_bRtp.js","Markdown-CpxgzsKA.js","clsx-C5EfhVm0.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CJ9Oly2E.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Mk6P3qvh.js"]}