{"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":"6af32dfc2f20aabdfd47d201","clientVersion":"0.0.4102","searchFilterCounts":[{"language":"en","tag":"API Reference","count":1593},{"language":"en","tag":"Endpoints","count":1593},{"language":"es","tag":"API Reference","count":1593},{"language":"es","tag":"Endpoints","count":1593},{"language":"en","tag":"Webhooks","count":752},{"language":"es","tag":"Webhooks","count":752},{"language":"en","tag":"Events","count":685},{"language":"es","tag":"Eventos","count":685},{"language":"en","tag":"Plans","count":438},{"language":"es","tag":"Plans","count":429},{"language":"en","tag":"Subscriptions","count":226},{"language":"es","tag":"Subscriptions","count":217},{"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":74},{"language":"es","tag":"Documentación","count":74}]},"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":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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}],"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":"es/api-reference/2026-05-18/usage/track-usage-event","slug":"/es/api-reference/2026-05-18/usage/track-usage-event","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 event","openapi":"/openapi/es/rest/2026-05-18.json post /usage/events","href":"/es/api-reference/2026-05-18/usage/track-usage-event","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-05-18`}),`. Send `,_jsx(_components.code,{children:`Commet-Version: 2026-05-18`}),` 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 event","openapi":"/openapi/es/rest/2026-05-18.json post /usage/events","href":"/es/api-reference/2026-05-18/usage/track-usage-event","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"track-usage-event","summary":"Track usage event","tags":["Usage"],"responses":{"201":"b580a0fe-7f68-4991-8e58-e36a52d435a2","400":"12c73234-5b50-46e6-b11b-c24e1de71d3c","401":"3d4c2f04-4a48-4390-964d-5279ac5061c7","402":"5c008d37-623e-47a5-8859-b4fc165b40a2","403":"07bb83f8-d92c-4cd8-ac0f-63998daeff81","404":"0760af84-ce1a-4b16-8bcb-85692fe32788","422":"304b77b9-8ab0-4cba-9d62-cd71f7b54354","429":"e2220a34-6e04-476f-84e0-cd8538b13254","500":"bd20cc66-e405-4803-9f1b-cc3055b8a392"},"description":"Track a usage event for a metered feature. Deducts from balance/credits if applicable.","requestBody":"4d2b7aca-80e2-40fe-b967-740ca23288f8","parameters":["8ca1b4d3-98b0-482c-9e42-ce00179b3d29"],"x-mint":{"href":"/es/api-reference/2026-05-18/usage/track-usage-event","content":"\u003cNote>This reference describes API version `2026-05-18`. Send `Commet-Version: 2026-05-18` with your request.\u003c/Note>"},"method":"post","type":"path","servers":["250d1a6e-9524-44b4-9cd1-c76b45c0ba2e"],"security":["23d53839-65ef-44c9-8dee-3d78ce0ea030"],"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.feature":"\u003cstring>","body.oneOf.0.customerId":"\u003cstring>","body.oneOf.0.value":1,"body.oneOf.0.model":"\u003cstring>","body.oneOf.0.inputTokens":4503599627370495,"body.oneOf.0.outputTokens":4503599627370495,"body.oneOf.0.idempotencyKey":"\u003cstring>","body.oneOf.0.cacheReadTokens":4503599627370495,"body.oneOf.0.cacheWriteTokens":4503599627370495,"body.oneOf.0.externalId":"\u003cstring>"}]},"dependencies":{"parameters":{"8ca1b4d3-98b0-482c-9e42-ce00179b3d29":{"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-05-18","isRequired":false,"description":"API version used by this reference. Send this header to select this contract explicitly.","uniqueKey":"","typeLabel":"string"},"example":"2026-05-18"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["feature","customerId","timestamp","properties","value","model","inputTokens","outputTokens"],"properties":{"feature":{"type":"string","minLength":1,"maxLength":50,"pattern":"^[a-z0-9_]+$","isRequired":true,"uniqueKey":"oneOf.0.feature","typeLabel":"string"},"customerId":{"type":"string","minLength":1,"maxLength":200,"isRequired":true,"uniqueKey":"oneOf.0.customerId","typeLabel":"string"},"timestamp":{"oneOf":[{"isRequired":true}],"isRequired":true,"uniqueKey":"oneOf.0.timestamp","typeLabel":"any"},"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"],"additionalProperties":false,"uniqueKey":"oneOf.0.properties.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"oneOf.0.properties","typeLabel":"object[]"},"value":{"default":1,"type":"number","minimum":0,"isRequired":true,"uniqueKey":"oneOf.0.value","typeLabel":"number"},"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"},"idempotencyKey":{"type":"string","minLength":1,"maxLength":200,"uniqueKey":"oneOf.0.idempotencyKey","typeLabel":"string"},"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"},"externalId":{"type":"string","uniqueKey":"oneOf.0.externalId","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","required":["feature","customerId","timestamp","properties","value"],"properties":{"feature":{"type":"string","minLength":1,"maxLength":50,"pattern":"^[a-z0-9_]+$","isRequired":true,"uniqueKey":"oneOf.1.feature","typeLabel":"string"},"customerId":{"type":"string","minLength":1,"maxLength":200,"isRequired":true,"uniqueKey":"oneOf.1.customerId","typeLabel":"string"},"timestamp":{"oneOf":[{"isRequired":true}],"isRequired":true,"uniqueKey":"oneOf.1.timestamp","typeLabel":"any"},"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"],"additionalProperties":false,"uniqueKey":"oneOf.1.properties.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"oneOf.1.properties","typeLabel":"object[]"},"value":{"default":1,"type":"number","minimum":0,"isRequired":true,"uniqueKey":"oneOf.1.value","typeLabel":"number"},"idempotencyKey":{"type":"string","minLength":1,"maxLength":200,"uniqueKey":"oneOf.1.idempotencyKey","typeLabel":"string"},"cacheReadTokens":{"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"oneOf.1.cacheReadTokens","typeLabel":"integer"},"cacheWriteTokens":{"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"oneOf.1.cacheWriteTokens","typeLabel":"integer"},"model":{"oneOf":[{"not":{}}],"uniqueKey":"oneOf.1.model","typeLabel":"any"},"inputTokens":{"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"oneOf.1.inputTokens","typeLabel":"integer"},"outputTokens":{"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"oneOf.1.outputTokens","typeLabel":"integer"},"externalId":{"type":"string","uniqueKey":"oneOf.1.externalId","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"feature":"\u003cstring>","customerId":"\u003cstring>","timestamp":"\u003cunknown>","properties":[],"value":1,"model":"\u003cstring>","inputTokens":4503599627370495,"outputTokens":4503599627370495,"idempotencyKey":"\u003cstring>","cacheReadTokens":4503599627370495,"cacheWriteTokens":4503599627370495,"externalId":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"b580a0fe-7f68-4991-8e58-e36a52d435a2":{"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":{"success":{"const":true,"isRequired":true,"uniqueKey":"success","typeLabel":"any"},"data":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"data.id","typeLabel":"string"},"feature":{"type":"string","isRequired":true,"uniqueKey":"data.feature","typeLabel":"string"},"value":{"type":"number","isRequired":true,"uniqueKey":"data.value","typeLabel":"number"},"customerId":{"type":"string","isRequired":true,"uniqueKey":"data.customerId","typeLabel":"string"},"idempotencyKey":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.idempotencyKey.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.idempotencyKey.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.idempotencyKey","typeLabel":"string | null"},"ts":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"data.ts","typeLabel":"string\u003cdate-time>"},"createdAt":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"data.createdAt","typeLabel":"string\u003cdate-time>"},"properties":{"type":"array","items":{"type":"object","properties":{"property":{"type":"string","isRequired":true,"uniqueKey":"data.properties.items.[INDEX].property","typeLabel":"string"},"value":{"type":"string","isRequired":true,"uniqueKey":"data.properties.items.[INDEX].value","typeLabel":"string"}},"required":["property","value"],"additionalProperties":false,"uniqueKey":"data.properties.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data.properties","typeLabel":"object[]"},"object":{"type":"string","const":"usage_event","isRequired":true,"uniqueKey":"data.object","typeLabel":"string"},"livemode":{"type":"boolean","isRequired":true,"uniqueKey":"data.livemode","typeLabel":"boolean"},"consumption":{"type":"object","properties":{"model":{"type":"string","enum":["credits","balance"],"isRequired":true,"uniqueKey":"data.consumption.model","typeLabel":"enum\u003cstring>"},"deducted":{"type":"number","isRequired":true,"uniqueKey":"data.consumption.deducted","typeLabel":"number"},"remaining":{"type":"number","isRequired":true,"uniqueKey":"data.consumption.remaining","typeLabel":"number"},"blocked":{"type":"boolean","isRequired":true,"uniqueKey":"data.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":"data.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":"data.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":"data.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":"data.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":"data.consumption.planCreditLimit.oneOf.0.resetsAt","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"uniqueKey":"data.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":"data.consumption.planCreditLimit.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.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":"data.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":"data.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":"data.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":"data.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":"data.consumption.planBalanceLimit.oneOf.0.resetsAt","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"uniqueKey":"data.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":"data.consumption.planBalanceLimit.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.consumption.planBalanceLimit","typeLabel":"object | null"}},"required":["model","deducted","remaining","blocked"],"additionalProperties":false,"uniqueKey":"data.consumption","typeLabel":"object"}},"required":["id","feature","value","customerId","idempotencyKey","ts","createdAt","properties","object","livemode"],"additionalProperties":false,"isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"required":["success","data"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":true,"data":{"id":"\u003cstring>","feature":"\u003cstring>","value":123,"customerId":"\u003cstring>","idempotencyKey":"\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"},"12c73234-5b50-46e6-b11b-c24e1de71d3c":{"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":{"success":{"const":false,"isRequired":true,"uniqueKey":"success","typeLabel":"any"},"code":{"type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"oneOf":[{}],"uniqueKey":"details","typeLabel":"any"}},"required":["success","code","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"code":"\u003cstring>","message":"\u003cstring>","details":"\u003cunknown>"}}},"exampleType":"generated"}},"exampleType":"generated"},"3d4c2f04-4a48-4390-964d-5279ac5061c7":{"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":{"success":{"const":false,"isRequired":true,"uniqueKey":"success","typeLabel":"any"},"code":{"type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"oneOf":[{}],"uniqueKey":"details","typeLabel":"any"}},"required":["success","code","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"code":"\u003cstring>","message":"\u003cstring>","details":"\u003cunknown>"}}},"exampleType":"generated"}},"exampleType":"generated"},"5c008d37-623e-47a5-8859-b4fc165b40a2":{"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":{"success":{"const":false,"isRequired":true,"uniqueKey":"success","typeLabel":"any"},"code":{"type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"oneOf":[{}],"uniqueKey":"details","typeLabel":"any"}},"required":["success","code","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"code":"\u003cstring>","message":"\u003cstring>","details":"\u003cunknown>"}}},"exampleType":"generated"}},"exampleType":"generated"},"07bb83f8-d92c-4cd8-ac0f-63998daeff81":{"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":{"success":{"const":false,"isRequired":true,"uniqueKey":"success","typeLabel":"any"},"code":{"type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"oneOf":[{}],"uniqueKey":"details","typeLabel":"any"}},"required":["success","code","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"code":"\u003cstring>","message":"\u003cstring>","details":"\u003cunknown>"}}},"exampleType":"generated"}},"exampleType":"generated"},"0760af84-ce1a-4b16-8bcb-85692fe32788":{"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":{"success":{"const":false,"isRequired":true,"uniqueKey":"success","typeLabel":"any"},"code":{"type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"oneOf":[{}],"uniqueKey":"details","typeLabel":"any"}},"required":["success","code","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"code":"\u003cstring>","message":"\u003cstring>","details":"\u003cunknown>"}}},"exampleType":"generated"}},"exampleType":"generated"},"304b77b9-8ab0-4cba-9d62-cd71f7b54354":{"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":{"success":{"const":false,"isRequired":true,"uniqueKey":"success","typeLabel":"any"},"code":{"type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"oneOf":[{}],"uniqueKey":"details","typeLabel":"any"}},"required":["success","code","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"code":"\u003cstring>","message":"\u003cstring>","details":"\u003cunknown>"}}},"exampleType":"generated"}},"exampleType":"generated"},"e2220a34-6e04-476f-84e0-cd8538b13254":{"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":{"success":{"const":false,"isRequired":true,"uniqueKey":"success","typeLabel":"any"},"code":{"type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"oneOf":[{}],"uniqueKey":"details","typeLabel":"any"}},"required":["success","code","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"code":"\u003cstring>","message":"\u003cstring>","details":"\u003cunknown>"}}},"exampleType":"generated"}},"exampleType":"generated"},"bd20cc66-e405-4803-9f1b-cc3055b8a392":{"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":{"success":{"const":false,"isRequired":true,"uniqueKey":"success","typeLabel":"any"},"code":{"type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"oneOf":[{}],"uniqueKey":"details","typeLabel":"any"}},"required":["success","code","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"code":"\u003cstring>","message":"\u003cstring>","details":"\u003cunknown>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"23d53839-65ef-44c9-8dee-3d78ce0ea030":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","scopes":[],"schemeName":"ApiKeyAuth"}}},"servers":{"250d1a6e-9524-44b4-9cd1-c76b45c0ba2e":{"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/es/rest/2026-05-18.json"},"subdomain":"commet","siteName":"Commet","title":"Track usage event - Commet","navMaps":{"firstHrefInVersion":{"2026-08-27":{"href":"/es/api-reference/add-ons/list-active-addons","matchLevel":2},"2026-07-31":{"href":"/es/api-reference/2026-07-31/add-ons/list-active-addons","matchLevel":2},"2026-07-24":{"href":"/es/api-reference/2026-07-24/add-ons/list-active-addons","matchLevel":2},"2026-07-11":{"href":"/es/api-reference/2026-07-11/usage/track-usage-event","matchLevel":1},"2026-06-23":{"href":"/es/api-reference/2026-06-23/usage/track-usage-event","matchLevel":1},"2026-06-10":{"href":"/es/api-reference/2026-06-10/usage/track-usage-event","matchLevel":1},"2026-06-07":{"href":"/es/api-reference/2026-06-07/usage/track-usage-event","matchLevel":1},"2026-05-25":{"href":"/es/api-reference/2026-05-25/usage/track-usage-event","matchLevel":1},"2026-05-18":{"href":"/es/api-reference/2026-05-18/usage/track-usage-event","matchLevel":0},"2026-05-12":{"href":"/es/api-reference/2026-05-12/usage/track-usage-event","matchLevel":1},"2026-05-01":{"href":"/es/api-reference/2026-05-01/usage/track-usage-event","matchLevel":1}},"firstHrefInLanguage":{"en":{"href":"/api-reference/2026-05-18/usage/track-usage-event","matchLevel":1},"es":{"href":"/es/api-reference/2026-05-18/usage/track-usage-event","matchLevel":0}}},"lastModified":"2026-11-09T13:21:51.652Z","originalFileLocation":"es/api-reference/2026-05-18/usage/track-usage-event.mdx","locale":"es"},"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/es/api-reference/2026-05-18/usage/track-usage-event\">\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=02d80e0c0bd2b39369db5397\u0026amp;signature=4a95951661bfecbb554aed5b4f01f62917d7882adf78bc6978f394e6b0d4a63b\">\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=02d80e0c0bd2b39369db5397\u0026amp;signature=4a95951661bfecbb554aed5b4f01f62917d7882adf78bc6978f394e6b0d4a63b\">\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/es/api-reference/2026-05-18/usage/track-usage-event\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/es/api-reference/2026-05-18/usage/track-usage-event.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/es/api-reference/2026-05-18/usage/track-usage-event#webpage\",\"url\":\"https://commet.co/docs/es/api-reference/2026-05-18/usage/track-usage-event\",\"name\":\"Track usage event\",\"description\":\"Track a usage event for a metered feature. Deducts from balance/credits if applicable.\",\"dateModified\":\"2026-11-09T13:21:51.652Z\",\"isPartOf\":{\"@id\":\"https://commet.co/docs#website\"},\"breadcrumb\":{\"@id\":\"https://commet.co/docs/es/api-reference/2026-05-18/usage/track-usage-event#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://commet.co/docs/es/api-reference/2026-05-18/usage/track-usage-event#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://commet.co/docs/es/api-reference/2026-05-18/add-ons/get-addon\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Usage\",\"item\":\"https://commet.co/docs/es/api-reference/2026-05-18/usage/check-usage-availability\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Track usage event\",\"item\":\"https://commet.co/docs/es/api-reference/2026-05-18/usage/track-usage-event\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://commet.co/docs/es/api-reference/2026-05-18/usage/track-usage-event#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/es/api-reference/2026-05-18/usage/track-usage-event\",\"mainEntityOfPage\":{\"@id\":\"https://commet.co/docs/es/api-reference/2026-05-18/usage/track-usage-event#webpage\"},\"dateModified\":\"2026-11-09T13:21:51.652Z\",\"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\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Commet\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/es/api-reference/2026-05-18/usage/track-usage-event.md","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,"pages":[{"title":"en","href":"/api-reference/2026-05-18/usage/track-usage-event"}]},{"language":"es","tabs":[{"tab":"Documentación","pages":[{"title":"Documentación","href":"/es"}]},{"tab":"Recursos","pages":[{"title":"Recursos","href":"/es/how-does-billing-work"}]},{"tab":"Construir con AI","pages":[{"title":"Construir con AI","href":"/es/ai-onboarding"}]},{"tab":"API Reference","versions":[{"version":"2026-08-27","default":true,"tag":"Actual","pages":[{"title":"2026-08-27","href":"/es/api-reference/add-ons/list-active-addons"}]},{"version":"2026-07-31","pages":[{"title":"2026-07-31","href":"/es/api-reference/2026-07-31/add-ons/list-active-addons"}]},{"version":"2026-07-24","pages":[{"title":"2026-07-24","href":"/es/api-reference/2026-07-24/add-ons/list-active-addons"}]},{"version":"2026-07-11","pages":[{"title":"2026-07-11","href":"/es/api-reference/2026-07-11/usage/track-usage-event"}]},{"version":"2026-06-23","pages":[{"title":"2026-06-23","href":"/es/api-reference/2026-06-23/usage/track-usage-event"}]},{"version":"2026-06-10","pages":[{"title":"2026-06-10","href":"/es/api-reference/2026-06-10/usage/track-usage-event"}]},{"version":"2026-06-07","pages":[{"title":"2026-06-07","href":"/es/api-reference/2026-06-07/usage/track-usage-event"}]},{"version":"2026-05-25","pages":[{"title":"2026-05-25","href":"/es/api-reference/2026-05-25/usage/track-usage-event"}]},{"version":"2026-05-18","groups":[{"group":"Endpoints","pages":[{"group":"Add-ons","pages":[{"title":"Get add-on","deprecated":null,"version":null,"sidebarTitle":"Get addon","openapi":"/openapi/es/rest/2026-05-18.json get /addons/{id}","href":"/es/api-reference/2026-05-18/add-ons/get-addon"},{"title":"Update add-on","deprecated":null,"version":null,"sidebarTitle":"Update addon","openapi":"/openapi/es/rest/2026-05-18.json put /addons/{id}","href":"/es/api-reference/2026-05-18/add-ons/update-addon"},{"title":"Delete add-on","deprecated":null,"version":null,"sidebarTitle":"Delete addon","openapi":"/openapi/es/rest/2026-05-18.json delete /addons/{id}","href":"/es/api-reference/2026-05-18/add-ons/delete-addon"},{"title":"List active add-ons","deprecated":null,"version":null,"sidebarTitle":"List active addons","openapi":"/openapi/es/rest/2026-05-18.json get /addons/active","href":"/es/api-reference/2026-05-18/add-ons/list-active-addons"},{"title":"List add-ons","deprecated":null,"version":null,"sidebarTitle":"List addons","openapi":"/openapi/es/rest/2026-05-18.json get /addons","href":"/es/api-reference/2026-05-18/add-ons/list-addons"},{"title":"Create add-on","deprecated":null,"version":null,"sidebarTitle":"Create addon","openapi":"/openapi/es/rest/2026-05-18.json post /addons","href":"/es/api-reference/2026-05-18/add-ons/create-addon"},{"title":"Deactivate add-on","deprecated":null,"version":null,"sidebarTitle":"Deactivate addon","openapi":"/openapi/es/rest/2026-05-18.json delete /subscriptions/{id}/addons/{addonId}","href":"/es/api-reference/2026-05-18/add-ons/deactivate-addon"},{"title":"Activate add-on","deprecated":null,"version":null,"sidebarTitle":"Activate addon","openapi":"/openapi/es/rest/2026-05-18.json post /subscriptions/{id}/addons","href":"/es/api-reference/2026-05-18/add-ons/activate-addon"}]},{"group":"API Keys","pages":[{"title":"Delete API key","deprecated":null,"version":null,"sidebarTitle":"Delete api key","openapi":"/openapi/es/rest/2026-05-18.json delete /api-keys/{id}","href":"/es/api-reference/2026-05-18/api-keys/delete-api-key"},{"title":"List API keys","deprecated":null,"version":null,"sidebarTitle":"List api keys","openapi":"/openapi/es/rest/2026-05-18.json get /api-keys","href":"/es/api-reference/2026-05-18/api-keys/list-api-keys"},{"title":"Create API key","deprecated":null,"version":null,"sidebarTitle":"Create api key","openapi":"/openapi/es/rest/2026-05-18.json post /api-keys","href":"/es/api-reference/2026-05-18/api-keys/create-api-key"}]},{"group":"Provisioning","pages":[{"title":"Create claim link","deprecated":null,"version":null,"sidebarTitle":"Create claim link","openapi":"/openapi/es/rest/2026-05-18.json post /claim-link","href":"/es/api-reference/2026-05-18/provisioning/create-claim-link"}]},{"group":"Credit Packs","pages":[{"title":"Update credit pack","deprecated":null,"version":null,"sidebarTitle":"Update credit pack","openapi":"/openapi/es/rest/2026-05-18.json put /credit-packs/{id}","href":"/es/api-reference/2026-05-18/credit-packs/update-credit-pack"},{"title":"Delete credit pack","deprecated":null,"version":null,"sidebarTitle":"Delete credit pack","openapi":"/openapi/es/rest/2026-05-18.json delete /credit-packs/{id}","href":"/es/api-reference/2026-05-18/credit-packs/delete-credit-pack"},{"title":"Create credit pack","deprecated":null,"version":null,"sidebarTitle":"Create credit pack","openapi":"/openapi/es/rest/2026-05-18.json post /credit-packs/manage","href":"/es/api-reference/2026-05-18/credit-packs/create-credit-pack"},{"title":"List credit packs","deprecated":null,"version":null,"sidebarTitle":"List credit packs","openapi":"/openapi/es/rest/2026-05-18.json get /credit-packs","href":"/es/api-reference/2026-05-18/credit-packs/list-credit-packs"},{"title":"Purchase credits","deprecated":null,"version":null,"sidebarTitle":"Purchase credits","openapi":"/openapi/es/rest/2026-05-18.json post /subscriptions/{id}/credits","href":"/es/api-reference/2026-05-18/credit-packs/purchase-credits"}]},{"group":"Customers","pages":[{"title":"Get customer","deprecated":null,"version":null,"sidebarTitle":"Get customer","openapi":"/openapi/es/rest/2026-05-18.json get /customers/{id}","href":"/es/api-reference/2026-05-18/customers/get-customer"},{"title":"Update customer","deprecated":null,"version":null,"sidebarTitle":"Update customer","openapi":"/openapi/es/rest/2026-05-18.json put /customers/{id}","href":"/es/api-reference/2026-05-18/customers/update-customer"},{"title":"Batch create customers","deprecated":null,"version":null,"sidebarTitle":"Batch create customers","openapi":"/openapi/es/rest/2026-05-18.json post /customers/batch","href":"/es/api-reference/2026-05-18/customers/batch-create-customers"},{"title":"List customers","deprecated":null,"version":null,"sidebarTitle":"List customers","openapi":"/openapi/es/rest/2026-05-18.json get /customers","href":"/es/api-reference/2026-05-18/customers/list-customers"},{"title":"Create customer","deprecated":null,"version":null,"sidebarTitle":"Create customer","openapi":"/openapi/es/rest/2026-05-18.json post /customers","href":"/es/api-reference/2026-05-18/customers/create-customer"}]},{"group":"Features","pages":[{"title":"Update feature","deprecated":null,"version":null,"sidebarTitle":"Update feature","openapi":"/openapi/es/rest/2026-05-18.json put /features/{code}/manage","href":"/es/api-reference/2026-05-18/features/update-feature"},{"title":"Delete feature","deprecated":null,"version":null,"sidebarTitle":"Delete feature","openapi":"/openapi/es/rest/2026-05-18.json delete /features/{code}/manage","href":"/es/api-reference/2026-05-18/features/delete-feature"},{"title":"Get feature access","deprecated":null,"version":null,"sidebarTitle":"Get feature access","openapi":"/openapi/es/rest/2026-05-18.json get /features/{code}","href":"/es/api-reference/2026-05-18/features/get-feature-access"},{"title":"Create feature","deprecated":null,"version":null,"sidebarTitle":"Create feature","openapi":"/openapi/es/rest/2026-05-18.json post /features/manage","href":"/es/api-reference/2026-05-18/features/create-feature"},{"title":"List features","deprecated":null,"version":null,"sidebarTitle":"List features","openapi":"/openapi/es/rest/2026-05-18.json get /features","href":"/es/api-reference/2026-05-18/features/list-features"}]},{"group":"Invoices","pages":[{"title":"Download invoice PDF","deprecated":null,"version":null,"sidebarTitle":"Download invoice","openapi":"/openapi/es/rest/2026-05-18.json get /invoices/{id}/download","href":"/es/api-reference/2026-05-18/invoices/download-invoice"},{"title":"Get invoice","deprecated":null,"version":null,"sidebarTitle":"Get invoice","openapi":"/openapi/es/rest/2026-05-18.json get /invoices/{id}","href":"/es/api-reference/2026-05-18/invoices/get-invoice"},{"title":"Send invoice email","deprecated":null,"version":null,"sidebarTitle":"Send invoice","openapi":"/openapi/es/rest/2026-05-18.json post /invoices/{id}/send","href":"/es/api-reference/2026-05-18/invoices/send-invoice"},{"title":"Update invoice status","deprecated":null,"version":null,"sidebarTitle":"Update invoice status","openapi":"/openapi/es/rest/2026-05-18.json put /invoices/{id}/status","href":"/es/api-reference/2026-05-18/invoices/update-invoice-status"},{"title":"List invoices","deprecated":null,"version":null,"sidebarTitle":"List invoices","openapi":"/openapi/es/rest/2026-05-18.json get /invoices","href":"/es/api-reference/2026-05-18/invoices/list-invoices"},{"title":"Create adjustment invoice","deprecated":null,"version":null,"sidebarTitle":"Create adjustment invoice","openapi":"/openapi/es/rest/2026-05-18.json post /invoices","href":"/es/api-reference/2026-05-18/invoices/create-adjustment-invoice"}]},{"group":"Payments","pages":[{"title":"Cancel a payment link","deprecated":null,"version":null,"sidebarTitle":"Cancel payment","openapi":"/openapi/es/rest/2026-05-18.json post /payments/{id}/cancel","href":"/es/api-reference/2026-05-18/payments/cancel-payment"},{"title":"Get payment","deprecated":null,"version":null,"sidebarTitle":"Get payment","openapi":"/openapi/es/rest/2026-05-18.json get /payments/{id}","href":"/es/api-reference/2026-05-18/payments/get-payment"},{"title":"Charge a customer","deprecated":null,"version":null,"sidebarTitle":"Charge payment","openapi":"/openapi/es/rest/2026-05-18.json post /payments/charge","href":"/es/api-reference/2026-05-18/payments/charge-payment"},{"title":"List payments","deprecated":null,"version":null,"sidebarTitle":"List payments","openapi":"/openapi/es/rest/2026-05-18.json get /payments","href":"/es/api-reference/2026-05-18/payments/list-payments"},{"title":"Create a payment link","deprecated":null,"version":null,"sidebarTitle":"Create payment","openapi":"/openapi/es/rest/2026-05-18.json post /payments","href":"/es/api-reference/2026-05-18/payments/create-payment"}]},{"group":"Payouts","pages":[{"title":"Add a payout bank account","deprecated":null,"version":null,"sidebarTitle":"Add payout bank account","openapi":"/openapi/es/rest/2026-05-18.json post /payouts/bank-accounts","href":"/es/api-reference/2026-05-18/payouts/add-payout-bank-account"},{"title":"Request a payout","deprecated":null,"version":null,"sidebarTitle":"Request payout","openapi":"/openapi/es/rest/2026-05-18.json post /payouts","href":"/es/api-reference/2026-05-18/payouts/request-payout"},{"title":"Deprecated payout verification","deprecated":true,"version":null,"sidebarTitle":"Complete payout verification","openapi":"/openapi/es/rest/2026-05-18.json post /payouts/verification","href":"/es/api-reference/2026-05-18/payouts/complete-payout-verification"}]},{"group":"Plan Groups","pages":[{"title":"Remove plan from group","deprecated":null,"version":null,"sidebarTitle":"Remove plan from group","openapi":"/openapi/es/rest/2026-05-18.json delete /plan-groups/{id}/plans/{planId}","href":"/es/api-reference/2026-05-18/plan-groups/remove-plan-from-group"},{"title":"Reorder plans in group","deprecated":null,"version":null,"sidebarTitle":"Reorder plans in group","openapi":"/openapi/es/rest/2026-05-18.json put /plan-groups/{id}/plans/reorder","href":"/es/api-reference/2026-05-18/plan-groups/reorder-plans-in-group"},{"title":"Add plan to group","deprecated":null,"version":null,"sidebarTitle":"Add plan to group","openapi":"/openapi/es/rest/2026-05-18.json post /plan-groups/{id}/plans","href":"/es/api-reference/2026-05-18/plan-groups/add-plan-to-group"},{"title":"Get plan group","deprecated":null,"version":null,"sidebarTitle":"Get plan group","openapi":"/openapi/es/rest/2026-05-18.json get /plan-groups/{id}","href":"/es/api-reference/2026-05-18/plan-groups/get-plan-group"},{"title":"Update plan group","deprecated":null,"version":null,"sidebarTitle":"Update plan group","openapi":"/openapi/es/rest/2026-05-18.json put /plan-groups/{id}","href":"/es/api-reference/2026-05-18/plan-groups/update-plan-group"},{"title":"Delete plan group","deprecated":null,"version":null,"sidebarTitle":"Delete plan group","openapi":"/openapi/es/rest/2026-05-18.json delete /plan-groups/{id}","href":"/es/api-reference/2026-05-18/plan-groups/delete-plan-group"},{"title":"List plan groups","deprecated":null,"version":null,"sidebarTitle":"List plan groups","openapi":"/openapi/es/rest/2026-05-18.json get /plan-groups","href":"/es/api-reference/2026-05-18/plan-groups/list-plan-groups"},{"title":"Create plan group","deprecated":null,"version":null,"sidebarTitle":"Create plan group","openapi":"/openapi/es/rest/2026-05-18.json post /plan-groups","href":"/es/api-reference/2026-05-18/plan-groups/create-plan-group"}]},{"group":"Plans","pages":[{"title":"Publish plan draft","deprecated":null,"version":null,"sidebarTitle":"Publish plan draft","openapi":"/openapi/es/rest/2026-05-18.json post /plans/{id}/drafts/{draftId}/publish","href":"/es/api-reference/2026-05-18/plans/publish-plan-draft"},{"title":"Get plan draft","deprecated":null,"version":null,"sidebarTitle":"Get plan draft","openapi":"/openapi/es/rest/2026-05-18.json get /plans/{id}/drafts/{draftId}","href":"/es/api-reference/2026-05-18/plans/get-plan-draft"},{"title":"Discard plan draft","deprecated":null,"version":null,"sidebarTitle":"Delete plan draft","openapi":"/openapi/es/rest/2026-05-18.json delete /plans/{id}/drafts/{draftId}","href":"/es/api-reference/2026-05-18/plans/delete-plan-draft"},{"title":"Update plan draft","deprecated":null,"version":null,"sidebarTitle":"Update plan draft","openapi":"/openapi/es/rest/2026-05-18.json patch /plans/{id}/drafts/{draftId}","href":"/es/api-reference/2026-05-18/plans/update-plan-draft"},{"title":"List plan drafts","deprecated":null,"version":null,"sidebarTitle":"List plan drafts","openapi":"/openapi/es/rest/2026-05-18.json get /plans/{id}/drafts","href":"/es/api-reference/2026-05-18/plans/list-plan-drafts"},{"title":"Create plan draft","deprecated":null,"version":null,"sidebarTitle":"Create plan draft","openapi":"/openapi/es/rest/2026-05-18.json post /plans/{id}/drafts","href":"/es/api-reference/2026-05-18/plans/create-plan-draft"},{"title":"Archive plan experiment","deprecated":null,"version":null,"sidebarTitle":"Archive plan experiment","openapi":"/openapi/es/rest/2026-05-18.json post /plans/{id}/experiments/{code}/archive","href":"/es/api-reference/2026-05-18/plans/archive-plan-experiment"},{"title":"Make plan experiment current","deprecated":null,"version":null,"sidebarTitle":"Make plan experiment current","openapi":"/openapi/es/rest/2026-05-18.json post /plans/{id}/experiments/{code}/make-current","href":"/es/api-reference/2026-05-18/plans/make-plan-experiment-current"},{"title":"Get plan experiment","deprecated":null,"version":null,"sidebarTitle":"Get plan experiment","openapi":"/openapi/es/rest/2026-05-18.json get /plans/{id}/experiments/{code}","href":"/es/api-reference/2026-05-18/plans/get-plan-experiment"},{"title":"Create plan experiment version","deprecated":null,"version":null,"sidebarTitle":"Create plan experiment version","openapi":"/openapi/es/rest/2026-05-18.json post /plans/{id}/experiments/{code}/versions","href":"/es/api-reference/2026-05-18/plans/create-plan-experiment-version"},{"title":"List plan experiments","deprecated":null,"version":null,"sidebarTitle":"List plan experiments","openapi":"/openapi/es/rest/2026-05-18.json get /plans/{id}/experiments","href":"/es/api-reference/2026-05-18/plans/list-plan-experiments"},{"title":"Create plan experiment","deprecated":null,"version":null,"sidebarTitle":"Create plan experiment","openapi":"/openapi/es/rest/2026-05-18.json post /plans/{id}/experiments","href":"/es/api-reference/2026-05-18/plans/create-plan-experiment"},{"title":"Update plan feature","deprecated":null,"version":null,"sidebarTitle":"Update plan feature","openapi":"/openapi/es/rest/2026-05-18.json put /plans/{id}/features/{featureId}","href":"/es/api-reference/2026-05-18/plans/update-plan-feature"},{"title":"Remove feature from plan","deprecated":null,"version":null,"sidebarTitle":"Remove plan feature","openapi":"/openapi/es/rest/2026-05-18.json delete /plans/{id}/features/{featureId}","href":"/es/api-reference/2026-05-18/plans/remove-plan-feature"},{"title":"Add feature to plan","deprecated":null,"version":null,"sidebarTitle":"Add plan feature","openapi":"/openapi/es/rest/2026-05-18.json post /plans/{id}/features","href":"/es/api-reference/2026-05-18/plans/add-plan-feature"},{"title":"Update plan","deprecated":null,"version":null,"sidebarTitle":"Update plan","openapi":"/openapi/es/rest/2026-05-18.json put /plans/{id}/manage","href":"/es/api-reference/2026-05-18/plans/update-plan"},{"title":"Delete plan","deprecated":null,"version":null,"sidebarTitle":"Delete plan","openapi":"/openapi/es/rest/2026-05-18.json delete /plans/{id}/manage","href":"/es/api-reference/2026-05-18/plans/delete-plan"},{"title":"Cancel plan move","deprecated":null,"version":null,"sidebarTitle":"Cancel plan move","openapi":"/openapi/es/rest/2026-05-18.json post /plans/{id}/moves/{moveId}/cancel","href":"/es/api-reference/2026-05-18/plans/cancel-plan-move"},{"title":"Get plan move","deprecated":null,"version":null,"sidebarTitle":"Get plan move","openapi":"/openapi/es/rest/2026-05-18.json get /plans/{id}/moves/{moveId}","href":"/es/api-reference/2026-05-18/plans/get-plan-move"},{"title":"Cancel plan move for one subscriber","deprecated":null,"version":null,"sidebarTitle":"Cancel plan move subscription","openapi":"/openapi/es/rest/2026-05-18.json post /plans/{id}/moves/{moveId}/subscriptions/{subscriptionId}/cancel","href":"/es/api-reference/2026-05-18/plans/cancel-plan-move-subscription"},{"title":"List plan moves","deprecated":null,"version":null,"sidebarTitle":"List plan moves","openapi":"/openapi/es/rest/2026-05-18.json get /plans/{id}/moves","href":"/es/api-reference/2026-05-18/plans/list-plan-moves"},{"title":"Move subscribers to a plan version","deprecated":null,"version":null,"sidebarTitle":"Create plan move","openapi":"/openapi/es/rest/2026-05-18.json post /plans/{id}/moves","href":"/es/api-reference/2026-05-18/plans/create-plan-move"},{"title":"Keep a subscriber on its version","deprecated":null,"version":null,"sidebarTitle":"Keep plan subscriber on version","openapi":"/openapi/es/rest/2026-05-18.json post /plans/{id}/needs-a-change/{subscriptionId}/keep","href":"/es/api-reference/2026-05-18/plans/keep-plan-subscriber-on-version"},{"title":"List subscribers that need a change","deprecated":null,"version":null,"sidebarTitle":"List plan subscribers needing a change","openapi":"/openapi/es/rest/2026-05-18.json get /plans/{id}/needs-a-change","href":"/es/api-reference/2026-05-18/plans/list-plan-subscribers-needing-a-change"},{"title":"Set default price","deprecated":null,"version":null,"sidebarTitle":"Set default plan price","openapi":"/openapi/es/rest/2026-05-18.json put /plans/{id}/prices/{priceId}/default","href":"/es/api-reference/2026-05-18/plans/set-default-plan-price"},{"title":"Upsert regional prices","deprecated":null,"version":null,"sidebarTitle":"Upsert regional prices","openapi":"/openapi/es/rest/2026-05-18.json put /plans/{id}/prices/{priceId}/regional","href":"/es/api-reference/2026-05-18/plans/upsert-regional-prices"},{"title":"Delete regional prices","deprecated":null,"version":null,"sidebarTitle":"Delete regional prices","openapi":"/openapi/es/rest/2026-05-18.json delete /plans/{id}/prices/{priceId}/regional","href":"/es/api-reference/2026-05-18/plans/delete-regional-prices"},{"title":"Update plan price","deprecated":null,"version":null,"sidebarTitle":"Update plan price","openapi":"/openapi/es/rest/2026-05-18.json put /plans/{id}/prices/{priceId}","href":"/es/api-reference/2026-05-18/plans/update-plan-price"},{"title":"Archive plan price","deprecated":null,"version":null,"sidebarTitle":"Delete plan price","openapi":"/openapi/es/rest/2026-05-18.json delete /plans/{id}/prices/{priceId}","href":"/es/api-reference/2026-05-18/plans/delete-plan-price"},{"title":"Add price to plan","deprecated":null,"version":null,"sidebarTitle":"Add plan price","openapi":"/openapi/es/rest/2026-05-18.json post /plans/{id}/prices","href":"/es/api-reference/2026-05-18/plans/add-plan-price"},{"title":"Set plan regional pricing","deprecated":null,"version":null,"sidebarTitle":"Set plan regional pricing","openapi":"/openapi/es/rest/2026-05-18.json put /plans/{id}/regional","href":"/es/api-reference/2026-05-18/plans/set-plan-regional-pricing"},{"title":"Get plan","deprecated":null,"version":null,"sidebarTitle":"Get plan","openapi":"/openapi/es/rest/2026-05-18.json get /plans/{id}","href":"/es/api-reference/2026-05-18/plans/get-plan"},{"title":"Compare plan versions","deprecated":null,"version":null,"sidebarTitle":"Compare plan versions","openapi":"/openapi/es/rest/2026-05-18.json get /plans/{id}/versions/{versionId}/changes","href":"/es/api-reference/2026-05-18/plans/compare-plan-versions"},{"title":"Get plan version","deprecated":null,"version":null,"sidebarTitle":"Get plan version","openapi":"/openapi/es/rest/2026-05-18.json get /plans/{id}/versions/{versionId}","href":"/es/api-reference/2026-05-18/plans/get-plan-version"},{"title":"List plan versions","deprecated":null,"version":null,"sidebarTitle":"List plan versions","openapi":"/openapi/es/rest/2026-05-18.json get /plans/{id}/versions","href":"/es/api-reference/2026-05-18/plans/list-plan-versions"},{"title":"Create plan version","deprecated":null,"version":null,"sidebarTitle":"Create plan version","openapi":"/openapi/es/rest/2026-05-18.json post /plans/{id}/versions","href":"/es/api-reference/2026-05-18/plans/create-plan-version"},{"title":"Set plan visibility","deprecated":null,"version":null,"sidebarTitle":"Set plan visibility","openapi":"/openapi/es/rest/2026-05-18.json put /plans/{id}/visibility","href":"/es/api-reference/2026-05-18/plans/set-plan-visibility"},{"title":"Create plan","deprecated":null,"version":null,"sidebarTitle":"Create plan","openapi":"/openapi/es/rest/2026-05-18.json post /plans/manage","href":"/es/api-reference/2026-05-18/plans/create-plan"},{"title":"List plans","deprecated":null,"version":null,"sidebarTitle":"List plans","openapi":"/openapi/es/rest/2026-05-18.json get /plans","href":"/es/api-reference/2026-05-18/plans/list-plans"}]},{"group":"Portal","pages":[{"title":"Request portal access","deprecated":null,"version":null,"sidebarTitle":"Request portal access","openapi":"/openapi/es/rest/2026-05-18.json post /portal/request-access","href":"/es/api-reference/2026-05-18/portal/request-portal-access"}]},{"group":"Promo Codes","pages":[{"title":"Get promo code","deprecated":null,"version":null,"sidebarTitle":"Get promo code","openapi":"/openapi/es/rest/2026-05-18.json get /promo-codes/{id}","href":"/es/api-reference/2026-05-18/promo-codes/get-promo-code"},{"title":"Update promo code","deprecated":null,"version":null,"sidebarTitle":"Update promo code","openapi":"/openapi/es/rest/2026-05-18.json put /promo-codes/{id}","href":"/es/api-reference/2026-05-18/promo-codes/update-promo-code"},{"title":"List promo codes","deprecated":null,"version":null,"sidebarTitle":"List promo codes","openapi":"/openapi/es/rest/2026-05-18.json get /promo-codes","href":"/es/api-reference/2026-05-18/promo-codes/list-promo-codes"},{"title":"Create promo code","deprecated":null,"version":null,"sidebarTitle":"Create promo code","openapi":"/openapi/es/rest/2026-05-18.json post /promo-codes","href":"/es/api-reference/2026-05-18/promo-codes/create-promo-code"}]},{"group":"Seats","pages":[{"title":"Get seat balance","deprecated":null,"version":null,"sidebarTitle":"Get seat balance","openapi":"/openapi/es/rest/2026-05-18.json get /seats/balance","href":"/es/api-reference/2026-05-18/seats/get-seat-balance"},{"title":"Get all seat balances","deprecated":null,"version":null,"sidebarTitle":"Get all seat balances","openapi":"/openapi/es/rest/2026-05-18.json get /seats/balances","href":"/es/api-reference/2026-05-18/seats/get-all-seat-balances"},{"title":"Bulk set seats","deprecated":null,"version":null,"sidebarTitle":"Bulk set seats","openapi":"/openapi/es/rest/2026-05-18.json put /seats/bulk","href":"/es/api-reference/2026-05-18/seats/bulk-set-seats"},{"title":"Set seats","deprecated":null,"version":null,"sidebarTitle":"Set seats","openapi":"/openapi/es/rest/2026-05-18.json put /seats","href":"/es/api-reference/2026-05-18/seats/set-seats"},{"title":"Add seats","deprecated":null,"version":null,"sidebarTitle":"Add seats","openapi":"/openapi/es/rest/2026-05-18.json post /seats","href":"/es/api-reference/2026-05-18/seats/add-seats"},{"title":"Remove seats","deprecated":null,"version":null,"sidebarTitle":"Remove seats","openapi":"/openapi/es/rest/2026-05-18.json delete /seats","href":"/es/api-reference/2026-05-18/seats/remove-seats"}]},{"group":"Subscriptions","pages":[{"title":"Get auto top-up","deprecated":null,"version":null,"sidebarTitle":"Get subscription auto top up","openapi":"/openapi/es/rest/2026-05-18.json get /subscriptions/{id}/auto-top-up","href":"/es/api-reference/2026-05-18/subscriptions/get-subscription-auto-top-up"},{"title":"Update auto top-up","deprecated":null,"version":null,"sidebarTitle":"Update subscription auto top up","openapi":"/openapi/es/rest/2026-05-18.json patch /subscriptions/{id}/auto-top-up","href":"/es/api-reference/2026-05-18/subscriptions/update-subscription-auto-top-up"},{"title":"Adjust balance","deprecated":null,"version":null,"sidebarTitle":"Adjust balance","openapi":"/openapi/es/rest/2026-05-18.json post /subscriptions/{id}/balance/adjust","href":"/es/api-reference/2026-05-18/subscriptions/adjust-balance"},{"title":"Top up balance","deprecated":null,"version":null,"sidebarTitle":"Topup balance","openapi":"/openapi/es/rest/2026-05-18.json post /subscriptions/{id}/balance/topup","href":"/es/api-reference/2026-05-18/subscriptions/topup-balance"},{"title":"Cancel subscription","deprecated":null,"version":null,"sidebarTitle":"Cancel subscription","openapi":"/openapi/es/rest/2026-05-18.json post /subscriptions/{id}/cancel","href":"/es/api-reference/2026-05-18/subscriptions/cancel-subscription"},{"title":"Change plan","deprecated":null,"version":null,"sidebarTitle":"Change plan","openapi":"/openapi/es/rest/2026-05-18.json post /subscriptions/{id}/change-plan","href":"/es/api-reference/2026-05-18/subscriptions/change-plan"},{"title":"Change subscription version","deprecated":null,"version":null,"sidebarTitle":"Change subscription version","openapi":"/openapi/es/rest/2026-05-18.json post /subscriptions/{id}/change-version","href":"/es/api-reference/2026-05-18/subscriptions/change-subscription-version"},{"title":"Update payment method","deprecated":null,"version":null,"sidebarTitle":"Update payment method","openapi":"/openapi/es/rest/2026-05-18.json post /subscriptions/{id}/payment-method/update","href":"/es/api-reference/2026-05-18/subscriptions/update-payment-method"},{"title":"Pay billing periods in advance","deprecated":null,"version":null,"sidebarTitle":"Create prepaid periods checkout","openapi":"/openapi/es/rest/2026-05-18.json post /subscriptions/{id}/prepaid-periods","href":"/es/api-reference/2026-05-18/subscriptions/create-prepaid-periods-checkout"},{"title":"Preview plan change","deprecated":null,"version":null,"sidebarTitle":"Preview change plan","openapi":"/openapi/es/rest/2026-05-18.json post /subscriptions/{id}/preview-change","href":"/es/api-reference/2026-05-18/subscriptions/preview-change-plan"},{"title":"Reactivate a past due or canceled subscription","deprecated":null,"version":null,"sidebarTitle":"Reactivate subscription","openapi":"/openapi/es/rest/2026-05-18.json post /subscriptions/{id}/reactivate","href":"/es/api-reference/2026-05-18/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/es/rest/2026-05-18.json post /subscriptions/{id}/recovery-link","href":"/es/api-reference/2026-05-18/subscriptions/create-subscription-recovery-link"},{"title":"Get subscription by ID","deprecated":null,"version":null,"sidebarTitle":"Get subscription","openapi":"/openapi/es/rest/2026-05-18.json get /subscriptions/{id}","href":"/es/api-reference/2026-05-18/subscriptions/get-subscription"},{"title":"Revoke scheduled plan change","deprecated":null,"version":null,"sidebarTitle":"Revoke scheduled plan change","openapi":"/openapi/es/rest/2026-05-18.json delete /subscriptions/{id}/scheduled-plan-change","href":"/es/api-reference/2026-05-18/subscriptions/revoke-scheduled-plan-change"},{"title":"Revoke scheduled version change","deprecated":null,"version":null,"sidebarTitle":"Revoke scheduled version change","openapi":"/openapi/es/rest/2026-05-18.json delete /subscriptions/{id}/scheduled-version-change","href":"/es/api-reference/2026-05-18/subscriptions/revoke-scheduled-version-change"},{"title":"Revert scheduled cancellation","deprecated":null,"version":null,"sidebarTitle":"Uncancel subscription","openapi":"/openapi/es/rest/2026-05-18.json post /subscriptions/{id}/uncancel","href":"/es/api-reference/2026-05-18/subscriptions/uncancel-subscription"},{"title":"Get active subscription","deprecated":null,"version":null,"sidebarTitle":"Get active subscription","openapi":"/openapi/es/rest/2026-05-18.json get /subscriptions/active","href":"/es/api-reference/2026-05-18/subscriptions/get-active-subscription"},{"title":"List subscriptions","deprecated":null,"version":null,"sidebarTitle":"List subscriptions","openapi":"/openapi/es/rest/2026-05-18.json get /subscriptions","href":"/es/api-reference/2026-05-18/subscriptions/list-subscriptions"},{"title":"Create subscription","deprecated":null,"version":null,"sidebarTitle":"Create subscription","openapi":"/openapi/es/rest/2026-05-18.json post /subscriptions","href":"/es/api-reference/2026-05-18/subscriptions/create-subscription"}]},{"group":"Test Clock","pages":[{"title":"Deprecated manual billing processing","deprecated":true,"version":null,"sidebarTitle":"Process test clock billing","openapi":"/openapi/es/rest/2026-05-18.json post /test-clock/process-billing","href":"/es/api-reference/2026-05-18/test-clock/process-test-clock-billing"},{"title":"Get test clock state","deprecated":null,"version":null,"sidebarTitle":"Get test clock","openapi":"/openapi/es/rest/2026-05-18.json get /test-clock","href":"/es/api-reference/2026-05-18/test-clock/get-test-clock"},{"title":"Advance test clock","deprecated":null,"version":null,"sidebarTitle":"Advance test clock","openapi":"/openapi/es/rest/2026-05-18.json post /test-clock","href":"/es/api-reference/2026-05-18/test-clock/advance-test-clock"}]},{"group":"Transactions","pages":[{"title":"Refund transaction","deprecated":null,"version":null,"sidebarTitle":"Refund transaction","openapi":"/openapi/es/rest/2026-05-18.json post /transactions/{id}/refund","href":"/es/api-reference/2026-05-18/transactions/refund-transaction"},{"title":"Retry transaction","deprecated":null,"version":null,"sidebarTitle":"Retry transaction","openapi":"/openapi/es/rest/2026-05-18.json post /transactions/{id}/retry","href":"/es/api-reference/2026-05-18/transactions/retry-transaction"},{"title":"Get transaction","deprecated":null,"version":null,"sidebarTitle":"Get transaction","openapi":"/openapi/es/rest/2026-05-18.json get /transactions/{id}","href":"/es/api-reference/2026-05-18/transactions/get-transaction"},{"title":"List transactions","deprecated":null,"version":null,"sidebarTitle":"List transactions","openapi":"/openapi/es/rest/2026-05-18.json get /transactions","href":"/es/api-reference/2026-05-18/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/es/rest/2026-05-18.json post /usage/check","href":"/es/api-reference/2026-05-18/usage/check-usage-availability"},{"title":"Track usage event","deprecated":null,"version":null,"sidebarTitle":"Track usage event","openapi":"/openapi/es/rest/2026-05-18.json post /usage/events","href":"/es/api-reference/2026-05-18/usage/track-usage-event"},{"title":"Set current usage","description":"Set a metered feature's usage to an exact value for the current period. Commet records the difference as an auditable adjustment event.","deprecated":null,"version":null,"sidebarTitle":"Set usage","openapi":"/openapi/es/rest/2026-05-18.json put /usage","href":"/es/api-reference/2026-05-18/usage/set-usage"}]},{"group":"Quota","pages":[{"title":"List quota allowances","deprecated":null,"version":null,"sidebarTitle":"Get all quota allowances","openapi":"/openapi/es/rest/2026-05-18.json get /usage/quota/all","href":"/es/api-reference/2026-05-18/quota/get-all-quota-allowances"},{"title":"Get quota allowance","deprecated":null,"version":null,"sidebarTitle":"Get quota allowance","openapi":"/openapi/es/rest/2026-05-18.json get /usage/quota","href":"/es/api-reference/2026-05-18/quota/get-quota-allowance"},{"title":"Set quota","deprecated":null,"version":null,"sidebarTitle":"Set quota","openapi":"/openapi/es/rest/2026-05-18.json put /usage/quota","href":"/es/api-reference/2026-05-18/quota/set-quota"},{"title":"Add quota","deprecated":null,"version":null,"sidebarTitle":"Add quota","openapi":"/openapi/es/rest/2026-05-18.json post /usage/quota","href":"/es/api-reference/2026-05-18/quota/add-quota"},{"title":"Remove quota","deprecated":null,"version":null,"sidebarTitle":"Remove quota","openapi":"/openapi/es/rest/2026-05-18.json delete /usage/quota","href":"/es/api-reference/2026-05-18/quota/remove-quota"}]},{"group":"Webhooks","pages":[{"title":"Get webhook endpoint","deprecated":null,"version":null,"sidebarTitle":"Get webhook endpoint","openapi":"/openapi/es/rest/2026-05-18.json get /webhooks/{id}","href":"/es/api-reference/2026-05-18/webhooks/get-webhook-endpoint"},{"title":"Update webhook endpoint","deprecated":null,"version":null,"sidebarTitle":"Update webhook endpoint","openapi":"/openapi/es/rest/2026-05-18.json put /webhooks/{id}","href":"/es/api-reference/2026-05-18/webhooks/update-webhook-endpoint"},{"title":"Delete webhook endpoint","deprecated":null,"version":null,"sidebarTitle":"Delete webhook endpoint","openapi":"/openapi/es/rest/2026-05-18.json delete /webhooks/{id}","href":"/es/api-reference/2026-05-18/webhooks/delete-webhook-endpoint"},{"title":"Test webhook endpoint","deprecated":null,"version":null,"sidebarTitle":"Test webhook endpoint","openapi":"/openapi/es/rest/2026-05-18.json post /webhooks/{id}/test","href":"/es/api-reference/2026-05-18/webhooks/test-webhook-endpoint"},{"title":"List webhook endpoints","deprecated":null,"version":null,"sidebarTitle":"List webhook endpoints","openapi":"/openapi/es/rest/2026-05-18.json get /webhooks","href":"/es/api-reference/2026-05-18/webhooks/list-webhook-endpoints"},{"title":"Create webhook endpoint","deprecated":null,"version":null,"sidebarTitle":"Create webhook endpoint","openapi":"/openapi/es/rest/2026-05-18.json post /webhooks","href":"/es/api-reference/2026-05-18/webhooks/create-webhook-endpoint"}]}]}]},{"version":"2026-05-12","pages":[{"title":"2026-05-12","href":"/es/api-reference/2026-05-12/usage/track-usage-event"}]},{"version":"2026-05-01","pages":[{"title":"2026-05-01","href":"/es/api-reference/2026-05-01/usage/track-usage-event"}]}]},{"tab":"Webhooks","versions":[{"version":"2026-08-27","default":true,"tag":"Actual","pages":[{"title":"2026-08-27","href":"/es/webhooks/introduction"}]},{"version":"2026-07-31","pages":[{"title":"2026-07-31","href":"/es/webhooks/2026-07-31/subscription-created"}]},{"version":"2026-07-24","pages":[{"title":"2026-07-24","href":"/es/webhooks/2026-07-24/subscription-created"}]},{"version":"2026-07-11","pages":[{"title":"2026-07-11","href":"/es/webhooks/2026-07-11/subscription-created"}]},{"version":"2026-06-23","pages":[{"title":"2026-06-23","href":"/es/webhooks/2026-06-23/subscription-created"}]},{"version":"2026-06-10","pages":[{"title":"2026-06-10","href":"/es/webhooks/2026-06-10/subscription-created"}]},{"version":"2026-06-07","pages":[{"title":"2026-06-07","href":"/es/webhooks/2026-06-07/subscription-created"}]},{"version":"2026-05-25","pages":[{"title":"2026-05-25","href":"/es/webhooks/2026-05-25/subscription-created"}]},{"version":"2026-05-18","groups":[{"group":"Eventos","pages":[{"title":"Subscription created","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook subscription.created","href":"/es/webhooks/2026-05-18/subscription-created"},{"title":"Subscription activated","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook subscription.activated","href":"/es/webhooks/2026-05-18/subscription-activated"},{"title":"Subscription reactivated","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook subscription.reactivated","href":"/es/webhooks/2026-05-18/subscription-reactivated"},{"title":"Subscription canceled","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook subscription.canceled","href":"/es/webhooks/2026-05-18/subscription-canceled"},{"title":"Subscription updated","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook subscription.updated","href":"/es/webhooks/2026-05-18/subscription-updated"},{"title":"Subscription plan changed","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook subscription.plan_changed","href":"/es/webhooks/2026-05-18/subscription-plan-changed"},{"title":"Subscription cancellation scheduled","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook subscription.cancellation_scheduled","href":"/es/webhooks/2026-05-18/subscription-cancellation-scheduled"},{"title":"Subscription cancellation revoked","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook subscription.cancellation_revoked","href":"/es/webhooks/2026-05-18/subscription-cancellation-revoked"},{"title":"Subscription plan change scheduled","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook subscription.plan_change_scheduled","href":"/es/webhooks/2026-05-18/subscription-plan-change-scheduled"},{"title":"Subscription plan change revoked","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook subscription.plan_change_revoked","href":"/es/webhooks/2026-05-18/subscription-plan-change-revoked"},{"title":"Subscription version changed","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook subscription.version_changed","href":"/es/webhooks/2026-05-18/subscription-version-changed"},{"title":"Subscription version change canceled","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook subscription.version_change_canceled","href":"/es/webhooks/2026-05-18/subscription-version-change-canceled"},{"title":"Subscription past due","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook subscription.past_due","href":"/es/webhooks/2026-05-18/subscription-past-due"},{"title":"Trial started","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook trial.started","href":"/es/webhooks/2026-05-18/trial-started"},{"title":"Trial converted","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook trial.converted","href":"/es/webhooks/2026-05-18/trial-converted"},{"title":"Trial expired","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook trial.expired","href":"/es/webhooks/2026-05-18/trial-expired"},{"title":"Trial will end","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook trial.will_end","href":"/es/webhooks/2026-05-18/trial-will-end"},{"title":"Trial checkout ready","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook trial.checkout_ready","href":"/es/webhooks/2026-05-18/trial-checkout-ready"},{"title":"Checkout ready","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook checkout.ready","href":"/es/webhooks/2026-05-18/checkout-ready"},{"title":"Payment received","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook payment.received","href":"/es/webhooks/2026-05-18/payment-received"},{"title":"Payment failed","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook payment.failed","href":"/es/webhooks/2026-05-18/payment-failed"},{"title":"Payment recovered","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook payment.recovered","href":"/es/webhooks/2026-05-18/payment-recovered"},{"title":"Payment retry failed","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook payment.retry_failed","href":"/es/webhooks/2026-05-18/payment-retry-failed"},{"title":"Payment refunded","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook payment.refunded","href":"/es/webhooks/2026-05-18/payment-refunded"},{"title":"Payment disputed","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook payment.disputed","href":"/es/webhooks/2026-05-18/payment-disputed"},{"title":"Payment dispute resolved","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook payment.dispute_resolved","href":"/es/webhooks/2026-05-18/payment-dispute-resolved"},{"title":"Payment link created","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook payment_link.created","href":"/es/webhooks/2026-05-18/payment-link-created"},{"title":"Payment link completed","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook payment_link.completed","href":"/es/webhooks/2026-05-18/payment-link-completed"},{"title":"Payment link failed","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook payment_link.failed","href":"/es/webhooks/2026-05-18/payment-link-failed"},{"title":"Payment link canceled","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook payment_link.canceled","href":"/es/webhooks/2026-05-18/payment-link-canceled"},{"title":"Invoice created","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook invoice.created","href":"/es/webhooks/2026-05-18/invoice-created"},{"title":"Invoice voided","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook invoice.voided","href":"/es/webhooks/2026-05-18/invoice-voided"},{"title":"Invoice overdue","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook invoice.overdue","href":"/es/webhooks/2026-05-18/invoice-overdue"},{"title":"Invoice upcoming","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook invoice.upcoming","href":"/es/webhooks/2026-05-18/invoice-upcoming"},{"title":"Payment method attached","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook payment_method.attached","href":"/es/webhooks/2026-05-18/payment-method-attached"},{"title":"Payment method updated","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook payment_method.updated","href":"/es/webhooks/2026-05-18/payment-method-updated"},{"title":"Payment method detached","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook payment_method.detached","href":"/es/webhooks/2026-05-18/payment-method-detached"},{"title":"Customer created","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook customer.created","href":"/es/webhooks/2026-05-18/customer-created"},{"title":"Customer updated","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook customer.updated","href":"/es/webhooks/2026-05-18/customer-updated"},{"title":"Customer state changed","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook customer.state_changed","href":"/es/webhooks/2026-05-18/customer-state-changed"},{"title":"Credits granted","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook credits.granted","href":"/es/webhooks/2026-05-18/credits-granted"},{"title":"Credits purchased","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook credits.purchased","href":"/es/webhooks/2026-05-18/credits-purchased"},{"title":"Credits low","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook credits.low","href":"/es/webhooks/2026-05-18/credits-low"},{"title":"Credits depleted","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook credits.depleted","href":"/es/webhooks/2026-05-18/credits-depleted"},{"title":"Credits expired","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook credits.expired","href":"/es/webhooks/2026-05-18/credits-expired"},{"title":"Balance granted","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook balance.granted","href":"/es/webhooks/2026-05-18/balance-granted"},{"title":"Balance topped up","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook balance.topped_up","href":"/es/webhooks/2026-05-18/balance-topped-up"},{"title":"Balance low","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook balance.low","href":"/es/webhooks/2026-05-18/balance-low"},{"title":"Balance depleted","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook balance.depleted","href":"/es/webhooks/2026-05-18/balance-depleted"},{"title":"Balance expired","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook balance.expired","href":"/es/webhooks/2026-05-18/balance-expired"},{"title":"Quota threshold reached","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook quota.threshold_reached","href":"/es/webhooks/2026-05-18/quota-threshold-reached"},{"title":"Quota exceeded","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook quota.exceeded","href":"/es/webhooks/2026-05-18/quota-exceeded"},{"title":"Seats updated","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook seats.updated","href":"/es/webhooks/2026-05-18/seats-updated"},{"title":"Seats limit reached","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook seats.limit_reached","href":"/es/webhooks/2026-05-18/seats-limit-reached"},{"title":"Addon activated","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook addon.activated","href":"/es/webhooks/2026-05-18/addon-activated"},{"title":"Addon deactivated","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook addon.deactivated","href":"/es/webhooks/2026-05-18/addon-deactivated"},{"title":"Usage recorded","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook usage.recorded","href":"/es/webhooks/2026-05-18/usage-recorded"},{"title":"Payout available","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook payout.available","href":"/es/webhooks/2026-05-18/payout-available"},{"title":"Payout created","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook payout.created","href":"/es/webhooks/2026-05-18/payout-created"},{"title":"Payout paid","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook payout.paid","href":"/es/webhooks/2026-05-18/payout-paid"},{"title":"Payout failed","version":null,"deprecated":null,"playground":"none","openapi":"/openapi/es/webhooks/2026-05-18.json webhook payout.failed","href":"/es/webhooks/2026-05-18/payout-failed"}]}]},{"version":"2026-05-12","pages":[{"title":"2026-05-12","href":"/es/webhooks/2026-05-12/subscription-created"}]},{"version":"2026-05-01","pages":[{"title":"2026-05-01","href":"/es/webhooks/2026-05-01/subscription-created"}]}]},{"tab":"Errores","hidden":true,"searchable":true,"pages":[{"title":"Errores","href":"/es/api-reference/errors/idempotency_key_mismatch"}]}]}]},"basePath":"","title":"Track usage event - Commet","buildId":"dpl_2AK98Hxhwu4fUXpx9atbv41cC328","deploymentId":"dpl_2AK98Hxhwu4fUXpx9atbv41cC328","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-EBSrFTg1.js","utils-Y_7TcRh4.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-D1wvvkPH.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-aT0ty6oN.js","snippetPresets-DoNRuyJc.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-CXRajFpn.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BAyOsINj.js","shallow-CIcHqV1v.js","getApiPlaygroundDisplay-C5igZwEf.js","CodeSnippet-BFWnQLNh.js","CodeSnippets-Cx2mFgZW.js","Page-DCFaZE46.js","getPastedJson-BOy09PZp.js","icon-BwmYtB6R.js","MethodPill-DAIhq-iu.js","DuplicateIcon-DFM8Q3ph.js","createIcon-0UdvzB4Z.js","DynamicMarkdown-DYYZTGpa.js","SectionHeading-BFCDRUuH.js","axios-vUo_bRtp.js","Markdown-C6TcKjiR.js","clsx-Y_UC780V.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-PCbBHBTv.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-D4q_oRML.js"]}