Present in the response body when success is false.
Show child attributes
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"DynamoSQL","colors":{"primary":"#FF9900","light":"#FFB84D","dark":"#CC7A00"},"favicon":"https://mintcdn.com/jmrapidapps/zPacbr5tPJpZGVDx/public/logo/favicon.svg?fit=max\u0026auto=format\u0026n=zPacbr5tPJpZGVDx\u0026q=85\u0026s=174d2799d2c7fea0cca12c504852eb82","logo":{"light":"https://mintcdn.com/jmrapidapps/zPacbr5tPJpZGVDx/public/logo/light.svg?fit=max\u0026auto=format\u0026n=zPacbr5tPJpZGVDx\u0026q=85\u0026s=b0b5e003ebd8596309d1d3c65f1766b2","dark":"https://mintcdn.com/jmrapidapps/zPacbr5tPJpZGVDx/public/logo/dark.svg?fit=max\u0026auto=format\u0026n=zPacbr5tPJpZGVDx\u0026q=85\u0026s=edbec3c5e90a09e52d9fb90ed5ebed42","href":"https://dynamosql.com"},"api":{"openapi":"openapi.yaml","mdx":{"server":"https://api.dynamosql.com"}},"navbar":{"links":[{"label":"Postman Collection","href":"/guides/postman"}],"primary":null},"footer":{"socials":{"github":"https://github.com/dynamosql"}},"integrations":{"posthog":{"apiKey":"phc_AbHH4xBEuoGEcrzBotzsBK3KUbXXaMc9WyPdSjg7soPf"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"jmrapidapps","hasAudioNarration":false,"actualSubdomain":"jmrapidapps","customDomains":["docs.dynamosql.com"],"gitSource":{"type":"github","owner":"jmrapidapps","repo":"dynamosql-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a21ec174469870420d777be","collectionId":"b13809aa-716c-4dcc-bf02-a17b49ccbb8c","schemaVersion":"v2"},"entitlements":{},"buildId":"6a21ec174469870420d777be:success","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"API Reference","count":12},{"language":"default","tag":"SQL Reference","count":10},{"language":"default","tag":"Schemas","count":7},{"language":"default","tag":"Guides","count":6},{"language":"default","tag":"MCP Server","count":4},{"language":"default","tag":"Authentication","count":3},{"language":"default","tag":"Get Started","count":3},{"language":"default","tag":"Changelog","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/usage","slug":"/api-reference/usage","pageMetadata":{"title":"Usage Summary","description":"Query metered usage — requests, rows returned, and DynamoDB read units.","openapi":"GET /v1/usage/summary","href":"/api-reference/usage"},"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: \"Query metered usage — requests, rows returned, and DynamoDB read units.\"\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`,p:`p`,..._provideComponents(),...props.components},{Note}=_components;if(!Note)_missingMdxReference(`Note`,true);return _jsx(Note,{children:_jsxs(_components.p,{children:[`Required scope: `,_jsx(_components.code,{children:`usage:read`})]})})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Usage Summary","description":"Query metered usage — requests, rows returned, and DynamoDB read units.","openapi":"GET /v1/usage/summary","href":"/api-reference/usage"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Usage"],"summary":"Get usage summary","operationId":"getUsageSummary","description":"Query metered usage — requests, rows returned, and DynamoDB read units.","parameters":["c7ddd7a9-b376-4213-a121-54d65d019a45","5f195ba0-4431-48e7-aa4b-44d2902f78f0"],"responses":{"200":"18937142-35c4-496a-a29f-c9a7c9c72f78","400":"6ee45ebc-935f-4d34-87a3-054135d4cd6c","401":"95f3bc10-2d54-4959-b816-983d4a02e10d","403":"1ea0830d-46b7-4b61-bb1c-adeaea26f763"},"method":"get","type":"path","servers":["f0e8b82c-f23b-45b8-98d0-a5dfa741027c"],"security":["5d4db47c-9a52-4670-89b6-ced7f3f65594"],"path":"/v1/usage/summary","baseUrlOptions":["https://api.dynamosql.com"],"title":"Get usage summary","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"c7ddd7a9-b376-4213-a121-54d65d019a45":{"in":"query","name":"startDate","required":true,"schema":{"type":"string","isRequired":true,"description":"Start of the date range, inclusive. Format: `YYYY-MM-DD`. Must be a valid calendar date and must be on or before `endDate`.\n","uniqueKey":"","typeLabel":"string"},"description":"Start of the date range, inclusive. Format: `YYYY-MM-DD`. Must be a valid calendar date and must be on or before `endDate`.\n","example":"2026-03-01"},"5f195ba0-4431-48e7-aa4b-44d2902f78f0":{"in":"query","name":"endDate","required":true,"schema":{"type":"string","isRequired":true,"description":"End of the date range, inclusive. Format: `YYYY-MM-DD`. Must be a valid calendar date. Maximum range is 366 days from `startDate`.\n","uniqueKey":"","typeLabel":"string"},"description":"End of the date range, inclusive. Format: `YYYY-MM-DD`. Must be a valid calendar date. Maximum range is 366 days from `startDate`.\n","example":"2026-03-31"}},"responses":{"18937142-35c4-496a-a29f-c9a7c9c72f78":{"description":"Usage summary for the requested date range.","content":{"application/json":{"schema":{"type":"object","required":["success"],"properties":{"success":{"type":"boolean","description":"`true` when the request was processed without errors, `false` otherwise. Always present.\n","isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"data":{"type":"object","description":"Aggregated usage for the requested date range, broken down by day and summarized in totals.\n","required":["tenantId","startDate","endDate","totals","days"],"properties":{"tenantId":{"type":"string","description":"The tenant the usage data belongs to.","example":"tenant-abc123","isRequired":true,"uniqueKey":"data.tenantId","typeLabel":"string"},"startDate":{"type":"string","description":"Start of the requested range (`YYYY-MM-DD`, inclusive).","example":"2026-03-01","isRequired":true,"uniqueKey":"data.startDate","typeLabel":"string"},"endDate":{"type":"string","description":"End of the requested range (`YYYY-MM-DD`, inclusive).","example":"2026-03-31","isRequired":true,"uniqueKey":"data.endDate","typeLabel":"string"},"totals":{"type":"object","description":"Sum of all daily metrics across the full date range.","properties":{"requests":{"type":"integer","description":"Total requests across the date range.","example":4210,"uniqueKey":"data.totals.requests","typeLabel":"integer"},"rowsReturned":{"type":"integer","description":"Total rows returned across the date range.","example":1752000,"uniqueKey":"data.totals.rowsReturned","typeLabel":"integer"},"ddbReadUnits":{"type":"integer","description":"Total DynamoDB RCUs consumed across the date range.","example":384900,"uniqueKey":"data.totals.ddbReadUnits","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"data.totals","typeLabel":"object"},"days":{"type":"array","description":"Per-day breakdown, sorted ascending by date.","items":{"type":"object","description":"Aggregated usage metrics for a single calendar day.","required":["day","requests","rowsReturned","ddbReadUnits"],"properties":{"day":{"type":"string","description":"Calendar date in `YYYY-MM-DD` format.","example":"2026-03-01","isRequired":true,"uniqueKey":"data.days.items.[INDEX].day","typeLabel":"string"},"requests":{"type":"integer","description":"Number of query requests executed on this day. Includes both `execute` and `plan` mode requests.\n","example":142,"isRequired":true,"uniqueKey":"data.days.items.[INDEX].requests","typeLabel":"integer"},"rowsReturned":{"type":"integer","description":"Total rows returned across all execute-mode queries on this day. Plan-mode queries return 0 rows.\n","example":58300,"isRequired":true,"uniqueKey":"data.days.items.[INDEX].rowsReturned","typeLabel":"integer"},"ddbReadUnits":{"type":"integer","description":"DynamoDB read capacity units consumed on this day across all queries. Reflects actual RCU consumption billed by AWS.\n","example":12450,"isRequired":true,"uniqueKey":"data.days.items.[INDEX].ddbReadUnits","typeLabel":"integer"}},"uniqueKey":"data.days.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data.days","typeLabel":"object[]"}},"uniqueKey":"data","typeLabel":"object"},"error":{"type":"object","description":"Present in the response body when `success` is `false`.","properties":{"message":{"type":"string","description":"Human-readable description of what went wrong.","uniqueKey":"error.message","typeLabel":"string"},"code":{"type":"string","description":"Machine-readable error code, when available.","uniqueKey":"error.code","typeLabel":"string"},"requestId":{"type":"string","description":"Request correlation ID. Include this when contacting support.\n","uniqueKey":"error.requestId","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"success":true,"data":{"tenantId":"tenant-abc123","startDate":"2026-03-01","endDate":"2026-03-31","totals":{"requests":4210,"rowsReturned":1752000,"ddbReadUnits":384900},"days":[{"day":"2026-03-01","requests":142,"rowsReturned":58300,"ddbReadUnits":12450},{"day":"2026-03-02","requests":198,"rowsReturned":81200,"ddbReadUnits":18700}]}},"examples":{"Example":{"title":"Example","value":{"success":true,"data":{"tenantId":"tenant-abc123","startDate":"2026-03-01","endDate":"2026-03-31","totals":{"requests":4210,"rowsReturned":1752000,"ddbReadUnits":384900},"days":[{"day":"2026-03-01","requests":142,"rowsReturned":58300,"ddbReadUnits":12450},{"day":"2026-03-02","requests":198,"rowsReturned":81200,"ddbReadUnits":18700}]}}}},"exampleType":"examples"}},"exampleType":"examples"},"6ee45ebc-935f-4d34-87a3-054135d4cd6c":{"description":"Missing or invalid date parameters. Possible causes: `startDate` or `endDate` not provided; date not in `YYYY-MM-DD` format; not a valid calendar date; `endDate` is before `startDate`; range exceeds 366 days.\n","content":{"application/json":{"schema":{"type":"object","required":["success"],"properties":{"success":{"type":"boolean","description":"`true` when the request was processed without errors, `false` otherwise. Always present.\n","isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"data":{"oneOf":[{}],"uniqueKey":"data","typeLabel":"any"},"error":{"type":"object","description":"Present in the response body when `success` is `false`.","properties":{"message":{"type":"string","description":"Human-readable description of what went wrong.","uniqueKey":"error.message","typeLabel":"string"},"code":{"type":"string","description":"Machine-readable error code, when available.","uniqueKey":"error.code","typeLabel":"string"},"requestId":{"type":"string","description":"Request correlation ID. Include this when contacting support.\n","uniqueKey":"error.requestId","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"success":false,"error":{"message":"startDate must be before or equal to endDate"}},"examples":{"Example":{"title":"Example","value":{"success":false,"error":{"message":"startDate must be before or equal to endDate"}}}},"exampleType":"examples"}},"exampleType":"examples"},"95f3bc10-2d54-4959-b816-983d4a02e10d":{"description":"Missing `Authorization` header, expired JWT, or token issuer/audience does not match the DynamoSQL Cognito user pool.\n","content":{"application/json":{"schema":{"type":"object","required":["success"],"properties":{"success":{"type":"boolean","description":"`true` when the request was processed without errors, `false` otherwise. Always present.\n","isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"data":{"oneOf":[{}],"uniqueKey":"data","typeLabel":"any"},"error":{"type":"object","description":"Present in the response body when `success` is `false`.","properties":{"message":{"type":"string","description":"Human-readable description of what went wrong.","uniqueKey":"error.message","typeLabel":"string"},"code":{"type":"string","description":"Machine-readable error code, when available.","uniqueKey":"error.code","typeLabel":"string"},"requestId":{"type":"string","description":"Request correlation ID. Include this when contacting support.\n","uniqueKey":"error.requestId","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"success":false,"error":{"message":"Unauthorized"}},"examples":{"Example":{"title":"Example","value":{"success":false,"error":{"message":"Unauthorized"}}}},"exampleType":"examples"}},"exampleType":"examples"},"1ea0830d-46b7-4b61-bb1c-adeaea26f763":{"description":"The caller lacks the required role or a tenant-scoping violation was detected.\n","content":{"application/json":{"schema":{"type":"object","required":["success"],"properties":{"success":{"type":"boolean","description":"`true` when the request was processed without errors, `false` otherwise. Always present.\n","isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"data":{"oneOf":[{}],"uniqueKey":"data","typeLabel":"any"},"error":{"type":"object","description":"Present in the response body when `success` is `false`.","properties":{"message":{"type":"string","description":"Human-readable description of what went wrong.","uniqueKey":"error.message","typeLabel":"string"},"code":{"type":"string","description":"Machine-readable error code, when available.","uniqueKey":"error.code","typeLabel":"string"},"requestId":{"type":"string","description":"Request correlation ID. Include this when contacting support.\n","uniqueKey":"error.requestId","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"success":false,"error":{"message":"Tenant admin access required"}},"examples":{"Example":{"title":"Example","value":{"success":false,"error":{"message":"Tenant admin access required"}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"5d4db47c-9a52-4670-89b6-ced7f3f65594":{"cognitoJwt":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Bearer token obtained from `POST /v1/auth/token`. Pass in the `Authorization` header as `Bearer \u003ctoken>`.\n","scopes":[]}}},"servers":{"f0e8b82c-f23b-45b8-98d0-a5dfa741027c":{"url":"https://api.dynamosql.com","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Bearer token obtained from `POST /v1/auth/token`. Pass in the `Authorization` header as `Bearer \u003ctoken>`.\n","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer token obtained from `POST /v1/auth/token`. Pass in the `Authorization` header as `Bearer \u003ctoken>`.\n","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"cognitoJwt","name":"Authorization"}],"title":"cognitoJwt"}]},"originalFileLocation":"openapi.yaml"},"subdomain":"jmrapidapps","siteName":"DynamoSQL","title":"Usage Summary - DynamoSQL","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-03-13T23:18:21.577Z","originalFileLocation":"api-reference/usage.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Query metered usage — requests, rows returned, and DynamoDB read units.\">\u003cmeta data-mint-head name=\"application-name\" content=\"DynamoSQL\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/jmrapidapps/W3kttRsvcCgl31Iw/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/jmrapidapps/W3kttRsvcCgl31Iw/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/jmrapidapps/W3kttRsvcCgl31Iw/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/jmrapidapps/W3kttRsvcCgl31Iw/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/jmrapidapps/W3kttRsvcCgl31Iw/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/jmrapidapps/W3kttRsvcCgl31Iw/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/jmrapidapps/W3kttRsvcCgl31Iw/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/jmrapidapps/W3kttRsvcCgl31Iw/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/jmrapidapps/W3kttRsvcCgl31Iw/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Usage Summary - DynamoSQL\">\u003cmeta data-mint-head property=\"og:description\" content=\"Query metered usage — requests, rows returned, and DynamoDB read units.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"DynamoSQL\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.dynamosql.com/api-reference/usage\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://jmrapidapps.mintlify.app/_mintlify/api/og/v2?division=API+Reference\u0026amp;title=Usage+Summary\u0026amp;description=Query+metered+usage+%E2%80%94+requests%2C+rows+returned%2C+and+DynamoDB+read+units.\u0026amp;theme=e55e953bcc4617de573a62ae\u0026amp;signature=82c7e01e4d79bdbf235784cce352ff183b72d1136fd38a55898a2fdfdc68125f\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Usage Summary - DynamoSQL\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Query metered usage — requests, rows returned, and DynamoDB read units.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://jmrapidapps.mintlify.app/_mintlify/api/og/v2?division=API+Reference\u0026amp;title=Usage+Summary\u0026amp;description=Query+metered+usage+%E2%80%94+requests%2C+rows+returned%2C+and+DynamoDB+read+units.\u0026amp;theme=e55e953bcc4617de573a62ae\u0026amp;signature=82c7e01e4d79bdbf235784cce352ff183b72d1136fd38a55898a2fdfdc68125f\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/jmrapidapps/W3kttRsvcCgl31Iw/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"DynamoSQL\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FF9900\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.dynamosql.com/api-reference/usage\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/usage.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.dynamosql.com/#organization\",\"name\":\"DynamoSQL\",\"url\":\"https://docs.dynamosql.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/jmrapidapps/zPacbr5tPJpZGVDx/public/logo/light.svg?fit=max\u0026auto=format\u0026n=zPacbr5tPJpZGVDx\u0026q=85\u0026s=b0b5e003ebd8596309d1d3c65f1766b2\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.dynamosql.com#website\",\"name\":\"DynamoSQL\",\"url\":\"https://docs.dynamosql.com\",\"publisher\":{\"@id\":\"https://docs.dynamosql.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.dynamosql.com/api-reference/usage#webpage\",\"url\":\"https://docs.dynamosql.com/api-reference/usage\",\"name\":\"Usage Summary\",\"description\":\"Query metered usage — requests, rows returned, and DynamoDB read units.\",\"dateModified\":\"2026-03-13T23:18:21.577Z\",\"isPartOf\":{\"@id\":\"https://docs.dynamosql.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.dynamosql.com/api-reference/usage#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.dynamosql.com/api-reference/usage#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://docs.dynamosql.com/api-reference/authentication\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Usage Summary\",\"item\":\"https://docs.dynamosql.com/api-reference/usage\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.dynamosql.com/api-reference/usage#apireference\",\"headline\":\"Usage Summary\",\"name\":\"Usage Summary\",\"description\":\"Query metered usage — requests, rows returned, and DynamoDB read units.\",\"url\":\"https://docs.dynamosql.com/api-reference/usage\",\"mainEntityOfPage\":{\"@id\":\"https://docs.dynamosql.com/api-reference/usage#webpage\"},\"dateModified\":\"2026-03-13T23:18:21.577Z\",\"publisher\":{\"@id\":\"https://docs.dynamosql.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.dynamosql.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"DynamoSQL\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"DynamoSQL","nav":{"global":null,"groups":[{"group":"Get Started","pages":[{"title":"Quickstart","href":"/guides/quickstart"},{"title":"Authentication","href":"/guides/authentication"},{"title":"IAM Setup","href":"/guides/iam-setup"}]},{"group":"Guides","pages":[{"title":"Query Modes","href":"/guides/query-modes"},{"title":"Response Formats","href":"/guides/response-formats"},{"title":"Pagination","href":"/guides/pagination"},{"title":"Error Handling","href":"/guides/error-handling"},{"title":"Rate Limits and Quotas","href":"/guides/rate-limits-and-quotas"},{"title":"Postman Collection","href":"/guides/postman"}]},{"group":"MCP Server","pages":[{"title":"Overview","href":"/mcp/overview"},{"title":"MCP Quickstart","href":"/mcp/quickstart"},{"title":"MCP Authentication","href":"/mcp/authentication"},{"title":"Tools and Resources","href":"/mcp/tools-and-resources"}]},{"group":"API Reference","pages":[{"group":"Authentication","pages":[{"title":"Authentication","href":"/api-reference/authentication"},{"title":"Get Access Token","openapi":"POST /v1/auth/token","href":"/api-reference/authentication/get-token"},{"title":"Refresh Access Token","openapi":"POST /v1/auth/refresh","href":"/api-reference/authentication/refresh-token"}]},{"title":"Query","openapi":"POST /v1/query","href":"/api-reference/query"},{"group":"Schemas","pages":[{"title":"List Schemas","openapi":"GET /v1/schemas","href":"/api-reference/schemas/list"},{"title":"Create Schema","openapi":"POST /v1/schemas","href":"/api-reference/schemas/create"},{"title":"Get Schema","openapi":"GET /v1/schemas/{schemaName}","href":"/api-reference/schemas/get"},{"title":"Update Schema","openapi":"PATCH /v1/schemas/{schemaName}","href":"/api-reference/schemas/update"},{"title":"Delete Schema","openapi":"DELETE /v1/schemas/{schemaName}","href":"/api-reference/schemas/delete"},{"title":"Refresh Metadata","openapi":"POST /v1/schemas/{schemaName}/refresh-metadata","href":"/api-reference/schemas/refresh-metadata"},{"title":"Validate Role","description":"Verify that the schema's IAM role can be assumed and has DynamoDB access.","openapi":"POST /v1/schemas/{schemaName}/validate-role","href":"/api-reference/schemas/validate-role"}]},{"title":"Usage Summary","openapi":"GET /v1/usage/summary","href":"/api-reference/usage"}]},{"group":"SQL Reference","pages":[{"title":"SQL Reference Overview","description":"What SQL DynamoSQL supports today.","href":"/sql-reference/overview"},{"title":"SELECT","href":"/sql-reference/select"},{"title":"FROM and JOINs","href":"/sql-reference/from-and-joins"},{"title":"WHERE Predicates","href":"/sql-reference/where-predicates"},{"title":"Grouping and Aggregation","href":"/sql-reference/grouping-and-aggregation"},{"title":"Subqueries and CTEs","href":"/sql-reference/subqueries-and-ctes"},{"title":"Set Operations","href":"/sql-reference/set-operations"},{"title":"Expressions and Operators","href":"/sql-reference/expressions-and-operators"},{"title":"Functions","href":"/sql-reference/functions"},{"title":"Limitations","href":"/sql-reference/limitations"}]},{"group":"Changelog","pages":[{"title":"2026 Changelog","href":"/changelog/2026"}]}]},"basePath":"","title":"Usage Summary - DynamoSQL","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CS552b7R.js","utils-DDTCYAF2.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-De8ttokP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DrwRDvAh.js","snippetPresets-DtAN0nWx.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D5rWArI6.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-O2i12wsz.js","shallow-DV8xABTt.js","getApiPlaygroundDisplay-DBZ0B5Jx.js","CodeSnippet-BVi0tPUX.js","CodeSnippets-CqASbIwY.js","Page-m07pfKpT.js","getPastedJson-DG9vsMS8.js","icon-CXzRSCr8.js","MethodPill-BdKVtEuX.js","DuplicateIcon-CZlmBrJI.js","createIcon-biFEUKPL.js","DynamicMarkdown-B54_zNBF.js","SectionHeading-DwwHK3Pt.js","axios-vUo_bRtp.js","Markdown-DfhCTwyA.js","clsx-xpJZXxdP.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BTZUMDnx.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-DqdKa2R4.js"]}