Collections help you organize your GraphQL operations into folders, just like organizing files on your computer.
Create & Import
Think of collections as folders where you can group related operations together. You might create one for user management operations and another for product queries. You can nest folders inside each other and add README files to explain what each collection is for.When you connect registries like Cosmo, Hub automatically creates a “default” collection with all your existing operations. These imported collections are read-only, so you can’t accidentally change them. If you need updates from the external source, just hit recompute.
Operations
Store your queries, mutations, and subscriptions here. Hub checks that they work with your current schema and highlights any syntax errors. You can edit operations directly in the browser with syntax highlighting.Each operation gets a complexity score based on how much work it requires. This helps you spot operations that might be slow or expensive to run.
Complexity Analysis
See how complex your operations are with visual charts. The graphs show you which operations are simple, which are complex, and help you understand patterns across your collections.The bell curve view gives you a quick overview of your collection’s complexity spread, making it easy to spot operations that might need optimization.
Documentation
Add notes and examples using Markdown. Document your collections with usage guides or document individual operations with helpful descriptions. Everything is searchable so you can quickly find what you need.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"WunderGraph Hub","colors":{"primary":"#a854f7","light":"#a854f7","dark":"#a854f7"},"logo":{"light":"https://mintcdn.com/wundergraphhub/XJOLUouDUgJP7_FW/logo/light.svg?fit=max\u0026auto=format\u0026n=XJOLUouDUgJP7_FW\u0026q=85\u0026s=4b5ca8ecfe3973e68addc0977f75c229","dark":"https://mintcdn.com/wundergraphhub/XJOLUouDUgJP7_FW/logo/dark.svg?fit=max\u0026auto=format\u0026n=XJOLUouDUgJP7_FW\u0026q=85\u0026s=ba8d9cfa2ab6311db7e12c907e7828c2","href":"https://hub-docs.wundergraph.com/"},"favicon":"https://mintcdn.com/wundergraphhub/Dr9oVUeC-0tFehUp/favicon.png?fit=max\u0026auto=format\u0026n=Dr9oVUeC-0tFehUp\u0026q=85\u0026s=d1da32a58bca6a275e0b9937e1e83e47","appearance":{"default":"dark","strict":true},"background":{"decoration":"grid"},"footer":{"socials":{"x":"https://twitter.com/wundergraphcom","discord":"https://wundergraph.com/discord","github":"https://github.com/wundergraph","youtube":"https://www.youtube.com/@wundergraph"},"links":[{"header":"Legal","items":[{"label":"Privacy Policy","href":"https://wundergraph.com/privacy-policy"},{"label":"Cookie Policy","href":"https://wundergraph.com/cookies"},{"label":"Website Terms","href":"https://wundergraph.com/terms"},{"label":"Hub Terms","href":"https://wundergraph.com/hub-terms-of-service"},{"label":"Cosmo Terms","href":"https://wundergraph.com/cosmo-managed-service-terms"}]},{"header":"Trust","items":[{"label":"Trust Center","href":"https://trust.wundergraph.com/"}]}]},"seo":{"metatags":{"robots":"index, follow","google-site-verification":"tjBj_GsdRzC4ro_fAlKyJUbqGoAxtcajcWdR2tGCM3M","canonical":"https://hub-docs.wundergraph.com"}},"fonts":{"heading":{"family":"Inter"},"body":{"family":"Inter"}},"styling":{"codeblocks":"system","latex":false},"integrations":{"koala":{"publicApiKey":"pk_c7477bfbf86479d918562f7add220a2d7098"},"posthog":{"apiKey":"phc_CEnvoyw3KcTuC5E1seDPrgvAamgGRDLfzPi1e7RU1G1","apiHost":"https://eu.i.posthog.com"},"plausible":{"domain":"hub-docs.wundergraph.com"}},"banner":{"content":"Help map how teams scale Federated GraphQL in the State of Federation 2026 Survey. We donate $30 to UNICEF per response → [Take the survey](https://8bxwlo3ot55.typeform.com/to/zIJKRQUe).","dismissible":false},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"interaction":{"drilldown":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"wundergraphhub","hasAudioNarration":false,"actualSubdomain":"wundergraphhub","customDomains":["hub-docs.wundergraph.com"],"gitSource":{"type":"github","owner":"wundergraph","repo":"hub-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b10b7f39ffae5051c4016e9"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b09bead597fe4633a40f176","clientVersion":"0.0.4443","searchFilterCounts":[{"language":"default","tag":"Documentation","count":38},{"language":"default","tag":"Using Hub","count":30},{"language":"default","tag":"API Design","count":12},{"language":"default","tag":"Guides","count":7},{"language":"default","tag":"Collaboration","count":5},{"language":"default","tag":"Integrations","count":5},{"language":"default","tag":"Concepts","count":4},{"language":"default","tag":"Proposals","count":3},{"language":"default","tag":"Git","count":3},{"language":"default","tag":"Getting Started","count":3}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"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":"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":"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":"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":"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":"turbopuffer-dual-write","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":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-design/collections","slug":"/api-design/collections","pageMetadata":{"title":"Collections","icon":"folder","description":null,"href":"/api-design/collections"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={p:`p`,..._provideComponents(),...props.components},{Heading,OptimizedImage}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Collections help you organize your GraphQL operations into folders, just like organizing files on your computer.`}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/wundergraphhub/-jQI1JMT_pnsyeFl/images/collections.png?fit=max\u0026auto=format\u0026n=-jQI1JMT_pnsyeFl\u0026q=85\u0026s=e699b55d1ff46eb7cc840a65b1a379bd`,alt:`Collections interface`,\"data-og-width\":`2880`,width:`2880`,\"data-og-height\":`1684`,height:`1684`,\"data-path\":`images/collections.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/wundergraphhub/-jQI1JMT_pnsyeFl/images/collections.png?w=280\u0026fit=max\u0026auto=format\u0026n=-jQI1JMT_pnsyeFl\u0026q=85\u0026s=c760f37cf77d1821f5fc89b50c7ba818 280w, https://mintcdn.com/wundergraphhub/-jQI1JMT_pnsyeFl/images/collections.png?w=560\u0026fit=max\u0026auto=format\u0026n=-jQI1JMT_pnsyeFl\u0026q=85\u0026s=9bb465965061b6dd3739c70c2ae3da93 560w, https://mintcdn.com/wundergraphhub/-jQI1JMT_pnsyeFl/images/collections.png?w=840\u0026fit=max\u0026auto=format\u0026n=-jQI1JMT_pnsyeFl\u0026q=85\u0026s=2a0c8b57d5f90fef03f16eef9bc7a875 840w, https://mintcdn.com/wundergraphhub/-jQI1JMT_pnsyeFl/images/collections.png?w=1100\u0026fit=max\u0026auto=format\u0026n=-jQI1JMT_pnsyeFl\u0026q=85\u0026s=07f13642c08defbc83874638e2865936 1100w, https://mintcdn.com/wundergraphhub/-jQI1JMT_pnsyeFl/images/collections.png?w=1650\u0026fit=max\u0026auto=format\u0026n=-jQI1JMT_pnsyeFl\u0026q=85\u0026s=a5001caa970058569bf3962839703502 1650w, https://mintcdn.com/wundergraphhub/-jQI1JMT_pnsyeFl/images/collections.png?w=2500\u0026fit=max\u0026auto=format\u0026n=-jQI1JMT_pnsyeFl\u0026q=85\u0026s=26d6457e200480bc3f7b5f92dceb8163 2500w`}),`\n`,_jsx(Heading,{level:`2`,id:`create-\u0026-import`,children:`Create \u0026 Import`}),`\n`,_jsx(_components.p,{children:`Think of collections as folders where you can group related operations together. You might create one for user management operations and another for product queries. You can nest folders inside each other and add README files to explain what each collection is for.`}),`\n`,_jsx(_components.p,{children:`When you connect registries like Cosmo, Hub automatically creates a “default” collection with all your existing operations. These imported collections are read-only, so you can’t accidentally change them. If you need updates from the external source, just hit recompute.`}),`\n`,_jsx(Heading,{level:`2`,id:`operations`,children:`Operations`}),`\n`,_jsx(_components.p,{children:`Store your queries, mutations, and subscriptions here. Hub checks that they work with your current schema and highlights any syntax errors. You can edit operations directly in the browser with syntax highlighting.`}),`\n`,_jsx(_components.p,{children:`Each operation gets a complexity score based on how much work it requires. This helps you spot operations that might be slow or expensive to run.`}),`\n`,_jsx(Heading,{level:`2`,id:`complexity-analysis`,children:`Complexity Analysis`}),`\n`,_jsx(_components.p,{children:`See how complex your operations are with visual charts. The graphs show you which operations are simple, which are complex, and help you understand patterns across your collections.`}),`\n`,_jsx(_components.p,{children:`The bell curve view gives you a quick overview of your collection’s complexity spread, making it easy to spot operations that might need optimization.`}),`\n`,_jsx(Heading,{level:`2`,id:`documentation`,children:`Documentation`}),`\n`,_jsx(_components.p,{children:`Add notes and examples using Markdown. Document your collections with usage guides or document individual operations with helpful descriptions. Everything is searchable so you can quickly find what you need.`})]})}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":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Collections","icon":"folder","description":null,"href":"/api-design/collections"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Create \u0026 Import","slug":"create-\u0026-import","depth":2,"children":[]},{"title":"Operations","slug":"operations","depth":2,"children":[]},{"title":"Complexity Analysis","slug":"complexity-analysis","depth":2,"children":[]},{"title":"Documentation","slug":"documentation","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/wundergraphhub/4d1581be6f2b55a2/analytics.js","/_mintlify/custom/wundergraphhub/0c26323010ad709b/osano.js"],"subdomain":"wundergraphhub","siteName":"WunderGraph Hub","title":"Collections - WunderGraph Hub","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-06-11T11:26:49.861Z","originalFileLocation":"api-design/collections.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=\"application-name\" content=\"WunderGraph Hub\">\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/wundergraphhub/ScMvbIkRGodx3rJe/_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/wundergraphhub/ScMvbIkRGodx3rJe/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/wundergraphhub/ScMvbIkRGodx3rJe/_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/wundergraphhub/ScMvbIkRGodx3rJe/_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/wundergraphhub/ScMvbIkRGodx3rJe/_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/wundergraphhub/ScMvbIkRGodx3rJe/_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/wundergraphhub/ScMvbIkRGodx3rJe/_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/wundergraphhub/ScMvbIkRGodx3rJe/_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/wundergraphhub/ScMvbIkRGodx3rJe/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Collections - WunderGraph Hub\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"WunderGraph Hub\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://hub-docs.wundergraph.com/api-design/collections\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://wundergraphhub.mintlify.site/_mintlify/api/og/v2?division=API+Design\u0026amp;title=Collections\u0026amp;theme=dabb2d4b03b994c29f090b65\u0026amp;signature=f8518efb6a906546e92e4f7d55864186818dd9f5afceecd05dee8a541fe800d1\">\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=\"Collections - WunderGraph Hub\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://wundergraphhub.mintlify.site/_mintlify/api/og/v2?division=API+Design\u0026amp;title=Collections\u0026amp;theme=dabb2d4b03b994c29f090b65\u0026amp;signature=f8518efb6a906546e92e4f7d55864186818dd9f5afceecd05dee8a541fe800d1\">\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/wundergraphhub/ScMvbIkRGodx3rJe/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"WunderGraph Hub\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#a854f7\">\u003cmeta data-mint-head name=\"google-site-verification\" content=\"tjBj_GsdRzC4ro_fAlKyJUbqGoAxtcajcWdR2tGCM3M\">\u003clink data-mint-head rel=\"canonical\" href=\"https://hub-docs.wundergraph.com/api-design/collections\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-design/collections.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://hub-docs.wundergraph.com/#organization\",\"name\":\"WunderGraph Hub\",\"url\":\"https://hub-docs.wundergraph.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/wundergraphhub/XJOLUouDUgJP7_FW/logo/light.svg?fit=max\u0026auto=format\u0026n=XJOLUouDUgJP7_FW\u0026q=85\u0026s=4b5ca8ecfe3973e68addc0977f75c229\"}},{\"@type\":\"WebSite\",\"@id\":\"https://hub-docs.wundergraph.com#website\",\"name\":\"WunderGraph Hub\",\"url\":\"https://hub-docs.wundergraph.com\",\"publisher\":{\"@id\":\"https://hub-docs.wundergraph.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://hub-docs.wundergraph.com/api-design/collections#webpage\",\"url\":\"https://hub-docs.wundergraph.com/api-design/collections\",\"name\":\"Collections\",\"dateModified\":\"2026-06-11T11:26:49.861Z\",\"isPartOf\":{\"@id\":\"https://hub-docs.wundergraph.com#website\"},\"breadcrumb\":{\"@id\":\"https://hub-docs.wundergraph.com/api-design/collections#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://hub-docs.wundergraph.com/api-design/collections#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Using Hub\",\"item\":\"https://hub-docs.wundergraph.com/guides/guides-overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"API Design\",\"item\":\"https://hub-docs.wundergraph.com/api-design/api-design\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Collections\",\"item\":\"https://hub-docs.wundergraph.com/api-design/collections\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://hub-docs.wundergraph.com/api-design/collections#article\",\"headline\":\"Collections\",\"name\":\"Collections\",\"url\":\"https://hub-docs.wundergraph.com/api-design/collections\",\"mainEntityOfPage\":{\"@id\":\"https://hub-docs.wundergraph.com/api-design/collections#webpage\"},\"dateModified\":\"2026-06-11T11:26:49.861Z\",\"publisher\":{\"@id\":\"https://hub-docs.wundergraph.com/#organization\"},\"isPartOf\":{\"@id\":\"https://hub-docs.wundergraph.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"WunderGraph Hub\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"WunderGraph Hub\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-design/collections.md","siteName":"WunderGraph Hub","nav":{"global":null,"tabs":[{"tab":"Documentation","icon":"book-open","groups":[{"group":"Getting Started","pages":[{"title":"WunderGraph Hub","icon":"house","sidebarTitle":"Overview","href":"/introduction"},{"title":"Quickstart","icon":"rocket","href":"/quickstart/quickstart"},{"title":"Setup","icon":"gear","href":"/setup/getting-set-up"}]},{"group":"Using Hub","pages":[{"group":"Guides","icon":"route","pages":[{"title":"Overview","icon":"info","href":"/guides/guides-overview"},{"title":"Explore Your Graph","icon":"compass","href":"/guides/explore-graph"},{"title":"Design a Query from a Mockup","icon":"wand-magic-sparkles","href":"/guides/design-query"},{"title":"Add Types and Fields","icon":"scale-balanced","href":"/guides/add-types-and-fields"},{"title":"Create a New Subgraph","icon":"network-wired","href":"/guides/create-subgraph"},{"title":"Assign Ownership","icon":"shield","href":"/guides/assign-ownership"},{"title":"Propose and Review Changes","icon":"users","href":"/guides/propose-and-review"}]},{"group":"Schema Development","icon":"diagram-project","pages":[{"title":"Schema First Approach","icon":"pen-ruler","href":"/schema-development/schema-first"},{"title":"Code First Approach","icon":"code","href":"/schema-development/code-first"}]},{"group":"API Design","icon":"palette","pages":[{"title":"Overview","href":"/api-design/api-design"},{"title":"Canvas Introduction","icon":"palette","href":"/api-design/canvas/canvas-introduction"},{"title":"Action Bar","icon":"sliders","href":"/api-design/canvas/action-bar"},{"title":"Schema Elements","icon":"cubes","href":"/api-design/canvas/schema-elements"},{"title":"UI Mock Node","icon":"image","href":"/ui-mock-query/ui-mock-node"},{"title":"Operation Builder Node","icon":"code","href":"/ui-mock-query/operation-builder-node"},{"title":"Branching","icon":"code-branch","href":"/api-design/branching-and-forks"},{"title":"Working with Types and Fields","description":"Create and edit GraphQL types and fields in your API schema","icon":"pencil","href":"/api-design/working-with-types-and-fields"},{"title":"Collections","icon":"folder","href":"/api-design/collections"},{"title":"Schema Page","icon":"file-code","description":null,"href":"/api-design/schema-page"},{"title":"Optimizer","icon":"gauge","href":"/api-design/optimizer"},{"title":"Hub AI","icon":"sparkles","href":"/api-design/hub-ai"}]},{"group":"Collaboration","icon":"comments","pages":[{"title":"Overview","href":"/collaboration/collaboration"},{"title":"Discussions","icon":"message-lines","href":"/collaboration/discussions"},{"group":"Proposals","icon":"file-lines","pages":[{"title":"Proposals","icon":"file-lines","href":"/collaboration/proposals/introducing-proposals"},{"title":"Overview","icon":"chart-mixed","href":"/collaboration/proposals/proposal-overview"},{"title":"Operations changed page","icon":"code-compare","href":"/collaboration/proposals/operations-changed-page"}]}]},{"group":"Concepts","icon":"lightbulb","pages":[{"title":"Overview","href":"/concepts/core-concepts"},{"title":"Dream Queries","icon":"wand-magic-sparkles","href":"/concepts/dream-queries"},{"title":"Fission","icon":"code-branch","href":"/concepts/fission"},{"title":"Governance","icon":"scale-balanced","href":"/concepts/governance"}]}]},{"group":"Integrations","icon":"plug","pages":[{"group":"Git","icon":"code-branch","pages":[{"title":"GitHub","icon":"github","href":"/integrations/git/github"},{"title":"GitLab","icon":"gitlab","href":"/integrations/git/gitlab"},{"title":"GitLab App Setup","icon":"gitlab","href":"/integrations/git/gitlab-app-setup"}]},{"group":"Schema Registry","icon":"cloud","pages":[{"title":"WunderGraph Cosmo","icon":"rocket","href":"/integrations/schema-registry/wundergraph-cosmo"},{"title":"Apollo GraphOS","icon":"shuttle-space","href":"/integrations/schema-registry/apollo-graphos"}]}]}]}]},"basePath":"","title":"Collections - WunderGraph Hub","deploymentId":"dpl_9e4H7L1tnDKAVRTqiF1skrLRiVsQ","buildId":"dpl_9e4H7L1tnDKAVRTqiF1skrLRiVsQ","dynamics":["10e4515597","a74be98ba7"],"chunks":["BannerMarkdown-tcr6AuFZ.js","dist-BOBeilfN.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js","zoom-image-lightbox-DCI5xCVC.js","lightbox-handle-r17bVUz3.js"]}