{"docsConfig":{"theme":"luma","$schema":"https://mintlify.com/docs.json","name":"X","colors":{"primary":"#0D0D0D","light":"#B2B2B2","dark":"#0D0D0D"},"logo":{"light":"https://mintcdn.com/x-preview/CX6FNhUUR8mtNZ97/logo/light.svg?fit=max\u0026auto=format\u0026n=CX6FNhUUR8mtNZ97\u0026q=85\u0026s=b2e6f2ff399e1bc5cd0c588f9644983d","dark":"https://mintcdn.com/x-preview/CX6FNhUUR8mtNZ97/logo/dark.svg?fit=max\u0026auto=format\u0026n=CX6FNhUUR8mtNZ97\u0026q=85\u0026s=d7b8656c2bcee6e9d5c947f6419e8b82"},"favicon":"https://mintcdn.com/x-preview/s_D1jGy1nLdDmXkd/favicon.png?fit=max\u0026auto=format\u0026n=s_D1jGy1nLdDmXkd\u0026q=85\u0026s=80ae09fccb5fee6b52fc4f31c15ac2f7","appearance":{"default":"dark","strict":true},"background":{"color":{"light":"#FFFFFF","dark":"#000000"}},"navbar":{"links":[{"href":"/support","label":"Support"}],"primary":{"type":"button","label":"Developer Console","href":"https://developer.x.com/en/portal/petition/essential/basic-info"}},"footer":{"socials":{"x":"https://x.com/xdevelopers","github":"https://github.com/xdevplatform"},"links":[{"header":"Resources","items":[{"label":"Status","href":"https://developer.x.com/status"},{"label":"Incidents","href":"/incidents"}]},{"header":"Legal","items":[{"label":"Terms of Service","href":"https://x.com/en/tos"},{"label":"Privacy Policy","href":"https://x.com/en/privacy"},{"label":"Cookies","href":"https://help.x.com/en/rules-and-policies/x-cookies"},{"label":"Developer Terms","href":"https://docs.x.com/developer-terms"}]}]},"seo":{"metatags":{"canonical":"https://docs.x.com","og:site_name":"X Developer Platform","og:type":"website","og:locale":"en_US","twitter:card":"summary_large_image","twitter:site":"@xdevelopers","description":"Build, analyze, and innovate with X's real-time global data and APIs. Access comprehensive API documentation, SDKs, tutorials, and developer tools.","author":"X Developer Platform","language":"en","robots":"index, follow","googlebot":"index, follow","og:image":"https://docs.x.com/images/og-default.png","og:image:width":"1200","og:image:height":"630","twitter:image":"https://docs.x.com/images/og-default.png"},"indexing":"all"},"fonts":{"family":"Chirp","weight":400,"source":"fonts/chirp-regular-web.woff2","format":"woff2"},"contextual":{"options":["copy","view",{"title":"Open in Grok","description":"Ask questions about this page","icon":"/logo/grok.svg","href":{"base":"https://grok.com","query":[{"key":"q","value":"Read from https://docs.x.com$path so I can ask questions about it."}]}}],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Developer Console","icon":"https://mintlify.s3.us-west-1.amazonaws.com/x-preview/icons/xds/icon-console.svg","href":"https://developer.x.com/en/portal/petition/essential/basic-info"},{"anchor":"Forums","icon":"https://mintlify.s3.us-west-1.amazonaws.com/x-preview/icons/xds/icon-chat.svg","href":"https://devcommunity.x.com"},{"anchor":"GitHub","icon":"github","href":"https://github.com/xdevplatform"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"x-preview","hasAudioNarration":false,"actualSubdomain":"x-preview","customDomains":["docs.x.com"],"gitSource":{"type":"github","owner":"xdevplatform","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae6433f3badfbce406cb3a4","collectionId":"fa28b03a-144c-4188-a64c-a80304a9828e","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae6433f3badfbce406cb3a4"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae79af9ee23c3f33b1e211f","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"API Reference","count":695},{"language":"default","tag":"X API","count":355},{"language":"default","tag":"TypeScript XDK","count":315},{"language":"default","tag":"Interfaces","count":284},{"language":"default","tag":"Misc","count":281},{"language":"default","tag":"General","count":260},{"language":"default","tag":"Documentation","count":157},{"language":"default","tag":"Guides","count":81},{"language":"default","tag":"Posts","count":77},{"language":"default","tag":"Python XDK","count":67}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":[{"filePath":"style.css","href":"/_mintlify/custom/x-preview/9ac9ff4335261041/style.css"}],"page":{"pagePath":"xdks/python/reference/modules","slug":"/xdks/python/reference/modules","pageMetadata":{"title":"xdk","sidebarTitle":"API Reference","description":"List of every module in the X API Python SDK reference, linking to clients, request/response models, and helpers for each X API v2 endpoint group.","href":"/xdks/python/reference/modules","hidden":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: \"List of every module in the X API Python SDK reference, linking to clients, request/response models, and helpers for each X API v2 endpoint group.\"\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={a:`a`,li:`li`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);return _jsx(AccordionGroup,{children:_jsxs(Accordion,{title:`Packages`,id:`packages`,children:[_jsx(Accordion,{title:`Account Activity`,id:`account-activity`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.account_activity.client`,children:`Client`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.account_activity`,children:`Core`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.account_activity.models`,children:`Models`})}),`\n`]})}),_jsx(Accordion,{title:`Activity`,id:`activity`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.activity.client`,children:`Client`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.activity`,children:`Core`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.activity.models`,children:`Models`})}),`\n`]})}),_jsx(Accordion,{title:`Client`,id:`client`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.client`,children:`Client`})}),`\n`]})}),_jsx(Accordion,{title:`Communities`,id:`communities`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.communities.client`,children:`Client`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.communities`,children:`Core`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.communities.models`,children:`Models`})}),`\n`]})}),_jsx(Accordion,{title:`Community Notes`,id:`community-notes`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.community_notes.client`,children:`Client`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.community_notes`,children:`Core`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.community_notes.models`,children:`Models`})}),`\n`]})}),_jsx(Accordion,{title:`Compliance`,id:`compliance`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.compliance.client`,children:`Client`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.compliance`,children:`Core`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.compliance.models`,children:`Models`})}),`\n`]})}),_jsx(Accordion,{title:`Connections`,id:`connections`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.connections.client`,children:`Client`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.connections`,children:`Core`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.connections.models`,children:`Models`})}),`\n`]})}),_jsx(Accordion,{title:`Direct Messages`,id:`direct-messages`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.direct_messages.client`,children:`Client`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.direct_messages`,children:`Core`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.direct_messages.models`,children:`Models`})}),`\n`]})}),_jsx(Accordion,{title:`General`,id:`general`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.general.client`,children:`Client`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.general`,children:`Core`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.general.models`,children:`Models`})}),`\n`]})}),_jsx(Accordion,{title:`Lists`,id:`lists`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.lists.client`,children:`Client`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.lists`,children:`Core`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.lists.models`,children:`Models`})}),`\n`]})}),_jsx(Accordion,{title:`Media`,id:`media`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.media.client`,children:`Client`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.media`,children:`Core`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.media.models`,children:`Models`})}),`\n`]})}),_jsx(Accordion,{title:`News`,id:`news`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.news.client`,children:`Client`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.news`,children:`Core`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.news.models`,children:`Models`})}),`\n`]})}),_jsx(Accordion,{title:`Oauth1 Auth`,id:`oauth1-auth`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.oauth1_auth`,children:`Core`})}),`\n`]})}),_jsx(Accordion,{title:`Oauth2 Auth`,id:`oauth2-auth`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.oauth2_auth`,children:`Core`})}),`\n`]})}),_jsx(Accordion,{title:`Paginator`,id:`paginator`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.paginator`,children:`Core`})}),`\n`]})}),_jsx(Accordion,{title:`Posts`,id:`posts`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.posts.client`,children:`Client`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.posts`,children:`Core`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.posts.models`,children:`Models`})}),`\n`]})}),_jsx(Accordion,{title:`Spaces`,id:`spaces`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.spaces.client`,children:`Client`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.spaces`,children:`Core`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.spaces.models`,children:`Models`})}),`\n`]})}),_jsx(Accordion,{title:`Stream`,id:`stream`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.stream.client`,children:`Client`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.stream`,children:`Core`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.stream.models`,children:`Models`})}),`\n`]})}),_jsx(Accordion,{title:`Streaming`,id:`streaming`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.streaming`,children:`Core`})}),`\n`]})}),_jsx(Accordion,{title:`Trends`,id:`trends`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.trends.client`,children:`Client`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.trends`,children:`Core`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.trends.models`,children:`Models`})}),`\n`]})}),_jsx(Accordion,{title:`Usage`,id:`usage`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.usage.client`,children:`Client`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.usage`,children:`Core`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.usage.models`,children:`Models`})}),`\n`]})}),_jsx(Accordion,{title:`Users`,id:`users`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.users.client`,children:`Client`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.users`,children:`Core`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.users.models`,children:`Models`})}),`\n`]})}),_jsx(Accordion,{title:`Webhooks`,id:`webhooks`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.webhooks.client`,children:`Client`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.webhooks`,children:`Core`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk.webhooks.models`,children:`Models`})}),`\n`]})}),_jsx(Accordion,{title:`Xdk`,id:`xdk`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/xdks/python/reference/xdk`,children:`Core`})}),`\n`]})})]})})}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":"xdk","sidebarTitle":"API Reference","description":"List of every module in the X API Python SDK reference, linking to clients, request/response models, and helpers for each X API v2 endpoint group.","href":"/xdks/python/reference/modules","hidden":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/x-preview/381ffe7e9b15b180/widgets.js","/_mintlify/custom/x-preview/6a1f299520abeae4/sliders.js","/_mintlify/custom/x-preview/c7d32b76ae276d29/xds-motion.js","/_mintlify/custom/x-preview/4e9cd7891e98068a/tmp/gen_prompts.js"],"subdomain":"x-preview","siteName":"X","title":"xdk - X","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-05-29T22:37:57.936Z","originalFileLocation":"xdks/python/reference/modules.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"dark\";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=\"dark\"}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=\"List of every module in the X API Python SDK reference, linking to clients, request/response models, and helpers for each X API v2 endpoint group.\">\u003cmeta data-mint-head name=\"application-name\" content=\"X\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"index, follow\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/x-preview/FsnFMtl8dbNRWPu8/_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/x-preview/FsnFMtl8dbNRWPu8/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/x-preview/FsnFMtl8dbNRWPu8/_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/x-preview/FsnFMtl8dbNRWPu8/_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/x-preview/FsnFMtl8dbNRWPu8/_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/x-preview/FsnFMtl8dbNRWPu8/_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/x-preview/FsnFMtl8dbNRWPu8/_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/x-preview/FsnFMtl8dbNRWPu8/_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/x-preview/FsnFMtl8dbNRWPu8/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"xdk - X\">\u003cmeta data-mint-head property=\"og:description\" content=\"List of every module in the X API Python SDK reference, linking to clients, request/response models, and helpers for each X API v2 endpoint group.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"X Developer Platform\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.x.com/xdks/python/reference/modules\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://docs.x.com/images/og-default.png\">\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=\"xdk - X\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"List of every module in the X API Python SDK reference, linking to clients, request/response models, and helpers for each X API v2 endpoint group.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://docs.x.com/images/og-default.png\">\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/x-preview/FsnFMtl8dbNRWPu8/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"X\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0D0D0D\">\u003cmeta data-mint-head name=\"og:locale\" content=\"en_US\">\u003cmeta data-mint-head name=\"author\" content=\"X Developer Platform\">\u003cmeta data-mint-head name=\"language\" content=\"en\">\u003cmeta data-mint-head name=\"googlebot\" content=\"index, follow\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.x.com/xdks/python/reference/modules\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/xdks/python/reference/modules.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.x.com/#organization\",\"name\":\"X\",\"url\":\"https://docs.x.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/x-preview/CX6FNhUUR8mtNZ97/logo/light.svg?fit=max\u0026auto=format\u0026n=CX6FNhUUR8mtNZ97\u0026q=85\u0026s=b2e6f2ff399e1bc5cd0c588f9644983d\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.x.com#website\",\"name\":\"X\",\"url\":\"https://docs.x.com\",\"publisher\":{\"@id\":\"https://docs.x.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.x.com/xdks/python/reference/modules#webpage\",\"url\":\"https://docs.x.com/xdks/python/reference/modules\",\"name\":\"xdk\",\"description\":\"List of every module in the X API Python SDK reference, linking to clients, request/response models, and helpers for each X API v2 endpoint group.\",\"dateModified\":\"2026-05-29T22:37:57.936Z\",\"isPartOf\":{\"@id\":\"https://docs.x.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.x.com/xdks/python/reference/modules#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.x.com/xdks/python/reference/modules#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"X\",\"item\":\"https://docs.x.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"xdk\",\"item\":\"https://docs.x.com/xdks/python/reference/modules\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.x.com/xdks/python/reference/modules#article\",\"headline\":\"xdk\",\"name\":\"xdk\",\"description\":\"List of every module in the X API Python SDK reference, linking to clients, request/response models, and helpers for each X API v2 endpoint group.\",\"url\":\"https://docs.x.com/xdks/python/reference/modules\",\"mainEntityOfPage\":{\"@id\":\"https://docs.x.com/xdks/python/reference/modules#webpage\"},\"image\":\"https://docs.x.com/images/og-default.png\",\"dateModified\":\"2026-05-29T22:37:57.936Z\",\"publisher\":{\"@id\":\"https://docs.x.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.x.com#website\"}}]}\u003c/script>","siteName":"X","nav":{"global":{"anchors":[{"anchor":"Developer Console","icon":"https://mintlify.s3.us-west-1.amazonaws.com/x-preview/icons/xds/icon-console.svg","href":"https://developer.x.com/en/portal/petition/essential/basic-info"},{"anchor":"Forums","icon":"https://mintlify.s3.us-west-1.amazonaws.com/x-preview/icons/xds/icon-chat.svg","href":"https://devcommunity.x.com"},{"anchor":"GitHub","icon":"github","href":"https://github.com/xdevplatform"}]},"products":[{"product":"X API","pages":[{"title":"X API","href":"/overview"}]},{"product":"Chat API","pages":[{"title":"Chat API","href":"/xchat/introduction"}]},{"product":"Ads API","pages":[{"title":"Ads API","href":"/x-ads-api/introduction"}]},{"product":"Livestream API","pages":[{"title":"Livestream API","href":"/livestream-api/introduction"}]},{"product":"Enterprise","hidden":true,"pages":[{"title":"Enterprise","href":"/enterprise-api/introduction"}]},{"product":"Python XDK","hidden":true,"pages":[{"title":"Python XDK","sidebarTitle":"Overview","description":"Overview of the Python XDK, the official X API v2 client library generated from OpenAPI with OAuth, pagination, and streaming support for Python 3.8 and above.","href":"/xdks/python/overview"},{"title":"Install","sidebarTitle":"Install","description":"Install the Python XDK from PyPI with pip, set up a venv, or build from source for development to start calling X API v2 endpoints in Python 3.8 or higher.","href":"/xdks/python/install"},{"title":"Quickstart","sidebarTitle":"Quickstart","description":"This example showcases how to quickly search for Posts using the XDK using Bearer Token authentication. 1. Log in to the X Developer Console. 2.","href":"/xdks/python/quickstart"},{"title":"Authentication","sidebarTitle":"Authentication","description":"Authenticate the Python XDK with Bearer Token, OAuth 2.0 PKCE, or OAuth 1.0a user context to call X API endpoints and post on behalf of users.","href":"/xdks/python/authentication"},{"title":"Pagination","sidebarTitle":"Pagination","description":"Page through X API results in Python using the XDK iterator for automatic next_token handling, or manage pagination_token manually for custom paging logic.","href":"/xdks/python/pagination"},{"title":"Streaming","sidebarTitle":"Streaming","description":"The X API supports real-time data via endpoints like the Filtered Stream Endpoint, delivering matching Posts as they occur. This requires making a persistent.","href":"/xdks/python/streaming"},{"group":"API Reference","pages":[{"title":"xdk","sidebarTitle":"API Reference","href":"/xdks/python/reference/modules"},{"group":"Clients","pages":[{"group":"Account Activity","pages":[{"title":"AccountActivityClient","sidebarTitle":"AccountActivityClient","description":"Reference for the account_activity.client Python module in the X API SDK. Client class and methods for calling the account activity endpoints of the X API v2.","href":"/xdks/python/reference/xdk.account_activity.client"}]},{"group":"Activity","pages":[{"title":"ActivityClient","sidebarTitle":"ActivityClient","description":"Reference for the activity.client Python module in the X API SDK. Client class and methods for calling the activity endpoints of the X API v2.","href":"/xdks/python/reference/xdk.activity.client"}]},{"group":"Client","pages":[{"title":"Client","sidebarTitle":"Client","description":"Reference for the client Python package in the X API SDK, grouping the client and Pydantic models for the client endpoints of the X API v2.","href":"/xdks/python/reference/xdk.client"}]},{"group":"Communities","pages":[{"title":"CommunitiesClient","sidebarTitle":"CommunitiesClient","description":"Reference for the communities.client Python module in the X API SDK. Client class and methods for calling the communities endpoints of the X API v2.","href":"/xdks/python/reference/xdk.communities.client"}]},{"group":"Community Notes","pages":[{"title":"CommunityNotesClient","sidebarTitle":"CommunityNotesClient","description":"Reference for the community_notes.client Python module in the X API SDK. Client class and methods for calling the community notes endpoints of the X API v2.","href":"/xdks/python/reference/xdk.community_notes.client"}]},{"group":"Compliance","pages":[{"title":"ComplianceClient","sidebarTitle":"ComplianceClient","description":"Reference for the compliance.client Python module in the X API SDK. Client class and methods for calling the compliance endpoints of the X API v2.","href":"/xdks/python/reference/xdk.compliance.client"}]},{"group":"Connections","pages":[{"title":"ConnectionsClient","sidebarTitle":"ConnectionsClient","description":"Reference for the connections.client Python module in the X API SDK. Client class and methods for calling the connections endpoints of the X API v2.","href":"/xdks/python/reference/xdk.connections.client"}]},{"group":"Direct Messages","pages":[{"title":"DirectMessagesClient","sidebarTitle":"DirectMessagesClient","description":"Reference for the direct_messages.client Python module in the X API SDK. Client class and methods for calling the direct messages endpoints of the X API v2.","href":"/xdks/python/reference/xdk.direct_messages.client"}]},{"group":"General","pages":[{"title":"GeneralClient","sidebarTitle":"GeneralClient","description":"Reference for the general.client Python module in the X API SDK. Client class and methods for calling the general endpoints of the X API v2.","href":"/xdks/python/reference/xdk.general.client"}]},{"group":"Lists","pages":[{"title":"ListsClient","sidebarTitle":"ListsClient","description":"Reference for the lists.client Python module in the X API SDK. Client class and methods for calling the lists endpoints of the X API v2.","href":"/xdks/python/reference/xdk.lists.client"}]},{"group":"Media","pages":[{"title":"MediaClient","sidebarTitle":"MediaClient","description":"Reference for the media.client Python module in the X API SDK. Client class and methods for calling the media endpoints of the X API v2.","href":"/xdks/python/reference/xdk.media.client"}]},{"group":"News","pages":[{"title":"NewsClient","sidebarTitle":"NewsClient","description":"Reference for the news.client Python module in the X API SDK. Client class and methods for calling the news endpoints of the X API v2.","href":"/xdks/python/reference/xdk.news.client"}]},{"group":"Posts","pages":[{"title":"PostsClient","sidebarTitle":"PostsClient","description":"Reference for the posts.client Python module in the X API SDK. Client class and methods for calling the posts endpoints of the X API v2.","href":"/xdks/python/reference/xdk.posts.client"}]},{"group":"Spaces","pages":[{"title":"SpacesClient","sidebarTitle":"SpacesClient","description":"Reference for the spaces.client Python module in the X API SDK. Client class and methods for calling the spaces endpoints of the X API v2.","href":"/xdks/python/reference/xdk.spaces.client"}]},{"group":"Stream","pages":[{"title":"StreamClient","sidebarTitle":"StreamClient","description":"Reference for the stream.client Python module in the X API SDK. Client class and methods for calling the stream endpoints of the X API v2.","href":"/xdks/python/reference/xdk.stream.client"}]},{"group":"Trends","pages":[{"title":"TrendsClient","sidebarTitle":"TrendsClient","description":"Reference for the trends.client Python module in the X API SDK. Client class and methods for calling the trends endpoints of the X API v2.","href":"/xdks/python/reference/xdk.trends.client"}]},{"group":"Usage","pages":[{"title":"UsageClient","sidebarTitle":"UsageClient","description":"Reference for the usage.client Python module in the X API SDK. Client class and methods for calling the usage endpoints of the X API v2.","href":"/xdks/python/reference/xdk.usage.client"}]},{"group":"Users","pages":[{"title":"UsersClient","sidebarTitle":"UsersClient","description":"Reference for the users.client Python module in the X API SDK. Client class and methods for calling the users endpoints of the X API v2.","href":"/xdks/python/reference/xdk.users.client"}]},{"group":"Webhooks","pages":[{"title":"WebhooksClient","sidebarTitle":"WebhooksClient","description":"Reference for the webhooks.client Python module in the X API SDK. Client class and methods for calling the webhooks endpoints of the X API v2.","href":"/xdks/python/reference/xdk.webhooks.client"}]}]},{"group":"Models","pages":[{"group":"Account Activity","pages":[{"title":"Account_activity.Models","sidebarTitle":"Account_activity.Models","description":"Reference for the Python XDK account_activity.models module, listing Pydantic response classes for replay jobs, subscriptions, and subscription counts.","href":"/xdks/python/reference/xdk.account_activity.models"}]},{"group":"Activity","pages":[{"title":"Activity.Models","sidebarTitle":"Activity.Models","description":"Reference for the activity.models Python module in the X API SDK. Pydantic request and response models for the activity endpoints of the X API v2.","href":"/xdks/python/reference/xdk.activity.models"}]},{"group":"Communities","pages":[{"title":"Communities.Models","sidebarTitle":"Communities.Models","description":"Reference for the communities.models Python module in the X API SDK. Pydantic request and response models for the communities endpoints of the X API v2.","href":"/xdks/python/reference/xdk.communities.models"}]},{"group":"Community Notes","pages":[{"title":"Community_notes.Models","sidebarTitle":"Community_notes.Models","description":"Reference for the community_notes.models Python module in the X API SDK. Pydantic request and response models for the community notes endpoints of the X API.","href":"/xdks/python/reference/xdk.community_notes.models"}]},{"group":"Compliance","pages":[{"title":"Compliance.Models","sidebarTitle":"Compliance.Models","description":"Reference for the compliance.models Python module in the X API SDK. Pydantic request and response models for the compliance endpoints of the X API v2.","href":"/xdks/python/reference/xdk.compliance.models"}]},{"group":"Connections","pages":[{"title":"Connections.Models","sidebarTitle":"Connections.Models","description":"Reference for the connections.models Python module in the X API SDK. Pydantic request and response models for the connections endpoints of the X API v2.","href":"/xdks/python/reference/xdk.connections.models"}]},{"group":"Direct Messages","pages":[{"title":"Direct_messages.Models","sidebarTitle":"Direct_messages.Models","description":"Reference for the direct_messages.models Python module in the X API SDK. Pydantic request and response models for the direct messages endpoints of the X API.","href":"/xdks/python/reference/xdk.direct_messages.models"}]},{"group":"General","pages":[{"title":"General.Models","sidebarTitle":"General.Models","description":"Reference for the general.models Python module in the X API SDK. Pydantic request and response models for the general endpoints of the X API v2.","href":"/xdks/python/reference/xdk.general.models"}]},{"group":"Lists","pages":[{"title":"Lists.Models","sidebarTitle":"Lists.Models","description":"Reference for the lists.models Python module in the X API SDK. Pydantic request and response models for the lists endpoints of the X API v2.","href":"/xdks/python/reference/xdk.lists.models"}]},{"group":"Media","pages":[{"title":"Media.Models","sidebarTitle":"Media.Models","description":"Reference for the media.models Python module in the X API SDK. Pydantic request and response models for the media endpoints of the X API v2.","href":"/xdks/python/reference/xdk.media.models"}]},{"group":"News","pages":[{"title":"News.Models","sidebarTitle":"News.Models","description":"Reference for the news.models Python module in the X API SDK. Pydantic request and response models for the news endpoints of the X API v2.","href":"/xdks/python/reference/xdk.news.models"}]},{"group":"Posts","pages":[{"title":"Posts.Models","sidebarTitle":"Posts.Models","description":"Reference for the posts.models Python module in the X API SDK. Pydantic request and response models for the posts endpoints of the X API v2.","href":"/xdks/python/reference/xdk.posts.models"}]},{"group":"Spaces","pages":[{"title":"Spaces.Models","sidebarTitle":"Spaces.Models","description":"Reference for the spaces.models Python module in the X API SDK. Pydantic request and response models for the spaces endpoints of the X API v2.","href":"/xdks/python/reference/xdk.spaces.models"}]},{"group":"Stream","pages":[{"title":"Stream.Models","sidebarTitle":"Stream.Models","description":"Reference for the stream.models Python module in the X API SDK. Pydantic request and response models for the stream endpoints of the X API v2.","href":"/xdks/python/reference/xdk.stream.models"}]},{"group":"Trends","pages":[{"title":"Trends.Models","sidebarTitle":"Trends.Models","description":"Reference for the trends.models Python module in the X API SDK. Pydantic request and response models for the trends endpoints of the X API v2.","href":"/xdks/python/reference/xdk.trends.models"}]},{"group":"Usage","pages":[{"title":"Usage.Models","sidebarTitle":"Usage.Models","description":"Reference for the usage.models Python module in the X API SDK. Pydantic request and response models for the usage endpoints of the X API v2.","href":"/xdks/python/reference/xdk.usage.models"}]},{"group":"Users","pages":[{"title":"Users.Models","sidebarTitle":"Users.Models","description":"Reference for the users.models Python module in the X API SDK. Pydantic request and response models for the users endpoints of the X API v2.","href":"/xdks/python/reference/xdk.users.models"}]},{"group":"Webhooks","pages":[{"title":"Webhooks.Models","sidebarTitle":"Webhooks.Models","description":"Reference for the webhooks.models Python module in the X API SDK. Pydantic request and response models for the webhooks endpoints of the X API v2.","href":"/xdks/python/reference/xdk.webhooks.models"}]}]},{"group":"Core","pages":[{"group":"Account Activity","pages":[{"title":"AccountActivityClient","sidebarTitle":"AccountActivityClient","description":"Reference for the account_activity Python package in the X API SDK, grouping the client and Pydantic models for the account activity endpoints of the X API.","href":"/xdks/python/reference/xdk.account_activity"}]},{"group":"Activity","pages":[{"title":"ActivityClient","sidebarTitle":"ActivityClient","description":"Reference for the activity Python package in the X API SDK, grouping the client and Pydantic models for the activity endpoints of the X API v2.","href":"/xdks/python/reference/xdk.activity"}]},{"group":"Communities","pages":[{"title":"CommunitiesClient","sidebarTitle":"CommunitiesClient","description":"Reference for the communities Python package in the X API SDK, grouping the client and Pydantic models for the communities endpoints of the X API v2.","href":"/xdks/python/reference/xdk.communities"}]},{"group":"Community Notes","pages":[{"title":"CommunityNotesClient","sidebarTitle":"CommunityNotesClient","description":"Reference for the community_notes Python package in the X API SDK, grouping the client and Pydantic models for the community notes endpoints of the X API v2.","href":"/xdks/python/reference/xdk.community_notes"}]},{"group":"Compliance","pages":[{"title":"ComplianceClient","sidebarTitle":"ComplianceClient","description":"Reference for the compliance Python package in the X API SDK, grouping the client and Pydantic models for the compliance endpoints of the X API v2.","href":"/xdks/python/reference/xdk.compliance"}]},{"group":"Connections","pages":[{"title":"ConnectionsClient","sidebarTitle":"ConnectionsClient","description":"Reference for the connections Python package in the X API SDK, grouping the client and Pydantic models for the connections endpoints of the X API v2.","href":"/xdks/python/reference/xdk.connections"}]},{"group":"Direct Messages","pages":[{"title":"DirectMessagesClient","sidebarTitle":"DirectMessagesClient","description":"Reference for the direct_messages Python package in the X API SDK, grouping the client and Pydantic models for the direct messages endpoints of the X API v2.","href":"/xdks/python/reference/xdk.direct_messages"}]},{"group":"General","pages":[{"title":"GeneralClient","sidebarTitle":"GeneralClient","description":"Reference for the general Python package in the X API SDK, grouping the client and Pydantic models for the general endpoints of the X API v2.","href":"/xdks/python/reference/xdk.general"}]},{"group":"Lists","pages":[{"title":"ListsClient","sidebarTitle":"ListsClient","description":"Reference for the lists Python package in the X API SDK, grouping the client and Pydantic models for the lists endpoints of the X API v2.","href":"/xdks/python/reference/xdk.lists"}]},{"group":"Media","pages":[{"title":"MediaClient","sidebarTitle":"MediaClient","description":"Reference for the media Python package in the X API SDK, grouping the client and Pydantic models for the media endpoints of the X API v2.","href":"/xdks/python/reference/xdk.media"}]},{"group":"News","pages":[{"title":"NewsClient","sidebarTitle":"NewsClient","description":"Reference for the news Python package in the X API SDK, grouping the client and Pydantic models for the news endpoints of the X API v2.","href":"/xdks/python/reference/xdk.news"}]},{"group":"Oauth1 Auth","pages":[{"title":"oauth1_auth","sidebarTitle":"oauth1_auth","description":"Reference for the oauth1_auth Python package in the X API SDK, grouping the client and Pydantic models for the oauth1 auth endpoints of the X API v2.","href":"/xdks/python/reference/xdk.oauth1_auth"}]},{"group":"Oauth2 Auth","pages":[{"title":"OAuth2PKCEAuth","sidebarTitle":"OAuth2PKCEAuth","description":"Reference for the oauth2_auth Python package in the X API SDK, grouping the client and Pydantic models for the oauth2 auth endpoints of the X API v2.","href":"/xdks/python/reference/xdk.oauth2_auth"}]},{"group":"Paginator","pages":[{"title":"paginator","sidebarTitle":"paginator","description":"Reference for the paginator Python package in the X API SDK, grouping the client and Pydantic models for the paginator endpoints of the X API v2.","href":"/xdks/python/reference/xdk.paginator"}]},{"group":"Posts","pages":[{"title":"PostsClient","sidebarTitle":"PostsClient","description":"Reference for the posts Python package in the X API SDK, grouping the client and Pydantic models for the posts endpoints of the X API v2.","href":"/xdks/python/reference/xdk.posts"}]},{"group":"Spaces","pages":[{"title":"SpacesClient","sidebarTitle":"SpacesClient","description":"Reference for the spaces Python package in the X API SDK, grouping the client and Pydantic models for the spaces endpoints of the X API v2.","href":"/xdks/python/reference/xdk.spaces"}]},{"group":"Stream","pages":[{"title":"StreamClient","sidebarTitle":"StreamClient","description":"Reference for the stream Python package in the X API SDK, grouping the client and Pydantic models for the stream endpoints of the X API v2.","href":"/xdks/python/reference/xdk.stream"}]},{"group":"Streaming","pages":[{"title":"streaming","sidebarTitle":"streaming","description":"Reference for the streaming Python package in the X API SDK, grouping the client and Pydantic models for the streaming endpoints of the X API v2.","href":"/xdks/python/reference/xdk.streaming"}]},{"group":"Trends","pages":[{"title":"TrendsClient","sidebarTitle":"TrendsClient","description":"Reference for the trends Python package in the X API SDK, grouping the client and Pydantic models for the trends endpoints of the X API v2.","href":"/xdks/python/reference/xdk.trends"}]},{"group":"Usage","pages":[{"title":"UsageClient","sidebarTitle":"UsageClient","description":"Reference for the usage Python package in the X API SDK, grouping the client and Pydantic models for the usage endpoints of the X API v2.","href":"/xdks/python/reference/xdk.usage"}]},{"group":"Users","pages":[{"title":"UsersClient","sidebarTitle":"UsersClient","description":"Reference for the users Python package in the X API SDK, grouping the client and Pydantic models for the users endpoints of the X API v2.","href":"/xdks/python/reference/xdk.users"}]},{"group":"Webhooks","pages":[{"title":"WebhooksClient","sidebarTitle":"WebhooksClient","description":"Reference for the webhooks Python package in the X API SDK, grouping the client and Pydantic models for the webhooks endpoints of the X API v2.","href":"/xdks/python/reference/xdk.webhooks"}]},{"group":"Xdk","pages":[{"title":"Client","sidebarTitle":"Client","description":"Reference for the xdk top-level Python package in the X API SDK. Re-exported clients, models, and utilities for calling the X API v2 from Python.","href":"/xdks/python/reference/xdk"}]}]}]}]},{"product":"TypeScript XDK","hidden":true,"pages":[{"title":"TypeScript XDK","href":"/xdks/typescript/overview"}]}]},"basePath":"","title":"xdk - X","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":[],"chunks":[]}