{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Happenstance","description":"Happenstance API Documentation","colors":{"primary":"#16a34a","light":"#16a34a","dark":"#16a34a"},"logo":{"light":"https://mintcdn.com/happenstance/YSbudQ8_lua9CNAo/logo/happenstance.png?fit=max\u0026auto=format\u0026n=YSbudQ8_lua9CNAo\u0026q=85\u0026s=a2c2c708eb248e6bea6607330505d0f9","dark":"https://mintcdn.com/happenstance/YSbudQ8_lua9CNAo/logo/happenstance.png?fit=max\u0026auto=format\u0026n=YSbudQ8_lua9CNAo\u0026q=85\u0026s=a2c2c708eb248e6bea6607330505d0f9"},"favicon":"https://mintcdn.com/happenstance/YSbudQ8_lua9CNAo/favicon.ico?fit=max\u0026auto=format\u0026n=YSbudQ8_lua9CNAo\u0026q=85\u0026s=473cc44090dbce2ce1585f7bf108bc4b","api":{"playground":{"display":"interactive"},"examples":{"languages":["curl","python","javascript"]}},"background":{"color":{"dark":"#191a1a"}},"navbar":{"links":[{"href":"https://discord.gg/4YV5Sxd534","label":"Community"},{"href":"https://github.com/happenstance-ai/cookbook","label":"Cookbook"}],"primary":{"type":"button","label":"Home","href":"https://happenstance.ai"}},"errors":{"404":{"redirect":false,"title":"Not Found"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"happenstance","hasAudioNarration":false,"actualSubdomain":"happenstance","customDomains":["developer.happenstance.ai"],"gitSource":{"type":"github","owner":"happenstance-ai","repo":"developer-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6adb99c08b194079f4a33b08","collectionId":"0f7ec737-09d5-4e48-a55d-2c29b564802c","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6adb99c08b194079f4a33b08"},"entitlements":{},"buildId":"6adb99c08b194079f4a33b08","clientVersion":"0.0.3990","searchFilterCounts":[{"language":"default","tag":"Connect","count":26},{"language":"default","tag":"API","count":20},{"language":"default","tag":"API Reference","count":17}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"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":"editor-v7-file-tree","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":"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":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"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":"byok-sep-25","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":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/get-usage","slug":"/api-reference/get-usage","pageMetadata":{"title":"Get Usage","description":"Get credit balance, purchase history, usage history, and Auto Reload settings for the authenticated user.","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/usage","href":"/api-reference/get-usage","autogeneratedByOpenApi":true},"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: \"Get credit balance, purchase history, usage history, and Auto Reload settings for the authenticated user.\"\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":"Get Usage","description":"Get credit balance, purchase history, usage history, and Auto Reload settings for the authenticated user.","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/usage","href":"/api-reference/get-usage","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Get Usage","description":"Get credit balance, purchase history, usage history, and Auto Reload settings for the authenticated user.","operationId":"get_usage_v1_usage_get","responses":{"200":"3444e2c0-0de2-4e20-85b1-2fb3da7d4b77","400":"2d289fe3-cd5d-4258-bec9-cf627da115d7","401":"7bc7c9ea-cbda-40cf-854f-00342478aa7a","402":"348021d4-84c6-44db-a04f-c5ef71583818","403":"3d2660db-5aa6-47fb-9e9b-b030176a3524","404":"50df55d3-ba02-4ec9-9170-1938b9c7ab82","410":"52921f30-a9b9-42d0-a3d1-cffa6e47710c","422":"f59bc5af-490d-4ec7-9db2-4c983f83c09c","500":"e0efc044-67b0-4a34-9864-420dc8387e7c","503":"9be37dd9-fae8-403e-98b7-d7aa5b05a24b"},"security":["f3468282-ccec-45a5-a835-4b8482af8e25"],"method":"get","type":"path","servers":["3928d332-2975-4017-a644-c4e0c2212c48"],"path":"/v1/usage","baseUrlOptions":["https://api.happenstance.ai"],"title":"Get Usage","codeSamples":[],"requestExampleLanguages":["bash","python","javascript"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"responses":{"3444e2c0-0de2-4e20-85b1-2fb3da7d4b77":{"description":"Successful Response","headers":{"Link":{"description":"RFC 8288 Web Linking header for HATEOAS. Contains URIs to related resources.","schema":{"type":"string"},"example":"\u003c/v1/research/abc123>; rel=\"self\""}},"content":{"application/json":{"schema":{"properties":{"balance_credits":{"type":"number","title":"Balance Credits","description":"Current credit balance, to two decimal places (can be negative if credits consumed without sufficient balance)","isRequired":true,"uniqueKey":"balance_credits","typeLabel":"number"},"has_credits":{"type":"boolean","title":"Has Credits","description":"Whether the user has credits available (balance > 0)","isRequired":true,"uniqueKey":"has_credits","typeLabel":"boolean"},"purchases":{"items":{"properties":{"id":{"type":"string","title":"Id","description":"Unique identifier for the purchase","isRequired":true,"uniqueKey":"purchases.items.[INDEX].id","typeLabel":"string"},"credits":{"type":"integer","title":"Credits","description":"Number of credits purchased","isRequired":true,"uniqueKey":"purchases.items.[INDEX].credits","typeLabel":"integer"},"purchased_at":{"type":"string","title":"Purchased At","description":"When the purchase was made (ISO 8601 format)","isRequired":true,"uniqueKey":"purchases.items.[INDEX].purchased_at","typeLabel":"string"}},"additionalProperties":false,"type":"object","required":["id","credits","purchased_at"],"title":"ApiPurchaseV1","description":"A credit purchase record","uniqueKey":"purchases.items.[INDEX]","typeLabel":"ApiPurchaseV1 · object"},"type":"array","title":"Purchases","description":"List of credit purchases, most recent first","isRequired":true,"uniqueKey":"purchases","typeLabel":"ApiPurchaseV1 · object[]"},"usage":{"items":{"properties":{"id":{"type":"string","title":"Id","description":"Unique identifier for the usage","isRequired":true,"uniqueKey":"usage.items.[INDEX].id","typeLabel":"string"},"credit_used":{"type":"number","title":"Credit Used","description":"Credits consumed, to two decimal places","isRequired":true,"uniqueKey":"usage.items.[INDEX].credit_used","typeLabel":"number"},"created_at":{"type":"string","title":"Created At","description":"When the usage was recorded (ISO 8601 format)","isRequired":true,"uniqueKey":"usage.items.[INDEX].created_at","typeLabel":"string"},"resource_id":{"oneOf":[{"type":"string","title":"Resource Id","description":"ID of the resource that consumed the credits (search ID, research ID, or chat turn ID)","uniqueKey":"usage.items.[INDEX].resource_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Resource Id","description":"ID of the resource that consumed the credits (search ID, research ID, or chat turn ID)","uniqueKey":"usage.items.[INDEX].resource_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"usage.items.[INDEX].resource_id","typeLabel":"string | null"},"resource_type":{"oneOf":[{"type":"string","title":"Resource Type","description":"Type of resource: 'search', 'research' or 'chat_turn'","uniqueKey":"usage.items.[INDEX].resource_type.oneOf.0","typeLabel":"string"},{"type":"null","title":"Resource Type","description":"Type of resource: 'search', 'research' or 'chat_turn'","uniqueKey":"usage.items.[INDEX].resource_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"usage.items.[INDEX].resource_type","typeLabel":"string | null"}},"additionalProperties":false,"type":"object","required":["id","credit_used","created_at"],"title":"ApiUsageV1","description":"A credit usage record","uniqueKey":"usage.items.[INDEX]","typeLabel":"ApiUsageV1 · object"},"type":"array","title":"Usage","description":"List of credit usage records, most recent first. Limited to the 500 most recent records.","isRequired":true,"uniqueKey":"usage","typeLabel":"ApiUsageV1 · object[]"},"auto_reload":{"oneOf":[{"type":"object","title":"AutoReloadSettingsV1","description":"Auto Reload settings if configured","required":["enabled","threshold_credits","reload_credit_amount"],"properties":{"enabled":{"type":"boolean","title":"Enabled","description":"Whether Auto Reload is enabled","isRequired":true,"uniqueKey":"auto_reload.oneOf.0.enabled","typeLabel":"boolean"},"threshold_credits":{"type":"integer","title":"Threshold Credits","description":"Credits threshold that triggers Auto Reload","isRequired":true,"uniqueKey":"auto_reload.oneOf.0.threshold_credits","typeLabel":"integer"},"reload_credit_amount":{"type":"integer","title":"Reload Credit Amount","description":"Number of credits to purchase on Auto Reload","isRequired":true,"uniqueKey":"auto_reload.oneOf.0.reload_credit_amount","typeLabel":"integer"},"last_reload_at":{"oneOf":[{"type":"string","title":"Last Reload At","description":"Last Auto Reload timestamp (ISO 8601 format)","uniqueKey":"auto_reload.oneOf.0.last_reload_at.oneOf.0","typeLabel":"string"},{"type":"null","title":"Last Reload At","description":"Last Auto Reload timestamp (ISO 8601 format)","uniqueKey":"auto_reload.oneOf.0.last_reload_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"auto_reload.oneOf.0.last_reload_at","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"auto_reload.oneOf.0","typeLabel":"AutoReloadSettingsV1 · object"},{"type":"null","description":"Auto Reload settings if configured","uniqueKey":"auto_reload.oneOf.1","typeLabel":"null"}],"uniqueKey":"auto_reload","typeLabel":"AutoReloadSettingsV1 · object | null"},"top_up_url":{"type":"string","title":"Top Up Url","description":"URL to purchase more credits","default":"https://happenstance.ai/integrations/keys","uniqueKey":"top_up_url","typeLabel":"string"}},"additionalProperties":false,"type":"object","required":["balance_credits","has_credits","purchases","usage"],"title":"GetUsageResponseV1","description":"Response from GET /v1/usage - retrieving user's credit purchases and usage history.","uniqueKey":"","typeLabel":"GetUsageResponseV1 · object"},"examples":{"Example":{"title":"Example","value":{"balance_credits":123,"has_credits":true,"purchases":[{"id":"\u003cstring>","credits":123,"purchased_at":"\u003cstring>"}],"usage":[{"id":"\u003cstring>","credit_used":123,"created_at":"\u003cstring>","resource_id":"\u003cstring>","resource_type":"\u003cstring>"}],"auto_reload":{"enabled":true,"threshold_credits":123,"reload_credit_amount":123,"last_reload_at":"\u003cstring>"},"top_up_url":"https://happenstance.ai/integrations/keys"}}},"exampleType":"generated"}},"exampleType":"generated"},"2d289fe3-cd5d-4258-bec9-cf627da115d7":{"description":"Bad Request","content":{"application/json":{"schema":{"properties":{"title":{"type":"string","title":"Title","description":"A short, human-readable summary of the problem","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","title":"Status","description":"The HTTP status code","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"type":{"type":"string","title":"Type","description":"A URI reference that identifies the problem type","default":"https://developer.happenstance.ai/api-reference/introduction#error-response-format","uniqueKey":"type","typeLabel":"string"},"detail":{"oneOf":[{"type":"string","title":"Detail","description":"A human-readable explanation specific to this occurrence","uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"null","title":"Detail","description":"A human-readable explanation specific to this occurrence","uniqueKey":"detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"detail","typeLabel":"string | null"},"instance":{"oneOf":[{"type":"string","title":"Instance","description":"A URI reference that identifies the specific occurrence of the problem","uniqueKey":"instance.oneOf.0","typeLabel":"string"},{"type":"null","title":"Instance","description":"A URI reference that identifies the specific occurrence of the problem","uniqueKey":"instance.oneOf.1","typeLabel":"null"}],"uniqueKey":"instance","typeLabel":"string | null"}},"additionalProperties":false,"type":"object","required":["title","status"],"title":"ProblemDetailV1","description":"RFC 7807 Problem Details for HTTP APIs","uniqueKey":"","typeLabel":"ProblemDetailV1 · object"},"examples":{"Example":{"title":"Example","value":{"title":"\u003cstring>","status":123,"type":"https://developer.happenstance.ai/api-reference/introduction#error-response-format","detail":"\u003cstring>","instance":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"7bc7c9ea-cbda-40cf-854f-00342478aa7a":{"description":"Unauthorized","content":{"application/json":{"schema":{"properties":{"title":{"type":"string","title":"Title","description":"A short, human-readable summary of the problem","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","title":"Status","description":"The HTTP status code","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"type":{"type":"string","title":"Type","description":"A URI reference that identifies the problem type","default":"https://developer.happenstance.ai/api-reference/introduction#error-response-format","uniqueKey":"type","typeLabel":"string"},"detail":{"oneOf":[{"type":"string","title":"Detail","description":"A human-readable explanation specific to this occurrence","uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"null","title":"Detail","description":"A human-readable explanation specific to this occurrence","uniqueKey":"detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"detail","typeLabel":"string | null"},"instance":{"oneOf":[{"type":"string","title":"Instance","description":"A URI reference that identifies the specific occurrence of the problem","uniqueKey":"instance.oneOf.0","typeLabel":"string"},{"type":"null","title":"Instance","description":"A URI reference that identifies the specific occurrence of the problem","uniqueKey":"instance.oneOf.1","typeLabel":"null"}],"uniqueKey":"instance","typeLabel":"string | null"}},"additionalProperties":false,"type":"object","required":["title","status"],"title":"ProblemDetailV1","description":"RFC 7807 Problem Details for HTTP APIs","uniqueKey":"","typeLabel":"ProblemDetailV1 · object"},"examples":{"Example":{"title":"Example","value":{"title":"\u003cstring>","status":123,"type":"https://developer.happenstance.ai/api-reference/introduction#error-response-format","detail":"\u003cstring>","instance":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"348021d4-84c6-44db-a04f-c5ef71583818":{"description":"Payment Required","content":{"application/json":{"schema":{"properties":{"title":{"type":"string","title":"Title","description":"A short, human-readable summary of the problem","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","title":"Status","description":"The HTTP status code","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"type":{"type":"string","title":"Type","description":"A URI reference that identifies the problem type","default":"https://developer.happenstance.ai/api-reference/introduction#error-response-format","uniqueKey":"type","typeLabel":"string"},"detail":{"oneOf":[{"type":"string","title":"Detail","description":"A human-readable explanation specific to this occurrence","uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"null","title":"Detail","description":"A human-readable explanation specific to this occurrence","uniqueKey":"detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"detail","typeLabel":"string | null"},"instance":{"oneOf":[{"type":"string","title":"Instance","description":"A URI reference that identifies the specific occurrence of the problem","uniqueKey":"instance.oneOf.0","typeLabel":"string"},{"type":"null","title":"Instance","description":"A URI reference that identifies the specific occurrence of the problem","uniqueKey":"instance.oneOf.1","typeLabel":"null"}],"uniqueKey":"instance","typeLabel":"string | null"}},"additionalProperties":false,"type":"object","required":["title","status"],"title":"ProblemDetailV1","description":"RFC 7807 Problem Details for HTTP APIs","uniqueKey":"","typeLabel":"ProblemDetailV1 · object"},"examples":{"Example":{"title":"Example","value":{"title":"\u003cstring>","status":123,"type":"https://developer.happenstance.ai/api-reference/introduction#error-response-format","detail":"\u003cstring>","instance":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"3d2660db-5aa6-47fb-9e9b-b030176a3524":{"description":"Forbidden","content":{"application/json":{"schema":{"properties":{"title":{"type":"string","title":"Title","description":"A short, human-readable summary of the problem","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","title":"Status","description":"The HTTP status code","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"type":{"type":"string","title":"Type","description":"A URI reference that identifies the problem type","default":"https://developer.happenstance.ai/api-reference/introduction#error-response-format","uniqueKey":"type","typeLabel":"string"},"detail":{"oneOf":[{"type":"string","title":"Detail","description":"A human-readable explanation specific to this occurrence","uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"null","title":"Detail","description":"A human-readable explanation specific to this occurrence","uniqueKey":"detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"detail","typeLabel":"string | null"},"instance":{"oneOf":[{"type":"string","title":"Instance","description":"A URI reference that identifies the specific occurrence of the problem","uniqueKey":"instance.oneOf.0","typeLabel":"string"},{"type":"null","title":"Instance","description":"A URI reference that identifies the specific occurrence of the problem","uniqueKey":"instance.oneOf.1","typeLabel":"null"}],"uniqueKey":"instance","typeLabel":"string | null"}},"additionalProperties":false,"type":"object","required":["title","status"],"title":"ProblemDetailV1","description":"RFC 7807 Problem Details for HTTP APIs","uniqueKey":"","typeLabel":"ProblemDetailV1 · object"},"examples":{"Example":{"title":"Example","value":{"title":"\u003cstring>","status":123,"type":"https://developer.happenstance.ai/api-reference/introduction#error-response-format","detail":"\u003cstring>","instance":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"50df55d3-ba02-4ec9-9170-1938b9c7ab82":{"description":"Not Found","content":{"application/json":{"schema":{"properties":{"title":{"type":"string","title":"Title","description":"A short, human-readable summary of the problem","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","title":"Status","description":"The HTTP status code","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"type":{"type":"string","title":"Type","description":"A URI reference that identifies the problem type","default":"https://developer.happenstance.ai/api-reference/introduction#error-response-format","uniqueKey":"type","typeLabel":"string"},"detail":{"oneOf":[{"type":"string","title":"Detail","description":"A human-readable explanation specific to this occurrence","uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"null","title":"Detail","description":"A human-readable explanation specific to this occurrence","uniqueKey":"detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"detail","typeLabel":"string | null"},"instance":{"oneOf":[{"type":"string","title":"Instance","description":"A URI reference that identifies the specific occurrence of the problem","uniqueKey":"instance.oneOf.0","typeLabel":"string"},{"type":"null","title":"Instance","description":"A URI reference that identifies the specific occurrence of the problem","uniqueKey":"instance.oneOf.1","typeLabel":"null"}],"uniqueKey":"instance","typeLabel":"string | null"}},"additionalProperties":false,"type":"object","required":["title","status"],"title":"ProblemDetailV1","description":"RFC 7807 Problem Details for HTTP APIs","uniqueKey":"","typeLabel":"ProblemDetailV1 · object"},"examples":{"Example":{"title":"Example","value":{"title":"\u003cstring>","status":123,"type":"https://developer.happenstance.ai/api-reference/introduction#error-response-format","detail":"\u003cstring>","instance":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"52921f30-a9b9-42d0-a3d1-cffa6e47710c":{"description":"Gone","content":{"application/json":{"schema":{"properties":{"title":{"type":"string","title":"Title","description":"A short, human-readable summary of the problem","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","title":"Status","description":"The HTTP status code","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"type":{"type":"string","title":"Type","description":"A URI reference that identifies the problem type","default":"https://developer.happenstance.ai/api-reference/introduction#error-response-format","uniqueKey":"type","typeLabel":"string"},"detail":{"oneOf":[{"type":"string","title":"Detail","description":"A human-readable explanation specific to this occurrence","uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"null","title":"Detail","description":"A human-readable explanation specific to this occurrence","uniqueKey":"detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"detail","typeLabel":"string | null"},"instance":{"oneOf":[{"type":"string","title":"Instance","description":"A URI reference that identifies the specific occurrence of the problem","uniqueKey":"instance.oneOf.0","typeLabel":"string"},{"type":"null","title":"Instance","description":"A URI reference that identifies the specific occurrence of the problem","uniqueKey":"instance.oneOf.1","typeLabel":"null"}],"uniqueKey":"instance","typeLabel":"string | null"}},"additionalProperties":false,"type":"object","required":["title","status"],"title":"ProblemDetailV1","description":"RFC 7807 Problem Details for HTTP APIs","uniqueKey":"","typeLabel":"ProblemDetailV1 · object"},"examples":{"Example":{"title":"Example","value":{"title":"\u003cstring>","status":123,"type":"https://developer.happenstance.ai/api-reference/introduction#error-response-format","detail":"\u003cstring>","instance":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"f59bc5af-490d-4ec7-9db2-4c983f83c09c":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"title":{"type":"string","title":"Title","description":"A short, human-readable summary of the problem","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","title":"Status","description":"The HTTP status code","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"type":{"type":"string","title":"Type","description":"A URI reference that identifies the problem type","default":"https://developer.happenstance.ai/api-reference/introduction#error-response-format","uniqueKey":"type","typeLabel":"string"},"detail":{"oneOf":[{"type":"string","title":"Detail","description":"A human-readable explanation specific to this occurrence","uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"null","title":"Detail","description":"A human-readable explanation specific to this occurrence","uniqueKey":"detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"detail","typeLabel":"string | null"},"instance":{"oneOf":[{"type":"string","title":"Instance","description":"A URI reference that identifies the specific occurrence of the problem","uniqueKey":"instance.oneOf.0","typeLabel":"string"},{"type":"null","title":"Instance","description":"A URI reference that identifies the specific occurrence of the problem","uniqueKey":"instance.oneOf.1","typeLabel":"null"}],"uniqueKey":"instance","typeLabel":"string | null"}},"additionalProperties":false,"type":"object","required":["title","status"],"title":"ProblemDetailV1","description":"RFC 7807 Problem Details for HTTP APIs","uniqueKey":"","typeLabel":"ProblemDetailV1 · object"},"examples":{"Example":{"title":"Example","value":{"title":"\u003cstring>","status":123,"type":"https://developer.happenstance.ai/api-reference/introduction#error-response-format","detail":"\u003cstring>","instance":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"e0efc044-67b0-4a34-9864-420dc8387e7c":{"description":"Internal Server Error","content":{"application/json":{"schema":{"properties":{"title":{"type":"string","title":"Title","description":"A short, human-readable summary of the problem","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","title":"Status","description":"The HTTP status code","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"type":{"type":"string","title":"Type","description":"A URI reference that identifies the problem type","default":"https://developer.happenstance.ai/api-reference/introduction#error-response-format","uniqueKey":"type","typeLabel":"string"},"detail":{"oneOf":[{"type":"string","title":"Detail","description":"A human-readable explanation specific to this occurrence","uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"null","title":"Detail","description":"A human-readable explanation specific to this occurrence","uniqueKey":"detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"detail","typeLabel":"string | null"},"instance":{"oneOf":[{"type":"string","title":"Instance","description":"A URI reference that identifies the specific occurrence of the problem","uniqueKey":"instance.oneOf.0","typeLabel":"string"},{"type":"null","title":"Instance","description":"A URI reference that identifies the specific occurrence of the problem","uniqueKey":"instance.oneOf.1","typeLabel":"null"}],"uniqueKey":"instance","typeLabel":"string | null"}},"additionalProperties":false,"type":"object","required":["title","status"],"title":"ProblemDetailV1","description":"RFC 7807 Problem Details for HTTP APIs","uniqueKey":"","typeLabel":"ProblemDetailV1 · object"},"examples":{"Example":{"title":"Example","value":{"title":"\u003cstring>","status":123,"type":"https://developer.happenstance.ai/api-reference/introduction#error-response-format","detail":"\u003cstring>","instance":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"9be37dd9-fae8-403e-98b7-d7aa5b05a24b":{"description":"Service Unavailable","content":{"application/json":{"schema":{"properties":{"title":{"type":"string","title":"Title","description":"A short, human-readable summary of the problem","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","title":"Status","description":"The HTTP status code","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"type":{"type":"string","title":"Type","description":"A URI reference that identifies the problem type","default":"https://developer.happenstance.ai/api-reference/introduction#error-response-format","uniqueKey":"type","typeLabel":"string"},"detail":{"oneOf":[{"type":"string","title":"Detail","description":"A human-readable explanation specific to this occurrence","uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"null","title":"Detail","description":"A human-readable explanation specific to this occurrence","uniqueKey":"detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"detail","typeLabel":"string | null"},"instance":{"oneOf":[{"type":"string","title":"Instance","description":"A URI reference that identifies the specific occurrence of the problem","uniqueKey":"instance.oneOf.0","typeLabel":"string"},{"type":"null","title":"Instance","description":"A URI reference that identifies the specific occurrence of the problem","uniqueKey":"instance.oneOf.1","typeLabel":"null"}],"uniqueKey":"instance","typeLabel":"string | null"}},"additionalProperties":false,"type":"object","required":["title","status"],"title":"ProblemDetailV1","description":"RFC 7807 Problem Details for HTTP APIs","uniqueKey":"","typeLabel":"ProblemDetailV1 · object"},"examples":{"Example":{"title":"Example","value":{"title":"\u003cstring>","status":123,"type":"https://developer.happenstance.ai/api-reference/introduction#error-response-format","detail":"\u003cstring>","instance":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"f3468282-ccec-45a5-a835-4b8482af8e25":{"HTTPBearer":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"HTTPBearer"}}},"servers":{"3928d332-2975-4017-a644-c4e0c2212c48":{"url":"https://api.happenstance.ai","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"HTTPBearer"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"HTTPBearer","name":"Authorization"}],"title":"HTTPBearer"}]},"originalFileLocation":"openapi.json"},"subdomain":"happenstance","siteName":"Happenstance","title":"Get Usage - Happenstance","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-23T17:26:19.959Z","originalFileLocation":"api-reference/get-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=\"Get credit balance, purchase history, usage history, and Auto Reload settings for the authenticated user.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Happenstance\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/happenstance/lRTBz52T_gIZj_2l/_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/happenstance/lRTBz52T_gIZj_2l/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/happenstance/lRTBz52T_gIZj_2l/_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/happenstance/lRTBz52T_gIZj_2l/_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/happenstance/lRTBz52T_gIZj_2l/_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/happenstance/lRTBz52T_gIZj_2l/_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/happenstance/lRTBz52T_gIZj_2l/_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/happenstance/lRTBz52T_gIZj_2l/_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/happenstance/lRTBz52T_gIZj_2l/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get Usage - Happenstance\">\u003cmeta data-mint-head property=\"og:description\" content=\"Get credit balance, purchase history, usage history, and Auto Reload settings for the authenticated user.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Happenstance\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developer.happenstance.ai/api-reference/get-usage\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://happenstance.mintlify.app/_mintlify/api/og/v2?division=API+Reference\u0026amp;title=Get+Usage\u0026amp;description=Get+credit+balance%2C+purchase+history%2C+usage+history%2C+and+Auto+Reload+settings+for+the+authenticated+user.\u0026amp;theme=e9cbf0a039f894b97da272a2\u0026amp;signature=3f067f00bc9697af32927e6baa1bf34bd32a8d85a1155fb1731db379fb9b1cc7\">\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=\"Get Usage - Happenstance\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Get credit balance, purchase history, usage history, and Auto Reload settings for the authenticated user.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://happenstance.mintlify.app/_mintlify/api/og/v2?division=API+Reference\u0026amp;title=Get+Usage\u0026amp;description=Get+credit+balance%2C+purchase+history%2C+usage+history%2C+and+Auto+Reload+settings+for+the+authenticated+user.\u0026amp;theme=e9cbf0a039f894b97da272a2\u0026amp;signature=3f067f00bc9697af32927e6baa1bf34bd32a8d85a1155fb1731db379fb9b1cc7\">\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/happenstance/lRTBz52T_gIZj_2l/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Happenstance\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16a34a\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developer.happenstance.ai/api-reference/get-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/get-usage.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developer.happenstance.ai/#organization\",\"name\":\"Happenstance\",\"url\":\"https://developer.happenstance.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/happenstance/YSbudQ8_lua9CNAo/logo/happenstance.png?fit=max\u0026auto=format\u0026n=YSbudQ8_lua9CNAo\u0026q=85\u0026s=a2c2c708eb248e6bea6607330505d0f9\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developer.happenstance.ai#website\",\"name\":\"Happenstance\",\"url\":\"https://developer.happenstance.ai\",\"publisher\":{\"@id\":\"https://developer.happenstance.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developer.happenstance.ai/api-reference/get-usage#webpage\",\"url\":\"https://developer.happenstance.ai/api-reference/get-usage\",\"name\":\"Get Usage\",\"description\":\"Get credit balance, purchase history, usage history, and Auto Reload settings for the authenticated user.\",\"dateModified\":\"2026-10-23T17:26:19.959Z\",\"isPartOf\":{\"@id\":\"https://developer.happenstance.ai#website\"},\"breadcrumb\":{\"@id\":\"https://developer.happenstance.ai/api-reference/get-usage#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developer.happenstance.ai/api-reference/get-usage#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Connect\",\"item\":\"https://developer.happenstance.ai/mcp/chatgpt\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"API\",\"item\":\"https://developer.happenstance.ai/quickstart\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"API Reference\",\"item\":\"https://developer.happenstance.ai/api-reference/create-search\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Get Usage\",\"item\":\"https://developer.happenstance.ai/api-reference/get-usage\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://developer.happenstance.ai/api-reference/get-usage#apireference\",\"headline\":\"Get Usage\",\"name\":\"Get Usage\",\"description\":\"Get credit balance, purchase history, usage history, and Auto Reload settings for the authenticated user.\",\"url\":\"https://developer.happenstance.ai/api-reference/get-usage\",\"mainEntityOfPage\":{\"@id\":\"https://developer.happenstance.ai/api-reference/get-usage#webpage\"},\"dateModified\":\"2026-10-23T17:26:19.959Z\",\"publisher\":{\"@id\":\"https://developer.happenstance.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://developer.happenstance.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Happenstance\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Happenstance","nav":{"global":null,"groups":[{"group":"Connect","pages":[{"title":"ChatGPT","href":"/mcp/chatgpt"},{"title":"Claude","href":"/mcp/claude"},{"title":"Claude Code","href":"/mcp/claude-code"},{"title":"MCP","href":"/mcp/connect"},{"title":"CLI","href":"/cli/install"},{"title":"OpenClaw","href":"/mcp/openclaw"},{"group":"API","pages":[{"title":"Quickstart","href":"/quickstart"},{"title":"The Basics","href":"/api-reference/introduction"},{"title":"Changelog","href":"/changelog"},{"group":"API Reference","pages":[{"title":"Create Search","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/search","href":"/api-reference/create-search"},{"title":"Get Search","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/search/{search_id}","href":"/api-reference/get-search"},{"title":"Find More Search","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/search/{search_id}/find-more","href":"/api-reference/find-more-search"},{"title":"Create Research","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/research","href":"/api-reference/create-research"},{"title":"Get Research","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/research/{research_id}","href":"/api-reference/get-research"},{"title":"Get Current User Profile","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/users/me","href":"/api-reference/get-current-user-profile"},{"title":"Get Groups","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/groups","href":"/api-reference/get-groups"},{"title":"Get Group","description":"Get details of a specific group including its members.\n\nMember names can be used as @mentions in search queries to filter results\nto that person's connections (e.g., \"engineers @Jane Smith knows\").","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/groups/{group_id}","href":"/api-reference/get-group"},{"title":"Get Usage","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/usage","href":"/api-reference/get-usage"},{"title":"List Chats","description":"The user's chats, most recently active first: the ones started through the API, which\ntake messages, and the ones started in the Happenstance app, which can be read.","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/chat","href":"/api-reference/list-chats"},{"title":"Create Chat","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/chat","href":"/api-reference/create-chat"},{"title":"Get Chat","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/chat/{chat_id}","href":"/api-reference/get-chat"},{"title":"Send Chat Message","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/chat/{chat_id}/messages","href":"/api-reference/send-chat-message"},{"title":"Get Chat Turn","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/chat/{chat_id}/turns/{turn_id}","href":"/api-reference/get-chat-turn"},{"title":"Cancel Chat Turn","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/chat/{chat_id}/turns/{turn_id}/cancel","href":"/api-reference/cancel-chat-turn"},{"title":"Get Chat People","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/chat/{chat_id}/people","href":"/api-reference/get-chat-people"},{"title":"Get Chat Drafts","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/chat/{chat_id}/drafts","href":"/api-reference/get-chat-drafts"}]}]}]}]},"title":"Get Usage - Happenstance","buildId":"dpl_2oYXwqkEXirXBPk8wV1FtM5USFWi","deploymentId":"dpl_2oYXwqkEXirXBPk8wV1FtM5USFWi","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-WRhTSUDL.js","utils-ChMov4Kr.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-_REmC2bI.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Bp6nVRCu.js","snippetPresets-DZadmXoU.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CY2WdoTl.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-DwYG-Q4l.js","shallow-BXQIGwv4.js","getApiPlaygroundDisplay-CK5nK5B9.js","CodeSnippet-TH4a2aGW.js","CodeSnippets-DwsQiOFS.js","Page-R3M_BF4L.js","getPastedJson-DD7kUzi_.js","icon-holE3QoJ.js","MethodPill-DUW0T8us.js","DuplicateIcon-CI_p4be-.js","createIcon-BdbRvavb.js","DynamicMarkdown-DN96a4Ur.js","SectionHeading-SCu36A9d.js","axios-vUo_bRtp.js","Markdown-CCeGv-zI.js","clsx-BGBGWFTt.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-Cv_O2fky.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-2C5OB2eV.js"]}