{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"Commet","description":"Measure usage and charge customers with Commet","colors":{"primary":"#0a0a0a","light":"#f2f0eb","dark":"#0a0a0a"},"logo":{"light":"https://mintcdn.com/commet/8U6Rlq-CzHfw2UgS/logo/commet-light.svg?fit=max\u0026auto=format\u0026n=8U6Rlq-CzHfw2UgS\u0026q=85\u0026s=dd792ea3e388feb9ae184dd0b56d1e23","dark":"https://mintcdn.com/commet/8U6Rlq-CzHfw2UgS/logo/commet-dark.svg?fit=max\u0026auto=format\u0026n=8U6Rlq-CzHfw2UgS\u0026q=85\u0026s=841f49e903e571a2f08da9c49d35de8f","href":"https://commet.co/home"},"favicon":"https://mintcdn.com/commet/8U6Rlq-CzHfw2UgS/commet-favicon.svg?fit=max\u0026auto=format\u0026n=8U6Rlq-CzHfw2UgS\u0026q=85\u0026s=4101c50babb618282282fdc0e76b32a2","api":{"playground":{"display":"interactive"},"examples":{"defaults":"required","languages":["curl","typescript","python","go","java","php"],"prefill":true,"autogenerate":true},"mdx":{}},"background":{"color":{"light":"#f5f5f7","dark":"#0b0b0c"}},"navbar":{"primary":{"type":"button","label":"Dashboard","href":"https://commet.co/login"}},"footer":{"socials":{"github":"https://github.com/commet-labs","discord":"https://commet.co/discord","x":"https://x.com/trycommet"}},"seo":{"paths":[{"path":"api-reference/2026-07-31","metatags":{"robots":"noindex, follow"}},{"path":"api-reference/2026-07-24","metatags":{"robots":"noindex, follow"}},{"path":"api-reference/2026-07-11","metatags":{"robots":"noindex, follow"}},{"path":"api-reference/2026-06-23","metatags":{"robots":"noindex, follow"}},{"path":"api-reference/2026-06-10","metatags":{"robots":"noindex, follow"}},{"path":"api-reference/2026-06-07","metatags":{"robots":"noindex, follow"}},{"path":"api-reference/2026-05-25","metatags":{"robots":"noindex, follow"}},{"path":"api-reference/2026-05-18","metatags":{"robots":"noindex, follow"}},{"path":"api-reference/2026-05-12","metatags":{"robots":"noindex, follow"}},{"path":"api-reference/2026-05-01","metatags":{"robots":"noindex, follow"}},{"path":"webhooks/2026-07-31","metatags":{"robots":"noindex, follow"}},{"path":"webhooks/2026-07-24","metatags":{"robots":"noindex, follow"}},{"path":"webhooks/2026-07-11","metatags":{"robots":"noindex, follow"}},{"path":"webhooks/2026-06-23","metatags":{"robots":"noindex, follow"}},{"path":"webhooks/2026-06-10","metatags":{"robots":"noindex, follow"}},{"path":"webhooks/2026-06-07","metatags":{"robots":"noindex, follow"}},{"path":"webhooks/2026-05-25","metatags":{"robots":"noindex, follow"}},{"path":"webhooks/2026-05-18","metatags":{"robots":"noindex, follow"}},{"path":"webhooks/2026-05-12","metatags":{"robots":"noindex, follow"}},{"path":"webhooks/2026-05-01","metatags":{"robots":"noindex, follow"}},{"path":"es/api-reference/2026-07-31","metatags":{"robots":"noindex, follow"}},{"path":"es/api-reference/2026-07-24","metatags":{"robots":"noindex, follow"}},{"path":"es/api-reference/2026-07-11","metatags":{"robots":"noindex, follow"}},{"path":"es/api-reference/2026-06-23","metatags":{"robots":"noindex, follow"}},{"path":"es/api-reference/2026-06-10","metatags":{"robots":"noindex, follow"}},{"path":"es/api-reference/2026-06-07","metatags":{"robots":"noindex, follow"}},{"path":"es/api-reference/2026-05-25","metatags":{"robots":"noindex, follow"}},{"path":"es/api-reference/2026-05-18","metatags":{"robots":"noindex, follow"}},{"path":"es/api-reference/2026-05-12","metatags":{"robots":"noindex, follow"}},{"path":"es/api-reference/2026-05-01","metatags":{"robots":"noindex, follow"}},{"path":"es/webhooks/2026-07-31","metatags":{"robots":"noindex, follow"}},{"path":"es/webhooks/2026-07-24","metatags":{"robots":"noindex, follow"}},{"path":"es/webhooks/2026-07-11","metatags":{"robots":"noindex, follow"}},{"path":"es/webhooks/2026-06-23","metatags":{"robots":"noindex, follow"}},{"path":"es/webhooks/2026-06-10","metatags":{"robots":"noindex, follow"}},{"path":"es/webhooks/2026-06-07","metatags":{"robots":"noindex, follow"}},{"path":"es/webhooks/2026-05-25","metatags":{"robots":"noindex, follow"}},{"path":"es/webhooks/2026-05-18","metatags":{"robots":"noindex, follow"}},{"path":"es/webhooks/2026-05-12","metatags":{"robots":"noindex, follow"}},{"path":"es/webhooks/2026-05-01","metatags":{"robots":"noindex, follow"}}]},"fonts":{"heading":{"family":"Geist"},"body":{"family":"Geist"}},"icons":{"library":"lucide"},"errors":{"404":{"redirect":false}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode","download-spec"],"display":"header"},"thumbnails":{"fonts":{"family":"Geist"}},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"GitHub","icon":"github","href":"https://github.com/commet-labs"},{"anchor":"Discord","icon":"discord","href":"https://commet.co/discord"}]},"languages":[{"language":"en","default":true,"href":""},{"language":"es","href":"es"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"commet","hasAudioNarration":false,"actualSubdomain":"commet","customDomains":["commet.co"],"gitSource":{"type":"github","owner":"commet-labs","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6aeddeeb7d198cd05e552e1c","clientVersion":"0.0.4088","searchFilterCounts":[{"language":"en","tag":"API Reference","count":1318},{"language":"en","tag":"Endpoints","count":1318},{"language":"es","tag":"API Reference","count":1318},{"language":"es","tag":"Endpoints","count":1318},{"language":"en","tag":"Webhooks","count":730},{"language":"es","tag":"Webhooks","count":730},{"language":"en","tag":"Events","count":663},{"language":"es","tag":"Eventos","count":663},{"language":"en","tag":"Subscriptions","count":204},{"language":"es","tag":"Subscriptions","count":195},{"language":"en","tag":"Plans","count":184},{"language":"es","tag":"Plans","count":176},{"language":"en","tag":"Errors","count":109},{"language":"es","tag":"Errores","count":109},{"language":"en","tag":"Add-ons","count":88},{"language":"en","tag":"Plan Groups","count":88},{"language":"es","tag":"Add-ons","count":88},{"language":"es","tag":"Plan Groups","count":88},{"language":"en","tag":"Documentation","count":73},{"language":"es","tag":"Documentación","count":73}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"decker@commet.co"}},"basePath":"/docs","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":"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":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"custom.css","content":"[class*=\"rounded\"]:not(.rounded-full),button,input,select,textarea,[role=\"button\"],[role=\"dialog\"],[role=\"menu\"]{border-radius:0!important}#content-area code,.rounded-full:has(.chat-assistant-input){border-radius:0!important}.code-block-background{--rounded-xl: 0px}"}],"page":{"pagePath":"api-reference/2026-07-24/usage/track-usage","slug":"/api-reference/2026-07-24/usage/track-usage","pageMetadata":{"title":"Track usage event","description":"Track a usage event for a metered feature. Deducts from balance/credits if applicable.","deprecated":null,"version":null,"sidebarTitle":"Track usage","openapi":"/openapi/en/rest/2026-07-24.json post /usage/events","href":"/api-reference/2026-07-24/usage/track-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: \"Track a usage event for a metered feature. Deducts from balance/credits if applicable.\"\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{jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,..._provideComponents(),...props.components},{Note}=_components;if(!Note)_missingMdxReference(`Note`,true);return _jsxs(Note,{children:[`This reference describes API version `,_jsx(_components.code,{children:`2026-07-24`}),`. Send `,_jsx(_components.code,{children:`Commet-Version: 2026-07-24`}),` with your request.`]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Track usage event","description":"Track a usage event for a metered feature. Deducts from balance/credits if applicable.","deprecated":null,"version":null,"sidebarTitle":"Track usage","openapi":"/openapi/en/rest/2026-07-24.json post /usage/events","href":"/api-reference/2026-07-24/usage/track-usage","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"track-usage","summary":"Track usage event","tags":["Usage"],"x-commet-representation":"resource","responses":{"201":"e2a606af-b51b-42db-8034-c1874ded2085","400":"fa8169c3-b9c7-4613-a40b-1b1c04618cca","401":"3cc44447-c81f-4090-b4a6-59819e34edfe","402":"6af924d9-79b3-4054-ae33-439503283e0f","403":"108f0954-f8f4-4b15-a945-fa93edb1f673","404":"6c558868-a713-444d-9046-2ac5a2ba87ef","409":"12712388-f054-4b1f-8a34-dd1b24989648","422":"3b914509-d40a-4da1-b2fa-9241a8896eda","429":"d052732d-d276-4f09-ac4b-71be0366080d","500":"46e05a9f-7339-43c8-95e1-81e5ebe91bf0","503":"e3a65561-a814-4b29-a13f-71f0645756d2"},"description":"Track a usage event for a metered feature. Deducts from balance/credits if applicable.","parameters":["a224fdbc-9c2d-41c4-bf1b-56b2f7e346c8","47aae04c-2eba-4383-a01e-0044edbde5ff"],"requestBody":"6bf7c03e-cb59-4113-a28f-c87213fdce3a","x-mint":{"href":"/api-reference/2026-07-24/usage/track-usage","content":"\u003cNote>This reference describes API version `2026-07-24`. Send `Commet-Version: 2026-07-24` with your request.\u003c/Note>"},"method":"post","type":"path","servers":["27498e34-9be7-4ae7-ac28-2d525bc61585"],"security":["b207326e-6ae4-43b8-8f30-3ac2800e1dcf"],"path":"/usage/events","baseUrlOptions":["https://commet.co/api/v1"],"title":"Track usage event","codeSamples":[],"requestExampleLanguages":["bash","typescript","python","go","java","php"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.oneOf.0.featureCode":"\u003cstring>","body.oneOf.0.customerId":"\u003cstring>","body.oneOf.0.model":"\u003cstring>","body.oneOf.0.inputTokens":4503599627370495,"body.oneOf.0.outputTokens":4503599627370495,"body.oneOf.0.eventId":"\u003cstring>","body.oneOf.0.timestamp":"2023-11-07T05:31:56Z","body.oneOf.0.cacheReadTokens":4503599627370495,"body.oneOf.0.cacheWriteTokens":4503599627370495}]},"dependencies":{"parameters":{"a224fdbc-9c2d-41c4-bf1b-56b2f7e346c8":{"name":"Idempotency-Key","in":"header","required":false,"description":"Unique key used to safely retry this write for 24 hours without applying it twice.","schema":{"type":"string","minLength":1,"maxLength":200,"isRequired":false,"description":"Unique key used to safely retry this write for 24 hours without applying it twice.","uniqueKey":"","typeLabel":"string"}},"47aae04c-2eba-4383-a01e-0044edbde5ff":{"name":"Commet-Version","in":"header","required":false,"description":"API version used by this reference. Send this header to select this contract explicitly.","schema":{"type":"string","default":"2026-07-24","isRequired":false,"description":"API version used by this reference. Send this header to select this contract explicitly.","uniqueKey":"","typeLabel":"string"},"example":"2026-07-24"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["featureCode","customerId","model","inputTokens","outputTokens"],"properties":{"featureCode":{"type":"string","minLength":1,"maxLength":50,"pattern":"^[a-z0-9_]+$","isRequired":true,"uniqueKey":"oneOf.0.featureCode","typeLabel":"string"},"customerId":{"type":"string","minLength":1,"maxLength":200,"isRequired":true,"uniqueKey":"oneOf.0.customerId","typeLabel":"string"},"model":{"type":"string","minLength":1,"maxLength":200,"isRequired":true,"uniqueKey":"oneOf.0.model","typeLabel":"string"},"inputTokens":{"type":"integer","minimum":0,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"oneOf.0.inputTokens","typeLabel":"integer"},"outputTokens":{"type":"integer","minimum":0,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"oneOf.0.outputTokens","typeLabel":"integer"},"eventId":{"type":"string","minLength":1,"maxLength":200,"uniqueKey":"oneOf.0.eventId","typeLabel":"string"},"timestamp":{"type":"string","format":"date-time","uniqueKey":"oneOf.0.timestamp","typeLabel":"string\u003cdate-time>"},"properties":{"default":[],"type":"array","items":{"type":"object","properties":{"property":{"type":"string","minLength":1,"maxLength":100,"isRequired":true,"uniqueKey":"oneOf.0.properties.items.[INDEX].property","typeLabel":"string"},"value":{"type":"string","minLength":1,"maxLength":1000,"isRequired":true,"uniqueKey":"oneOf.0.properties.items.[INDEX].value","typeLabel":"string"}},"required":["property","value"],"uniqueKey":"oneOf.0.properties.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.0.properties","typeLabel":"object[]"},"value":{"oneOf":[{"not":{}}],"uniqueKey":"oneOf.0.value","typeLabel":"any"},"cacheReadTokens":{"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"oneOf.0.cacheReadTokens","typeLabel":"integer"},"cacheWriteTokens":{"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"oneOf.0.cacheWriteTokens","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","required":["featureCode","customerId"],"properties":{"featureCode":{"type":"string","minLength":1,"maxLength":50,"pattern":"^[a-z0-9_]+$","isRequired":true,"uniqueKey":"oneOf.1.featureCode","typeLabel":"string"},"customerId":{"type":"string","minLength":1,"maxLength":200,"isRequired":true,"uniqueKey":"oneOf.1.customerId","typeLabel":"string"},"eventId":{"type":"string","minLength":1,"maxLength":200,"uniqueKey":"oneOf.1.eventId","typeLabel":"string"},"timestamp":{"type":"string","format":"date-time","uniqueKey":"oneOf.1.timestamp","typeLabel":"string\u003cdate-time>"},"properties":{"default":[],"type":"array","items":{"type":"object","properties":{"property":{"type":"string","minLength":1,"maxLength":100,"isRequired":true,"uniqueKey":"oneOf.1.properties.items.[INDEX].property","typeLabel":"string"},"value":{"type":"string","minLength":1,"maxLength":1000,"isRequired":true,"uniqueKey":"oneOf.1.properties.items.[INDEX].value","typeLabel":"string"}},"required":["property","value"],"uniqueKey":"oneOf.1.properties.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.1.properties","typeLabel":"object[]"},"value":{"default":1,"type":"number","minimum":0,"uniqueKey":"oneOf.1.value","typeLabel":"number"},"model":{"oneOf":[{"not":{}}],"uniqueKey":"oneOf.1.model","typeLabel":"any"},"inputTokens":{"oneOf":[{"not":{}}],"uniqueKey":"oneOf.1.inputTokens","typeLabel":"any"},"outputTokens":{"oneOf":[{"not":{}}],"uniqueKey":"oneOf.1.outputTokens","typeLabel":"any"},"cacheReadTokens":{"oneOf":[{"not":{}}],"uniqueKey":"oneOf.1.cacheReadTokens","typeLabel":"any"},"cacheWriteTokens":{"oneOf":[{"not":{}}],"uniqueKey":"oneOf.1.cacheWriteTokens","typeLabel":"any"}},"additionalProperties":false,"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"featureCode":"\u003cstring>","customerId":"\u003cstring>","model":"\u003cstring>","inputTokens":4503599627370495,"outputTokens":4503599627370495,"eventId":"\u003cstring>","timestamp":"2023-11-07T05:31:56Z","properties":[],"value":"\u003cunknown>","cacheReadTokens":4503599627370495,"cacheWriteTokens":4503599627370495}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"e2a606af-b51b-42db-8034-c1874ded2085":{"description":"Success","headers":{"X-Request-Id":{"description":"Server-generated identifier that correlates this response with Platform logs.","schema":{"type":"string","format":"uuid"}},"RateLimit-Limit":{"description":"Maximum number of requests allowed in the current window.","schema":{"type":"string"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"featureCode":{"type":"string","isRequired":true,"uniqueKey":"featureCode","typeLabel":"string"},"value":{"type":"number","isRequired":true,"uniqueKey":"value","typeLabel":"number"},"customerId":{"type":"string","isRequired":true,"uniqueKey":"customerId","typeLabel":"string"},"eventId":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"eventId.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"eventId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"eventId","typeLabel":"string | null"},"ts":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"ts","typeLabel":"string\u003cdate-time>"},"createdAt":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"createdAt","typeLabel":"string\u003cdate-time>"},"properties":{"type":"array","items":{"type":"object","properties":{"property":{"type":"string","isRequired":true,"uniqueKey":"properties.items.[INDEX].property","typeLabel":"string"},"value":{"type":"string","isRequired":true,"uniqueKey":"properties.items.[INDEX].value","typeLabel":"string"}},"required":["property","value"],"additionalProperties":false,"uniqueKey":"properties.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"properties","typeLabel":"object[]"},"object":{"type":"string","const":"usage_event","isRequired":true,"uniqueKey":"object","typeLabel":"string"},"livemode":{"type":"boolean","isRequired":true,"uniqueKey":"livemode","typeLabel":"boolean"},"consumption":{"type":"object","properties":{"model":{"type":"string","enum":["credits","balance"],"isRequired":true,"uniqueKey":"consumption.model","typeLabel":"enum\u003cstring>"},"deducted":{"type":"number","isRequired":true,"uniqueKey":"consumption.deducted","typeLabel":"number"},"remaining":{"type":"number","isRequired":true,"uniqueKey":"consumption.remaining","typeLabel":"number"},"blocked":{"type":"boolean","isRequired":true,"uniqueKey":"consumption.blocked","typeLabel":"boolean"},"planCreditLimit":{"oneOf":[{"type":"object","description":"Credits consumption only, omitted for balance. The plan credit limit after this event; null when the plan has no limit.","required":["credits","interval","spent","remaining","resetsAt"],"properties":{"credits":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"The most plan credits the subscription spends per window.","isRequired":true,"uniqueKey":"consumption.planCreditLimit.oneOf.0.credits","typeLabel":"integer"},"interval":{"type":"string","enum":["day","week"],"description":"The window length: 24 hours for `day`, 7 days for `week`.","isRequired":true,"uniqueKey":"consumption.planCreditLimit.oneOf.0.interval","typeLabel":"enum\u003cstring>"},"spent":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Plan credits spent in the current window.","isRequired":true,"uniqueKey":"consumption.planCreditLimit.oneOf.0.spent","typeLabel":"integer"},"remaining":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Plan credits the subscription can still spend in the current window. Purchased credits are not limited.","isRequired":true,"uniqueKey":"consumption.planCreditLimit.oneOf.0.remaining","typeLabel":"integer"},"resetsAt":{"type":"string","format":"date-time","description":"When the next window starts and spending resets.","isRequired":true,"uniqueKey":"consumption.planCreditLimit.oneOf.0.resetsAt","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"uniqueKey":"consumption.planCreditLimit.oneOf.0","typeLabel":"object"},{"type":"null","description":"Credits consumption only, omitted for balance. The plan credit limit after this event; null when the plan has no limit.","uniqueKey":"consumption.planCreditLimit.oneOf.1","typeLabel":"null"}],"uniqueKey":"consumption.planCreditLimit","typeLabel":"object | null"},"planBalanceLimit":{"oneOf":[{"type":"object","description":"Balance consumption on a plan with a plan balance limit: the limit after this event. Omitted for credits and for plans without a limit.","required":["amount","interval","spent","remaining","resetsAt"],"properties":{"amount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"The most plan balance the subscription spends per window, in rate scale (10000 = 1.00 of the subscription currency).","isRequired":true,"uniqueKey":"consumption.planBalanceLimit.oneOf.0.amount","typeLabel":"integer"},"interval":{"type":"string","enum":["day","week"],"description":"The window length: 24 hours for `day`, 7 days for `week`.","isRequired":true,"uniqueKey":"consumption.planBalanceLimit.oneOf.0.interval","typeLabel":"enum\u003cstring>"},"spent":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Plan balance spent in the current window, in rate scale.","isRequired":true,"uniqueKey":"consumption.planBalanceLimit.oneOf.0.spent","typeLabel":"integer"},"remaining":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Plan balance the subscription can still spend in the current window, in rate scale. Purchased balance is not limited.","isRequired":true,"uniqueKey":"consumption.planBalanceLimit.oneOf.0.remaining","typeLabel":"integer"},"resetsAt":{"type":"string","format":"date-time","description":"When the next window starts and spending resets.","isRequired":true,"uniqueKey":"consumption.planBalanceLimit.oneOf.0.resetsAt","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"uniqueKey":"consumption.planBalanceLimit.oneOf.0","typeLabel":"object"},{"type":"null","description":"Balance consumption on a plan with a plan balance limit: the limit after this event. Omitted for credits and for plans without a limit.","uniqueKey":"consumption.planBalanceLimit.oneOf.1","typeLabel":"null"}],"uniqueKey":"consumption.planBalanceLimit","typeLabel":"object | null"}},"required":["model","deducted","remaining","blocked"],"additionalProperties":false,"uniqueKey":"consumption","typeLabel":"object"}},"required":["id","featureCode","value","customerId","eventId","ts","createdAt","properties","object","livemode"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"\u003cstring>","featureCode":"\u003cstring>","value":123,"customerId":"\u003cstring>","eventId":"\u003cstring>","ts":"2023-11-07T05:31:56Z","createdAt":"2023-11-07T05:31:56Z","properties":[{"property":"\u003cstring>","value":"\u003cstring>"}],"object":"usage_event","livemode":true,"consumption":{"model":"credits","deducted":123,"remaining":123,"blocked":true,"planCreditLimit":{"credits":0,"interval":"day","spent":0,"remaining":0,"resetsAt":"2023-11-07T05:31:56Z"},"planBalanceLimit":{"amount":0,"interval":"day","spent":0,"remaining":0,"resetsAt":"2023-11-07T05:31:56Z"}}}}},"exampleType":"generated"}},"exampleType":"generated"},"fa8169c3-b9c7-4613-a40b-1b1c04618cca":{"description":"Bad request","headers":{"X-Request-Id":{"description":"Server-generated identifier that correlates this response with Platform logs.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"type":{"type":"string","isRequired":true,"uniqueKey":"error.type","typeLabel":"string"},"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"details":{"oneOf":[{}],"uniqueKey":"error.details","typeLabel":"any"}},"required":["type","code","message","doc_url"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"\u003cstring>","code":"\u003cstring>","message":"\u003cstring>","doc_url":"\u003cstring>","param":"\u003cstring>","details":"\u003cunknown>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"3cc44447-c81f-4090-b4a6-59819e34edfe":{"description":"Unauthorized","headers":{"X-Request-Id":{"description":"Server-generated identifier that correlates this response with Platform logs.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"type":{"type":"string","isRequired":true,"uniqueKey":"error.type","typeLabel":"string"},"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"details":{"oneOf":[{}],"uniqueKey":"error.details","typeLabel":"any"}},"required":["type","code","message","doc_url"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"\u003cstring>","code":"\u003cstring>","message":"\u003cstring>","doc_url":"\u003cstring>","param":"\u003cstring>","details":"\u003cunknown>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"6af924d9-79b3-4054-ae33-439503283e0f":{"description":"Payment required","headers":{"X-Request-Id":{"description":"Server-generated identifier that correlates this response with Platform logs.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"type":{"type":"string","isRequired":true,"uniqueKey":"error.type","typeLabel":"string"},"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"details":{"oneOf":[{}],"uniqueKey":"error.details","typeLabel":"any"}},"required":["type","code","message","doc_url"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"\u003cstring>","code":"\u003cstring>","message":"\u003cstring>","doc_url":"\u003cstring>","param":"\u003cstring>","details":"\u003cunknown>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"108f0954-f8f4-4b15-a945-fa93edb1f673":{"description":"Forbidden","headers":{"X-Request-Id":{"description":"Server-generated identifier that correlates this response with Platform logs.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"type":{"type":"string","isRequired":true,"uniqueKey":"error.type","typeLabel":"string"},"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"details":{"oneOf":[{}],"uniqueKey":"error.details","typeLabel":"any"}},"required":["type","code","message","doc_url"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"\u003cstring>","code":"\u003cstring>","message":"\u003cstring>","doc_url":"\u003cstring>","param":"\u003cstring>","details":"\u003cunknown>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"6c558868-a713-444d-9046-2ac5a2ba87ef":{"description":"Not found","headers":{"X-Request-Id":{"description":"Server-generated identifier that correlates this response with Platform logs.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"type":{"type":"string","isRequired":true,"uniqueKey":"error.type","typeLabel":"string"},"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"details":{"oneOf":[{}],"uniqueKey":"error.details","typeLabel":"any"}},"required":["type","code","message","doc_url"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"\u003cstring>","code":"\u003cstring>","message":"\u003cstring>","doc_url":"\u003cstring>","param":"\u003cstring>","details":"\u003cunknown>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"12712388-f054-4b1f-8a34-dd1b24989648":{"description":"Conflict","headers":{"X-Request-Id":{"description":"Server-generated identifier that correlates this response with Platform logs.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"type":{"type":"string","isRequired":true,"uniqueKey":"error.type","typeLabel":"string"},"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"details":{"oneOf":[{}],"uniqueKey":"error.details","typeLabel":"any"}},"required":["type","code","message","doc_url"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"\u003cstring>","code":"\u003cstring>","message":"\u003cstring>","doc_url":"\u003cstring>","param":"\u003cstring>","details":"\u003cunknown>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"3b914509-d40a-4da1-b2fa-9241a8896eda":{"description":"Unprocessable entity","headers":{"X-Request-Id":{"description":"Server-generated identifier that correlates this response with Platform logs.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"type":{"type":"string","isRequired":true,"uniqueKey":"error.type","typeLabel":"string"},"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"details":{"oneOf":[{}],"uniqueKey":"error.details","typeLabel":"any"}},"required":["type","code","message","doc_url"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"\u003cstring>","code":"\u003cstring>","message":"\u003cstring>","doc_url":"\u003cstring>","param":"\u003cstring>","details":"\u003cunknown>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"d052732d-d276-4f09-ac4b-71be0366080d":{"description":"Too many requests","headers":{"X-Request-Id":{"description":"Server-generated identifier that correlates this response with Platform logs.","schema":{"type":"string","format":"uuid"}},"RateLimit-Limit":{"description":"Maximum number of requests allowed in the current window.","schema":{"type":"string"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"type":"string"}},"RateLimit-Reset":{"description":"Seconds until the rate limit window resets.","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying the request.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"type":{"type":"string","isRequired":true,"uniqueKey":"error.type","typeLabel":"string"},"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"details":{"oneOf":[{}],"uniqueKey":"error.details","typeLabel":"any"}},"required":["type","code","message","doc_url"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"\u003cstring>","code":"\u003cstring>","message":"\u003cstring>","doc_url":"\u003cstring>","param":"\u003cstring>","details":"\u003cunknown>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"46e05a9f-7339-43c8-95e1-81e5ebe91bf0":{"description":"Internal server error","headers":{"X-Request-Id":{"description":"Server-generated identifier that correlates this response with Platform logs.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"type":{"type":"string","isRequired":true,"uniqueKey":"error.type","typeLabel":"string"},"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"details":{"oneOf":[{}],"uniqueKey":"error.details","typeLabel":"any"}},"required":["type","code","message","doc_url"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"\u003cstring>","code":"\u003cstring>","message":"\u003cstring>","doc_url":"\u003cstring>","param":"\u003cstring>","details":"\u003cunknown>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"e3a65561-a814-4b29-a13f-71f0645756d2":{"description":"Service unavailable","headers":{"X-Request-Id":{"description":"Server-generated identifier that correlates this response with Platform logs.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"type":{"type":"string","isRequired":true,"uniqueKey":"error.type","typeLabel":"string"},"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"details":{"oneOf":[{}],"uniqueKey":"error.details","typeLabel":"any"}},"required":["type","code","message","doc_url"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"\u003cstring>","code":"\u003cstring>","message":"\u003cstring>","doc_url":"\u003cstring>","param":"\u003cstring>","details":"\u003cunknown>"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"b207326e-6ae4-43b8-8f30-3ac2800e1dcf":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","scopes":[],"schemeName":"ApiKeyAuth"}}},"servers":{"27498e34-9be7-4ae7-ac28-2d525bc61585":{"url":"https://commet.co/api/v1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"x-api-key","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"x-api-key"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"openapi/en/rest/2026-07-24.json"},"subdomain":"commet","siteName":"Commet","title":"Track usage event - Commet","navMaps":{"firstHrefInVersion":{"2026-08-27":{"href":"/api-reference/add-ons/list-active-addons","matchLevel":2},"2026-07-31":{"href":"/api-reference/2026-07-31/usage/track-usage","matchLevel":1},"2026-07-24":{"href":"/api-reference/2026-07-24/usage/track-usage","matchLevel":0},"2026-07-11":{"href":"/api-reference/2026-07-11/add-ons/list-active-addons","matchLevel":2},"2026-06-23":{"href":"/api-reference/2026-06-23/add-ons/list-active-addons","matchLevel":2},"2026-06-10":{"href":"/api-reference/2026-06-10/add-ons/list-active-addons","matchLevel":2},"2026-06-07":{"href":"/api-reference/2026-06-07/add-ons/get-addon","matchLevel":2},"2026-05-25":{"href":"/api-reference/2026-05-25/add-ons/get-addon","matchLevel":2},"2026-05-18":{"href":"/api-reference/2026-05-18/add-ons/get-addon","matchLevel":2},"2026-05-12":{"href":"/api-reference/2026-05-12/add-ons/get-addon","matchLevel":2},"2026-05-01":{"href":"/api-reference/2026-05-01/add-ons/get-addon","matchLevel":2}},"firstHrefInLanguage":{"en":{"href":"/api-reference/2026-07-24/usage/track-usage","matchLevel":0},"es":{"href":"/es/api-reference/2026-07-24/usage/track-usage","matchLevel":1}}},"lastModified":"2026-11-05T20:04:17.007Z","originalFileLocation":"api-reference/2026-07-24/usage/track-usage.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Track a usage event for a metered feature. Deducts from balance/credits if applicable.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Commet\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"noindex, follow\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/commet/-T6wn8zM3emjmfTG/_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=\"/docs/mintlify-assets/_mintlify/favicons/commet/-T6wn8zM3emjmfTG/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/commet/-T6wn8zM3emjmfTG/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/commet/-T6wn8zM3emjmfTG/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/commet/-T6wn8zM3emjmfTG/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/commet/-T6wn8zM3emjmfTG/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/commet/-T6wn8zM3emjmfTG/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/commet/-T6wn8zM3emjmfTG/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/commet/-T6wn8zM3emjmfTG/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Track usage event - Commet\">\u003cmeta data-mint-head property=\"og:description\" content=\"Track a usage event for a metered feature. Deducts from balance/credits if applicable.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Commet\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://commet.co/docs/api-reference/2026-07-24/usage/track-usage\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://commet.mintlify.site/docs/_mintlify/api/og/v2?division=Usage\u0026amp;title=Track+usage+event\u0026amp;description=Track+a+usage+event+for+a+metered+feature.+Deducts+from+balance%2Fcredits+if+applicable.\u0026amp;theme=70469babaefbd7c4278ae846\u0026amp;signature=d8da0618c3aac556e2ca098f7d785b1f12c8b8e529d3ba9e38290d4b727bbd4c\">\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=\"Track usage event - Commet\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Track a usage event for a metered feature. Deducts from balance/credits if applicable.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://commet.mintlify.site/docs/_mintlify/api/og/v2?division=Usage\u0026amp;title=Track+usage+event\u0026amp;description=Track+a+usage+event+for+a+metered+feature.+Deducts+from+balance%2Fcredits+if+applicable.\u0026amp;theme=70469babaefbd7c4278ae846\u0026amp;signature=d8da0618c3aac556e2ca098f7d785b1f12c8b8e529d3ba9e38290d4b727bbd4c\">\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=\"/docs/mintlify-assets/_mintlify/favicons/commet/-T6wn8zM3emjmfTG/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Commet\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0a0a0a\">\u003clink data-mint-head rel=\"canonical\" href=\"https://commet.co/docs/api-reference/2026-07-24/usage/track-usage\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/2026-07-24/usage/track-usage.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://commet.co/#organization\",\"name\":\"Commet\",\"url\":\"https://commet.co\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/commet/8U6Rlq-CzHfw2UgS/logo/commet-light.svg?fit=max\u0026auto=format\u0026n=8U6Rlq-CzHfw2UgS\u0026q=85\u0026s=dd792ea3e388feb9ae184dd0b56d1e23\"}},{\"@type\":\"WebSite\",\"@id\":\"https://commet.co/docs#website\",\"name\":\"Commet\",\"url\":\"https://commet.co/docs\",\"publisher\":{\"@id\":\"https://commet.co/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://commet.co/docs/api-reference/2026-07-24/usage/track-usage#webpage\",\"url\":\"https://commet.co/docs/api-reference/2026-07-24/usage/track-usage\",\"name\":\"Track usage event\",\"description\":\"Track a usage event for a metered feature. Deducts from balance/credits if applicable.\",\"dateModified\":\"2026-11-05T20:04:17.007Z\",\"isPartOf\":{\"@id\":\"https://commet.co/docs#website\"},\"breadcrumb\":{\"@id\":\"https://commet.co/docs/api-reference/2026-07-24/usage/track-usage#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://commet.co/docs/api-reference/2026-07-24/usage/track-usage#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://commet.co/docs/api-reference/2026-07-24/add-ons/list-active-addons\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Usage\",\"item\":\"https://commet.co/docs/api-reference/2026-07-24/usage/check-usage-availability\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Track usage event\",\"item\":\"https://commet.co/docs/api-reference/2026-07-24/usage/track-usage\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://commet.co/docs/api-reference/2026-07-24/usage/track-usage#apireference\",\"headline\":\"Track usage event\",\"name\":\"Track usage event\",\"description\":\"Track a usage event for a metered feature. Deducts from balance/credits if applicable.\",\"url\":\"https://commet.co/docs/api-reference/2026-07-24/usage/track-usage\",\"mainEntityOfPage\":{\"@id\":\"https://commet.co/docs/api-reference/2026-07-24/usage/track-usage#webpage\"},\"dateModified\":\"2026-11-05T20:04:17.007Z\",\"publisher\":{\"@id\":\"https://commet.co/#organization\"},\"isPartOf\":{\"@id\":\"https://commet.co/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Commet\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Commet","nav":{"global":{"anchors":[{"anchor":"GitHub","icon":"github","href":"https://github.com/commet-labs"},{"anchor":"Discord","icon":"discord","href":"https://commet.co/discord"}]},"languages":[{"language":"en","default":true,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"Knowledge Base","pages":[{"title":"Knowledge Base","href":"/how-does-billing-work"}]},{"tab":"Build with AI","pages":[{"title":"Build with AI","href":"/ai-onboarding"}]},{"tab":"API Reference","versions":[{"version":"2026-08-27","default":true,"tag":"Latest","pages":[{"title":"2026-08-27","href":"/api-reference/add-ons/list-active-addons"}]},{"version":"2026-07-31","pages":[{"title":"2026-07-31","href":"/api-reference/2026-07-31/usage/track-usage"}]},{"version":"2026-07-24","groups":[{"group":"Endpoints","pages":[{"group":"Add-ons","pages":[{"title":"List active add-ons","deprecated":null,"version":null,"sidebarTitle":"List active addons","openapi":"/openapi/en/rest/2026-07-24.json get /active-addons","href":"/api-reference/2026-07-24/add-ons/list-active-addons"},{"title":"Get add-on","deprecated":null,"version":null,"sidebarTitle":"Get addon","openapi":"/openapi/en/rest/2026-07-24.json get /addons/{id}","href":"/api-reference/2026-07-24/add-ons/get-addon"},{"title":"Delete add-on","deprecated":null,"version":null,"sidebarTitle":"Delete addon","openapi":"/openapi/en/rest/2026-07-24.json delete /addons/{id}","href":"/api-reference/2026-07-24/add-ons/delete-addon"},{"title":"Update add-on","deprecated":null,"version":null,"sidebarTitle":"Update addon","openapi":"/openapi/en/rest/2026-07-24.json patch /addons/{id}","href":"/api-reference/2026-07-24/add-ons/update-addon"},{"title":"List add-ons","deprecated":null,"version":null,"sidebarTitle":"List addons","openapi":"/openapi/en/rest/2026-07-24.json get /addons","href":"/api-reference/2026-07-24/add-ons/list-addons"},{"title":"Create add-on","deprecated":null,"version":null,"sidebarTitle":"Create addon","openapi":"/openapi/en/rest/2026-07-24.json post /addons","href":"/api-reference/2026-07-24/add-ons/create-addon"},{"title":"Deactivate add-on","deprecated":null,"version":null,"sidebarTitle":"Deactivate addon","openapi":"/openapi/en/rest/2026-07-24.json delete /subscriptions/{id}/addons/{addonId}","href":"/api-reference/2026-07-24/add-ons/deactivate-addon"},{"title":"Activate add-on","deprecated":null,"version":null,"sidebarTitle":"Activate addon","openapi":"/openapi/en/rest/2026-07-24.json post /subscriptions/{id}/addons","href":"/api-reference/2026-07-24/add-ons/activate-addon"}]},{"group":"API Keys","pages":[{"title":"Delete API key","deprecated":null,"version":null,"sidebarTitle":"Delete api key","openapi":"/openapi/en/rest/2026-07-24.json delete /api-keys/{id}","href":"/api-reference/2026-07-24/api-keys/delete-api-key"},{"title":"List API keys","deprecated":null,"version":null,"sidebarTitle":"List api keys","openapi":"/openapi/en/rest/2026-07-24.json get /api-keys","href":"/api-reference/2026-07-24/api-keys/list-api-keys"},{"title":"Create API key","deprecated":null,"version":null,"sidebarTitle":"Create api key","openapi":"/openapi/en/rest/2026-07-24.json post /api-keys","href":"/api-reference/2026-07-24/api-keys/create-api-key"}]},{"group":"Provisioning","pages":[{"title":"Create claim link","deprecated":null,"version":null,"sidebarTitle":"Create claim link","openapi":"/openapi/en/rest/2026-07-24.json post /claim-link","href":"/api-reference/2026-07-24/provisioning/create-claim-link"}]},{"group":"Credit Packs","pages":[{"title":"Delete credit pack","deprecated":null,"version":null,"sidebarTitle":"Delete credit pack","openapi":"/openapi/en/rest/2026-07-24.json delete /credit-packs/{id}","href":"/api-reference/2026-07-24/credit-packs/delete-credit-pack"},{"title":"Update credit pack","deprecated":null,"version":null,"sidebarTitle":"Update credit pack","openapi":"/openapi/en/rest/2026-07-24.json patch /credit-packs/{id}","href":"/api-reference/2026-07-24/credit-packs/update-credit-pack"},{"title":"List credit packs","deprecated":null,"version":null,"sidebarTitle":"List credit packs","openapi":"/openapi/en/rest/2026-07-24.json get /credit-packs","href":"/api-reference/2026-07-24/credit-packs/list-credit-packs"},{"title":"Create credit pack","deprecated":null,"version":null,"sidebarTitle":"Create credit pack","openapi":"/openapi/en/rest/2026-07-24.json post /credit-packs","href":"/api-reference/2026-07-24/credit-packs/create-credit-pack"},{"title":"Purchase credits","deprecated":null,"version":null,"sidebarTitle":"Purchase credits","openapi":"/openapi/en/rest/2026-07-24.json post /subscriptions/{id}/credits","href":"/api-reference/2026-07-24/credit-packs/purchase-credits"}]},{"group":"Customers","pages":[{"title":"Get customer","deprecated":null,"version":null,"sidebarTitle":"Get customer","openapi":"/openapi/en/rest/2026-07-24.json get /customers/{id}","href":"/api-reference/2026-07-24/customers/get-customer"},{"title":"Update customer","deprecated":null,"version":null,"sidebarTitle":"Update customer","openapi":"/openapi/en/rest/2026-07-24.json patch /customers/{id}","href":"/api-reference/2026-07-24/customers/update-customer"},{"title":"Batch create customers","deprecated":null,"version":null,"sidebarTitle":"Batch create customers","openapi":"/openapi/en/rest/2026-07-24.json post /customers/batch","href":"/api-reference/2026-07-24/customers/batch-create-customers"},{"title":"List customers","deprecated":null,"version":null,"sidebarTitle":"List customers","openapi":"/openapi/en/rest/2026-07-24.json get /customers","href":"/api-reference/2026-07-24/customers/list-customers"},{"title":"Create customer","deprecated":null,"version":null,"sidebarTitle":"Create customer","openapi":"/openapi/en/rest/2026-07-24.json post /customers","href":"/api-reference/2026-07-24/customers/create-customer"}]},{"group":"Features","pages":[{"title":"Get feature access","deprecated":null,"version":null,"sidebarTitle":"Get feature access","openapi":"/openapi/en/rest/2026-07-24.json get /feature-access/{code}","href":"/api-reference/2026-07-24/features/get-feature-access"},{"title":"List feature access","deprecated":null,"version":null,"sidebarTitle":"List feature access","openapi":"/openapi/en/rest/2026-07-24.json get /feature-access","href":"/api-reference/2026-07-24/features/list-feature-access"},{"title":"Get feature","deprecated":null,"version":null,"sidebarTitle":"Get feature","openapi":"/openapi/en/rest/2026-07-24.json get /features/{code}","href":"/api-reference/2026-07-24/features/get-feature"},{"title":"Delete feature","deprecated":null,"version":null,"sidebarTitle":"Delete feature","openapi":"/openapi/en/rest/2026-07-24.json delete /features/{code}","href":"/api-reference/2026-07-24/features/delete-feature"},{"title":"Update feature","deprecated":null,"version":null,"sidebarTitle":"Update feature","openapi":"/openapi/en/rest/2026-07-24.json patch /features/{code}","href":"/api-reference/2026-07-24/features/update-feature"},{"title":"List features","deprecated":null,"version":null,"sidebarTitle":"List features","openapi":"/openapi/en/rest/2026-07-24.json get /features","href":"/api-reference/2026-07-24/features/list-features"},{"title":"Create feature","deprecated":null,"version":null,"sidebarTitle":"Create feature","openapi":"/openapi/en/rest/2026-07-24.json post /features","href":"/api-reference/2026-07-24/features/create-feature"}]},{"group":"Invoices","pages":[{"title":"Download invoice PDF","deprecated":null,"version":null,"sidebarTitle":"Download invoice","openapi":"/openapi/en/rest/2026-07-24.json post /invoices/{id}/download-links","href":"/api-reference/2026-07-24/invoices/download-invoice"},{"title":"Get invoice","deprecated":null,"version":null,"sidebarTitle":"Get invoice","openapi":"/openapi/en/rest/2026-07-24.json get /invoices/{id}","href":"/api-reference/2026-07-24/invoices/get-invoice"},{"title":"Send invoice email","deprecated":null,"version":null,"sidebarTitle":"Send invoice","openapi":"/openapi/en/rest/2026-07-24.json post /invoices/{id}/send","href":"/api-reference/2026-07-24/invoices/send-invoice"},{"title":"Update invoice status","deprecated":null,"version":null,"sidebarTitle":"Update invoice status","openapi":"/openapi/en/rest/2026-07-24.json patch /invoices/{id}/status","href":"/api-reference/2026-07-24/invoices/update-invoice-status"},{"title":"List invoices","deprecated":null,"version":null,"sidebarTitle":"List invoices","openapi":"/openapi/en/rest/2026-07-24.json get /invoices","href":"/api-reference/2026-07-24/invoices/list-invoices"},{"title":"Create adjustment invoice","deprecated":null,"version":null,"sidebarTitle":"Create adjustment invoice","openapi":"/openapi/en/rest/2026-07-24.json post /invoices","href":"/api-reference/2026-07-24/invoices/create-adjustment-invoice"}]},{"group":"Offers","pages":[{"title":"Get offer","deprecated":null,"version":null,"sidebarTitle":"Get offer","openapi":"/openapi/en/rest/2026-07-24.json get /offers/{id}","href":"/api-reference/2026-07-24/offers/get-offer"},{"title":"Delete offer","deprecated":null,"version":null,"sidebarTitle":"Delete offer","openapi":"/openapi/en/rest/2026-07-24.json delete /offers/{id}","href":"/api-reference/2026-07-24/offers/delete-offer"},{"title":"Update offer","deprecated":null,"version":null,"sidebarTitle":"Update offer","openapi":"/openapi/en/rest/2026-07-24.json patch /offers/{id}","href":"/api-reference/2026-07-24/offers/update-offer"},{"title":"List offers","deprecated":null,"version":null,"sidebarTitle":"List offers","openapi":"/openapi/en/rest/2026-07-24.json get /offers","href":"/api-reference/2026-07-24/offers/list-offers"},{"title":"Create offer","deprecated":null,"version":null,"sidebarTitle":"Create offer","openapi":"/openapi/en/rest/2026-07-24.json post /offers","href":"/api-reference/2026-07-24/offers/create-offer"}]},{"group":"Payments","pages":[{"title":"Cancel a payment link","deprecated":null,"version":null,"sidebarTitle":"Cancel payment","openapi":"/openapi/en/rest/2026-07-24.json post /payments/{id}/cancel","href":"/api-reference/2026-07-24/payments/cancel-payment"},{"title":"Get payment","deprecated":null,"version":null,"sidebarTitle":"Get payment","openapi":"/openapi/en/rest/2026-07-24.json get /payments/{id}","href":"/api-reference/2026-07-24/payments/get-payment"},{"title":"Charge a customer","deprecated":null,"version":null,"sidebarTitle":"Charge payment","openapi":"/openapi/en/rest/2026-07-24.json post /payments/charge","href":"/api-reference/2026-07-24/payments/charge-payment"},{"title":"List payments","deprecated":null,"version":null,"sidebarTitle":"List payments","openapi":"/openapi/en/rest/2026-07-24.json get /payments","href":"/api-reference/2026-07-24/payments/list-payments"},{"title":"Create a payment link","deprecated":null,"version":null,"sidebarTitle":"Create payment","openapi":"/openapi/en/rest/2026-07-24.json post /payments","href":"/api-reference/2026-07-24/payments/create-payment"}]},{"group":"Payouts","pages":[{"title":"Add a payout bank account","deprecated":null,"version":null,"sidebarTitle":"Add payout bank account","openapi":"/openapi/en/rest/2026-07-24.json post /payouts/bank-accounts","href":"/api-reference/2026-07-24/payouts/add-payout-bank-account"},{"title":"Request a payout","deprecated":null,"version":null,"sidebarTitle":"Request payout","openapi":"/openapi/en/rest/2026-07-24.json post /payouts","href":"/api-reference/2026-07-24/payouts/request-payout"},{"title":"Deprecated payout verification","deprecated":true,"version":null,"sidebarTitle":"Complete payout verification","openapi":"/openapi/en/rest/2026-07-24.json post /payouts/verification","href":"/api-reference/2026-07-24/payouts/complete-payout-verification"}]},{"group":"Plan Groups","pages":[{"title":"Remove plan from group","deprecated":null,"version":null,"sidebarTitle":"Remove plan from group","openapi":"/openapi/en/rest/2026-07-24.json delete /plan-groups/{id}/plans/{planId}","href":"/api-reference/2026-07-24/plan-groups/remove-plan-from-group"},{"title":"Reorder plans in group","deprecated":null,"version":null,"sidebarTitle":"Reorder plans in group","openapi":"/openapi/en/rest/2026-07-24.json put /plan-groups/{id}/plans/reorder","href":"/api-reference/2026-07-24/plan-groups/reorder-plans-in-group"},{"title":"Add plan to group","deprecated":null,"version":null,"sidebarTitle":"Add plan to group","openapi":"/openapi/en/rest/2026-07-24.json post /plan-groups/{id}/plans","href":"/api-reference/2026-07-24/plan-groups/add-plan-to-group"},{"title":"Get plan group","deprecated":null,"version":null,"sidebarTitle":"Get plan group","openapi":"/openapi/en/rest/2026-07-24.json get /plan-groups/{id}","href":"/api-reference/2026-07-24/plan-groups/get-plan-group"},{"title":"Delete plan group","deprecated":null,"version":null,"sidebarTitle":"Delete plan group","openapi":"/openapi/en/rest/2026-07-24.json delete /plan-groups/{id}","href":"/api-reference/2026-07-24/plan-groups/delete-plan-group"},{"title":"Update plan group","deprecated":null,"version":null,"sidebarTitle":"Update plan group","openapi":"/openapi/en/rest/2026-07-24.json patch /plan-groups/{id}","href":"/api-reference/2026-07-24/plan-groups/update-plan-group"},{"title":"List plan groups","deprecated":null,"version":null,"sidebarTitle":"List plan groups","openapi":"/openapi/en/rest/2026-07-24.json get /plan-groups","href":"/api-reference/2026-07-24/plan-groups/list-plan-groups"},{"title":"Create plan group","deprecated":null,"version":null,"sidebarTitle":"Create plan group","openapi":"/openapi/en/rest/2026-07-24.json post /plan-groups","href":"/api-reference/2026-07-24/plan-groups/create-plan-group"}]},{"group":"Plans","pages":[{"title":"Remove feature from plan","deprecated":null,"version":null,"sidebarTitle":"Remove plan feature","openapi":"/openapi/en/rest/2026-07-24.json delete /plans/{id}/features/{featureId}","href":"/api-reference/2026-07-24/plans/remove-plan-feature"},{"title":"Update plan feature","deprecated":null,"version":null,"sidebarTitle":"Update plan feature","openapi":"/openapi/en/rest/2026-07-24.json patch /plans/{id}/features/{featureId}","href":"/api-reference/2026-07-24/plans/update-plan-feature"},{"title":"Add feature to plan","deprecated":null,"version":null,"sidebarTitle":"Add plan feature","openapi":"/openapi/en/rest/2026-07-24.json post /plans/{id}/features","href":"/api-reference/2026-07-24/plans/add-plan-feature"},{"title":"Set default price","deprecated":null,"version":null,"sidebarTitle":"Set default plan price","openapi":"/openapi/en/rest/2026-07-24.json put /plans/{id}/prices/{priceId}/default","href":"/api-reference/2026-07-24/plans/set-default-plan-price"},{"title":"Upsert regional prices","deprecated":null,"version":null,"sidebarTitle":"Upsert regional prices","openapi":"/openapi/en/rest/2026-07-24.json put /plans/{id}/prices/{priceId}/regional","href":"/api-reference/2026-07-24/plans/upsert-regional-prices"},{"title":"Delete regional prices","deprecated":null,"version":null,"sidebarTitle":"Delete regional prices","openapi":"/openapi/en/rest/2026-07-24.json delete /plans/{id}/prices/{priceId}/regional","href":"/api-reference/2026-07-24/plans/delete-regional-prices"},{"title":"Archive plan price","deprecated":null,"version":null,"sidebarTitle":"Delete plan price","openapi":"/openapi/en/rest/2026-07-24.json delete /plans/{id}/prices/{priceId}","href":"/api-reference/2026-07-24/plans/delete-plan-price"},{"title":"Update plan price","deprecated":null,"version":null,"sidebarTitle":"Update plan price","openapi":"/openapi/en/rest/2026-07-24.json patch /plans/{id}/prices/{priceId}","href":"/api-reference/2026-07-24/plans/update-plan-price"},{"title":"Add price to plan","deprecated":null,"version":null,"sidebarTitle":"Add plan price","openapi":"/openapi/en/rest/2026-07-24.json post /plans/{id}/prices","href":"/api-reference/2026-07-24/plans/add-plan-price"},{"title":"Set plan regional pricing","deprecated":null,"version":null,"sidebarTitle":"Set plan regional pricing","openapi":"/openapi/en/rest/2026-07-24.json put /plans/{id}/regional","href":"/api-reference/2026-07-24/plans/set-plan-regional-pricing"},{"title":"Get plan","deprecated":null,"version":null,"sidebarTitle":"Get plan","openapi":"/openapi/en/rest/2026-07-24.json get /plans/{id}","href":"/api-reference/2026-07-24/plans/get-plan"},{"title":"Delete plan","deprecated":null,"version":null,"sidebarTitle":"Delete plan","openapi":"/openapi/en/rest/2026-07-24.json delete /plans/{id}","href":"/api-reference/2026-07-24/plans/delete-plan"},{"title":"Update plan","deprecated":null,"version":null,"sidebarTitle":"Update plan","openapi":"/openapi/en/rest/2026-07-24.json patch /plans/{id}","href":"/api-reference/2026-07-24/plans/update-plan"},{"title":"Set plan visibility","deprecated":null,"version":null,"sidebarTitle":"Set plan visibility","openapi":"/openapi/en/rest/2026-07-24.json put /plans/{id}/visibility","href":"/api-reference/2026-07-24/plans/set-plan-visibility"},{"title":"List plans","deprecated":null,"version":null,"sidebarTitle":"List plans","openapi":"/openapi/en/rest/2026-07-24.json get /plans","href":"/api-reference/2026-07-24/plans/list-plans"},{"title":"Create plan","deprecated":null,"version":null,"sidebarTitle":"Create plan","openapi":"/openapi/en/rest/2026-07-24.json post /plans","href":"/api-reference/2026-07-24/plans/create-plan"}]},{"group":"Portal","pages":[{"title":"Request portal access","deprecated":null,"version":null,"sidebarTitle":"Request portal access","openapi":"/openapi/en/rest/2026-07-24.json post /portal/sessions","href":"/api-reference/2026-07-24/portal/request-portal-access"}]},{"group":"Markets","pages":[{"title":"Get pricing market group","deprecated":null,"version":null,"sidebarTitle":"Get market group","openapi":"/openapi/en/rest/2026-07-24.json get /pricing/market-groups/{id}","href":"/api-reference/2026-07-24/markets/get-market-group"},{"title":"Delete pricing market group","deprecated":null,"version":null,"sidebarTitle":"Delete market group","openapi":"/openapi/en/rest/2026-07-24.json delete /pricing/market-groups/{id}","href":"/api-reference/2026-07-24/markets/delete-market-group"},{"title":"Update pricing market group","deprecated":null,"version":null,"sidebarTitle":"Update market group","openapi":"/openapi/en/rest/2026-07-24.json patch /pricing/market-groups/{id}","href":"/api-reference/2026-07-24/markets/update-market-group"},{"title":"List pricing market groups","deprecated":null,"version":null,"sidebarTitle":"List market groups","openapi":"/openapi/en/rest/2026-07-24.json get /pricing/market-groups","href":"/api-reference/2026-07-24/markets/list-market-groups"},{"title":"Create pricing market group","deprecated":null,"version":null,"sidebarTitle":"Create market group","openapi":"/openapi/en/rest/2026-07-24.json post /pricing/market-groups","href":"/api-reference/2026-07-24/markets/create-market-group"}]},{"group":"Promo Codes","pages":[{"title":"Get promo code","deprecated":null,"version":null,"sidebarTitle":"Get promo code","openapi":"/openapi/en/rest/2026-07-24.json get /promo-codes/{id}","href":"/api-reference/2026-07-24/promo-codes/get-promo-code"},{"title":"Update promo code","deprecated":null,"version":null,"sidebarTitle":"Update promo code","openapi":"/openapi/en/rest/2026-07-24.json patch /promo-codes/{id}","href":"/api-reference/2026-07-24/promo-codes/update-promo-code"},{"title":"List promo codes","deprecated":null,"version":null,"sidebarTitle":"List promo codes","openapi":"/openapi/en/rest/2026-07-24.json get /promo-codes","href":"/api-reference/2026-07-24/promo-codes/list-promo-codes"},{"title":"Create promo code","deprecated":null,"version":null,"sidebarTitle":"Create promo code","openapi":"/openapi/en/rest/2026-07-24.json post /promo-codes","href":"/api-reference/2026-07-24/promo-codes/create-promo-code"}]},{"group":"Seats","pages":[{"title":"Get seat balance","deprecated":null,"version":null,"sidebarTitle":"Get seat balance","openapi":"/openapi/en/rest/2026-07-24.json get /seats/balance","href":"/api-reference/2026-07-24/seats/get-seat-balance"},{"title":"Get all seat balances","deprecated":null,"version":null,"sidebarTitle":"Get all seat balances","openapi":"/openapi/en/rest/2026-07-24.json get /seats/balances","href":"/api-reference/2026-07-24/seats/get-all-seat-balances"},{"title":"Bulk set seats","deprecated":null,"version":null,"sidebarTitle":"Bulk set seats","openapi":"/openapi/en/rest/2026-07-24.json put /seats/bulk","href":"/api-reference/2026-07-24/seats/bulk-set-seats"},{"title":"Remove seats","deprecated":null,"version":null,"sidebarTitle":"Remove seats","openapi":"/openapi/en/rest/2026-07-24.json post /seats/remove","href":"/api-reference/2026-07-24/seats/remove-seats"},{"title":"Set seats","deprecated":null,"version":null,"sidebarTitle":"Set seats","openapi":"/openapi/en/rest/2026-07-24.json put /seats","href":"/api-reference/2026-07-24/seats/set-seats"},{"title":"Add seats","deprecated":null,"version":null,"sidebarTitle":"Add seats","openapi":"/openapi/en/rest/2026-07-24.json post /seats","href":"/api-reference/2026-07-24/seats/add-seats"}]},{"group":"Subscriptions","pages":[{"title":"Get auto top-up","deprecated":null,"version":null,"sidebarTitle":"Get subscription auto top up","openapi":"/openapi/en/rest/2026-07-24.json get /subscriptions/{id}/auto-top-up","href":"/api-reference/2026-07-24/subscriptions/get-subscription-auto-top-up"},{"title":"Update auto top-up","deprecated":null,"version":null,"sidebarTitle":"Update subscription auto top up","openapi":"/openapi/en/rest/2026-07-24.json patch /subscriptions/{id}/auto-top-up","href":"/api-reference/2026-07-24/subscriptions/update-subscription-auto-top-up"},{"title":"Adjust balance","deprecated":null,"version":null,"sidebarTitle":"Adjust balance","openapi":"/openapi/en/rest/2026-07-24.json post /subscriptions/{id}/balance/adjust","href":"/api-reference/2026-07-24/subscriptions/adjust-balance"},{"title":"Top up balance","deprecated":null,"version":null,"sidebarTitle":"Topup balance","openapi":"/openapi/en/rest/2026-07-24.json post /subscriptions/{id}/balance/topup","href":"/api-reference/2026-07-24/subscriptions/topup-balance"},{"title":"Cancel subscription","deprecated":null,"version":null,"sidebarTitle":"Cancel subscription","openapi":"/openapi/en/rest/2026-07-24.json post /subscriptions/{id}/cancel","href":"/api-reference/2026-07-24/subscriptions/cancel-subscription"},{"title":"Change plan","deprecated":null,"version":null,"sidebarTitle":"Change plan","openapi":"/openapi/en/rest/2026-07-24.json post /subscriptions/{id}/change-plan","href":"/api-reference/2026-07-24/subscriptions/change-plan"},{"title":"Update payment method","deprecated":null,"version":null,"sidebarTitle":"Update payment method","openapi":"/openapi/en/rest/2026-07-24.json post /subscriptions/{id}/payment-method/update","href":"/api-reference/2026-07-24/subscriptions/update-payment-method"},{"title":"Pay billing periods in advance","deprecated":null,"version":null,"sidebarTitle":"Create prepaid periods checkout","openapi":"/openapi/en/rest/2026-07-24.json post /subscriptions/{id}/prepaid-periods","href":"/api-reference/2026-07-24/subscriptions/create-prepaid-periods-checkout"},{"title":"Preview plan change","deprecated":null,"version":null,"sidebarTitle":"Preview change plan","openapi":"/openapi/en/rest/2026-07-24.json post /subscriptions/{id}/preview-change","href":"/api-reference/2026-07-24/subscriptions/preview-change-plan"},{"title":"Reactivate a past due or canceled subscription","deprecated":null,"version":null,"sidebarTitle":"Reactivate subscription","openapi":"/openapi/en/rest/2026-07-24.json post /subscriptions/{id}/reactivate","href":"/api-reference/2026-07-24/subscriptions/reactivate-subscription"},{"title":"Create a recovery payment link for a past due subscription","deprecated":null,"version":null,"sidebarTitle":"Create subscription recovery link","openapi":"/openapi/en/rest/2026-07-24.json post /subscriptions/{id}/recovery-links","href":"/api-reference/2026-07-24/subscriptions/create-subscription-recovery-link"},{"title":"Get subscription by ID","deprecated":null,"version":null,"sidebarTitle":"Get subscription","openapi":"/openapi/en/rest/2026-07-24.json get /subscriptions/{id}","href":"/api-reference/2026-07-24/subscriptions/get-subscription"},{"title":"Revoke scheduled plan change","deprecated":null,"version":null,"sidebarTitle":"Revoke scheduled plan change","openapi":"/openapi/en/rest/2026-07-24.json delete /subscriptions/{id}/scheduled-plan-change","href":"/api-reference/2026-07-24/subscriptions/revoke-scheduled-plan-change"},{"title":"Revert scheduled cancellation","deprecated":null,"version":null,"sidebarTitle":"Uncancel subscription","openapi":"/openapi/en/rest/2026-07-24.json post /subscriptions/{id}/uncancel","href":"/api-reference/2026-07-24/subscriptions/uncancel-subscription"},{"title":"Get active subscription","deprecated":null,"version":null,"sidebarTitle":"Get active subscription","openapi":"/openapi/en/rest/2026-07-24.json get /subscriptions/active","href":"/api-reference/2026-07-24/subscriptions/get-active-subscription"},{"title":"List subscriptions","deprecated":null,"version":null,"sidebarTitle":"List subscriptions","openapi":"/openapi/en/rest/2026-07-24.json get /subscriptions","href":"/api-reference/2026-07-24/subscriptions/list-subscriptions"},{"title":"Create subscription","deprecated":null,"version":null,"sidebarTitle":"Create subscription","openapi":"/openapi/en/rest/2026-07-24.json post /subscriptions","href":"/api-reference/2026-07-24/subscriptions/create-subscription"}]},{"group":"Test Clock","pages":[{"title":"Deprecated manual billing processing","deprecated":true,"version":null,"sidebarTitle":"Process test clock billing","openapi":"/openapi/en/rest/2026-07-24.json post /test-clock/process-billing","href":"/api-reference/2026-07-24/test-clock/process-test-clock-billing"},{"title":"Get test clock state","deprecated":null,"version":null,"sidebarTitle":"Get test clock","openapi":"/openapi/en/rest/2026-07-24.json get /test-clock","href":"/api-reference/2026-07-24/test-clock/get-test-clock"},{"title":"Advance test clock","deprecated":null,"version":null,"sidebarTitle":"Advance test clock","openapi":"/openapi/en/rest/2026-07-24.json post /test-clock","href":"/api-reference/2026-07-24/test-clock/advance-test-clock"}]},{"group":"Transactions","pages":[{"title":"Refund transaction","deprecated":null,"version":null,"sidebarTitle":"Refund transaction","openapi":"/openapi/en/rest/2026-07-24.json post /transactions/{id}/refund","href":"/api-reference/2026-07-24/transactions/refund-transaction"},{"title":"Retry transaction","deprecated":null,"version":null,"sidebarTitle":"Retry transaction","openapi":"/openapi/en/rest/2026-07-24.json post /transactions/{id}/retry","href":"/api-reference/2026-07-24/transactions/retry-transaction"},{"title":"Get transaction","deprecated":null,"version":null,"sidebarTitle":"Get transaction","openapi":"/openapi/en/rest/2026-07-24.json get /transactions/{id}","href":"/api-reference/2026-07-24/transactions/get-transaction"},{"title":"List transactions","deprecated":null,"version":null,"sidebarTitle":"List transactions","openapi":"/openapi/en/rest/2026-07-24.json get /transactions","href":"/api-reference/2026-07-24/transactions/list-transactions"}]},{"group":"Usage","pages":[{"title":"Check usage availability","description":"Check if a customer can consume a feature before actual consumption. Returns availability and cost estimates based on the plan's consumption model.","deprecated":null,"version":null,"sidebarTitle":"Check usage availability","openapi":"/openapi/en/rest/2026-07-24.json post /usage/check","href":"/api-reference/2026-07-24/usage/check-usage-availability"},{"title":"Track usage event","deprecated":null,"version":null,"sidebarTitle":"Track usage","openapi":"/openapi/en/rest/2026-07-24.json post /usage/events","href":"/api-reference/2026-07-24/usage/track-usage"},{"title":"Set current usage","description":"Set a metered feature's usage to an exact value for the current period. Use the Idempotency-Key header to make retries safe.","deprecated":null,"version":null,"sidebarTitle":"Set usage","openapi":"/openapi/en/rest/2026-07-24.json put /usage","href":"/api-reference/2026-07-24/usage/set-usage"}]},{"group":"Quota","pages":[{"title":"List quota allowances","deprecated":null,"version":null,"sidebarTitle":"Get all quota allowances","openapi":"/openapi/en/rest/2026-07-24.json get /usage/quota/all","href":"/api-reference/2026-07-24/quota/get-all-quota-allowances"},{"title":"Remove quota","deprecated":null,"version":null,"sidebarTitle":"Remove quota","openapi":"/openapi/en/rest/2026-07-24.json post /usage/quota/remove","href":"/api-reference/2026-07-24/quota/remove-quota"},{"title":"Get quota allowance","deprecated":null,"version":null,"sidebarTitle":"Get quota allowance","openapi":"/openapi/en/rest/2026-07-24.json get /usage/quota","href":"/api-reference/2026-07-24/quota/get-quota-allowance"},{"title":"Set quota","deprecated":null,"version":null,"sidebarTitle":"Set quota","openapi":"/openapi/en/rest/2026-07-24.json put /usage/quota","href":"/api-reference/2026-07-24/quota/set-quota"},{"title":"Add quota","deprecated":null,"version":null,"sidebarTitle":"Add quota","openapi":"/openapi/en/rest/2026-07-24.json post /usage/quota","href":"/api-reference/2026-07-24/quota/add-quota"}]},{"group":"Webhooks","pages":[{"title":"Get webhook endpoint","deprecated":null,"version":null,"sidebarTitle":"Get webhook endpoint","openapi":"/openapi/en/rest/2026-07-24.json get /webhooks/{id}","href":"/api-reference/2026-07-24/webhooks/get-webhook-endpoint"},{"title":"Delete webhook endpoint","deprecated":null,"version":null,"sidebarTitle":"Delete webhook endpoint","openapi":"/openapi/en/rest/2026-07-24.json delete /webhooks/{id}","href":"/api-reference/2026-07-24/webhooks/delete-webhook-endpoint"},{"title":"Update webhook endpoint","deprecated":null,"version":null,"sidebarTitle":"Update webhook endpoint","openapi":"/openapi/en/rest/2026-07-24.json patch /webhooks/{id}","href":"/api-reference/2026-07-24/webhooks/update-webhook-endpoint"},{"title":"Test webhook endpoint","deprecated":null,"version":null,"sidebarTitle":"Test webhook endpoint","openapi":"/openapi/en/rest/2026-07-24.json post /webhooks/{id}/test","href":"/api-reference/2026-07-24/webhooks/test-webhook-endpoint"},{"title":"List webhook endpoints","deprecated":null,"version":null,"sidebarTitle":"List webhook endpoints","openapi":"/openapi/en/rest/2026-07-24.json get /webhooks","href":"/api-reference/2026-07-24/webhooks/list-webhook-endpoints"},{"title":"Create webhook endpoint","deprecated":null,"version":null,"sidebarTitle":"Create webhook endpoint","openapi":"/openapi/en/rest/2026-07-24.json post /webhooks","href":"/api-reference/2026-07-24/webhooks/create-webhook-endpoint"}]}]}]},{"version":"2026-07-11","pages":[{"title":"2026-07-11","href":"/api-reference/2026-07-11/add-ons/list-active-addons"}]},{"version":"2026-06-23","pages":[{"title":"2026-06-23","href":"/api-reference/2026-06-23/add-ons/list-active-addons"}]},{"version":"2026-06-10","pages":[{"title":"2026-06-10","href":"/api-reference/2026-06-10/add-ons/list-active-addons"}]},{"version":"2026-06-07","pages":[{"title":"2026-06-07","href":"/api-reference/2026-06-07/add-ons/get-addon"}]},{"version":"2026-05-25","pages":[{"title":"2026-05-25","href":"/api-reference/2026-05-25/add-ons/get-addon"}]},{"version":"2026-05-18","pages":[{"title":"2026-05-18","href":"/api-reference/2026-05-18/add-ons/get-addon"}]},{"version":"2026-05-12","pages":[{"title":"2026-05-12","href":"/api-reference/2026-05-12/add-ons/get-addon"}]},{"version":"2026-05-01","pages":[{"title":"2026-05-01","href":"/api-reference/2026-05-01/add-ons/get-addon"}]}]},{"tab":"Webhooks","versions":[{"version":"2026-08-27","default":true,"tag":"Latest","pages":[{"title":"2026-08-27","href":"/webhooks/introduction"}]},{"version":"2026-07-31","pages":[{"title":"2026-07-31","href":"/webhooks/2026-07-31/subscription-created"}]},{"version":"2026-07-24","groups":[{"group":"Events","pages":[{"title":"Subscription created","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook subscription.created","href":"/webhooks/2026-07-24/subscription-created"},{"title":"Subscription activated","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook subscription.activated","href":"/webhooks/2026-07-24/subscription-activated"},{"title":"Subscription reactivated","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook subscription.reactivated","href":"/webhooks/2026-07-24/subscription-reactivated"},{"title":"Subscription canceled","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook subscription.canceled","href":"/webhooks/2026-07-24/subscription-canceled"},{"title":"Subscription updated","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook subscription.updated","href":"/webhooks/2026-07-24/subscription-updated"},{"title":"Subscription plan changed","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook subscription.plan_changed","href":"/webhooks/2026-07-24/subscription-plan-changed"},{"title":"Subscription cancellation scheduled","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook subscription.cancellation_scheduled","href":"/webhooks/2026-07-24/subscription-cancellation-scheduled"},{"title":"Subscription cancellation revoked","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook subscription.cancellation_revoked","href":"/webhooks/2026-07-24/subscription-cancellation-revoked"},{"title":"Subscription plan change scheduled","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook subscription.plan_change_scheduled","href":"/webhooks/2026-07-24/subscription-plan-change-scheduled"},{"title":"Subscription plan change revoked","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook subscription.plan_change_revoked","href":"/webhooks/2026-07-24/subscription-plan-change-revoked"},{"title":"Subscription past due","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook subscription.past_due","href":"/webhooks/2026-07-24/subscription-past-due"},{"title":"Trial started","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook trial.started","href":"/webhooks/2026-07-24/trial-started"},{"title":"Trial converted","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook trial.converted","href":"/webhooks/2026-07-24/trial-converted"},{"title":"Trial expired","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook trial.expired","href":"/webhooks/2026-07-24/trial-expired"},{"title":"Trial will end","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook trial.will_end","href":"/webhooks/2026-07-24/trial-will-end"},{"title":"Trial checkout ready","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook trial.checkout_ready","href":"/webhooks/2026-07-24/trial-checkout-ready"},{"title":"Checkout ready","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook checkout.ready","href":"/webhooks/2026-07-24/checkout-ready"},{"title":"Payment received","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook payment.received","href":"/webhooks/2026-07-24/payment-received"},{"title":"Payment failed","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook payment.failed","href":"/webhooks/2026-07-24/payment-failed"},{"title":"Payment recovered","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook payment.recovered","href":"/webhooks/2026-07-24/payment-recovered"},{"title":"Payment retry failed","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook payment.retry_failed","href":"/webhooks/2026-07-24/payment-retry-failed"},{"title":"Payment refunded","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook payment.refunded","href":"/webhooks/2026-07-24/payment-refunded"},{"title":"Payment disputed","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook payment.disputed","href":"/webhooks/2026-07-24/payment-disputed"},{"title":"Payment dispute resolved","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook payment.dispute_resolved","href":"/webhooks/2026-07-24/payment-dispute-resolved"},{"title":"Payment link created","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook payment_link.created","href":"/webhooks/2026-07-24/payment-link-created"},{"title":"Payment link completed","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook payment_link.completed","href":"/webhooks/2026-07-24/payment-link-completed"},{"title":"Payment link failed","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook payment_link.failed","href":"/webhooks/2026-07-24/payment-link-failed"},{"title":"Payment link canceled","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook payment_link.canceled","href":"/webhooks/2026-07-24/payment-link-canceled"},{"title":"Invoice created","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook invoice.created","href":"/webhooks/2026-07-24/invoice-created"},{"title":"Invoice voided","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook invoice.voided","href":"/webhooks/2026-07-24/invoice-voided"},{"title":"Invoice overdue","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook invoice.overdue","href":"/webhooks/2026-07-24/invoice-overdue"},{"title":"Invoice upcoming","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook invoice.upcoming","href":"/webhooks/2026-07-24/invoice-upcoming"},{"title":"Payment method attached","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook payment_method.attached","href":"/webhooks/2026-07-24/payment-method-attached"},{"title":"Payment method updated","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook payment_method.updated","href":"/webhooks/2026-07-24/payment-method-updated"},{"title":"Payment method detached","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook payment_method.detached","href":"/webhooks/2026-07-24/payment-method-detached"},{"title":"Customer created","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook customer.created","href":"/webhooks/2026-07-24/customer-created"},{"title":"Customer updated","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook customer.updated","href":"/webhooks/2026-07-24/customer-updated"},{"title":"Customer state changed","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook customer.state_changed","href":"/webhooks/2026-07-24/customer-state-changed"},{"title":"Credits granted","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook credits.granted","href":"/webhooks/2026-07-24/credits-granted"},{"title":"Credits purchased","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook credits.purchased","href":"/webhooks/2026-07-24/credits-purchased"},{"title":"Credits low","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook credits.low","href":"/webhooks/2026-07-24/credits-low"},{"title":"Credits depleted","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook credits.depleted","href":"/webhooks/2026-07-24/credits-depleted"},{"title":"Credits expired","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook credits.expired","href":"/webhooks/2026-07-24/credits-expired"},{"title":"Balance granted","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook balance.granted","href":"/webhooks/2026-07-24/balance-granted"},{"title":"Balance topped up","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook balance.topped_up","href":"/webhooks/2026-07-24/balance-topped-up"},{"title":"Balance low","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook balance.low","href":"/webhooks/2026-07-24/balance-low"},{"title":"Balance depleted","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook balance.depleted","href":"/webhooks/2026-07-24/balance-depleted"},{"title":"Balance expired","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook balance.expired","href":"/webhooks/2026-07-24/balance-expired"},{"title":"Quota threshold reached","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook quota.threshold_reached","href":"/webhooks/2026-07-24/quota-threshold-reached"},{"title":"Quota exceeded","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook quota.exceeded","href":"/webhooks/2026-07-24/quota-exceeded"},{"title":"Seats updated","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook seats.updated","href":"/webhooks/2026-07-24/seats-updated"},{"title":"Seats limit reached","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook seats.limit_reached","href":"/webhooks/2026-07-24/seats-limit-reached"},{"title":"Addon activated","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook addon.activated","href":"/webhooks/2026-07-24/addon-activated"},{"title":"Addon deactivated","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook addon.deactivated","href":"/webhooks/2026-07-24/addon-deactivated"},{"title":"Usage recorded","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook usage.recorded","href":"/webhooks/2026-07-24/usage-recorded"},{"title":"Payout available","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook payout.available","href":"/webhooks/2026-07-24/payout-available"},{"title":"Payout created","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook payout.created","href":"/webhooks/2026-07-24/payout-created"},{"title":"Payout paid","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook payout.paid","href":"/webhooks/2026-07-24/payout-paid"},{"title":"Payout failed","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/en/webhooks/2026-07-24.json webhook payout.failed","href":"/webhooks/2026-07-24/payout-failed"}]}]},{"version":"2026-07-11","pages":[{"title":"2026-07-11","href":"/webhooks/2026-07-11/subscription-created"}]},{"version":"2026-06-23","pages":[{"title":"2026-06-23","href":"/webhooks/2026-06-23/subscription-created"}]},{"version":"2026-06-10","pages":[{"title":"2026-06-10","href":"/webhooks/2026-06-10/subscription-created"}]},{"version":"2026-06-07","pages":[{"title":"2026-06-07","href":"/webhooks/2026-06-07/subscription-created"}]},{"version":"2026-05-25","pages":[{"title":"2026-05-25","href":"/webhooks/2026-05-25/subscription-created"}]},{"version":"2026-05-18","pages":[{"title":"2026-05-18","href":"/webhooks/2026-05-18/subscription-created"}]},{"version":"2026-05-12","pages":[{"title":"2026-05-12","href":"/webhooks/2026-05-12/subscription-created"}]},{"version":"2026-05-01","pages":[{"title":"2026-05-01","href":"/webhooks/2026-05-01/subscription-created"}]}]},{"tab":"Errors","hidden":true,"searchable":true,"pages":[{"title":"Errors","href":"/api-reference/errors/idempotency_in_progress"}]}]},{"language":"es","pages":[{"title":"es","href":"/es/api-reference/2026-07-24/usage/track-usage"}]}]},"basePath":"","title":"Track usage event - Commet","buildId":"dpl_6dVqRXFR2Go5vF5RLvAdHuv189oT","deploymentId":"dpl_6dVqRXFR2Go5vF5RLvAdHuv189oT","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-D_7my4bd.js","utils-Cq_itTNA.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-B5KPEvGz.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DBX-JepP.js","snippetPresets-Bsspz-Ge.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-jcs-2nGf.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-Dp53in7F.js","shallow-Dv9eUdUd.js","getApiPlaygroundDisplay-D8cDwNhi.js","CodeSnippet-DkwXLQor.js","CodeSnippets-DcSgKqs5.js","Page-t8ynOKTD.js","getPastedJson-I2RjoApV.js","icon-BIj57rZC.js","MethodPill-CTwLPWXC.js","DuplicateIcon-BJpFwygY.js","createIcon-C7PorfAe.js","DynamicMarkdown-BBht_uEs.js","SectionHeading-YIBwxbzj.js","axios-vUo_bRtp.js","Markdown--YCeFtOs.js","clsx-CrPa459s.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BWxsj3I0.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-fBzVvq7k.js"]}