[{"data":1,"prerenderedAt":472},["ShallowReactive",2],{"navigation_docs_en":3,"-en-concepts-ai":270,"-en-concepts-ai-surround":467},[4,30,68,98,182,260],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Getting Started",false,"\u002Fen\u002Fgetting-started","en\u002F1.getting-started",[10,15,20,25],{"title":11,"path":12,"stem":13,"icon":14},"Introduction","\u002Fen\u002Fgetting-started\u002Fintroduction","en\u002F1.getting-started\u002F2.introduction","i-lucide-house",{"title":16,"path":17,"stem":18,"icon":19},"Quickstart","\u002Fen\u002Fgetting-started\u002Finstallation","en\u002F1.getting-started\u002F3.installation","i-lucide-download",{"title":21,"path":22,"stem":23,"icon":24},"Use Cases","\u002Fen\u002Fgetting-started\u002Fuse-cases","en\u002F1.getting-started\u002F4.use-cases","i-lucide-layers",{"title":26,"path":27,"stem":28,"icon":29},"Concepts","\u002Fen\u002Fgetting-started\u002Fconcepts","en\u002F1.getting-started\u002F5.concepts","i-lucide-book",{"title":26,"path":31,"stem":32,"children":33,"page":6},"\u002Fen\u002Fconcepts","en\u002F2.concepts",[34,38,43,48,53,58,63],{"title":35,"path":36,"stem":37,"icon":14},"Organization","\u002Fen\u002Fconcepts\u002Forganization","en\u002F2.concepts\u002F1.organization",{"title":39,"path":40,"stem":41,"icon":42},"Data Model","\u002Fen\u002Fconcepts\u002Fdata-model","en\u002F2.concepts\u002F2.data-model","i-lucide-database",{"title":44,"path":45,"stem":46,"icon":47},"Access Control","\u002Fen\u002Fconcepts\u002Faccess-permissions","en\u002F2.concepts\u002F3.access-permissions","i-lucide-user-key",{"title":49,"path":50,"stem":51,"icon":52},"Audit Logs","\u002Fen\u002Fconcepts\u002Faudit-logs","en\u002F2.concepts\u002F4.audit-logs","i-lucide-scroll-text",{"title":54,"path":55,"stem":56,"icon":57},"Introspection","\u002Fen\u002Fconcepts\u002Fintrospection","en\u002F2.concepts\u002F6.introspection","i-lucide-database-search",{"title":59,"path":60,"stem":61,"icon":62},"Query Engine","\u002Fen\u002Fconcepts\u002Fquery-engine","en\u002F2.concepts\u002F7.query-engine","i-lucide-workflow",{"title":64,"path":65,"stem":66,"icon":67},"AI","\u002Fen\u002Fconcepts\u002Fai","en\u002F2.concepts\u002F8.ai","i-lucide-sparkles",{"title":69,"path":70,"stem":71,"children":72,"page":6},"Guides","\u002Fen\u002Fguides","en\u002F4.guides",[73,78,83,88,93],{"title":74,"path":75,"stem":76,"icon":77},"REST API Quickstart","\u002Fen\u002Fguides\u002Frest-api","en\u002F4.guides\u002F1.rest-api","i-lucide-plug",{"title":79,"path":80,"stem":81,"icon":82},"SDK Quickstart","\u002Fen\u002Fguides\u002Fsdk","en\u002F4.guides\u002F2.sdk","i-lucide-terminal",{"title":84,"path":85,"stem":86,"icon":87},"Configure SSO","\u002Fen\u002Fguides\u002Fconfigure-sso","en\u002F4.guides\u002F3.configure-sso","i-lucide-key-round",{"title":89,"path":90,"stem":91,"icon":92},"Configure MCP","\u002Fen\u002Fguides\u002Fmcp","en\u002F4.guides\u002F4.mcp","i-lucide-brain-cog",{"title":94,"path":95,"stem":96,"icon":97},"Customize Content Space","\u002Fen\u002Fguides\u002Fcustomize-content-space","en\u002F4.guides\u002F5.customize-content-space","i-lucide-columns-3-cog",{"title":99,"path":100,"stem":101,"children":102,"page":6},"Developer","\u002Fen\u002Fdeveloper","en\u002F5.developer",[103,158],{"title":104,"path":105,"stem":106,"children":107,"page":6},"Data Access","\u002Fen\u002Fdeveloper\u002Fapi","en\u002F5.developer\u002F1.api",[108,113,118,123,128,133,138,143,148,153],{"title":109,"path":110,"stem":111,"icon":112},"Overview","\u002Fen\u002Fdeveloper\u002Fapi\u002Foverview","en\u002F5.developer\u002F1.api\u002F1.overview","i-lucide-globe",{"title":114,"path":115,"stem":116,"icon":117},"Errors","\u002Fen\u002Fdeveloper\u002Fapi\u002Ferrors","en\u002F5.developer\u002F1.api\u002F10.errors","i-lucide-alert-triangle",{"title":119,"path":120,"stem":121,"icon":122},"Authentication","\u002Fen\u002Fdeveloper\u002Fapi\u002Fauthentication","en\u002F5.developer\u002F1.api\u002F2.authentication","i-lucide-lock",{"title":124,"path":125,"stem":126,"icon":127},"Reading Data","\u002Fen\u002Fdeveloper\u002Fapi\u002Freading-data","en\u002F5.developer\u002F1.api\u002F3.reading-data","i-lucide-book-open",{"title":129,"path":130,"stem":131,"icon":132},"Writing Data","\u002Fen\u002Fdeveloper\u002Fapi\u002Fwriting-data","en\u002F5.developer\u002F1.api\u002F4.writing-data","i-lucide-pencil",{"title":134,"path":135,"stem":136,"icon":137},"Filtering","\u002Fen\u002Fdeveloper\u002Fapi\u002Ffiltering","en\u002F5.developer\u002F1.api\u002F5.filtering","i-lucide-filter",{"title":139,"path":140,"stem":141,"icon":142},"Field Selection","\u002Fen\u002Fdeveloper\u002Fapi\u002Ffield-selection","en\u002F5.developer\u002F1.api\u002F6.field-selection","i-lucide-list-checks",{"title":144,"path":145,"stem":146,"icon":147},"Sorting & Pagination","\u002Fen\u002Fdeveloper\u002Fapi\u002Fsorting-pagination","en\u002F5.developer\u002F1.api\u002F7.sorting-pagination","i-lucide-arrow-up-down",{"title":149,"path":150,"stem":151,"icon":152},"Relational Data","\u002Fen\u002Fdeveloper\u002Fapi\u002Frelational-data","en\u002F5.developer\u002F1.api\u002F8.relational-data","i-lucide-network",{"title":154,"path":155,"stem":156,"icon":157},"Files & Assets","\u002Fen\u002Fdeveloper\u002Fapi\u002Ffiles","en\u002F5.developer\u002F1.api\u002F9.files","i-lucide-file-up",{"title":159,"path":160,"stem":161,"children":162,"page":6},"Client SDK","\u002Fen\u002Fdeveloper\u002Fsdk","en\u002F5.developer\u002F2.sdk",[163,167,172,177],{"title":164,"path":165,"stem":166,"icon":19},"Installation","\u002Fen\u002Fdeveloper\u002Fsdk\u002Finstallation","en\u002F5.developer\u002F2.sdk\u002F1.installation",{"title":168,"path":169,"stem":170,"icon":171},"Client Setup","\u002Fen\u002Fdeveloper\u002Fsdk\u002Fclient-setup","en\u002F5.developer\u002F2.sdk\u002F2.client-setup","i-lucide-settings",{"title":173,"path":174,"stem":175,"icon":176},"Type System","\u002Fen\u002Fdeveloper\u002Fsdk\u002Ftype-system","en\u002F5.developer\u002F2.sdk\u002F3.type-system","i-lucide-braces",{"title":178,"path":179,"stem":180,"icon":181},"Advanced","\u002Fen\u002Fdeveloper\u002Fsdk\u002Fadvanced","en\u002F5.developer\u002F2.sdk\u002F5.advanced","i-lucide-puzzle",{"title":183,"path":184,"stem":185,"children":186,"page":6},"Reference","\u002Fen\u002Freference","en\u002F6.reference",[187,191,207,211,216,231],{"title":188,"path":189,"stem":190,"icon":171},"Configuration","\u002Fen\u002Freference\u002Fenvironment-variables","en\u002F6.reference\u002F1.environment-variables",{"title":192,"path":193,"stem":194,"children":195,"icon":77},"Connectors","\u002Fen\u002Freference\u002Fconnectors","en\u002F6.reference\u002F2.connectors\u002Findex",[196,197,202],{"title":192,"path":193,"stem":194,"icon":77},{"title":198,"path":199,"stem":200,"icon":201},"PostgreSQL and Supabase","\u002Fen\u002Freference\u002Fconnectors\u002Fpostgresql-supabase","en\u002F6.reference\u002F2.connectors\u002F1.postgresql-supabase","i-simple-icons-postgresql",{"title":203,"path":204,"stem":205,"icon":206},"MySQL and MariaDB","\u002Fen\u002Freference\u002Fconnectors\u002Fmysql-mariadb","en\u002F6.reference\u002F2.connectors\u002F2.mysql-mariadb","i-simple-icons-mysql",{"title":208,"path":209,"stem":210,"icon":176},"Data Types Representation","\u002Fen\u002Freference\u002Fdata-types","en\u002F6.reference\u002F3.data-types",{"title":212,"path":213,"stem":214,"icon":215},"Permissions Reference","\u002Fen\u002Freference\u002Fpermissions","en\u002F6.reference\u002F4.permissions","i-lucide-shield",{"title":217,"path":218,"stem":219,"children":220,"page":6},"API Reference","\u002Fen\u002Freference\u002Fapi-reference","en\u002F6.reference\u002F5.api-reference",[221,226],{"title":222,"path":223,"stem":224,"icon":225},"System Endpoints","\u002Fen\u002Freference\u002Fapi-reference\u002Fsystem-endpoints","en\u002F6.reference\u002F5.api-reference\u002F1.system-endpoints","i-lucide-server",{"title":227,"path":228,"stem":229,"icon":230},"OpenAPI Spec","\u002Fen\u002Freference\u002Fapi-reference\u002Fopenapi-spec","en\u002F6.reference\u002F5.api-reference\u002F2.openapi-spec","i-lucide-file-code",{"title":232,"path":233,"stem":234,"children":235,"page":6},"Pitfalls","\u002Fen\u002Freference\u002Fpitfalls","en\u002F6.reference\u002F6.pitfalls",[236,240,245,250,255],{"title":109,"path":237,"stem":238,"icon":239},"\u002Fen\u002Freference\u002Fpitfalls\u002Foverview","en\u002F6.reference\u002F6.pitfalls\u002F1.overview","i-lucide-triangle-alert",{"title":241,"path":242,"stem":243,"icon":244},"Concurrent Migrations","\u002Fen\u002Freference\u002Fpitfalls\u002Fconcurrent-migrations","en\u002F6.reference\u002F6.pitfalls\u002F2.concurrent-migrations","i-lucide-git-merge",{"title":246,"path":247,"stem":248,"icon":249},"Instance Configuration","\u002Fen\u002Freference\u002Fpitfalls\u002Finstance-configuration-related-problems","en\u002F6.reference\u002F6.pitfalls\u002F3.instance-configuration-related-problems","i-lucide-wrench",{"title":251,"path":252,"stem":253,"icon":254},"Overly Permissive Public Roles","\u002Fen\u002Freference\u002Fpitfalls\u002Foverly-permissive","en\u002F6.reference\u002F6.pitfalls\u002F4.overly-permissive","i-lucide-shield-off",{"title":256,"path":257,"stem":258,"icon":259},"No Aggregates","\u002Fen\u002Freference\u002Fpitfalls\u002Fno-aggregates","en\u002F6.reference\u002F6.pitfalls\u002F5.no-aggregates","i-lucide-sigma",{"title":261,"icon":262,"path":263,"stem":264,"children":265,"page":6},"Release Notes","i-lucide-rocket","\u002Fen\u002Frelease-notes","en\u002F7.release-notes",[266],{"title":267,"path":268,"stem":269,"icon":262},"Changelog","\u002Fen\u002Frelease-notes\u002Fchangelog","en\u002F7.release-notes\u002F1.changelog",{"id":271,"title":64,"body":272,"description":460,"extension":461,"links":462,"meta":463,"navigation":464,"path":65,"seo":465,"stem":66,"__hash__":466},"docs_en\u002Fen\u002F2.concepts\u002F8.ai.md",{"type":273,"value":274,"toc":448},"minimark",[275,279,283,301,304,308,311,328,337,341,344,349,372,384,391,395,409,416,420],[276,277,109],"h2",{"id":278},"overview",[280,281,282],"p",{},"Monospace exposes AI in two ways, both built on the same foundation:",[284,285,286,295],"ul",{},[287,288,289,290,294],"li",{},"The ",[291,292,293],"strong",{},"Assistant"," — an AI chat panel inside the Studio.",[287,296,289,297,300],{},[291,298,299],{},"MCP server"," — a Model Context Protocol endpoint for external AI agents and tools.",[280,302,303],{},"Both work through the same set of tools and run under the permissions of whoever — or whatever — is using them. Neither can do anything the acting user or API key is not already allowed to do.",[276,305,307],{"id":306},"what-the-ai-can-do","What the AI Can Do",[280,309,310],{},"Through either surface, the AI works with your workspace using the same capabilities:",[284,312,313,316,319,322,325],{},[287,314,315],{},"Read the schema — collections, fields, and relations.",[287,317,318],{},"Query items, using the same filtering the API supports.",[287,320,321],{},"Create, update, and delete items.",[287,323,324],{},"Read and change the schema.",[287,326,327],{},"List the workspace's data sources.",[280,329,330,331,336],{},"Every action is checked against the acting identity's permissions: item operations follow ",[332,333,335],"a",{"href":334},"\u002Fconcepts\u002Faccess-permissions#collection-permissions","collection permissions",", and reading or changing the schema requires the data-model entitlement. The AI cannot do more than its user or key already can.",[276,338,340],{"id":339},"the-assistant","The Assistant",[280,342,343],{},"The Assistant is an AI chat panel in the Studio. Ask it to find, summarize, or change data in natural language; it keeps context within a conversation, and you can start a new chat at any time. Because it runs as you, it sees and changes only what your roles allow.",[345,346,348],"h3",{"id":347},"configuring-the-assistant","Configuring the Assistant",[280,350,351,352,355,356,359,360,363,364,367,368,371],{},"Configure the Assistant per workspace under ",[291,353,354],{},"Settings → AI",". Connect a provider with its API key, then choose a ",[291,357,358],{},"chat model"," for responses and a ",[291,361,362],{},"fast model"," for lighter tasks, with optional ",[291,365,366],{},"reasoning"," and a reasoning level. Use ",[291,369,370],{},"Test Connection"," to confirm the provider works.",[280,373,374,375,379,380,383],{},"Configuring the provider requires the ",[376,377,378],"code",{},"ai:admin"," entitlement; using the Assistant requires ",[376,381,382],{},"ai:access",".",[280,385,386],{},[387,388],"img",{"alt":389,"src":390},"Configuring the AI assistant's model, and the assistant analyzing data in the Studio","\u002Fimages\u002Fchangelog\u002F0-1-0\u002Fmonospace-integrated-ai.png",[276,392,394],{"id":393},"the-mcp-server","The MCP Server",[280,396,397,398,404,405,408],{},"The MCP server exposes the same capabilities to external AI agents and tools over the ",[332,399,403],{"href":400,"rel":401},"https:\u002F\u002Fmodelcontextprotocol.io",[402],"nofollow","Model Context Protocol",". Each workspace has its own endpoint, and agents authenticate with an API key — so an agent acts with exactly that key's permissions. Using it requires the ",[376,406,407],{},"ai:mcp"," entitlement.",[280,410,411,412,415],{},"See ",[332,413,89],{"href":414},"\u002Fguides\u002Fmcp"," to connect an agent.",[276,417,419],{"id":418},"see-also","See Also",[284,421,422,427,433],{},[287,423,424,426],{},[332,425,89],{"href":414}," — Connect an external AI agent over the Model Context Protocol",[287,428,429,432],{},[332,430,44],{"href":431},"\u002Fconcepts\u002Faccess-permissions"," — How roles, policies, and entitlements govern what the AI can do",[287,434,435,438,439,441,442,444,445,447],{},[332,436,212],{"href":437},"\u002Freference\u002Fpermissions"," — The ",[376,440,382],{},", ",[376,443,378],{},", and ",[376,446,407],{}," entitlements",{"title":449,"searchDepth":450,"depth":450,"links":451},"",2,[452,453,454,458,459],{"id":278,"depth":450,"text":109},{"id":306,"depth":450,"text":307},{"id":339,"depth":450,"text":340,"children":455},[456],{"id":347,"depth":457,"text":348},3,{"id":393,"depth":450,"text":394},{"id":418,"depth":450,"text":419},"How Monospace's AI works — the embedded assistant and the MCP server, and the tools and permissions they share.","md",null,{},{"icon":67},{"title":64,"description":460},"r2jGtCBSUXdWwHfQvmzOQ88kptAjFg99QpGfSVtDBfc",[468,470],{"title":59,"path":60,"stem":61,"description":469,"icon":62,"children":-1},"How Monospace translates requests into optimized data source queries.",{"title":74,"path":75,"stem":76,"description":471,"icon":77,"children":-1},"Read, create, filter, update, and delete data through the Monospace REST API.",1784053973599]