[{"data":1,"prerenderedAt":802},["ShallowReactive",2],{"header-nav":3,"footer-primary":155,"footer-secondary":232,"footer-description":258,"header-nav-data":260,"github-stars":262,"8f849cd0-a47b-4e32-bb19-b478973c90f7":366,"dfd79d2b-7af5-4cdb-aa94-3f73de97ebd8":372,"74634853-196b-4ce3-b256-4534c054838f":379,"site-banner":408,"358b0659-1f05-4427-bd1c-4bc03a43c182":412,"9df3f40e-6272-4ec6-a0d7-cc29265e087c":419,"1b444c23-b593-4391-9410-4ca5d2c7a7cb":423,"/toolkit/auth":426,"f8dc1153-9df8-4ccc-8f2a-de1416a40368":505,"d0947357-6599-4f7a-9d06-83647a1c855d":536,"7490c44c-56f9-49c3-8624-3ab5806cbdc8":542,"d312e27c-9363-4c59-adc3-3730e29572c5":556,"aa39c25f-c070-4aa1-a656-3ad6e7c204cd":562,"16e2611f-315b-48d8-b525-801c8162ff98":567,"cccdac53-dfd9-449c-91af-cc80debb90af":573,"986c7e10-02b9-4f0c-89d7-0a50ba7023c2":578,"b196bb4a-127d-473b-a9e3-e4f328715d33":586,"9b0f3f5c-4668-4da4-92e0-1318af9bc62a":602,"37698922-a1a8-40c0-be74-bd8e8d69e378":608,"9579d4a9-5570-49a0-ab8f-078cf95aab40":622,"0081b323-3582-46f8-aac7-bc8f724f3dcd":628,"d0905160-267d-4e0e-aedb-8247c6c55c4f":634,"cddff183-fccb-4def-8212-e7e702e0c64b":637,"300121a9-b0a3-4287-97c0-2a79251904e8":640,"02917424-ae37-49a7-9173-ce58a87e5ae1":650,"fff61c44-717a-412f-9d55-d37fa11eab41":661,"7d2079ca-bb0b-47a5-857c-035c7a03cf71":665,"7dfb649b-1616-4ed6-aff0-71b35eacb95c":674,"6c7433d8-171a-405b-ba1b-33d00bb6e878":684,"e9ff4c80-3970-4a94-a193-54f38074d1ac":690,"434ddf86-e93f-4971-ac93-b2aeed5b43ab":695,"73bf3454-d064-4c4d-9535-6861f555a143":701,"4f19834c-9844-46c8-8223-1c057fecc8f4":711,"c192826f-8d72-4fd7-8ed8-a71b5bedff5d":715,"7df8def4-a7f6-4eaf-8ac6-f323e7040dac":718,"cc288710-3822-4b5a-aa9e-12fcd21ed022":722,"ab2f706b-541d-4c72-9f75-764d0bef7127":726,"7cd8e813-a6e7-44d1-a649-ccb8d9eae97f":734,"b360e921-754f-46de-9fe1-32ad44bddebd":738,"3f810976-1a26-47d2-83d3-8fd18912a363":745,"code-highlighterregister":754,"code-highlighterlogin-with-email":756,"04e430e8-efee-4507-8296-a1fe3ceb4cab":758,"9cc9fb72-4663-4ff9-aeff-8710a12ba1ad":762,"0ce65fd2-6862-4569-868e-b42ee4ff8b41":766,"1321467a-f272-4df0-93c1-06bb31467ac3":774,"5819a1c4-3a18-4a3e-986d-a8f192abe867":777,"07e9f08c-586d-4550-ab7e-af76819ecb02":780,"code-highlighterhas-access":788,"code-highlighterunauthorized":790,"0bdf8a41-3c0f-40f8-a97e-2027bd886853":792,"2ee8ac20-7b4e-45b4-94c8-7b750da7482c":795,"689266c8-8d2b-437a-80eb-f39ce3e3cf27":796},{"items":4},[5,74,136,141,148],{"id":6,"title":7,"url":8,"callout":9,"callout_title":10,"children_title":11,"page":8,"children":12},"62c04c6c-5793-4702-8ed1-73dd563fd605","Product",null,"8f849cd0-a47b-4e32-bb19-b478973c90f7","Project Showcase","Use Cases and Features",[13,21,29,37,43,51,59,67],{"id":14,"title":15,"url":16,"description":17,"image":8,"icon":18,"page":19},"e7d7d5ed-89b1-4455-8b4a-8ae92c70e3a0","Headless CMS","/solutions/headless-cms/","Manage and deliver content with ease","code_blocks",{"permalink":20},"/solutions/headless-cms",{"id":22,"title":23,"url":24,"description":25,"image":8,"icon":26,"page":27},"60bdefd9-95e6-45a3-9f81-4748d07c59d3","Backend-as-a-Service","/solutions/backend-as-a-service/","Build and ship applications faster","speed",{"permalink":28},"/solutions/backend-as-a-service",{"id":30,"title":31,"url":32,"description":33,"image":8,"icon":34,"page":35},"5f9aebeb-4f89-445e-9850-5b1261a2743c","Headless Commerce","/solutions/product-information-management/","A single source of truth for products","shopping_cart_checkout",{"permalink":36},"/solutions/product-information-management",{"id":38,"title":39,"url":40,"description":41,"image":8,"icon":42,"page":8},"49e46134-80be-470e-8c73-afb1417fa9b6","100+ More Use Cases","https://directus.io/blog/100-tools-apps-and-platforms-you-can-build-with-directus","Build anything (or everything)","lightbulb",{"id":44,"title":45,"url":46,"description":47,"image":8,"icon":48,"page":49},"a589ac77-a5ce-45c5-a054-e43111e19158","Instant APIs","/products/connect/","Connect a database, get REST + GraphQL APIs","api",{"permalink":50},"/toolkit/connect",{"id":52,"title":53,"url":54,"description":55,"image":8,"icon":56,"page":57},"4a0f129a-c546-4493-b0a9-306e51692e90","Granular Policy-Based Auth","/products/auth/","Provide secure, autonomous data access","lock_person",{"permalink":58},"/toolkit/auth",{"id":60,"title":61,"url":62,"description":63,"image":8,"icon":64,"page":65},"f9250f2c-93a4-4108-80db-011bbe391ecf","Visual Automation Builder","/products/automate/","Automate content and data workflows with ease","build",{"permalink":66},"/toolkit/automate",{"id":68,"title":69,"url":8,"description":70,"image":8,"icon":71,"page":72},"f1ae4e40-5b05-42a4-9cd3-33dda35cc939","50+ More Features","Get everything you need out-of-the-box","auto_fix",{"permalink":73},"/features",{"id":75,"title":76,"url":8,"callout":77,"callout_title":78,"children_title":79,"page":8,"children":80},"2f6ad0d1-6dd3-4f17-b5c8-9f2abf71409a","Resources","dfd79d2b-7af5-4cdb-aa94-3f73de97ebd8","Watch Directus TV","Learn More",[81,88,96,102,109,116,122,129],{"id":82,"title":83,"url":84,"description":85,"image":8,"icon":86,"page":87},"0a3bf9f5-1ef2-43f4-bc09-7ff7488241c5","Blog","/blog","Read our latest articles and guides","library_books",{"permalink":84},{"id":89,"title":90,"url":91,"description":92,"image":8,"icon":93,"page":94},"165e3dc2-e51b-4456-8382-99c5775b0412","Case Studies","#","Case studies and success stories","magic_button",{"permalink":95},"/case-studies",{"id":97,"title":98,"url":99,"description":100,"image":8,"icon":101,"page":8},"5ae324b6-bf44-4c21-95ad-e6dc0c1c1f40","Community Forum","https://community.directus.io/","Questions and conversations","comment",{"id":103,"title":104,"url":91,"description":105,"image":8,"icon":106,"page":107},"b1db03f0-e537-490e-8c0f-c61c401d1024","Agency Directory","Browse our list of agency partners ","handshake",{"permalink":108},"/agency-directory",{"id":110,"title":111,"url":112,"description":113,"image":8,"icon":114,"page":115},"991731c8-eb40-4eec-85a5-6e977bcd7ec9","About Us","/about","Learn more about Directus and the team","supervised_user_circle",{"permalink":112},{"id":117,"title":118,"url":119,"description":120,"image":8,"icon":121,"page":8},"52aebf38-b3ad-4a27-807d-ce52398cd509","Wall of Love","https://testimonial.to/directus/all","See what others are saying about us","heart_plus",{"id":123,"title":124,"url":91,"description":125,"image":8,"icon":126,"page":127},"a86eca65-d5ae-4263-b7d9-4f1a1c50a0b1","Contact","Have a general inquiry or question for us?","mark_email_unread",{"permalink":128},"/contact",{"id":130,"title":131,"url":8,"description":132,"image":8,"icon":133,"page":134},"28225825-8d41-4809-9032-192fbf5c6e5d","Support","Reach out to Directus support","support",{"permalink":135},"/support",{"id":137,"title":138,"url":139,"callout":8,"callout_title":8,"children_title":8,"page":8,"children":140},"a3f1275d-b088-4b11-99bf-143fcbf39104","Developers","/docs",[],{"id":142,"title":143,"url":144,"callout":8,"callout_title":8,"children_title":8,"page":145,"children":147},"fae8fded-d2e2-468e-a68b-82abec7a7225","Enterprise","/solutions/enterprise/",{"permalink":146},"/solutions/enterprise",[],{"id":149,"title":150,"url":151,"callout":8,"callout_title":8,"children_title":8,"page":152,"children":154},"5c5e2fbc-49fd-4e41-a71e-e4f8db2b00cf","Pricing","/pricing/",{"permalink":153},"/pricing/self-hosted",[],{"items":156},[157,174,193,212],{"id":158,"title":159,"url":8,"page":8,"children":160},"522e608a-77b0-4333-820d-d4f44be2ade1","Solutions",[161,164,167,171],{"id":162,"title":15,"url":8,"page":163},"fcafe85a-a798-4710-9e7a-776fe413aae5",{"permalink":20},{"id":165,"title":23,"url":8,"page":166},"79972923-93cf-4777-9e32-5c9b0315fc10",{"permalink":28},{"id":168,"title":169,"url":8,"page":170},"0fa8d0c1-7b64-4f6f-939d-d7fdb99fc407","Product Information",{"permalink":36},{"id":172,"title":173,"url":40,"page":8},"63946d54-6052-4780-8ff4-91f5a9931dcc","100+ Things to Build",{"id":175,"title":76,"url":8,"page":8,"children":176},"8ab4f9b1-f3e2-44d6-919b-011d91fe072f",[177,181,185,189],{"id":178,"title":179,"url":180,"page":8},"f951fb84-8777-4b84-9e91-996fe9d25483","Documentation","https://docs.directus.io",{"id":182,"title":183,"url":184,"page":8},"366febc7-a538-4c08-a326-e6204957f1e3","Guides","https://docs.directus.io/guides/",{"id":186,"title":187,"url":188,"page":8},"aeb9128e-1c5f-417f-863c-2449416433cd","Community","https://directus.chat",{"id":190,"title":191,"url":192,"page":8},"da1c2ed8-0a77-49b0-a903-49c56cb07de5","Release Notes","https://github.com/directus/directus/releases",{"id":194,"title":131,"url":8,"page":8,"children":195},"d61fae8c-7502-494a-822f-19ecff3d0256",[196,200,204,208],{"id":197,"title":198,"url":199,"page":8},"8c43c781-7ebd-475f-a931-747e293c0a88","Issue Tracker","https://github.com/directus/directus/issues",{"id":201,"title":202,"url":203,"page":8},"d77bb78e-cf7b-4e01-932a-514414ba49d3","Feature Requests","https://github.com/directus/directus/discussions?discussions_q=is:open+sort:top",{"id":205,"title":206,"url":207,"page":8},"4346be2b-2c53-476e-b53b-becacec626a6","Community Chat","https://discord.com/channels/725371605378924594/741317677397704757",{"id":209,"title":210,"url":211,"page":8},"26c115d2-49f7-4edc-935e-d37d427fb89d","Cloud Dashboard","https://directus.cloud",{"id":213,"title":214,"url":8,"page":8,"children":215},"49141403-4f20-44ac-8453-25ace1265812","Organization",[216,220,225,229],{"id":217,"title":218,"url":112,"page":219},"1f36ea92-8a5e-47c8-914c-9822a8b9538a","About",{"permalink":112},{"id":221,"title":222,"url":91,"page":223},"b84bf525-5471-4b14-a93c-225f6c386005","Careers",{"permalink":224},"/careers",{"id":226,"title":227,"url":228,"page":8},"86aabc3a-433d-434b-9efa-ad1d34be0a34","Brand Assets","https://drive.google.com/drive/folders/1lBOTba4RaA5ikqOn8Ewo4RYzD0XcymG9?usp=sharing",{"id":230,"title":124,"url":8,"page":231},"8d2fa1e3-198e-4405-81e1-2ceb858bc237",{"permalink":128},{"items":233},[234,240,246,252],{"id":235,"title":236,"url":8,"page":237,"children":239},"8a1b7bfa-429d-4ffc-a650-2a5fdcf356da","Cloud Policies",{"permalink":238},"/cloud-policies",[],{"id":241,"title":242,"url":91,"page":243,"children":245},"bea848ef-828f-4306-8017-6b00ec5d4a0c","License",{"permalink":244},"/bsl",[],{"id":247,"title":248,"url":91,"page":249,"children":251},"4e914f47-4bee-42b7-b445-3119ee4196ef","Terms",{"permalink":250},"/terms",[],{"id":253,"title":254,"url":91,"page":255,"children":257},"ea69eda6-d317-4981-8421-fcabb1826bfd","Privacy",{"permalink":256},"/privacy",[],{"description":259},"\u003Cp>A composable backend to build your Headless CMS, BaaS, and more.&nbsp;\u003C/p>",{"header_cta_buttons":261},"74634853-196b-4ce3-b256-4534c054838f",{"id":263,"node_id":264,"name":265,"full_name":266,"private":267,"owner":268,"html_url":285,"description":286,"fork":267,"url":287,"forks_url":288,"keys_url":289,"collaborators_url":290,"teams_url":291,"hooks_url":292,"issue_events_url":293,"events_url":294,"assignees_url":295,"branches_url":296,"tags_url":297,"blobs_url":298,"git_tags_url":299,"git_refs_url":300,"trees_url":301,"statuses_url":302,"languages_url":303,"stargazers_url":304,"contributors_url":305,"subscribers_url":306,"subscription_url":307,"commits_url":308,"git_commits_url":309,"comments_url":310,"issue_comment_url":311,"contents_url":312,"compare_url":313,"merges_url":314,"archive_url":315,"downloads_url":316,"issues_url":317,"pulls_url":318,"milestones_url":319,"notifications_url":320,"labels_url":321,"releases_url":322,"deployments_url":323,"created_at":324,"updated_at":325,"pushed_at":326,"git_url":327,"ssh_url":328,"clone_url":329,"svn_url":285,"homepage":330,"size":331,"stargazers_count":332,"watchers_count":332,"language":333,"has_issues":334,"has_projects":334,"has_downloads":334,"has_wiki":267,"has_pages":267,"has_discussions":334,"forks_count":335,"mirror_url":8,"archived":267,"disabled":267,"open_issues_count":336,"license":337,"allow_forking":334,"is_template":267,"web_commit_signoff_required":267,"has_pull_requests":334,"pull_request_creation_policy":342,"topics":343,"visibility":284,"forks":335,"open_issues":336,"watchers":332,"default_branch":362,"temp_clone_token":8,"custom_properties":363,"organization":364,"network_count":335,"subscribers_count":365},7122594,"MDEwOlJlcG9zaXRvcnk3MTIyNTk0","directus","directus/directus",false,{"login":265,"id":269,"node_id":270,"avatar_url":271,"gravatar_id":272,"url":273,"html_url":274,"followers_url":275,"following_url":276,"gists_url":277,"starred_url":278,"subscriptions_url":279,"organizations_url":280,"repos_url":281,"events_url":282,"received_events_url":283,"type":214,"user_view_type":284,"site_admin":267},15967950,"MDEyOk9yZ2FuaXphdGlvbjE1OTY3OTUw","https://avatars.githubusercontent.com/u/15967950?v=4","","https://api.github.com/users/directus","https://github.com/directus","https://api.github.com/users/directus/followers","https://api.github.com/users/directus/following{/other_user}","https://api.github.com/users/directus/gists{/gist_id}","https://api.github.com/users/directus/starred{/owner}{/repo}","https://api.github.com/users/directus/subscriptions","https://api.github.com/users/directus/orgs","https://api.github.com/users/directus/repos","https://api.github.com/users/directus/events{/privacy}","https://api.github.com/users/directus/received_events","public","https://github.com/directus/directus","The flexible backend for all your projects 🐰 Turn your DB into a headless CMS, admin panels, or apps with a custom UI, instant APIs, auth & more.","https://api.github.com/repos/directus/directus","https://api.github.com/repos/directus/directus/forks","https://api.github.com/repos/directus/directus/keys{/key_id}","https://api.github.com/repos/directus/directus/collaborators{/collaborator}","https://api.github.com/repos/directus/directus/teams","https://api.github.com/repos/directus/directus/hooks","https://api.github.com/repos/directus/directus/issues/events{/number}","https://api.github.com/repos/directus/directus/events","https://api.github.com/repos/directus/directus/assignees{/user}","https://api.github.com/repos/directus/directus/branches{/branch}","https://api.github.com/repos/directus/directus/tags","https://api.github.com/repos/directus/directus/git/blobs{/sha}","https://api.github.com/repos/directus/directus/git/tags{/sha}","https://api.github.com/repos/directus/directus/git/refs{/sha}","https://api.github.com/repos/directus/directus/git/trees{/sha}","https://api.github.com/repos/directus/directus/statuses/{sha}","https://api.github.com/repos/directus/directus/languages","https://api.github.com/repos/directus/directus/stargazers","https://api.github.com/repos/directus/directus/contributors","https://api.github.com/repos/directus/directus/subscribers","https://api.github.com/repos/directus/directus/subscription","https://api.github.com/repos/directus/directus/commits{/sha}","https://api.github.com/repos/directus/directus/git/commits{/sha}","https://api.github.com/repos/directus/directus/comments{/number}","https://api.github.com/repos/directus/directus/issues/comments{/number}","https://api.github.com/repos/directus/directus/contents/{+path}","https://api.github.com/repos/directus/directus/compare/{base}...{head}","https://api.github.com/repos/directus/directus/merges","https://api.github.com/repos/directus/directus/{archive_format}{/ref}","https://api.github.com/repos/directus/directus/downloads","https://api.github.com/repos/directus/directus/issues{/number}","https://api.github.com/repos/directus/directus/pulls{/number}","https://api.github.com/repos/directus/directus/milestones{/number}","https://api.github.com/repos/directus/directus/notifications{?since,all,participating}","https://api.github.com/repos/directus/directus/labels{/name}","https://api.github.com/repos/directus/directus/releases{/id}","https://api.github.com/repos/directus/directus/deployments","2012-12-12T01:35:36Z","2026-03-18T14:36:38Z","2026-03-18T15:43:33Z","git://github.com/directus/directus.git","git@github.com:directus/directus.git","https://github.com/directus/directus.git","https://directus.io",438225,34516,"TypeScript",true,4638,385,{"key":338,"name":339,"spdx_id":340,"url":8,"node_id":341},"other","Other","NOASSERTION","MDc6TGljZW5zZTA=","all",[48,344,345,346,347,348,265,349,350,351,352,353,354,355,356,357,358,359,360,361],"app","cms","composable","data-visualization","database","graphql","headless-cms","javascript","mariadb","mssql","mysql","no-code","node","postgresql","sql","sqlite","typescript","vue","main",{},{"login":265,"id":269,"node_id":270,"avatar_url":271,"gravatar_id":272,"url":273,"html_url":274,"followers_url":275,"following_url":276,"gists_url":277,"starred_url":278,"subscriptions_url":279,"organizations_url":280,"repos_url":281,"events_url":282,"received_events_url":283,"type":214,"user_view_type":284,"site_admin":267},326,{"id":9,"title":367,"description":368,"image":369,"external_url":8,"icon":8,"badge":8,"page":370,"resource":8},"Built With Directus","See what everyone's been building with Directus","e658de72-fb08-4ed2-8029-215c712c789e",{"permalink":371},"/built-with-directus",{"id":77,"title":373,"description":374,"image":375,"external_url":376,"icon":377,"badge":378,"page":8,"resource":8},"Directus TV","Go down the rabbit hole with hours of original video content from our team. ","ab70faf5-fc28-4608-a7e7-74fd4f020a9d","/tv","connected_tv","Video",{"alignment":380,"style":381,"experiment_enabled":267,"experiment":8,"experiment_variant":382,"buttons":385,"variants":395},"center","default",{"id":383,"key":384,"experiment":8},"8c4951b4-a6f9-4c06-9f71-fd39a3bdad1e","control",[386,389,392],{"id":387,"block_button_id":388},15,"358b0659-1f05-4427-bd1c-4bc03a43c182",{"id":390,"block_button_id":391},16,"9df3f40e-6272-4ec6-a0d7-cc29265e087c",{"id":393,"block_button_id":394},232,"1b444c23-b593-4391-9410-4ca5d2c7a7cb",[396],{"id":397,"alignment":380,"style":381,"buttons":398,"experiment_variant":405},"e1885d45-3119-41a3-8294-3cd796ea6f02",[399,402],{"id":400,"block_button_id":401},203,"ade37731-147d-48c4-864a-cec007576362",{"id":403,"block_button_id":404},202,"1cb4e89f-f7de-4b46-bbb8-080191517a72",{"id":406,"key":407},"66d2be4f-2492-4944-8060-039c15515918","variant",{"id":409,"icon":377,"content":410,"link":411},"812bf73d-ebfb-4246-9538-937a09a0c795","Learn more about our native MCP","https://directus.io/mcp",{"id":388,"external_url":8,"label":413,"color":414,"outline":267,"icon":8,"size":415,"target":416,"ph_event":8,"page":417,"resource":8},"Book a Demo","primary","medium","_self",{"permalink":418},"/demo",{"id":391,"external_url":420,"label":421,"color":422,"outline":267,"icon":8,"size":415,"target":416,"ph_event":8,"page":8,"resource":8},"https://directus.cloud/account/register","Get Started","secondary",{"id":394,"external_url":211,"label":424,"color":422,"outline":334,"icon":425,"size":415,"target":416,"ph_event":8,"page":8,"resource":8},"Log In","arrow_forward",{"title":427,"spacing_top":428,"id":429,"layout":8,"blocks":430,"seo":502},"Auth","x-small","e85b9f8d-1c87-444c-892d-a0ebd47df0f5",[431,438,443,449,455,461,467,473,477,481,486,490,494,498],{"id":432,"background":433,"collection":434,"item":435,"negative_offset":267,"spacing":415,"sort":436,"width":437,"key":8,"hidden":267,"experiment":8,"experiment_variant":8},353,"pristine-white-lines","block_page_nav","b196bb4a-127d-473b-a9e3-e4f328715d33",1,"standard",{"id":439,"background":433,"collection":440,"item":441,"negative_offset":267,"spacing":415,"sort":442,"width":437,"key":8,"hidden":267,"experiment":8,"experiment_variant":8},447,"block_header","986c7e10-02b9-4f0c-89d7-0a50ba7023c2",2,{"id":444,"background":445,"collection":446,"item":447,"negative_offset":334,"spacing":415,"sort":448,"width":437,"key":8,"hidden":267,"experiment":8,"experiment_variant":8},99,"simple-gray","block_media","9b0f3f5c-4668-4da4-92e0-1318af9bc62a",4,{"id":450,"background":445,"collection":451,"item":452,"negative_offset":267,"spacing":415,"sort":453,"width":454,"key":8,"hidden":267,"experiment":8,"experiment_variant":8},49,"block_logocloud","f8dc1153-9df8-4ccc-8f2a-de1416a40368",5,"full",{"id":456,"background":457,"collection":440,"item":458,"negative_offset":267,"spacing":415,"sort":459,"width":437,"key":460,"hidden":267,"experiment":8,"experiment_variant":8},85,"pristine-white","cddff183-fccb-4def-8212-e7e702e0c64b",6,"features",{"id":462,"background":457,"collection":463,"item":464,"negative_offset":267,"spacing":465,"sort":466,"width":437,"key":8,"hidden":267,"experiment":8,"experiment_variant":8},154,"block_columns","37698922-a1a8-40c0-be74-bd8e8d69e378","small",7,{"id":468,"background":457,"collection":469,"item":470,"negative_offset":267,"spacing":471,"sort":472,"width":437,"key":8,"hidden":267,"experiment":8,"experiment_variant":8},125,"block_card_group","300121a9-b0a3-4287-97c0-2a79251904e8","x-large",8,{"id":474,"background":457,"collection":463,"item":475,"negative_offset":267,"spacing":415,"sort":476,"width":437,"key":8,"hidden":267,"experiment":8,"experiment_variant":8},192,"02917424-ae37-49a7-9173-ce58a87e5ae1",9,{"id":478,"background":457,"collection":463,"item":479,"negative_offset":267,"spacing":415,"sort":480,"width":437,"key":8,"hidden":267,"experiment":8,"experiment_variant":8},213,"7d2079ca-bb0b-47a5-857c-035c7a03cf71",10,{"id":482,"background":457,"collection":483,"item":484,"negative_offset":267,"spacing":471,"sort":485,"width":437,"key":8,"hidden":267,"experiment":8,"experiment_variant":8},348,"block_quote","d0947357-6599-4f7a-9d06-83647a1c855d",11,{"id":487,"background":457,"collection":440,"item":488,"negative_offset":267,"spacing":415,"sort":489,"width":437,"key":8,"hidden":267,"experiment":8,"experiment_variant":8},17,"fff61c44-717a-412f-9d55-d37fa11eab41",12,{"id":491,"background":457,"collection":469,"item":492,"negative_offset":267,"spacing":415,"sort":493,"width":437,"key":8,"hidden":267,"experiment":8,"experiment_variant":8},285,"7dfb649b-1616-4ed6-aff0-71b35eacb95c",13,{"id":495,"background":457,"collection":463,"item":496,"negative_offset":267,"spacing":415,"sort":497,"width":437,"key":8,"hidden":267,"experiment":8,"experiment_variant":8},286,"73bf3454-d064-4c4d-9535-6861f555a143",14,{"id":499,"background":457,"collection":500,"item":501,"negative_offset":267,"spacing":415,"sort":487,"width":437,"key":8,"hidden":267,"experiment":8,"experiment_variant":8},456,"block_metric_group","7490c44c-56f9-49c3-8624-3ab5806cbdc8",{"title":503,"meta_description":504,"no_follow":267,"no_index":267,"canonical_url":8,"json_ld":8},"Auth | Robust role-based access control","Deliver a seamless user experience with fine-grained permissions, secure authentication, and extensive access control. Secure your data with Directus.",{"type":506,"logos":507},"ticker",[508,512,516,520,524,528,532],{"id":509,"title":8,"external_url":8,"directus_files_id":510,"resource":8,"page":8},138,{"id":511,"description":8},"7e405c42-66b6-44c1-8d97-a872d7bddafe",{"id":513,"title":8,"external_url":8,"directus_files_id":514,"resource":8,"page":8},139,{"id":515,"description":8},"96b90a46-59dd-4246-b7ca-aa8cfbb6ccc9",{"id":517,"title":8,"external_url":8,"directus_files_id":518,"resource":8,"page":8},140,{"id":519,"description":8},"aa0efb8e-6af4-462d-8d65-a4eafb01cd33",{"id":521,"title":8,"external_url":8,"directus_files_id":522,"resource":8,"page":8},141,{"id":523,"description":8},"6b9a3fbf-7af0-4e77-a6fb-faea5f30dd0e",{"id":525,"title":8,"external_url":8,"directus_files_id":526,"resource":8,"page":8},144,{"id":527,"description":8},"92c8b1fc-64f1-45ee-978a-f11bb7aa239f",{"id":529,"title":8,"external_url":8,"directus_files_id":530,"resource":8,"page":8},145,{"id":531,"description":8},"34e2c465-e1a1-49c1-8d5a-820f94e7ca97",{"id":533,"title":8,"external_url":8,"directus_files_id":534,"resource":8,"page":8},146,{"id":535,"description":8},"004b69ef-9da3-4579-8fec-1b819c62e10a",{"id":484,"company_logo":537,"person_image":538,"person_name":539,"person_title":540,"quote":541,"button":8},"19207b81-7542-444a-be5b-7c4fb7b167ca","bb59645c-2153-4855-9bb9-b1b25a4a836e","Wayne Eldridge","Founder, Enamic","\u003Cp>If the team scales from 100 to 300 people, it's not a problem at all. Whereas setting up new permissions used to take hours, with Directus, it&rsquo;s a two-minute change.\u003C/p>",{"id":501,"background":457,"items":543},[544,547,550,553],{"id":545,"block_metric_id":546},"0dd02701-106f-4c45-bac1-fe46b2fcbba2","d312e27c-9363-4c59-adc3-3730e29572c5",{"id":548,"block_metric_id":549},"49af1f68-c146-4b0e-b5f1-df312535ac0e","aa39c25f-c070-4aa1-a656-3ad6e7c204cd",{"id":551,"block_metric_id":552},"b53a05d6-6b76-4e56-ac4d-7d5eccd0f957","16e2611f-315b-48d8-b525-801c8162ff98",{"id":554,"block_metric_id":555},"d985b9ce-291f-445e-a580-6d3d923da375","cccdac53-dfd9-449c-91af-cc80debb90af",{"id":546,"value":557,"description":558,"external_url":559,"page":8,"resource":8,"image":560},"41M+","Downloads","https://hub.docker.com/r/directus/directus",{"id":561,"description":8},"59de240f-20db-4490-b431-58bac53ac4b1",{"id":549,"value":563,"description":564,"external_url":285,"page":8,"resource":8,"image":565},"32K+","Stars",{"id":566,"description":8},"0833b9d1-2762-4891-a40b-7945632735fd",{"id":552,"value":568,"description":569,"external_url":570,"page":8,"resource":8,"image":571},"500K+","Projects","https://directus.io/built-with-directus",{"id":572,"description":8},"57b4feca-3ed5-407f-a1ec-9b64c6d65a95",{"id":555,"value":574,"description":575,"external_url":188,"page":8,"resource":8,"image":576},"16K+","Members",{"id":577,"description":8},"a310a281-ee5a-4756-ac9d-7a1d2b4574e8",{"id":441,"preheading":8,"heading":579,"subheading":580,"alignment":581,"heading_size":471,"heading_tag":582,"button_group":583,"subheading_color":584,"subheading_type":585,"command":8},"Authentication \u003Cem>made&nbsp;easy.\u003C/em>","\u003Cp>Leverage Directus' user system or your own SSO and easily build user accounts into your application with robust permissions.\u003C/p>","left","h2","ab2f706b-541d-4c72-9f75-764d0bef7127","subdued","subtext",{"tag":587,"navigation":588,"title":427,"logo":600},"h1",[589,593,596],{"key":590,"label":591,"link":592},"overview","Overview","#overview",{"key":460,"label":594,"link":595},"Features","#features",{"key":597,"label":598,"link":599},"docs","Docs","https://docs.directus.io/reference/authentication.html",{"id":601,"description":8},"ed8b6795-3de1-490c-aa43-fd7f60d55dac",{"type":603,"embed":8,"aspect_ratio":604,"border":334,"arcade_url":605,"arcade_fallback_video":606,"external_image_url":8,"border_radius":607,"caption":8,"video":8,"image":8},"arcade","auto","https://demo.arcade.software/xrvnX7callhfLO6Z4Bzz?embed","9ed57e06-4381-45cb-8c74-86cd6b40638d","normal",{"id":464,"layout":609,"col_a":610,"col_b":618},"1-2",[611,614],{"id":612,"collection":440,"item":613},"9a9717fb-c3ae-49b9-a7a4-bed2aee72e2f","4f19834c-9844-46c8-8223-1c057fecc8f4",{"id":615,"collection":616,"item":617},"1e9ca79e-de30-4261-8598-419c8980d95a","block_button_group","9579d4a9-5570-49a0-ab8f-078cf95aab40",[619],{"id":620,"collection":446,"item":621},"c882e8e8-7b36-4e7e-a1b3-b1e5e35a4bb0","0081b323-3582-46f8-aac7-bc8f724f3dcd",{"alignment":581,"style":381,"experiment_enabled":267,"experiment":8,"experiment_variant":8,"buttons":623,"variants":627},[624],{"id":625,"block_button_id":626},25,"d0905160-267d-4e0e-aedb-8247c6c55c4f",[],{"type":629,"embed":8,"aspect_ratio":8,"border":334,"arcade_url":8,"arcade_fallback_video":8,"external_image_url":8,"border_radius":630,"caption":8,"video":8,"image":631},"image","large",{"id":632,"description":633},"b095f78a-060e-4d7e-865c-861925703272","A screen shot of a screen showing a list of items.",{"id":626,"external_url":635,"label":636,"color":414,"outline":267,"icon":425,"size":415,"target":416,"ph_event":8,"page":8,"resource":8},"https://directus.cloud/register","Create a project",{"id":458,"preheading":8,"heading":638,"subheading":639,"alignment":380,"heading_size":8,"heading_tag":8,"button_group":8,"subheading_color":584,"subheading_type":381,"command":8},"Ready-to-implement user accounts and a \u003Cem>granular permissions system.\u003C/em>","\u003Cp>Connect directly to any database and get an intuitive GUI for managing user accounts and permissions.\u003C/p>",{"id":470,"stacked":267,"icon_color":414,"style":641,"grid":642,"title_size":415,"icon_size":415,"cards":643},"icon-above-title","3",[644,646,648],{"block_card_id":645},"cc288710-3822-4b5a-aa9e-12fcd21ed022",{"block_card_id":647},"c192826f-8d72-4fd7-8ed8-a71b5bedff5d",{"block_card_id":649},"7df8def4-a7f6-4eaf-8ac6-f323e7040dac",{"id":475,"layout":651,"col_a":652,"col_b":657},"2-1",[653],{"id":654,"collection":655,"item":656},"3feabc8b-fdb8-45f2-bbcb-22e9f08635ba","block_code","3f810976-1a26-47d2-83d3-8fd18912a363",[658],{"id":659,"collection":440,"item":660},"f20e83b9-b27c-4f5a-abbd-d593b5210e74","04e430e8-efee-4507-8296-a1fe3ceb4cab",{"id":488,"preheading":8,"heading":662,"subheading":663,"alignment":581,"heading_size":630,"heading_tag":664,"button_group":8,"subheading_color":584,"subheading_type":381,"command":8},"Combine with \u003Cem>other tools\u003C/em> in the Directus toolkit.","\u003Cp>Whether you specialize in frontend, backend, or fullstack, you'll get a suite of dev tools that'll make you even more efficient.\u003C/p>","h3",{"id":479,"layout":651,"col_a":666,"col_b":670},[667],{"id":668,"collection":655,"item":669},"551daa96-8f32-416d-8433-820e22153fc5","07e9f08c-586d-4550-ab7e-af76819ecb02",[671],{"id":672,"collection":440,"item":673},"23d38553-7cf2-4ce5-95b5-209e37d37288","7cd8e813-a6e7-44d1-a649-ccb8d9eae97f",{"id":492,"stacked":267,"icon_color":675,"style":676,"grid":642,"title_size":415,"icon_size":415,"cards":677},"foreground","image-centered-16-9",[678,680,682],{"block_card_id":679},"6c7433d8-171a-405b-ba1b-33d00bb6e878",{"block_card_id":681},"e9ff4c80-3970-4a94-a193-54f38074d1ac",{"block_card_id":683},"434ddf86-e93f-4971-ac93-b2aeed5b43ab",{"id":679,"title":685,"description":686,"image":687,"external_url":8,"icon":8,"badge":8,"page":688,"resource":8},"Editor","Create and manage data in custom extensible forms.","a4efb05f-7e04-47d6-bd14-dca5e403835a",{"permalink":689},"/toolkit/editor",{"id":681,"title":691,"description":692,"image":693,"external_url":8,"icon":8,"badge":8,"page":694,"resource":8},"Connect","Generate REST and GraphQL APIs for any database.","54f3cbe4-d51e-4bc0-9966-e2ef888eba0a",{"permalink":50},{"id":683,"title":696,"description":697,"image":698,"external_url":8,"icon":8,"badge":8,"page":699,"resource":8},"Realtime","Sync live data over WebSockets and GraphQL Subscriptions.","f7564cfc-5acb-4741-bde8-9b2a869b6eb5",{"permalink":700},"/toolkit/realtime",{"id":496,"layout":702,"col_a":703,"col_b":707},"1-1",[704],{"id":705,"collection":483,"item":706},"56a03a44-6e17-468c-93db-248bff49ee4c","b360e921-754f-46de-9fe1-32ad44bddebd",[708],{"id":709,"collection":440,"item":710},"9dac2d3b-82b9-4d65-aabc-5c85fb78ee50","9cc9fb72-4663-4ff9-aeff-8710a12ba1ad",{"id":613,"preheading":712,"heading":713,"subheading":714,"alignment":581,"heading_size":630,"heading_tag":582,"button_group":8,"subheading_color":584,"subheading_type":381,"command":8},"RBAC and SSO","Powerful role-based access controls.","\u003Cp>Our robust roles &amp; permissions system allows filter rules, custom validation, field-level permissions, IP allow-lists, and configurable public access.\u003C/p>",{"id":647,"title":716,"description":717,"image":8,"external_url":8,"icon":114,"badge":8,"page":8,"resource":8},"Invite users or create them directly","Invite users to your project or directly create them from your instance.",{"id":649,"title":719,"description":720,"image":8,"external_url":8,"icon":721,"badge":8,"page":8,"resource":8},"Free and flexible SSO","Built-in JWT auth supports SSO via OAuth, SAML, OpenID, and LDAP with 2FA support.","join",{"id":645,"title":723,"description":724,"image":8,"external_url":8,"icon":725,"badge":8,"page":8,"resource":8},"Native and token-based authentication","Authenticate with API using email/password, or token-based authentication.","token",{"alignment":581,"style":381,"experiment_enabled":267,"experiment":8,"experiment_variant":8,"buttons":727,"variants":733},[728,730],{"id":450,"block_button_id":729},"2ee8ac20-7b4e-45b4-94c8-7b750da7482c",{"id":731,"block_button_id":732},48,"0bdf8a41-3c0f-40f8-a97e-2027bd886853",[],{"id":673,"preheading":735,"heading":736,"subheading":737,"alignment":581,"heading_size":630,"heading_tag":664,"button_group":8,"subheading_color":584,"subheading_type":381,"command":8},"Live Updates","Realtime that respects your access.","\u003Cp>Directus Realtime supports multiple authentication schemes, and fully respects role-based access control.\u003C/p>",{"id":706,"company_logo":739,"person_image":740,"person_name":741,"person_title":742,"quote":743,"button":744},"18bd6e4a-e4f7-47de-ab11-ce3a02ca95e9","a5b4abe4-f203-4bf5-815c-933728153a3d","Martijn Boland","Co-Founder, Taiga","\u003Cp>Building out the backend with Directus was really fast, and the platform has everything we needed &ndash; security, users, roles, permissions and more.We simply could not have delivered this amount of value for our customers with custom development only.\u003C/p>","689266c8-8d2b-437a-80eb-f39ce3e3cf27",{"background":746,"snippets":747},"dark-night",[748,751],{"name":749,"language":360,"snippet":750},"Register","const user = await client.request(\n\tcreateUser({ \n\t\temail: 'user@example.com',\n\t\tpassword: 'hunter2'\n\t})\n);",{"name":752,"language":360,"snippet":753},"Login with Email","const user = await client.login(email, password);",{"html":755},"\u003Cpre class=\"shiki directus-dark\" style=\"background-color:transparent;color:#94a3b8\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\">\u003Cspan style=\"color:#FF97DC\">const\u003C/span>\u003Cspan style=\"color:#9B8BFF\"> user\u003C/span>\u003Cspan style=\"color:#FF97DC\"> =\u003C/span>\u003Cspan style=\"color:#FF97DC\"> await\u003C/span>\u003Cspan style=\"color:#E2E8F0\"> client\u003C/span>\u003Cspan style=\"color:#94A3B8\">.\u003C/span>\u003Cspan style=\"color:#9B8BFF\">request\u003C/span>\u003Cspan style=\"color:#94A3B8\">(\u003C/span>\u003C/span>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#9B8BFF\">\tcreateUser\u003C/span>\u003Cspan style=\"color:#94A3B8\">({ \u003C/span>\u003C/span>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#94A3B8\">\t\temail: \u003C/span>\u003Cspan style=\"color:#F8FAFC\">'user@example.com'\u003C/span>\u003Cspan style=\"color:#94A3B8\">,\u003C/span>\u003C/span>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#94A3B8\">\t\tpassword: \u003C/span>\u003Cspan style=\"color:#F8FAFC\">'hunter2'\u003C/span>\u003C/span>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#94A3B8\">\t})\u003C/span>\u003C/span>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#94A3B8\">);\u003C/span>\u003C/span>\u003C/code>\u003C/pre>",{"html":757},"\u003Cpre class=\"shiki directus-dark\" style=\"background-color:transparent;color:#94a3b8\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\">\u003Cspan style=\"color:#FF97DC\">const\u003C/span>\u003Cspan style=\"color:#9B8BFF\"> user\u003C/span>\u003Cspan style=\"color:#FF97DC\"> =\u003C/span>\u003Cspan style=\"color:#FF97DC\"> await\u003C/span>\u003Cspan style=\"color:#E2E8F0\"> client\u003C/span>\u003Cspan style=\"color:#94A3B8\">.\u003C/span>\u003Cspan style=\"color:#9B8BFF\">login\u003C/span>\u003Cspan style=\"color:#94A3B8\">(\u003C/span>\u003Cspan style=\"color:#E2E8F0\">email\u003C/span>\u003Cspan style=\"color:#94A3B8\">, \u003C/span>\u003Cspan style=\"color:#E2E8F0\">password\u003C/span>\u003Cspan style=\"color:#94A3B8\">);\u003C/span>\u003C/span>\u003C/code>\u003C/pre>",{"id":660,"preheading":759,"heading":760,"subheading":761,"alignment":581,"heading_size":630,"heading_tag":664,"button_group":8,"subheading_color":584,"subheading_type":381,"command":8},"API-Powered Auth","Authenticate via our API.","\u003Cp>Create, update and read user data, and login, logout, and refresh access tokens all with Directus' simple API.\u003C/p>",{"id":710,"preheading":8,"heading":763,"subheading":764,"alignment":581,"heading_size":415,"heading_tag":664,"button_group":765,"subheading_color":584,"subheading_type":585,"command":8},"Get granular with your permissions 🔐","\u003Cp>Step into a world of seamless and secure authentication with Directus Auth. Protect your assets and provide users a friction-less login experience.\u003C/p>","0ce65fd2-6862-4569-868e-b42ee4ff8b41",{"alignment":380,"style":381,"experiment_enabled":267,"experiment":8,"experiment_variant":8,"buttons":767,"variants":773},[768,771],{"id":769,"block_button_id":770},3,"1321467a-f272-4df0-93c1-06bb31467ac3",{"id":448,"block_button_id":772},"5819a1c4-3a18-4a3e-986d-a8f192abe867",[],{"id":770,"external_url":635,"label":775,"color":414,"outline":267,"icon":425,"size":630,"target":776,"ph_event":8,"page":8,"resource":8},"Create your project","_blank",{"id":772,"external_url":8,"label":778,"color":422,"outline":334,"icon":425,"size":630,"target":416,"ph_event":8,"page":779,"resource":8},"Book a demo",{"permalink":418},{"background":746,"snippets":781},[782,785],{"name":783,"language":360,"snippet":784},"Has Access","const { subscription } = await client.subscribe('messages');\n\nfor await (const item of subscription) {\n\tconsole.log('subscription', { item });\n}\n \n/*\n{\n\t\"type\": \"subscription\",\n\t\"event\": \"create\",\n\t\"data\": [{\n\t\t\"id\": 1,\n\t\t\"text\": \"Hello World\"\n\t}]\n}\n*/",{"name":786,"language":360,"snippet":787},"Unauthorized","const { subscription } = await client.subscribe('messages');\n\nfor await (const item of subscription) {\n\tconsole.log('subscription', { item });\n}\n\n/*\n{\n\t\"type\": \"subscription\",\n\t\"status\": \"error\",\n\t\"error\": {\n\t\t\"code\": \"FORBIDDEN\",\n\t\t\"message\": \"You don't have permission to access this.\"\n\t}\n}\n*/",{"html":789},"\u003Cpre class=\"shiki directus-dark\" style=\"background-color:transparent;color:#94a3b8\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\">\u003Cspan style=\"color:#FF97DC\">const\u003C/span>\u003Cspan style=\"color:#94A3B8\"> { \u003C/span>\u003Cspan style=\"color:#9B8BFF\">subscription\u003C/span>\u003Cspan style=\"color:#94A3B8\"> } \u003C/span>\u003Cspan style=\"color:#FF97DC\">=\u003C/span>\u003Cspan style=\"color:#FF97DC\"> await\u003C/span>\u003Cspan style=\"color:#E2E8F0\"> client\u003C/span>\u003Cspan style=\"color:#94A3B8\">.\u003C/span>\u003Cspan style=\"color:#9B8BFF\">subscribe\u003C/span>\u003Cspan style=\"color:#94A3B8\">(\u003C/span>\u003Cspan style=\"color:#F8FAFC\">'messages'\u003C/span>\u003Cspan style=\"color:#94A3B8\">);\u003C/span>\u003C/span>\n\u003Cspan class=\"line\">\u003C/span>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#FF97DC\">for\u003C/span>\u003Cspan style=\"color:#FF97DC\"> await\u003C/span>\u003Cspan style=\"color:#94A3B8\"> (\u003C/span>\u003Cspan style=\"color:#FF97DC\">const\u003C/span>\u003Cspan style=\"color:#9B8BFF\"> item\u003C/span>\u003Cspan style=\"color:#FF97DC\"> of\u003C/span>\u003Cspan style=\"color:#E2E8F0\"> subscription\u003C/span>\u003Cspan style=\"color:#94A3B8\">) {\u003C/span>\u003C/span>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#E2E8F0\">\tconsole\u003C/span>\u003Cspan style=\"color:#94A3B8\">.\u003C/span>\u003Cspan style=\"color:#9B8BFF\">log\u003C/span>\u003Cspan style=\"color:#94A3B8\">(\u003C/span>\u003Cspan style=\"color:#F8FAFC\">'subscription'\u003C/span>\u003Cspan style=\"color:#94A3B8\">, { \u003C/span>\u003Cspan style=\"color:#E2E8F0\">item\u003C/span>\u003Cspan style=\"color:#94A3B8\"> });\u003C/span>\u003C/span>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#94A3B8\">}\u003C/span>\u003C/span>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#94A3B8\"> \u003C/span>\u003C/span>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#94A3B8\">/*\u003C/span>\u003C/span>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#94A3B8\">{\u003C/span>\u003C/span>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#94A3B8\">\t\"type\": \"subscription\",\u003C/span>\u003C/span>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#94A3B8\">\t\"event\": \"create\",\u003C/span>\u003C/span>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#94A3B8\">\t\"data\": [{\u003C/span>\u003C/span>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#94A3B8\">\t\t\"id\": 1,\u003C/span>\u003C/span>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#94A3B8\">\t\t\"text\": \"Hello World\"\u003C/span>\u003C/span>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#94A3B8\">\t}]\u003C/span>\u003C/span>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#94A3B8\">}\u003C/span>\u003C/span>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#94A3B8\">*/\u003C/span>\u003C/span>\u003C/code>\u003C/pre>",{"html":791},"\u003Cpre class=\"shiki directus-dark\" style=\"background-color:transparent;color:#94a3b8\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\">\u003Cspan style=\"color:#FF97DC\">const\u003C/span>\u003Cspan style=\"color:#94A3B8\"> { \u003C/span>\u003Cspan style=\"color:#9B8BFF\">subscription\u003C/span>\u003Cspan style=\"color:#94A3B8\"> } \u003C/span>\u003Cspan style=\"color:#FF97DC\">=\u003C/span>\u003Cspan style=\"color:#FF97DC\"> await\u003C/span>\u003Cspan style=\"color:#E2E8F0\"> client\u003C/span>\u003Cspan style=\"color:#94A3B8\">.\u003C/span>\u003Cspan style=\"color:#9B8BFF\">subscribe\u003C/span>\u003Cspan style=\"color:#94A3B8\">(\u003C/span>\u003Cspan style=\"color:#F8FAFC\">'messages'\u003C/span>\u003Cspan style=\"color:#94A3B8\">);\u003C/span>\u003C/span>\n\u003Cspan class=\"line\">\u003C/span>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#FF97DC\">for\u003C/span>\u003Cspan style=\"color:#FF97DC\"> await\u003C/span>\u003Cspan style=\"color:#94A3B8\"> (\u003C/span>\u003Cspan style=\"color:#FF97DC\">const\u003C/span>\u003Cspan style=\"color:#9B8BFF\"> item\u003C/span>\u003Cspan style=\"color:#FF97DC\"> of\u003C/span>\u003Cspan style=\"color:#E2E8F0\"> subscription\u003C/span>\u003Cspan style=\"color:#94A3B8\">) {\u003C/span>\u003C/span>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#E2E8F0\">\tconsole\u003C/span>\u003Cspan style=\"color:#94A3B8\">.\u003C/span>\u003Cspan style=\"color:#9B8BFF\">log\u003C/span>\u003Cspan style=\"color:#94A3B8\">(\u003C/span>\u003Cspan style=\"color:#F8FAFC\">'subscription'\u003C/span>\u003Cspan style=\"color:#94A3B8\">, { \u003C/span>\u003Cspan style=\"color:#E2E8F0\">item\u003C/span>\u003Cspan style=\"color:#94A3B8\"> });\u003C/span>\u003C/span>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#94A3B8\">}\u003C/span>\u003C/span>\n\u003Cspan class=\"line\">\u003C/span>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#94A3B8\">/*\u003C/span>\u003C/span>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#94A3B8\">{\u003C/span>\u003C/span>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#94A3B8\">\t\"type\": \"subscription\",\u003C/span>\u003C/span>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#94A3B8\">\t\"status\": \"error\",\u003C/span>\u003C/span>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#94A3B8\">\t\"error\": {\u003C/span>\u003C/span>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#94A3B8\">\t\t\"code\": \"FORBIDDEN\",\u003C/span>\u003C/span>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#94A3B8\">\t\t\"message\": \"You don't have permission to access this.\"\u003C/span>\u003C/span>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#94A3B8\">\t}\u003C/span>\u003C/span>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#94A3B8\">}\u003C/span>\u003C/span>\n\u003Cspan class=\"line\">\u003Cspan style=\"color:#94A3B8\">*/\u003C/span>\u003C/span>\u003C/code>\u003C/pre>",{"id":732,"external_url":793,"label":794,"color":422,"outline":334,"icon":425,"size":630,"target":416,"ph_event":8,"page":8,"resource":8},"https://docs.directus.io/reference/authentication.html#authentication","View the docs",{"id":729,"external_url":635,"label":636,"color":414,"outline":267,"icon":425,"size":630,"target":416,"ph_event":8,"page":8,"resource":8},{"id":744,"external_url":91,"label":797,"color":422,"outline":334,"icon":425,"size":415,"target":416,"ph_event":8,"page":8,"resource":798},"Read the success story",{"slug":799,"type":800},"taiga",{"slug":801},"case-studies",1773850340037]